Yamaha DRCX User Manual page 250

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

Advertisement

(25)@P <point number>
Sets the point variable P.
Point number
Transmission example
Response example
c
CAUTION
The contents of the point variable P are held even when the DRCX is turned off. However, when the program is
reset or when the program reset is applied for example by switching the execution program, the point variable P
will be initialized to 0.
(26)@P+
Adds 1 to the point variable P.
Transmission example
Response example
(27)@P-
Subtracts 1 from the point variable P.
Transmission example
Response example
(28)@CSEL <array element number>
Specifies an array element for the counter array variable C to be used.
Array element number
Transmission example
Response example
(29)@C <counter value>
Sets a specified value in the counter array variable C specified with the CSEL statement.
Counter value
Transmission example
Response example
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
11-5 Communication Command Description
: This can be any value from 0 to 999.
: @P 100 c/r l/f ............................... Set the point variable P to 100.
: OK c/r l/f
: @P+ c/r l/f .................................... Increments the point variable P.
: OK c/r l/f
: @P- c/r l/f ..................................... Decrements the point variable P.
: OK c/r l/f
: This is a number used to designate an array element for the
counter array variable C, and can be from 0 to 31. The counter
variable D can also be specified here as the array element.
: @CSEL 1 c/r l/f ............................ Uses the counter array variable
: OK c/r l/f
: This can be any value from 0 to 65535.
: @C 100 c/r l/f ............................... Sets the counter array variable
: OK c/r l/f
(P ← P+1)
(P ← P-1)
C of element number 1 in the
subsequent steps.
C to 100.
17
11-
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents