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. This command is read-only.


Applies to: CMD-4CR, CMD-4EX-SA, PMX-4EX-SA, PMX-4ET-SA, PMX-2ED-SA, PMX-2EX


ASCII                        SPC

Syntax:                        

Read:

SPC[prgNo]                

Where:        [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

2.1.1.1 Identification Number