Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 287
mode.) This bit is 0 if the coordinate system is in a different move mode (LINEAR, CIRCLE, or
RAPID). See the table below.
Twelfth character returned:
Bit 3 2D Cutter Comp Left/3D Cutter Comp On: With bit 2 equal to 1, this bit is 1 if the coordinate
system has 2D cutter compensation on, compensating to the left when looking in the direction of motion.
It is 0 if 2D compensation is to the right. With bit 2 equal to 0, this bit is 1 if the coordinate system has
3D cutter compensation on. It is 0 if no cutter compensation is on.
Bit 2 2D Cutter Comp On: This bit is 1 if the coordinate system has 2D cutter compensation on. It is
0 if 2D cutter compensation is off (but 3D cutter compensation may be on if bit 3 is 1).
Bit 1 CCW Circle\Rapid Mode: When bit 0 is 1 and bit 4 is 0, this bit is set to 0 if the coordinate
system is in CIRCLE1 (clockwise arc) move mode and 1 if the coordinate system is in CIRCLE2
(counterclockwise arc) move mode. If both bits 0 and 4 are 0, this bit is set to 1 if the coordinate system
is in RAPID move mode. Otherwise this bit is 0. See the table below.
Bit 0 CIRCLE/SPLINE Move Mode: This bit is 1 if the coordinate system is in either CIRCLE or
SPLINE move mode. (If bit 4 of this word is 0, this means CIRCLE mode; if bit 4 is 1, this means
SPLINE mode.) This bit is 0 if the coordinate system is in a different move mode (LINEAR, PVT, or
RAPID.). See the table below.
The states of bits 4, 1, and 0 in the different move modes are summarized in the following table:
Mode
Bit 4
Bit 1
Bit 0
LINEAR
0
0
0
RAPID
0
1
0
SPLINE
1
0
1
CIRCLE1
0
0
1
CIRCLE2
0
1
1
PVT
1
1
0
Third Word Returned (Y:$002040, Y:$0020C0, etc.)
Thirteenth character returned:
Bit 23 Lookahead Buffer Wrap: This bit is 1 when the lookahead buffer for the coordinate system is
active and has “wrapped around” since the beginning of the current continuous motion sequence, meaning
that retrace back to the beginning of the sequence is no longer possible. It is 0 otherwise.
Bit 22 Lookahead Lookback Active: (For internal use)
Bit 21 Lookahead Buffer End: (For internal use)
Bit 20 Lookahead Synchronous M-variable: (For internal use)
Fourteenth character returned:
Bit 19 Lookahead Synchronous M-variable Overflow: This bit is 1 if the program has attempted to put
more synchronous M-variable assignments into the lookahead buffer than the buffer has room for. If this
bit is set, one or more synchronous M-variable assignments have failed to execute or will fail to execute.
Bit 18 Lookahead Buffer Direction: This bit is 1 if the lookahead buffer is executing in the reverse
direction, or has executed a quick stop from the reverse direction. It is 0 if the lookahead buffer is
executing in the forward direction, has executed a quick stop for the forward direction, or is not executing.
Bit 17 Lookahead Buffer Stop: This bit is 1 if the lookahead buffer execution is stopping due to a
quick-stop command or request. It is 0 otherwise.
Bit 16 Lookahead Buffer Change: This bit is 1 if the lookahead buffer is currently changing state
between forward and reverse direction, or between executing and stopped. It is 0 otherwise.
Fifteenth character returned:
Bit 15 Lookahead Buffer Last Segment: This bit is 1 if the lookahead buffer is currently executing the
last segment before the end of a sequence. It is 0 otherwise.
Bit 14 Lookahead Buffer Recalculate: This bit is 1 if the lookahead buffer is recalculating segments
already in the buffer due to a change in the state of the buffer. It is 0 otherwise.