Gets the current status of the standalone program for [prgNo].


Access: Read

Category: Standalone

Applies to: All Commander Controllers


ASCII                        SASTAT[prgNo]


Syntax        

               

Read

SASTAT[prgNo]                

[prgNo] specifies the program number (0-3)


Reply 

Command is accepted and executed


Read         

Returns a value 0 – 3 indicating current program operation status

Value

Program Status

0

Program [prgNo] is Idle

1

Program [prgNo] is Running

2

Program [prgNo] is Paused

3

Program [prgNo] has an Error


Example 

Read        

SASTAT0        * Returns operation status of Program 0


Notes

None


See also

Motion Settings

SACTRL, SAP, SLOAD, V, GS, SPC


Commander Manual

Identification Number