Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 312
extended data memory configuration. (Starting with V1.937 firmware, a Turbo PMAC with the extended
data memory configuration will at re-initialization have a UBUFFER of 65,536 words defined, causing
this register to hold a value of $030000.) Immediately after the user buffer has successfully been defined,
this register will hold the address of the start of the buffer (the end of the user buffer is always at the end
of data memory).
To free up this memory for other uses, the DEFINE UBUFFER 0 command should be used (there is no
DELETE UBUFFER command). It may be more convenient simply to re-initialize the board with a
$$$*** command.
Example:
RHX:$0031B2 ; Look for end of unreserved memory
00FC99 ; Reply indicates some reserved
$$$*** ; Re-initialize card to clear memory
RHX:$0031B2 ; Check end of unreserved memory
010800 ; Reply indicates none reserved
DEFINE UBUFFER 2048 ; Reserve memory for buffer
RHX:$0031B2 ; Check for beginning of buffer
010000 ; Reply confirms 2048 words reserved
M1000->D:$010000 ; Define M-variable to first word
M1010->Y:$010020,12,1 ; Define M-variable to a middle word
M1023->X:$0107FF,24,S ; Define M-variable to last word
See Also:
User Buffer, M-Variables (Computational Features)
I-variable I4908
On-line commands $$$***, R[H]{address}, W{address}
DELETE ALL
Function: Erase all defined permanent and temporary buffers
Scope: Global
Syntax: DELETE ALL
DEL ALL
This command causes Turbo PMAC to erase all buffers created with a DEFINE command, permanent
(fixed) and temporary, in Turbo PMAC’s memory space. These include:
User buffer (UBUFFER)
Leadscrew compensation tables (COMP)
Torque compensation tables (TCOMP)
Backlash compensation tables (BLCOMP)
Transformation matrix buffers (TBUF)
Rotary motion program buffers (ROTARY)
Segment lookahead buffers (LOOKAHEAD)
Extended cutter-radius compensation buffers (CCBUF)
Data gathering buffer (GATHER)
See Also:
On-line commands CLEAR, CLEAR ALL, CLEAR ALL PLCS, OPEN, DELETE ALL TEMP