11-
22
11
COMMUNICA
TION WITH PC
11-5 Communication Command Description
(5)@?SNO
Reads the current step number. The @RUN and @SRUN commands are executed from the step
read here. In multi-task operation, this command reads the program information on the task cur-
rently selected.
Transmission example
: @?SNO c/r l/f
Response example
: 170 c/r l/f
OK c/r l/f
(6)@?TNO
Reads the current task number.
Transmission example
: @?TNO c/r l/f
Response example
: 0 c/r l/f .......................................... Task 0 (main task) is currently
selected.
OK c/r l/f
(7)@?PNO
Reads the currently selected point number. This is used to find which point data is being used for
movement, or to find the point that caused an error if it occurs. In multi-task operation, this
command reads the program information on the task currently selected.
Transmission example
: @? PNO c/r l/f
Response example
: 57 c/r l/f
OK c/r l/f
(8)@?STP <program number>
Reads the total number of steps in the specified program.
Program number
: This is a number used to identify each program and can be 0 to
99 (a total of 100).
Transmission example
: @?STP 10 c/r l/f ........................... Reads the total number of
steps for program No. 10.
Response example
: 140 c/r l/f
OK c/r l/f
(9)@?MEM
Reads the number of steps that can be added.
Transmission example
: @?MEM c/r l/f
Response example
: 1001 c/r l/f
OK c/r l/f
c
CAUTION
In addition to the number of existing steps, the steps equivalent to the number of programs are used internally as
the program control steps. For example, if one program with 50 steps is registered, the number of the available
remaining steps will be 2949 steps (3000 - 1- 50 = 2949).
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com