Gets/sets the standalone [prgNo], stop(0), start(1), pause(2), and continue(3)


This command obtains a line number in a standalone program that is being executed. The line number here is the number of the Assembly code. It is different from the line number that is actually written. 


Access: Read/Write

Category: Standalone

Applies to: All Commander Controllers


ASCII                        SR


Syntax        

               

Read

SR[axis]                

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


Write

SR[axis]=[value]                

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

[value]  specifies if the standalone [prgNo]

0:  Stop

1:  Start 

2: Pause

3: Continue


Reply 

Command is accepted and executed


Read         

Returns the value set for standalone program start (0-3)


Write           

OK


Command cannot be processed

       An error message is returned. See Error Codes


Example 

Read        

SRX        * Returns the [prgNo] for the X-axis

Write        

SRZ=1         * Sets z-axis to start on power up

Notes

None


See also

Motion Settings

SACTRL, SAP, SASTAT, SLOAD, V, GS, SPC


Commander Manual

Identification Number