Data Handling - Yamaha ERCX Series User Manual

Single-axis robot controller
Hide thumbs Also See for ERCX Series:
Table of Contents

Advertisement

11-5-2 Data handling

(1)@?POS
Reads the current position.
Transmission example
Response example
(2)@?NO
Reads the current program number. In multi-task operation, this command reads the program
information on the task currently selected.
Transmission example
Response example 1
Response example 2
(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
Response example
(4)@?TNO
Reads the current task number.
Transmission example
Response example
(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
Response example
11-5 Communication Command Description
: @?POS c/r l/f
: 321.05 c/r l/f
OK c/r l/f
: @?NO c/r l/f
: 31 c/r l/f ........................................ Program No.31 is being
OK c/r l/f
: 10/l c/r l/f ...................................... Program No.1 is the lead
OK c/r l/f
: @?SNO c/r l/f
: 170 c/r l/f
OK c/r l/f
: @?TNO c/r l/f
: 0 c/r l/f .......................................... Task 0 (main task) is currently
OK c/r l/f
: @? PNO c/r l/f
: 57 c/r l/f
OK c/r l/f
executed.
program (program selected
with @SWI statement), and
program No.10 is currently
being executed with the JMP
or CALL statement, etc.
selected.
17
11-
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents