SLA – StepNLoop Attempts
The SLA command is used to set the number of attempts to complete the StepNLoop operation. The operation is completed when the position of the axis is within the tolerance range of the target position (SLT). If after the number of attempts is reached, and the axis position is not within the tolerance range, the StepNLoop operation is canceled, and an error status is output
Applies to: CMD-4CR, CMD-4EX-SA, PMX-4EX-SA, PMX-4ET-SA, PMX-2ED-SA, PMX-2EX
ASCII SLA
Syntax:
Read:
SLA[axis]
Where: [axis] specifies the axis to be set (X, Y, Z, U) |
Write:
SLA[axis]=[value]
Where: [axis] specifies the axis to be set (X, Y, Z, U) [value] specifies the maximum number of attempts (1 – 2,147,483,647) 31-bit value |
Reply:
Command is accepted and executed
Read:
Number of attempts for the specified axis
Write:
OK
Command cannot be processed
An error message is returned. See Error Codes
Example:
Read:
SLAX * Returns the value set indicating the number of attempts allowed for the X-axis
Write:
SLAY=10 * Sets the number of retry limit to 10 for the Y-axis
Notes:
- Joystick and buffer operation are invalid during StepNLoop operation