Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 309
Note:
Turbo PMAC will reject the DEFINE LOOKAHEAD command, reporting an
ERR003 if I6=1 or 3, if any LOOKAHEAD buffer exists for a lower-numbered
coordinate system, or if a GATHER buffer exists. LOOKAHEAD buffers must be
defined from high-numbered coordinate system to low-numbered coordinate
system, and deleted from low-numbered coordinate system to high-numbered
coordinate system.
Example:
DELETE GATHER ; Ensure open memory
&2DEFINE LOOKAHEAD 1000,200 ; Create buffer for C.S. 2
&1DEFINE LOOKAHEAD 1500,20 ; Create buffer for C.S. 1
DEFINE ROTARY
Function: Define a rotary motion program buffer
Scope: Coordinate-system specific
Syntax: DEFINE ROTARY{constant}
DEF ROT{constant}
where:
{constant} is a positive integer representing the number of long words of memory to be reserved
for the buffer
This command causes Turbo PMAC to create a rotary motion program buffer for the addressed
coordinate system, allocating the specified number of long words of memory. Rotary buffers permit the
downloading of program lines during the execution of the program.
The buffer should be large enough to allow it to hold safely the number of lines anticipated to be
downloaded to Turbo PMAC ahead of the executing point. Each long word of memory can hold one sub-
block of a motion program (i.e. X1000 Y1000 is considered as two sub-blocks). The allocated memory
for this coordinate system’s rotary buffer remains resident until the buffer is deleted with DELETE ROT.
Note:
Turbo PMAC will reject this command, reporting an ERR003 if I6=1 or 3, if any
ROTARY buffer exists for a lower numbered coordinate system, or if a
LOOKAHEAD or GATHER buffer exists. Any of these buffers must be deleted
first. ROTARY buffers must be defined from high-numbered coordinate system to
low-numbered coordinate system, and deleted from low-numbered coordinate
system to high-numbered coordinate system.
Example:
DELETE GATHER ; Ensure open memory
&2DEFINE ROT 100 ; Create buffer for C.S. 2
&1DEFINE ROT 100 ; Create buffer for C.S. 1
&1B0 &2B0 ; Point to these buffers
OPEN ROT ; Open these buffers for entry
... ; enter program lines here
See Also:
Rotary Program Buffers (Writing and Executing Motion Programs)
On-line commands OPEN ROTARY, DELETE ROTARY, DELETE GATHER