PMAC Product Guide Bit 2 Continuous Motion Mode: This bit is 1 if the coordinate system is in a sequence of moves that it is blending together without stops in between. It is 0 if it is not currently in such a sequence, for whatever reason. Bit 1 Single-Step Mode: This bit is 1 if the motion program currently executing in this coordinate system has been told to step one move or block of moves, or if it has been given a Q (Quit) command. It is 0 if the motion program is executing a program by a R (run) command or if it is not executing a motion program at all. Bit 0 Running Program: This bit is 1 if the coordinate system is currently executing a motion program.
It is 0 if the Coordinate System is not executing a motion program currently. Note that it becomes 0 as soon as it has calculated the last move and reached the final RETURN statement in the program, even if the motors are still executing the last move or two that have been calculated. Compare to the motor Running Program status bit. Second Word Returned (Y:$0817, Y:$08D7, etc.) Seventh Character Returned: Bit 23 Program Hold Stop: This bit is 1 when a motion program running in the currently addressed Coordinate System is stopped using the \ command from a segmented move ( LINEAR or CIRCLE mode with I13 > 0). Bit 22 Run-Time Error:
This bit is 1 when the coordinate system has stopped a motion program due to an error encountered while executing the program (e.g. jump to non-existent label, insufficient calculation time, etc.). Bit 21 Circle Radius Error: This bit is 1 when a motion program has been stopped because it was asked to do an arc move whose distance was more than twice the radius (by an amount greater than Ix96). Bit 20 Amplifier Fault Error: This bit is 1 when any motor in the coordinate system has been killed due to receiving an amplifier fault signal. It is 0 at other times. Changing any motor in the coordinate system has been killed due to exceeding its fatal following error limit (Ix11).
It is 0 at other times. The change from 1 to 0 occurs when the offending motor is re-enabled. Bit 18 Warning Following Error: This bit is 1 when any motor in the coordinate system has exceeded its warning following error limit (Ix12). It stays at 1 if a motor has been killed due to fatal following error limit. It is 0 at all other times. The change from 1 to 0 occurs when the offending motor’s following error is reduced to under the limit, or if killed on fatal following error as well, when it is re-enabled. Bit 17 In Position: This bit is 1 when all motors in the coordinate system are in position. Five conditions must apply for all of these motors for this to be true.
The loops must be closed, the desired velocity must be zero for all motors, the coordinate system cannot be in any timed move (even zero distance) or DWELL, all motors must have a following error smaller than their respective Ix28 in-position bands, and the above conditions must have been satisfied for (I7+1) consecutive scans. Bit 16 Rotary Buffer Request: This bit is 1 when a rotary buffer exists for the coordinate system and enough program lines have been sent to it so that the buffer contains at least I17 lines ahead of what has been calculated. Once this bit has been set to 1 it will not be set to 0 until there are less than I16 program lines ahead of what has been calculated.
The PR command may be used to find the current number of program lines ahead of what has been calculated. 150 Online Commands