AX-Series Motion Controller Instructions Manual Chapter 2
379
2
lrMasterScaling
The scaling factor of the
master axis
LREAL
Positive
(1)
When bExecute turns to True
and bBusy is False.
lrSlaveScaling
The scaling factor of the
LREAL
When bExecute turns to True
Outputs
Name
Function
Data Type
Setting Value (Default Value)
bDone
True when the calculation is
BOOL True/False (False)
bBusy True when the instruction is run. BOOL True/False (False)
bError
True when an error occurs in
execution of the instruction.
BOOL True/False (False)
ErrorID
Record the error code when an
error occurs. Refer to Appendix for
DMC_ERROR*
DMC_ERROR
(DMC_NO_ERROR)
lrMaxPos
The maximum position of the slave
axis
(User unit)
LREAL Positive, negative, or 0 (0)
lrMinPos
The minimum position of the slave
axis
(User unit)
LREAL
Positive, negative, or 0 (0)
lrMaxVel
The maximum velocity of the slave
axis
(User units/sec)
LREAL
Positive, negative, or 0 (0)
lrMinVel
The minimum velocity of the slave
axis
LREAL
Positive, negative, or 0 (0)
lrMaxAccDec
The maximum acceleration and
deceleration of the slave axis
2
LREAL
Positive, negative, or 0 (0)
lrMinAccDec
The minimum acceleration and
deceleration of the slave axis
2
LREAL
Positive, negative, or 0 (0)
*Note: DMC_ERROR: Enumeration (Enum)
Output Update Timing
Timing for shifting to True
Timing for shifting to False
bDone
When the trigger signal is True and axis position
recording is complete.
When bExecute turns to False.
When bExecute is False but bDone turns to
True, bDone will remain True for one cycle and
then change to False.
bBusy
When bExecute turns to True.
When bDone turns to True.
When bError turns to True.
bError When an error occurs in the execution
conditions or input invalid values of the
instruction.
When bExecute turns to False.
ErrorID
dMaxPos
Update values after calculation completes.
The value goes to zero when bExecute turns
to False.