Chapter 11 Motion Control Instructions
11-333
Output Update Timing Chart
Execute
Done
Busy
Active
CommandAbort
Error
Error ID
Case1 Case 2 Case 3
Case 1: When Execute changes from FALSE to TRUE, Busy changes to TRUE. Two cycles later, Active
changes to TRUE. When the axes group reaches the end position, Done changes to TRUE,
Busy and Active change to FALSE.
Case 2: When Execute changes from FALSE to TRUE and an error occurs (such as error in state
machine of the axes group), Error changes to TRUE and ErrorID shows corresponding error
codes and meanwhile Active and Busy change to FALSE. When Execute changes from TRUE
to FALSE, Error changes to FALSE.
Case 3: After Execute changes from TRUE to FALSE in the instruction execution, Done changes to
TRUE when the instruction execution is completed. Meantime Busy and Active change to
FALSE. One cycle later, Done changes to FALSE.
Function
DMC_MoveDirectAbsolute is used for an axes group to conduct quick positioning and one or more axes
in the axes group can be controlled. The firmware of V1.01 and above supports the function.
Axes are relatively independent with each other during the motion. The velocities, accelerations,
decelerations and jerks of axes depend on the input values of DMC_GroupEnable: MoveDirectVelocity,
MoveDirectAcceleration, MoveDirectDeceleration and MoveDirectJerk.
Programming Example
The example in which one DMC_MoveDirectAbsolute instruction is executed is as follows.
1. The variable table and program
ADDAXIS2_ErrID WORD
GE_Vel ARRAY [1..8] OF LREAL