11-
16
11
COMMUNICA
TION WITH PC
11-5 Communication Command Description
(26)@D+ [<addition value>]
Adds a specified value to the counter variable D.
Addition value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is added to the counter variable.
Transmission example
: @D+ c/r l/f ................................... Increments the counter
variable D. (D
←
D+1)
Response example
: OK c/r l/f
(27)@D- [<subtraction value>]
Subtracts a specified value from the counter variable D.
Subtraction value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is subtracted from the counter variable.
Transmission example
: @D- c/r l/f .................................... Decrements the counter
variable D. (D
←
D-1)
Response example
: OK c/r l/f
(28)@SHFT <point number>
Shifts the position data by an amount equal to the distance defined by a specified point number.
The shifted data is valid until the SHFT statement is executed again or until the program is reset.
Point number
: This is a number used to identify each point (position data) and
can be from 0 to 999 (a total of 1,000 points). Data for the point
numbers can be edited with the @WRITE PNT statement. The
point variable P can also be used.
Transmission example
: @SHFT 1 c/r l/f ............................ Shifts the point data by an
amount defined by point
number 1 and the shifted data
is used with the subsequent
movement commands.
Response example
: OK c/r l/f
c
CAUTION
When the program is reset, the shift data will be initialized to 0.00.
The SHFT statement affects MOVA, MOVF and MOVM, but does not affect MOVD and MOVI.
Summary of Contents for SRCP
Page 1: ...User s Manual ENGLISH E YAMAHA SINGLE AXIS ROBOT CONTROLLER E84 Ver 2 04 SRCP ...
Page 2: ......
Page 8: ...vi MEMO ...
Page 18: ...1 10 MEMO ...
Page 28: ...2 10 MEMO ...
Page 132: ...8 34 MEMO ...
Page 146: ...9 14 MEMO ...
Page 176: ...10 30 MEMO ...
Page 218: ...12 10 MEMO ...
Page 235: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 240: ...MEMO 15 6 ...
Page 241: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Page 245: ...MEMO ...