Delta AX Series Instruction Manual page 231

Motion controller
Hide thumbs Also See for AX Series:
Table of Contents

Advertisement

AX- Ser i es Mo t i o n Co n t r o l l er I n s t r u c t i o n s Ma n u a l
This instruction can decelerate and stop the motion of axis groups other than DMC_GroupStop.
During deceleration, the status of the axis groups remains GroupMoving.
When the speed reaches 0, the output pin bDone will immediately changes to True, and the status of the axis
groups will switch to StandBy.
If Group state machine is GroupMoving during execution, after the instruction execution, the following
Continue data will be recorded for subsequent DMC_GroupContinue to resume the motion.
The instructions that have not finished execution (including the instructions that have not finished execution
in the instruction buffer area).
Position after motion stops (AxisGroup.ContinuePos).
After recording the dada, AxisGroup.bContinueDataWriten will be set to TRUE.
The execution will not be recorded if it is not completed.
When there is currently Continue data, re-execute DMC_GroupInterrupt. The current Continue data will firstly
be cleared. Whether to record new Continue for follow-up depends on if the execution is successful.
During the execution of DMC_GroupInterrupt, users might encounter the following situation:
During DMC_GroupInterrupt execution, DMC_GroupInterrupt will be interrupted when triggering
DMC_GroupStop.
During DMC_GroupInterrupt execution, when the second function block DMC_GroupInterrupt is re-
triggered, it will be interrupted.
During DMC_GroupInterrupt execution, DMC_GroupInterrupt continues running when axis groups motion
instructions are carried out. Motion instructions are at the Busy state until DMC_GroupInterrupt execution is
completed, and the instructions will be added into instruction buffer to start execution.
Troubleshooting
When an error occurs in the execution of the instruction, bError turns to True, and the axis motion will stop.
Refer to ErrorID (Error Code) to confirm the current error status.
For error codes and corresponding troubleshooting, refer to Appendix of this manual.
Programming Example
This example shows that the DMC_GroupInterrupt function block is run when the axis group is running. After
the axis group stops running, the DMC_GroupContinue function block is used again to restore the axis group
motion.
Ch a p t er 2
2 2 6

Advertisement

Table of Contents
loading

Table of Contents