Data Handling - Yamaha DRCX User Manual

2-axis robot controller
Hide thumbs Also See for DRCX:
Table of Contents

Advertisement

11-5-2 Data handling

(1)@?POS [<axis>]
Reads the current position of all axes or a specified axis.
Axis
Transmission example
Response example
(2)@XPOS
This reads the current position of the X-axis.
Transmission example
Response example
(3)@YPOS
This reads the current position of the Y-axis.
Transmission example
Response example
(4)@?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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
11-5 Communication Command Description
: "0" for all axes, "1" for the X-axis, and "2" for the Y-axis.
If this setting is omitted, X-axis is selected.
: @?POS 0 c/r l/f
: 321.05, 100.15 c/r l/f
OK c/r l/f
: @?XPOS c/r l/f
: 321.05 c/r l/f
OK c/r l/f
: @?YPOS c/r l/f
: 100.15 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
executed.
program (program selected
with @SWI statement), and
program No.10 is currently
being executed with the JMP
or CALL statement, etc.
21
11-
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents