Gets/sets the pulse conversion [value] to use in StepNLoop for [axis].

Access: Read/Write

Category: Stepnloop

Applies to: All Commander Controllers


ASCII                        SLR        SLRAX:1000000:5

Syntax                        

Read

SLR[axis]                


Write

SLR[axis]=[value]                

[axis] specifies the axis to be set (X, Y, Z, U)

[value] specifies the pulse conversion value (0.001 – 999.999)


Reply 

Command is accepted and executed


Read         

Returns the set conversion value (0.001 – 999.999)


Write           

OK


Command cannot be processed

       An error message is returned. See Error Codes


Example 

Read        

SLRX                * Returns pulse conversion value for the X axis

Write        

SLRY=0.5         * Sets the pulse conversion value to 0.5 for the Y axis


Notes

  • The easy way to set SLR[axis] is by using the SLRA[axis] the automatic setting command. 
  • A convenient way to find the StepNLoop ratio is to set EX=0, PX=0 and move the motor +1000 pulses. The ratio can be calculated by dividing 1000 by the resulting EX value. Note that the value must be positive. If it is not, then the direction polarity must be adjusted. This test should be performed while StepNLoop is disabled.
  • The ratio will depend on the motor type, micro-stepping, encoder resolution, and decoding multiplier. Joystick and buffer operation are invalid during StepNLoop operation.


See also

StepNLoop

SL, SLA, SLE, SLRA, SLS, SLT

 

Commander Manual

StepNLoop Closed Loop Control operation