AX-Series Motion Controller Instructions Manual Chapter 2
232
LinkOption
Synchronization start
condition selection
DMC_LINKOP
TION
*1
1: TRIGGERDETECTION
2: MASTERREACH
(COMMANDEEXECUTION)
When bExecute turns
to True.
lrMasterStartDis
tance
Spindle following
distance (user unit)
LREAL Positive, negative, or 0 (0)
When bExecute turns
to True.
StartDistanceM
ode
Spindle following
distance mode
DMC_STARTD
ISTANCEMOD
E
*2
1: RELATIVE
(ABSOLUTE)
When bExecute turns
to True.
*Note:
1. DMC_LINKOPTION: Enumeration (Enum)
2. DMC_STARTDISTANCEMODE: Enumeration (Enum)
Outputs
Name Function Data Type
Output range value (Default
bDone
Turns True when slave axis positioning is
complete.
BOOL True/False (False)
bInSync
True when master and slave cams are
synchronized.
BOOL True/False (False)
True when Instruction is running.
bCommandAborted True when Instruction is interrupted. BOOL True/False (False)
bError True when an Instruction error occurs. BOOL True/False (False)
ErrorID
Record the error code when the instruction
error occurs. For the detailed description of
the error code, refer to the appendix of the
DMC_ERROR
*
DMC_ERROR
(DMC_NO_ERROR)
*Note: DMC_ERROR: enumerate(Enum)
Output Update Timing
Timing for shifting to True
Timing for shifting to False
bDone When slave axis positioning is completed
bExecute
If bExecute is False and bDone turns to
True, then bDone turns to False
immediately after maintaining the True
state for one scan cycle.
bInSync When the slave axis is synchronized After positioning
bBusy
When the upper edge of bExecute fires When bDone goes up
when bError goes up
When bCommandAborted upper edge
bCommandAborted
When The Instruction is interrupted by
another Function block
When bExecute turns to False.
bCommandAborted will change to False
after remaining True for at least one cycle
when bExecute is False but
bCommandAborted changes to True.
bError
When an error occurs in the execution
condition or input value of the Insert (the error
code is recorded in the ErrorID).
When bExecute turns to False. (Clear the
error code of the ErrorID record)
ErrorID