AX-Series Motion Controller Instructions Manual Chapter 2
344
Timing Diagram
Inputs/Outputs
Axis
Specify the
AXIS_REF_SM3* AXIS_REF_SM3 When bEnable is True and bBusy is False.
*Note: AXIS_REF_SM3 (FB): All function blocks contain this variable, which works as the starting program for function blocks.
Function
DMC_ReadMotionState reads the behavior state of the axis in motion (i.e. acceleration/deceleration, constant velocity,
positive/negative direction of motion).
When the velocity is 0, the output bConstantVelocity changes to True.
Troubleshooting
When an error occurs during the execution of the instruction, bError will change to True. Refer to ErrorID (Error
Code) to address the problem.
Programming Example
The example shows the motion behavior that MC_ReadMotionState reads MC_MoveVelocity and MC_Stop.