4.6.2. User-defined position adjustment¶
A SPOS command can be used if it is necessary to set position and/or encoder value to some user-defined position instead of zero. New step/microstep position and encoder count values are passed as parameters to this command. If only one of these counters is needed one should use ignore flags to filter required fields.
This command is different from set zero command in that it doesn’t set target position used by MOVE and MOVR commands to zero. During movement and stopping its behavior is the same. If you issue SPOS command during movement the controller will end in the same physical position it would move to if this command was not sent.