omron — First Word Returned (X:$003D, X:$0079, etc.)

PMAC Product Guide First Word Returned (X:$003D, X:$0079, etc.) First Character Returned: Bit 23 Motor Activated: This bit is 1 when Ix00 is 1 and the motor calculations are active; it is 0 when Ix00 is 0 and motor calculations are deactivated. Bit 22 Negative End Limit Set: This bit is 1 when motor actual position is less than the software negative position limit (Ix14), or when the hardware limit on this end (+LIMn) has been tripped; it is 0 otherwise. If the motor is deactivated (bit 23 of the first motor status word set to zero) or killed (bit 14 of the second motor status word set to zero) this bit is not updated. Bit 21 Positive End Limit Set:

This bit is 1 when motor actual position is greater than the software positive position limit (Ix13), or when the hardware limit on this end (-LIMn -- note!) has been tripped; it is 0 otherwise. If the motor is deactivated (bit 23 of the first motor status word set to zero) or killed (bit 14 of the second motor status word set to zero) this bit is not updated. Bit 20 Handwheel Enabled: This bit is 1 when Ix06 is 1 and position following for this axis is enabled; it is 0 when Ix06 is 0 and position following is disabled. Second Character Returned: Bit 19 Phased Motor:

This bit is 1 when Ix01 is 1 and this motor is being commutated by PMAC; it is 0 when Ix01 is 0 and this motor is not being commutated by PMAC. Bit 18 Open Loop Mode: This bit is 1 when the servo loop for the motor is open, either with outputs enabled or disabled (killed). (Refer to Amplifier Enabled status bit to distinguish between the two cases.) It is 0 when the servo loop is closed (under position control, always with outputs enabled). Bit 17 Running Definite-Time Move: This bit is 1 when the motor is executing any move with a predefined end-point and end-time.

This includes any motion program move dwell or delay, any jog-to-position move, and the portion of a homing search move after the trigger has been found. It is 0 otherwise. It changes from 1 to 0 when execution of the commanded move finishes. Bit 16 Integration Mode: This bit is 1 when Ix34 is 1 and the servo loop integrator is only active when desired velocity is zero. It is 0 when Ix34 is 0 and the servo loop integrator is always active. Third Character Returned: Bit 15 Dwell in Progress: This bit is 1 when the motor’s coordinate system is executing a DWELL instruction. It is 0 otherwise. Bit 14 Data Block Error:

This bit is 1 when move execution has been aborted because the data for the next move section was not ready in time. This is due to insufficient calculation time. It is 0 otherwise. It changes from 1 to 0 when another move sequence is started. This is related to the Run Time Error Coordinate System status bit. Bit 13 Desired Velocity Zero: This bit is 1 if the motor is in closed-loop control and the commanded velocity is zero (i.e. it is trying to hold position). It is zero either if the motor is in closed-loop mode with non-zero commanded velocity, or if it is in open-loop mode. Bit 12 Abort Deceleration:

This bit is 1 if the motor is decelerating due to an ABORT command, or due to hitting hardware or software position (overtravel) limits. It is 0 otherwise. It changes from 1 to 0 when the commanded deceleration to zero velocity finishes. 144 Online Commands