Yamaha ERCX Series User Manual page 206

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

Advertisement

11-5 Communication Command Description
11
16
11-
(26)@D+ [<addition value>]
Adds a specified value to the counter variable D.
This command is available with controller version 13.23 or later.
Addition value
Transmission example
Response example
(27)@D- [<subtraction value>]
Subtracts a specified value from the counter variable D.
This command is available with controller version 13.23 or later.
Subtraction value
Transmission example
Response example
(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.
This command is available with controller version 13.23 or later.
Point number
Transmission example
Response example
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.
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is added to the counter variable.
: @D+ c/r l/f ................................... Increments the counter
: OK c/r l/f
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is subtracted from the counter variable.
: @D- c/r l/f .................................... Decrements the counter
: OK c/r l/f
: 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.
: @SHFT 1 c/r l/f ............................ Shifts the point data by an
: OK c/r l/f
variable D. (D ← D+1)
variable D. (D ← D-1)
amount defined by point
number 1 and the shifted data
is used with the subsequent
movement commands.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents