SLA – StepNLoop Attempts
he 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
Access: Read/Write
Category: Stepnloop
Applies to: All Commander Controllers
ASCII SLA
Syntax
Read
SLA[axis]
|
[axis] specifies the axis to be set (X, Y, Z, U) |
Write
SLA[axis]=[value]
|
[axis] specifies the axis to be set (X, Y, Z, U) [value] specifies the maximum number of attempts (0 – 2,147,483,647) 31-bit value (0 is unlimited attempts) |
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
- When SLA is set to 0, there is no limit and the commander will continue to try and reach the tolerance range of the target position until successful.