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 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 ...