Gets the current standalone index for [prgNo].


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                        SPC


Syntax        

               

Read

SPC[prgNo]                

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


Reply 

Command is accepted and executed


Read         

Returns the line number which is being executed. (0~1799)


Example 

Read        

SPC0        * Returns the line number which is being executed in the standalone program 0


Notes

None


See also

Motion Settings

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


Commander Manual

Identification Number