11-
17
11
11-5 Communication Command Description
COMMUNICA
TION WITH PC
11-5-2 Data handling
(1)@?POS
Reads the current position.
Transmission example
: @?POS c/r l/f
Response example
: 321.05 c/r l/f
OK c/r l/f
(2)@?NO
Reads the current program number. In multi-task operation, this command reads the program
information on the task currently selected.
Transmission example
: @?NO c/r l/f
Response example 1
: 31 c/r l/f ........................................ Program No.31 is being
executed.
OK c/r l/f
Response example 2
: 10/l c/r l/f ...................................... Program No.1 is the lead
program (program selected
with @SWI statement), and
program No.10 is currently
being executed with the JMP
or CALL statement, etc.
OK c/r l/f
(3)@?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
(4)@?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
(5)@?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
Summary of Contents for SRCP30
Page 1: ...User s Manual ENGLISH E E104 Ver 1 02 SRCP30 YAMAHA SINGLE AXIS ROBOT CONTROLLER MF100 ...
Page 2: ......
Page 8: ...vi MEMO ...
Page 26: ...2 10 MEMO ...
Page 130: ...8 34 MEMO ...
Page 144: ...9 14 MEMO ...
Page 174: ...10 30 MEMO ...
Page 216: ...12 10 MEMO ...
Page 232: ...14 4 MEMO ...
Page 233: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 238: ...MEMO 15 6 ...