Cc-Link Rcx3 e v1.20
Cc-Link Rcx3 e v1.20
Cc-Link Rcx3 e v1.20
RCX340/RCX320
EUSA19B120
Warranty iv
Chapter 1 Outline
1. Features 1-1
2. Mechanism 1-2
5. CC-Link system connection status transition and robot controller status 1-6
Chapter 2 Connection
1. Settings the CC-Link compatible module 2-1
Chapter 3 Communication
1. State when the robot controller power is turned ON 3-1
T-1
CONTENTS CC-Link
User’s Manual
Chapter 4 Troubleshooting
1. Check items before starting up the CC-Link system 4-1
3. Troubleshooting 4-3
Chapter 5 Specifications
1. Profile 5-1
Chapter 6 Appendix
1. Definitions of terms 6-1
T-2
CONTENTS CC-Link
User’s Manual
T-3
CONTENTS CC-Link
User’s Manual
T-4
CONTENTS CC-Link
User’s Manual
T-5
Important information before reading this manual
Introduction i
Warranty iv
Introduction
The CC-Link compatible module is compatible with CC-Link Ver. 1.10 and Ver. 2.0.
This manual consists of a CC-Link compatible module guide (explanation of wiring and communication, etc.)
and a remote command guide.
For information on other devices such as connecting the master module and sequence programming, refer to
the manual for the respective product.
For details on operating the robot controller and on the robot program, thoroughly read the controller user's
manual and programming manual supplied with the YAMAHA robot controller.
i
Safety Precautions (Always read before starting use)
Important information before reading this manual
Before using this product, be sure to read this manual carefully as well as the robot controller user's manual
and programming manual. Take sufficient precautions to ensure safety and handle the product correctly.
The cautions given in this manual are related to this product. Refer to the robot controller user's manual for
details on the cautions to be taken with the robot controller system using this product.
The safety precautions are ranked as "WARNING" and "CAUTION" in this manual.
w WARNING
FAILURE TO FOLLOW WARNING INSTRUCTIONS COULD RESULT IN SERIOUS INJURY OR DEATH TO THE OPERATOR OR
PERSON SERVICING THE PRODUCT.
c CAUTION
Failure to follow CAUTION instructions may result in injury to the operator or person servicing product, or damage
to the product or peripheral equipment.
n NOTE
Explains the key point in the operation in a simple and clear manner.
Note that some items described as "CAUTION" may lead to serious results depending on the situation. In any
case, important information that must be observed is explained.
Store this manual where it can be easily referred to, and make sure that it is delivered to the end user.
w WARNING
• CONFIGURE AN INTERLOCK CIRCUIT IN THE SEQUENCE PROGRAM SO THAT THE SYSTEM, INCLUDING THE ROBOT
CONTROLLER WILL WORK SAFELY.
• THE SAFETY CONNECTOR OF THE ROBOT CONTROLLER HAS AN EMERGENCY STOP TERMINAL TO TRIGGER
EMERGENCY STOP. USING THIS TERMINAL, PREPARE A PHYSICAL INTERLOCK CIRCUIT SO THAT THE SYSTEM
INCLUDING THE ROBOT CONTROLLER WILL WORK SAFETY.
c CAUTION
• The control line and communication cable must not be bound with or placed near the main circuit or power
line. Separate these by at least 100mm. Failure to observe this could lead to malfunctions caused by noise.
• When the parallel I/O is provided on the controller, all dedicated inputs will be disabled except for the stop
signal (DI06). When the parallel I/O is set invalid by an I/O parameter setting, the stop signal (DI06) will also be
disabled.
ii
■ ■ Precautions for installation
w WARNING
c CAUTION
• Use the robot controller in locations that support the environmental conditions specified in this manual.
Operation outside the specified environmental range may cause electrical shock, fire, malfunction or product
damage or deterioration.
• Do not touch the conductive areas and the electronic components of the CC-Link compatible module.
• Never directly touch the controller's interior areas.
• Accurately connect each connection cable connector to the mounting section.
Failure to observe this could lead to malfunctions caused by a connection fault.
w WARNING
ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE STARTING INSTALLATION OR WIRING
WORK. FAILURE TO SHUT OFF ALL PHASES COULD LEAD TO ELECTRIC SHOCKS OR PRODUCT DAMAGE.
c CAUTION
• Make sure that foreign matter, such as cutting chips or wire scraps, do not enter the robot controller.
• The communication cables connected to the CC-Link compatible module must be placed in a conduit or fixed
with a clamp. If the cable is not placed in a conduit or fixed with a clamp, the module or cable could be
damaged by the cable shifting, movement or unintentional pulling leading to malfunctioning caused by an
improper cable connection.
• Do not attempt to disconnect the connector which is connected to the CC-Link compatible module by pulling
on the cable itself. Always grasp the connector part of the cable when disconnecting it. Pulling on the cable
could damage the cable and module, possibly causing a poor contact condition which could result in
malfunctions.
w WARNING
• DO NOT TOUCH THE TERMINALS WHILE THE POWER IS ON. FAILURE TO OBSERVE THIS COULD LEAD TO
MALFUNCTIONING.
• ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE PERFORMING CLEANING OR WIRING
WORK. FAILURE TO SHUT OFF ALL PHASES COULD LEAD TO ELECTRIC SHOCKS, PRODUCT DAMAGE OR
MALFUNCTIONING.
• NEVER DISASSEMBLE OR MODIFY ANY OF THE ROBOT CONTROLLER MODULES.
FAILURE TO OBSERVE THIS COULD LEAD TO TROUBLE, MALFUNCTIONING, INJURIES OR FIRES.
• IN CASES WHERE SYSTEM OPERATION IS AFFECTED BY NOISE, MOUNT THE FERRITE CORE ON THE POWER CABLE AS
CLOSE TO THE ROBOT CONTROLLER AS POSSIBLE.
c CAUTION
• The CC-Link system may not function properly if the master module and robot controller power are turned ON
simultaneously. Always turn the robot controller power ON after turning ON the power for the master module
ON.
• The CC-Link compatible module does not have a connector locking mechanism. Use care to prevent the cable
from being pulled out of the connector (disconnected).
c CAUTION
Dispose of this product as industrial waste.
iii
Warranty
Important information before reading this manual
For information on the warranty period and terms, please contact our distributor where you purchased the
product.
THE WARRANTY STATED HEREIN PROVIDED BY YAMAHA ONLY COVERS DEFECTS IN PRODUCTS
AND PARTS SOLD BY YAMAHA TO DISTRIBUTORS UNDER THIS AGREEMENT. ANY AND ALL OTHER
WARRANTIES OR LIABILITIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE HEREBY EXPRESSLY
DISCLAIMED BY YAMAHA. MOREOVER, YAMAHA SHALL NOT BE HELD RESPONSIBLE FOR CONSEQUENT
OR INDIRECT DAMAGES IN ANY MANNER RELATING TO THE PRODUCT.
This manual does not serve as a guarantee of any industrial property rights or any other rights and
does not grant a license in any form. Please acknowledge that we bear no liability whatsoever for
any problems involving industrial property rights which may arise from the contents of this manual.
Ver.1.03_201802
iv
Chapter 1 Outline
1. Features 1-1
2. Mechanism 1-2
5. CC-Link system connection status transition and robot controller status 1-6
1. Features
1
CC-Link is the abbreviation of Control & Communication Link.
The CC-Link system connects the robot controller and dispersed input/output modules with dedicated cables,
and controls these modules from the master module.
The CC-Link system allows wiring to be reduced.
Outline
CC-Link system
Master module
Controls the entire CC-Link system.
Slave module
Controlled by the master module
in the CC-Link system.
Slave module
Controlled by the master module in the
CC-Link system.
The robot controller corresponds to this module.
n NOTE
When the parallel I/O is provided on the controller, all dedicated inputs will be disabled except for the stop signal
(DI06). When the parallel I/O is set invalid by an I/O parameter setting, the stop signal (DI06) will also be disabled.
1-1
2. Mechanism
1
This section describes the mechanism of the communication to provide an understanding of how the robot
controller and master module operate via the CC-Link system.
Mechanism of communication
Outline
ON/OFF information
(2)
(1) The robot controller's ON/OFF information is sent to the master module via the network.
(2) The master module's ON/OFF information is sent to the robot controller via the network.
If the following is executed with the robot program in the robot controller, the bit information will be sent to the master
module via the CC-Link system by (1).
SO(20)=1
Conversely, if the following is executed with the robot program, the bit information received from the master module via
the CC-Link system will be monitored by (2), and the robot controller will wait for the ON information.
WAIT SI(20)=1
If the following is executed with the robot program in the robot controller, the word information will be sent to the
master module via the CC-Link system by (1).
SOW(2)=256
Conversely, if the following is executed with the robot program, the word information received from the master module
via the CC-Link system will be substituted in integer variable A% by (2).
A%=SIW(3)
1-2
3. Par t names and functions
1
This section describes the part names and functions of the CC-Link compatible module.
This module is installed in the option slot of the robot controller.
Part names
Outline
3. Accessory connector
1 2 3 4 5
2. Monitor LED
ERROR 1 2 3 4 5
1
2
Terminal configuration table
3
Number Name Wiring
4
1 DA Blue
5
RUN 2 DB White
3 DG Yellow
4 SLD Shield
5 FG
■ ■ "ERROR" LED
Status Description
OFF Switches OFF when the power is OFF and when no errors occur.
Communication with the CC-Link system has been disabled due to a station number, communication
Flashing red (fast)
speed, or CC-Link version change which has been made at the programming box, etc.
■ ■ "RUN" LED
Status Description
OFF Not connected to the network, time-out has occurred, or the controller power is OFF.
3. Accessor y connector
This accessory connector is used to connect the CC-Link system cable.
1-3
4. I/O assignments of CC-Link compatible module
1
The I/O expressions used in the robot controller’s program language and the I/O expressions for the remote
device stations differ. The correspondence is shown below.
Program language Remote device station Program language Remote device station
Outline
*3 *3
SOW(0) RWr0 SIW(0) RWw0
n NOTE
SIW(n) and SOW(n) are handled as numerical data of word with no sign.
SID(n) and SOD(n) are handled as numerical data of double words with a sign.
1-4
An example of the flow of the I/O information in the robot controller (remote device station) is shown below.
The buffer memory in the master module used to store the I/O information differs according to the master
module type and the station number, etc.
Refer to the master module manual for details.
Example: 1
Master module Robot controller
(Q-Series)
Remote input Remote input
Outline
X17F to X100 RX8F to RX10
D115 to D100 RWr15 to RWr0
Automatic update
1-5
5. CC-Link system connection status transition and robot controller status
1
The CC-Link system specification robot controller always starts the operation in the servo OFF status after the
power has been turned ON.
1. Normal state of CC-Link system connection when the robot controller power is turned ON
Outline
The controller status is as shown below when the system is properly connected. Communication with the host device is
enabled at this time.
• The emergency stop/stop signals in the CC-Link system are valid.
• The emergency stop terminal in the SAFETY connector is valid.
• When a parallel I/O is provided, the parallel I/O's stop signal is enabled unless the parallel I/O has been disabled by a
parameter setting.
* Always initialize with the master module when connecting to the CC-Link system.
2. Transition from the CC-Link system normal connection state to the CC-Link system connection error
state
When a system connection error condition exists, the controller status is as shown below. Communication with the host
device is disabled at this time.
• The emergency stop input turns off with SI (00) in the robot controller.
• The stop signal turns off with SI (06) in the robot controller.
• The emergency stop terminal in the SAFETY connector is valid.
• When a parallel I/O is provided, the parallel I/O's stop signal is enabled unless the parallel I/O has been disabled by a
parameter setting.
* The "12.531: CC-Link communication error" is added to the alarm history in the robot controller.
* If the connection to the CC-Link system shifts from the normal state to the erroneous state, the CC-Link system
connection must be returned to the normal state.
* Communication with the host device is enabled when the CC-Link system connection is recovered to the normal state.
1-6
3. CC-Link system connection error state when the robot controller power is turned ON
The connection error may be caused by the following:
• It is impossible to connect to the CC-Link system.
• The master module is faulty.
1
System connection error state (2)
Outline
Robot Master module Robot Master module
controller controller
When a system connection error condition exists, the controller status is as shown below. Communication with the host
device is disabled at this time.
• The emergency stop input turns off with SI(00) in the robot controller.
• The stop signal turns off with SI (06) in the robot controller.
• The emergency stop signal terminal in the SAFETY connector is valid.
• When a parallel I/O is provided, the parallel I/O's stop signal is enabled unless the parallel I/O has been disabled by a
parameter setting.
* Communication with the host device is enabled when the CC-Link system connection is recovered to the normal state.
* The "12.531: CC-Link communication error" is added to the alarm history in the robot controller.
1-7
Chapter 2 Connection
1
Item name
0: INVALID, 1: VALID
Initial value
1: VALID
Remarks
Connection
2 CC-Link station number 1 to 61 1 Sets the station number.
* Four stations are occupied. Thus, this means that
(station number +3) is occupied.
* After the parameter setting has been changed, the
power need to be turned on again.
3 CC-Link baud rate 0: 156K, 1: 625K, 2: 2.5M, 0 Sets the communication speed.
3: 5M, 4: 10M * The communication speed must match the master
[unit: bps] module setting.
* After the parameter setting has been changed, the
power need to be turned on again.
4 CC-Link version 0: Ver.1.10, 1: Ver.2.00 0 Sets the CC-Link version.
■ ■ Setting method
n NOTE
Always save the controller's internal data to an external memory such as support software, etc., before changing
the controller settings.
2 Press the [F5] (OPTION) key to display the Option Parameters screen.
3 Select the desired parameter.
Use the cursor up/down keys to select the parameter to be edited, then press the [F1] (EDIT) key.
2-1
2. Noise measures
In cases where CC-Link system operation is affected by noise, mount a ferrite core on the input power cable.
w WARNING
Completely shut down the power supply to the input power cable before starting this work.
Connection
■ ■ Procedures
1. Mount the ferrite core (supplied) onto the input power cable. The ferrite core should be placed as close to the robot
controller body as possible.
2. Fix the mounted ferrite core with a tie band, etc.
c CAUTION
Securely fix the ferrite core. If the ferrite core is not mounted, trouble could occur with the CC-Link system
operations.
2-2
3. Connecting to the CC-Link system
The CC-Link system cable must be connected to the CC-Link compatible module in order to connect to the CC-
Link system.
Accessory connector
2
1 2 3 4 5
Monitor LED
ERROR 1 2 3 4 5
Connection
1
2
Terminal configuration table
3
Number Name Wiring
4
1 DA Blue
5
2 DB White
RUN
3 DG Yellow
4 SLD Shield
5 FG
w WARNING
Before connecting the cable, completely shut down the power supplied to the robot controller.
■ ■ Connection method
Connect the CC-Link cables to the CC-Link system's accessory connectors. Connect the wiring as shown above, or refer
to the connector table, being sure that the connections are correct. After these connections are completed, connect the
accessory connector to the controller's CC-Link compatible module connector.
* When connecting a terminator, connect it across DA-DB.
c CAUTION
• Securely fix the CC-Link system cable.
• Carefully carry out the work to avoid applying excessive force on the CC-Link cable.
• The CC-Link system connector does not have a locking mechanism. Use care to prevent the cable from being
pulled out of the connector (disconnected).
• Carefully carry out the work so that the CC-Link system cable is not incorrectly wired.
• Refer to the master module manual for details on the CC-Link system cable connection.
c CAUTION
If the line test results indicate a correct connection, place the CC-Link system cable into a conduit, or fix it with a
clamp.
2-3
Chapter 3 Communication
Communication
"option board ENABLE" parameter setting.
If connected to the CC-Link system incorrectly, the LEDs on the CC-Link compatible module show the error state.
Note that if the master module is not operating correctly, nothing will appear on the LEDs.
The emergency stop signal terminal in the SAFETY connector is always valid.
When a parallel I/O is provided, the parallel I/O's stop signal is enabled unless the parallel I/O has been disabled by an
"option board ENABLE" parameter setting.
* For details about LED indications, see Chapter 4 "2. Meanings of LEDs on CC-Link compatible module".
3-1
2. Initial process for connecting to CC-Link system
The initial data process must be carried out to correctly connect to the CC-Link system.
3
1. Confirm that RX(n + 7)8 (initial data process request flag) is ON.
2. Turn RY(n + 7)8 (initial data process completion flag) ON.
3. Confirm that RX(n + 7)8 (initial data process request flag) is OFF.
4. Confirm that RX(n + 7)B (remote Ready) is ON.
Communication
on
RX (n + 7) 8 off
on
RX (n + 7) B off
on
RY (n + 7) 8 off
c CAUTION
RX (n + 7) B (remote Ready) must always be used on the master module side as the flag to indicate whether the
robot controller is operating correctly.
3-2
3. Communication with the master module
This section describes the communication with the master module using the robot program when connected to
the CC-Link system correctly.
3
output area input port No. output area input port No.
RYn7~RYn0 SI(07)~SI(00) RWwn SIW(0)
Communication
RY(n + 2)7~RY(n + 2)0 SI(47)~SI(40) RWw(n + 4) SIW(4)
SID(4)
RY(n + 2)F~RY(n + 2)8 SI(57)~SI(50) RWw(n + 5) SIW(5)
c CAUTION
SIW(0) and SIW(1) are viewed as dedicated input ports. The robot controller handles these ports as input ports of
meaningful data, so do not use them as general-purpose input ports.
Set these ports to "0" in most cases.
When reading the bit information from the output area of the master module with the robot controller, write
the following commands in the robot program in the same manner as the DI input port.
WAIT command
Assignment statement
n NOTE
The SI statement in the robot language can be defined from SI0() to SI27(), but the CC-Link compatible module
accepts from SI0() to SI15().
3-3
When reading the word information from the output area of the master module with the robot controller, create
the robot program using the assignment statement.
Example: To read the RWw (n + 2) and RWw (n + 3) double word data into variable C.
C = SID (2) ��������������������������� The SIW(2) and SIW(3) data will be assigned to variable C as a decimal
value. If SIW(2) is 0010h and SIW(3) is 0001h, variable C will be
65552.
n NOTE
3
The word data written with SIW(n) has the unsigned little endian format.
The double word data written with SID(n) has the signed little endian format.
Communication
3-4
3.2 Transmitting data
The serial output port data of the robot controller is transmitted to the input area of the master module.
The correspondence between the serial output port of the robot controller and the input area of the master
module is shown below.
Address of master module Robot controller Address of master module Robot controller
input area output port No. input area output port No.
RXn7~RXn0 SO(07)~SO(00) RWrn SOW(0)
SO(57)~SO(50)
SO(67)~SO(60)
RWr(n + 4)
RWr(n + 5)
RWr(n + 6)
SOD(4)
SOW(4)
SOW(5)
SOW(6)
3
SOD(6)
RX(n + 3)F~RX(n + 3)8 SO(77)~SO(70) RWr(n + 7) SOW(7)
Communication
RX(n + 4)7~RX(n + 4)0 SO(107)~SO(100) RWr(n + 8) SOW(8)
SOD(8)
RX(n + 4)F~RX(n + 4)8 SO(117)~SO(110) RWr(n + 9) SOW(9)
c CAUTION
SIW(0) and SIW(1) are viewed as dedicated input ports.
When writing the bit information of the robot controller to the input area of the master module, write the
following commands in the robot program in the same manner as the DO input port.
SET/RESET command
Assignment statement
OUT command
n NOTE
The SO statement in the robot language can be defined from SO2() to SO27(), but the CC-Link compatible
module accepts from SO2() to SO15().
When writing the word information of the robot controller to the input area of the master module, create the
robot program using the assignment statement.
Example: To write 69905 as the double word data for RWr (n + 2) and RWr (n + 3).
SOD (2) = 69905 ������������������ 69905 is assigned to SOD(2), and then SOW(2) becomes 1111h and
SOW(3) becomes 0001h.
n NOTE
The word data written with SOW(n) has the unsigned little endian format.
The double word data written with SOD(n) has the signed little endian format.
3-5
4. Referring to the communication data
The master module's ON/OFF information can be referred to with the programming box.
Note that the programming box's display update interval is longer than the CC-Link data update interval. So,
if the ON/OFF interval is short, accurate information may not be displayed.
3
Communication
3-6
4.1 Input/output list display
Key Input/output
F7
F8
F9
SI
SO
SIW
3
F10 SOW
"SI MONITOR 1" screen
Communication
3 Change the port number.
At the Monitor screen, press the [MONITOR]
key to display the next port number.
If there is no next port number, the inputs/
outputs change in the following order:
DI → DO → MO → LO → TO → SI → SO → SIW
→ SOW
n NOTE
There are no displays for SIW and SOW details.
3-7
4.3 Switching the output status
3-8
Chapter 4 Troubleshooting
3. Troubleshooting 4-3
4
(The data for four stations must always be exchanged.)
7 Has the initial data process been carried out between the master module and robot controller?
(Refer to Chapter 3 "2.1 Initial data process")
8 Is the master module judging that the robot controller is correctly functioning using RX(n + 7)8 (remote Ready)?
Troubleshooting
4-1
2. Meanings of LEDs on CC-Link compatible module
Monitor LED
ERROR
RUN
4
Front of the module
Troubleshooting
The LEDs on the CC-Link compatible module express the controller and network statuses.
Use these LEDs for confirmation purposes if an error occurs.
■ ■ "ERROR" LED
Status Description
OFF Switches OFF when the power is OFF and when no errors are active.
Communication with the CC-Link system has been disabled due to a station number, communication
Flashing red (fast)
speed, or CC-Link version change which has been made at the programming box, etc.
■ ■ "RUN" LED
Status Description
OFF Not connected to the network, time-out has occurred, or the controller power is OFF.
c CAUTION
Even if the LED display indicates a normal communication status, data cannot be exchanged between the
master module and the controller unless the initial data process has been carried out correctly. Carry out the
initial data process by referring to Chapter 3 "2.1 Initial data process".
4-2
3. Troubleshooting
If a connection problem versus the robot controller occurs when starting or running the CC-Link system, check
the following items in their given order.
■ ■ Robot controller front panel "PWR" LED and the 7-segment LED confirmation
Confirmation
The "PWR" LED is OFF.
contents
Corrective Measure the voltage at the AC power input terminal of the power connector with a multi-meter to check
measures that the operating power voltage is supplied.
* For details about the power supply voltage for the robot controller, refer to the user’s manual for robot controller.
Confirmation
4
An alarm code is indicated at the 7-segment LED.
contents
Troubleshooting
controller.
4-3
■ ■ Confirmation from master module
Confirmation Using the master module's line test function, confirm robot controller is correctly connected to the
contents CC-Link system.
Cause • The CC-Link cable is laid near sources of noise such as the power cable.
Corrective • Connect the ferrite core for noise measures onto the input power cable.
measures • Wire the CC-Link cable away from noise sources such as the power cables.
n NOTE
Refer to the master module manual for details on the line test function.
4
Troubleshooting
4-4
4. Error messages relating to CC-Link
This section describes alarm messages relating to CC-Link compatible modules. For other alarms, refer to
the user's manual for robot controller.
When an alarm occurs, the relevant alarm message displays at the programming box.
Troubleshooting
b. The communication setting of the CC-Link system is incorrect.
Meaning/Cause c. The master module power is turned off, has stopped operating or is damaged.
d. The CC-Link compatible module is damaged.
e. Initial data process is not performed.
a. Check for a break, disconnection, wiring error, short circuit on the CC-Link cable or the
specifications (cable length, etc.).
b. Check the station number, communication baud rate and CC-Link version settings.
Action
c. Check that the master module operates correctly.
d. Replace the CC-Link compatible module.
e. Perform initial data process.
4-5
12.900: Incorrect option setting
Code : &H000C &H0384
4
Troubleshooting
4-6
Chapter 5 Specifications
1. Profile 5-1
■ ■ Remote input/output
Remote → Master Master → Remote
Address Signal name Address Signal name
RXn0 SO(00): Emergency stop status output RYn0 SI(00): Emergency stop input
RXn1 SO(01): CPU_OK status output RYn1 SI(01): Servo ON input
RXn2 SO(02): Servo ON status output RYn2
RXn3 SO(03): Alarm status output RYn3 *1
System area [for future expansion]
RXn4 SO(04): MP RDY status output RYn4
RXn5 RYn5
*1
RXn6 System area [for future expansion] RYn6 SI(06): Stop input
*1
RXn7 RYn7 System area [for future expansion]
RXn8 SO(10): AUTO mode status output RYn8 SI(10): Sequence control input
*1
RXn9 SO(11): Return-to-origin complete status output RYn9 System area [for future expansion]
RXnA SO(12): Sequence program execution status RYnA SI(12): Auto operation start input
output
5
*1
RXnB SO(13): Robot program running output RYnB System area [for future expansion]
RXnC SO(14): Program reset status output RYnC SI(14): Return-to-origin input (incremental type axis)
RXnD SO(15): Warning output RYnD SI(15): Program reset input
RXnE *1
RYnE SI(16): Alarm reset input
System area [for future expansion]
RXnF RYnF SI(17): Return-to-origin input (absolute type axis)
Specifications
RX(n + 1)0 RY(n + 1)0
to SO(20) to SO(27): General-purpose output to SI(20) to SI(27): General-purpose input
RX(n + 1)7 RY(n + 1)7
RX(n + 1)8 RY(n + 1)8
to SO(30) to SO(37): General-purpose output to SI(30) to SI(37): General-purpose input
RX(n + 1)F RY(n + 1)F
RX(n + 2)0 RY(n + 2)0
to SO(40) to SO(47): General-purpose output to SI(40) to SI(47): General-purpose input
RX(n + 2)7 RY(n + 2)7
RX(n + 2)8 RY(n + 2)8
to SO(50) to SO(57): General-purpose output to SI(50) to SI(57): General-purpose input
RX(n + 2)F RY(n + 2)F
RX(n + 3)0 RY(n + 3)0
to SO(60) to SO(67): General-purpose output to SI(60) to SI(67): General-purpose input
RX(n + 3)7 RY(n + 3)7
RX(n + 3)8 RY(n + 3)8
to SO(70) to SO(77): General-purpose output to SI(70) to SI(77): General-purpose input
RX(n + 3)F RY(n + 3)F
RX(n + 4)0 RY(n + 4)0
to SO(100) to SO(107): General-purpose output to SI(100) to SI(107): General-purpose input
RX(n + 4)7 RY(n + 4)7
RX(n + 4)8 RY(n + 4)8
to SO(110) to SO(117): General-purpose output to SI(110) to SI(117): General-purpose input
RX(n + 4)F RY(n + 4)F
RX(n + 5)0 RY(n + 5)0
to SO(120) to SO(127): General-purpose output to SI(120) to SI(127): General-purpose input
RX(n + 5)7 RY(n + 5)7
RX(n + 5)8 RY(n + 5)8
to SO(130) to SO(137): General-purpose output to SI(130) to SI(137): General-purpose input
RX(n + 5)F RY(n + 5)F
RX(n + 6)0 RY(n + 6)0
to SO(140) to SO(147): General-purpose output to SI(140) to SI(147): General-purpose input
RX(n + 6)7 RY(n + 6)7
(continued to next page)
5-1
Remote → Master Master → Remote
Address Signal name Address Signal name
RX(n + 6)8 RY(n + 6)8
to SO(150) to SO(157): General-purpose output to SI(150) to SI(157): General-purpose input
RX(n + 6)F RY(n + 6)F
RX(n + 7)0 RY(n + 7)0
RX(n + 7)1 RY(n + 7)1
RX(n + 7)2 RY(n + 7)2
RX(n + 7)3 *1
RY(n + 7)3 *1
Reserved Reserved
RX(n + 7)4 RY(n + 7)4
RX(n + 7)5 RY(n + 7)5
RX(n + 7)6 RY(n + 7)6
RX(n + 7)7 RY(n + 7)7
RX(n + 7)8 Initial data process request flag RY(n + 7)8 Initial data process complete flag
RX(n + 7)9 *1
RY(n + 7)9 *1
Reserved Reserved
RX(n + 7)A RY(n + 7)A
RX(n + 7)B Remote ready RY(n + 7)B
*1
RX(n + 7)C *1
RY(n + 7)C Reserved
Reserved
RX(n + 7)D RY(n + 7)D
RX(n + 7)E *1
RY(n + 7)E *1
(Reserved:QnA) (Reserved:QnA)
RX(n + 7)F RY(n + 7)F
5
n : Start address of the output area assigned to the master module
* Used to perform a return-to-origin at dedicated "absolute type axes" or at dual "absolute & incremental type axes", depending on the
parameter (DI17) setting.
*1: Reserved area. Do not use.
w
Specifications
WARNING
• Although the Emergency Stop input "SI (00)" performs a function which turns the servo OFF and stops robot
operation, do not rely solely on this input for safety purposes.
• To stop the robot (servo OFF) for safety purposes, be sure to install a hard-wired safety circuit which uses a
safety connector with an emergency stop contact. In addition, the CC-Link compatible module's emergency
stop input must also be turned OFF.
5-2
■ ■ Address
Remote → Master Master → Remote
Address Name Address Name
RWrn Dedicated SOW(0) RWwn Dedicated SIW(0)
RWr(n + 1) Dedicated SOW(1) RWw(n + 1) Dedicated SIW(1)
RWr(n + 2) General-purpose General-purpose SOW(2) RWw(n + 2) General-purpose General-purpose SIW(2)
RWr(n + 3) SOD(2) General-purpose SOW(3) RWw(n + 3) SID(2) General-purpose SIW(3)
RWr(n + 4) General-purpose General-purpose SOW(4) RWw(n + 4) General-purpose General-purpose SIW(4)
RWr(n + 5) SOD(4) General-purpose SOW(5) RWw(n + 5) SID(4) General-purpose SIW(5)
RWr(n + 6) General-purpose General-purpose SOW(6) RWw(n + 6) General-purpose General-purpose SIW(6)
RWr(n + 7) SOD(6) General-purpose SOW(7) RWw(n + 7) SID(6) General-purpose SIW(7)
RWr(n + 8) General-purpose General-purpose SOW(8) RWw(n + 8) General-purpose General-purpose SIW(8)
RWr(n + 9) SOD(8) General-purpose SOW(9) RWw(n + 9) SID(8) General-purpose SIW(9)
RWr(n + 10) General-purpose General-purpose SOW(10) RWw(n + 10) General-purpose General-purpose SIW(10)
RWr(n + 11) SOD(10) General-purpose SOW(11) RWw(n + 11) SID(10) General-purpose SIW(11)
RWr(n + 12) General-purpose General-purpose SOW(12) RWw(n + 12) General-purpose General-purpose SIW(12)
RWr(n + 13) SOD(12) General-purpose SOW(13) RWw(n + 13) SID(12) General-purpose SIW(13)
RWr(n + 14) General-purpose General-purpose SOW(14) RWw(n + 14) General-purpose General-purpose SIW(14)
RWr(n + 15) SOD(14) General-purpose SOW(15) RWw(n + 15) SID(14) General-purpose SIW(15)
n : Start address of the output area assigned to the master module
Specifications
5-3
2. Details of remote input/output signals
■ ■ Remote input (RX)
Address Signal name Description
RXn0 SO(00): Emergency stop status output Turns ON when robot controller is in emergency stop state.
RXn1 SO(01): CPU_OK status output Turns ON when robot controller is in normal state.
RXn2 SO(02): Servo ON status output Turns ON when the motor power of the robot controller is ON.
RXn3 SO(03): Alarm status output Switches ON when a serious robot controller error has occurred.
RXn4 SO(04): MP RDY status output Switches ON when main power is supplied from the robot
controller, and when servo ON operation is enabled by the servo
ON input signal.
Switches OFF when a serious robot controller error occurs.
RXn8 SO(10): AUTO mode status output Turns ON when the AUTO mode is selected.
Turns OFF when other mode is selected.
RXn9 SO(11): Return-to-origin complete status Turns ON when the robot has completed the return-to-origin.
output
RXnA SO(12): Sequence program execution status Turns ON while the sequence program is being executed.
output
RXnB SO(13): Robot program running output Turns ON while the robot program is being executed.
RXnC SO(14): Program reset status output Turns ON when the robot program has been reset.
5
Turns OFF when the robot program starts.
RXnD SO(15): Warning output Switches ON when a robot controller warning status occurs.
RX(n + 1)0
to SO(20) to SO(27): General-purpose output
RX(n + 1)7 General-purpose output turns ON/OFF when the value is
Specifications
n NOTE
When the area check output function is used, the area check outputs can be assigned to SO(20) ~ SO(157).
5-4
■ ■ Remote output (RY)
Address Signal name Description
RYn0 SI(00): Emergency stop input Turn OFF to put the controller in the emergency stop state.
Keeps turned ON during normal operation.
RYn1 SI(01): Servo ON input Turn ON to cancel the emergency stop state and put the robot servomotor in
the ON state. The servo ON is executed when this signal is switched from
OFF to ON.
It is necessary that the emergency stop input SI(00) is in the ON state and
all emergency stop states (emergency stop terminal in the SAFETY
connector, etc.) on the robot controller are cancelled.
RYn6 SI(06): Stop input Turn OFF to stop the robot program currently being executed.
To execute the program, keep this signal turned ON.
RYn8 SI(10): Sequence control input Turn ON to execute the sequence program in the robot controller.
The sequence program is executed when this signal is in the ON state.
RYnA SI(12): Auto operation start input Turn ON to execute the robot program.
The robot program is executed when this signal is switched from OFF to ON.
RYnC SI(14): Return-to-origin input Turn ON to perform the return-to-origin of the incremental type axis or
(incremental type axis) semi-absolute type axis. When this signal is switched from OFF to ON, the
incremental type axis performs the return-to-origin and the semi-absolute
type axis performs the absolute search operation.
This signal is intended for axes whose return-to-origin method is the sensor
or stroke end method.
RYnD SI(15): Program reset input Turn ON to reset the robot program.
5
The program is reset when this signal is switched from OFF to ON.
It is necessary that the robot controller is in the AUTO mode.
RYnE SI(16): Alarm reset input Turn ON to perform an alarm reset.
The alarm reset occurs when this signal switches from OFF to ON. A power
restart is required for alarms which are not cleared (reset) by this signal.
RYnF SI(17): Return-to-origin input Used to perform a return-to-origin at dedicated "absolute type axes" or at
Specifications
(absolute type axis) dual "absolute / incremental type axes", depending on the parameter (DI17
mode) setting.
• When set at "ABS";
Turn ON to perform return-to-origin for an absolute type axis. The
return-to-origin occurs when this signal is switched from OFF to ON. The
axis whose return-to-origin method is the mark method does not perform
the return-to-origin. Additionally, if the axis whose return-to-origin
method is the mark method does not complete the return-to-origin, the
return-to-origin is not executed using the dedicated input.
• When set at "ABS/ORG";
When only the absolute type axis is present, the return-to-origin is
performed for the absolute type axis.
The return-to-origin occurs when this signal is switched from OFF to ON.
When only incremental and semi-absolute type axes are present, the
return-to-origin is performed for those two axis types. When this signal is
switched from OFF to ON, the incremental type axis performs a
return-to-origin and the semi-absolute type axis performs an absolute
search operation.
When the absolute type axis, incremental type axis, and semi-absolute
type axis are mixed, the incremental type axis and semi-absolute type
axis perform the return-to-origin after the absolute type axis has
performed the return-to-origin.
RY(n + 1)0
SI(20) to SI(27): General-purpose
to
output
RY(n + 1)7
Refers to the SI port value, executes the WAIT command, and uses the ON/
to
OFF state of the general-purpose input.
RY(n + 6)8
SI(150) to SI(157): General-purpose
to
output
RY(n + 6)F
RY(n + 7)8 Initial data process complete flag Switches ON when the initial data process request flag switches ON at
power ON or at a recovery from a communication error.
n : Start address of the output area assigned to the master module
5-5
n NOTE
• When the RCX141 or RCX221 is changed to the RCX340/RCX320 and SI(17) needs to be used for the return-to-
origin input, SI(17) is used for "absolute reset/return-to-origin".
• When the RCX340/RCX320 is used with a robot whose axis configuration includes the absolute type, incremental
type, and semi-absolute type axes and SI(17) is used for " both the absolute and incremental axes return-to-
origin", the return-to-origin is performed for the absolute type axis each time the return-to-origin is performed for
the incremental type or semi-absolute type axis.
So, when the robot axis configuration includes the absolute type, incremental type, and semi-absolute type
axes, it is recommended to perform the absolute type axis return-to-origin with SI(17) and incremental type
axes return-to-origin with SI(14).
■ ■ Address (RWw)
Address Name Description
RWwn Dedicated SIW(0) Used as the remote command area.
RWw(n + 1) Dedicated SIW(1) Used as the command data area of the remote command.
RWw(n + 2) General-purpose General-purpose SIW(2)
RWw(n + 3) SID(2) General-purpose SIW(3)
RWw(n + 4) General-purpose General-purpose SIW(4)
RWw(n + 5) SID(4) General-purpose SIW(5)
RWw(n + 6) General-purpose General-purpose SIW(6)
5
RWw(n + 7) SID(6) General-purpose SIW(7)
Used to input the word or double word data from the SIW or SID
RWw(n + 8) General-purpose General-purpose SIW(8)
port.
RWw(n + 9) SID(8) General-purpose SIW(9)
Or, used as the command data area of the remote command.
RWw(n + 10) General-purpose General-purpose SIW(10)
RWw(n + 11) SID(10) General-purpose SIW(11)
Specifications
■ ■ Address (RWr)
Address Name Description
RWrn Dedicated SOW(0) Used as the status area of the remote command.
RWr(n + 1) Dedicated SOW(1) Used as the error code area of the remote command.
RWr(n + 2) General-purpose General-purpose SOW(2)
RWr(n + 3) SOD(2) General-purpose SOW(3)
RWr(n + 4) General-purpose General-purpose SOW(4)
RWr(n + 5) SOD(4) General-purpose SOW(5)
RWr(n + 6) General-purpose General-purpose SOW(6)
RWr(n + 7) SOD(6) General-purpose SOW(7)
Used to output the word or double word data from the SOW or
RWr(n + 8) General-purpose General-purpose SOW(8)
SOD port.
RWr(n + 9) SOD(8) General-purpose SOW(9)
Or, used as the response area of the remote command.
RWr(n + 10) General-purpose General-purpose SOW(10)
RWr(n + 11) SOD(10) General-purpose SOW(11)
RWr(n + 12) General-purpose General-purpose SOW(12)
RWr(n + 13) SOD(12) General-purpose SOW(13)
RWr(n + 14) General-purpose General-purpose SOW(14)
RWr(n + 15) SOD(14) General-purpose SOW(15)
n : Start address of the output area assigned to the master module
5-6
3. Dedicated input/output signal timing char t
3.1 Initial data process for CC-Link connection
on
RX( n + 7 ) 8
Initial data process request flag off
RX( n + 7 ) B on
Remote Ready off
RY( n + 7 ) 8 on
Initial data process complete flag off
a) b) c) d)
c CAUTION
• The dedicated input ON/OFF process from the master module to the controller must be carried out at an interval
of 100ms or more. If the interval is too short, the dedicated input may not be recognized. (This also applies to
the same dedicated input and differing dedicated input intervals.)
• If dedicated outputs are provided for the dedicated inputs from the master module to controller, use them.
5
■ ■ Confirmation of connection with the master module at power ON
a) Initial data process request flag ON is output
Specifications
b) Initial data process complete flag ON is input
c) Initial data process request flag OFF is output
d) Remote Ready ON is output
5-7
3.2 Ser vo ON and emergency stop
RXn 0 [SO( 0 0 ) ] on
Emergency stop off
status output
RXn 1 [SO( 0 1 ) ] on
CPU_OK status output off
RXn 2 [SO( 0 2 ) ] on
Servo ON status output
off
RXn 3 [SO( 0 3 ) ] on
Alarm status output
off
on
RYn 0 [SI( 0 0 ) ]
Emergency stop input off
RYn 1 [SI( 0 1 ) ] on
Servo ON input off
RYn E [SI( 1 6 ) ] on
Alarm reset input off
a) b) c) d) e) f) g) h) i) j) k) l) m)
5 c CAUTION
• Provide an interval of 100ms or more when turning the dedicated input from the master module to the controller
ON and OFF. If the interval is too short, the dedicated input may not be recognized. (This also applies to the
interval for the same dedicated inputs or different dedicated inputs.)
Specifications
• Use this also if there is a dedicated output in response to the dedicated input from the master module to the
controller.
5-8
3.3 AUTO mode changeover, program reset and program execution
RXn 8 [SO( 1 0 ) ] on
AUTO mode status output off
RXn 9 [SO( 1 1 ) ] on
Return-to-origin complete off
status output
RXn B [SO( 1 3 ) ] on
Robot program running off
output
RXn C [SO( 1 4 ) ] on
Program reset status output off
on
RYn 6 [SI( 0 6 ) ]
Stop input off
RYn A [SI( 1 2 ) ] on
Auto operation start input off
SAFETY connector on
auto mode input off
(CE specs. only)
Programming box on
manual lock input off
Programming box
control authority
Release
Get
5
RYn D [SI( 1 5 ) ] on
Program reset input off
Specifications
100ms or more
a) b) c) d) e) f) g) h) i)
c CAUTION
• Provide an interval of 100ms or more when turning the dedicated input from the master module to the controller
ON and OFF. If the interval is too short, the dedicated input may not be recognized. (This also applies to the
interval for the same dedicated inputs or different dedicated inputs.)
• Use this also if there is a dedicated output in response to the dedicated input from the master module to the
controller.
5-9
3.4 Stopping operation by a program stop
RXn 8 [SO( 1 0 ) ] on
AUTO mode status output
off
RXn 9 [SO( 1 1 ) ] on
Return-to-origin complete
status output off
RXn B [SO( 1 3 ) ] on
Robot program execution off
status output
RYn 6 [SI( 0 6 ) ] on
Stop input off
RYn A [SI( 1 2 ) ] on
Auto operation start input off
a) b) c) d) e) f) g) h) i)
100ms or more
c CAUTION
• Provide an interval of 100ms or more when turning the dedicated input from the master module to the controller
ON and OFF. If the interval is too short, the dedicated input may not be recognized. (This also applies to the
interval for the same dedicated inputs or different dedicated inputs.)
5 • Use this also if there is a dedicated output in response to the dedicated input from the master module to the
controller.
5-10
4. CC-Link compatible module specifications
5
* Controller’s I/O update intervals are 5 ms at shortest, but actual I/O update intervals may vary depending on the update time for
the master module.
c CAUTION
• For the names and description of remote input/output signals and remote registers, refer to the tables shown in
Specifications
"1. Profile" and "2. Details of remote input/ output signals" in this chapter.
• The specifications and appearance are subject to change without prior notice due to continual improvement.
5-11
Chapter 6 Appendix
■ ■ SAFETY connector
This SAFETY connector is a controller connector that connects the emergency stop input and auto mode input.
■ ■ Bit information
Bit data transmitted and received between master module and controller.
■ ■ Word information
Word data transmitted and received between master module and controller.
■ ■ Little endian
This little endian is a method that substitutes the LSB into the memory at low-order address and refers to the LSB when
the word information data is handed as double word data.
For example, when the value "00012345h" is substituted into SOD (2), "2345h" is substituted into SOW (2) of the first
word and "0001h" into SOW (3) of the second word.
Appendix
6-1
2. CSP+ files
The CSP+ file is the CC-Link Family System Profile with a format based on the CC-Link specifications.
This file contains information required for connecting with the host device (the master module, etc.).
The CSP+ file is read to the host device's configurator tool in order to enable recognition of product
information and identify items where settings are possible.
The CSP+ file can be downloaded from the YAMAHA website:
(http://global.yamaha-motor.com/business/robot/download/fieldbus/)
6
Appendix
6-2
Remote command guide
A
Using the CC-Link compatible module allows issuing commands directly from the master module (programmable
logic controller).
to to
RWrn + 15 RWwn + 15
n NOTE
Remote commands must be held until the status changes to a normal end (0x0200) or an abnormal end
(0x4000). If a remote command is changed before the status changes to an end, the status of the remote
command executed will not be reflected.
l Remote commands are run by assigning the command codes to the "RWwn", and command data to the RWwn + m.
When the controller receives the remote command, it starts the processing and sends the status (results) and its other
information to the master module by way of the "RWrn" and RWrn + m. When the remote command ends, assign the
status reset command (0x0000 (hexadecimal) ) to the "RWwn" to clear the status. The remote command can be run
when in command ready status (0x0000 (hexadecimal) ).
l Command data to be added to remote commands differs according to the particular remote command. For details, refer
to "4. Remote command description" in this guide. Command data must always be entered before trying to set the
remote command.
l Contents of the remote command response sent as the remote command results differ according to the particular
remote command. For details, Refer to "4. Remote command description" in this guide.
l Data is set in binary code. When setting two pieces of 8-bit data such as character code data, set the upper bit data
into the higher address. If the data size is greater than 16 bits, set the upper bit data into the higher address. (little
endian)
For example, to set "12" in RWwn + 4, enter 0x3231 (hexadecimal)
(character code: "1" = 0x31, "2" = 0x32)
For example, to set 0x01234567 (hexadecimal) (=19,088,743) in the RWwn + 4 and RWwn + 5 registers, set 0x0123
(hexadecimal) in RWwn + 5 and set 0x4567 (hexadecimal) in RWwn + 4.
l The status code is sent to "m" when the remote command ends correctly.
l When the remote command ends incorrectly, an alarm group number is sent to RWrn + 1 and alarm category number
is sent to RWrn + 2 as a response. See the troubleshooting section of the robot controller user's manual for description
of the alarm group number and alarm category number.
For example, when 0x0002 (hexadecimal) was set in RWrn + 1 and 0x014E (hexadecimal) was set in RWrn + 2, this
shows that a "soft limit over" alarm has occurred.
A-1
1.2 Remote status
The controller starts processing when the remote command is received and sends the status (results) to the
A
master module by way of "m".
0x4000 Alarm group number Alarm category number 0x0000 Abnormal end status
n NOTE
Remote commands must be held until the status changes to a normal end (0x0200) or an abnormal end
(0x4000). If a remote command is changed before the status changes to an end, the status of the remote
command executed will not be reflected.
A-2
2. Sending and receiving remote commands
Sending and receiving remote commands A
Remote command RWwn 2 5
Status RWrn 3 4 6
Response RWrn + 1 to 4 6
RWrn + 15
n NOTE
Remote commands must be held until the status changes to a normal end (0x0200) or an abnormal end
(0x4000). If a remote command is changed before the status changes to an end, the status of the remote
command executed will not be reflected.
Example: Typical transmit/receive when running a PTP movement command (all axes, program speed 50%) to point 19 is
shown below.
1. To run the PTP movement command for the designated point, enter the value in the registers shown below.
RWwn + 1 : command flag (0x0004 = speed setting)
RWwn + 3 : speed setting (0x0032 = 50%)
RWwn + 4 : point setting (0x0013 = point 19)
2. Enter the PTP movement command (0x0001) for the designated point into the "n".
3.The robot controller receives the remote command and starts running it if the command code and command
data can be executed. Status now shifts to command run status (0x0100). The robot moves to the position
designated as point 19 at the program speed (50% of normal speed). If the command cannot be executed,
status shifts to abnormal end status (0x4000) and the RWrn + 1 and RWrn + 2 values change to alarm codes.
4. When finished executing the remote command, status changes to normal end status (0x0200). Response
information is changed at the same time if present.
5. The current remote command has now finished, so set the status reset command (0x0000) in "RWwn" in
order to issue the next command.
6. The status and response shift to command ready status (0x0000).
A-3
3. Remote command & remote status tables
A
Remote commands and remote status codes are shown in hexadecimal notation.
■ ■ Remote Command
Command contents
Meaning
Remote command guide
Category RWwn
■ ■ Remote Status
Status contents
Meaning
RWrn RWrn + 1 RWrn + 2 From RWrn + 3
0x4000 Alarm group number Alarm category number 0x0000 Abnormal end status
A-4
■ ■ Remote command restrictions:
• All remote commands are disabled when dedicated inputs have been disabled by a safety setting.
• Only the following remote commands are enabled when the programming box has control authority.
0x0000
A
Point data reference 0x0101
n NOTE
For details regarding safety settings and programming box control authority, refer to the robot controller user's
manual.
A-5
■ ■ Categor y 1
No. Command contents Command code (RWwn)
1-1 MOVE command PTP point designation 0xR001
A Arch designation
Linear interpolation
Circular interpolation
0xR002
0xR003
0xR004
Direct PTP designation Millimeter units 0xR006
Pulse units 0xR007
Remote command guide
A-6
■ ■ Categor y 2
No. Command contents Command code (RWwn)
2-1 Point-related command Point data definition 0x0100
■ ■ Categor y 3
No. Command contents Command code (RWwn)
3-1 Static variable-related commands Assignment Value 0x0200
Variable 0x0201
Addition Value 0x0204
Variable 0x0205
Subtraction Value 0x0208
Variable 0x0209
Multiplication Value 0x020C
Variable 0x020D
Division Value 0x0210
Variable 0x0211
Reference Variable 0x0214
3-2 Parameter-related command Assignment 0xR220
Reference 0xR224
3-3 Point-related command Point assignment 0x0230
Addition 0x0234
Subtraction 0x0235
Pallet point assignment 0x0238
Point element Pulse units input format 0x0240
assignment
Millimeter units input format 0x0241
Shift element Millimeter units input format 0x0245
assignment
* "R" indicates the number of the robot in question (0~4).
■ ■ Categor y 4
No. Command contents Command code (RWwn)
4-1 I/O port-related commands Assignment Port units 0x0300
Bit units 0x0301
Reference Port units 0x0304
■ ■ Categor y 5
No. Command contents Command code (RWwn)
5-1 Execution program designation 0x0401
5-2 Program execution Program execution 0x0402
Program step execution 0x0403
Program skip execution 0x0404
Program next execution 0x0405
5-3 Program reset 0x0406
5-4 Program execution information reference 0x0408
A-7
■ ■ Categor y 6
No. Command contents Command code (RWwn)
6-1 Version information reference 0x0501
A 6-2
6-3
6-4
System configuration referencing
Servo status reference
Current position reference Pulse units
0xR502
0xR503
0xR505
Millimeter units 0xR506
6-5 Task status reference 0x0507
Remote command guide
■ ■ Categor y 7
No. Command contents Command code (RWwn)
7-1 In-controller date setting operation 0x0602
7-2 In-controller time setting operation 0x0603
7-3 Alarm reset command 0x0604
A-8
4. Remote command description
4.1 Status reset command
This command is executed to set the status to command ready status (0x0000).
A
Remote commands cannot be executed unless in command ready status (0x0000). Therefore, this command
must be executed to execute the next remote command after executing the remote command.
■ ■ Status
Address Contents Value
RWrn Status code
RWrn + 1 Response
0x0000
to
RWrn + 15
A-9
4.2 Categor y 1 remote commands
These are remote commands mainly for movement commands.
A
No. Command contents Command code (RWwn)
1-1 MOVE command PTP point designation 0xR001
Arch designation 0xR002
Linear interpolation 0xR003
Circular interpolation 0xR004
Remote command guide
A-10
4.2.1 MOVE command
Execute this command group to move the robot to an absolute position.
A
● ● PTP designation
This command moves the robot to a target position in PTP motion by specifying the point number.
■ ■ Command
Address Contents Value
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
A-11
e : Specify in 1 bit whether to set deceleration.
Value Meaning
0 Deceleration is not specified.
A
1 Deceleration is specified.
Value Meaning
0 No output.
Remote command guide
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
tt : Specify the axis to move in bit pattern using lower 8 bits. Valid when axis designation flag is 1.
ssss : Specify the speed in 16 bits.
pppp : Specify the point number in 16 bits.
Specified range: 0 (=0x0000) to 29999 (=0x752F)
rrrr : Specify the acceleration and deceleration in 16 bits.
Specified range: 1 (=0x0001) to 100 (=0x0064)
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-12
Example: Address Value
Specify the MOVE command with PTP designation as RWwn 0x0001
shown at right, when moving all axes of the Robot 1 to RWwn + 1 0x4004
A
point number 100 at 50% speed and with the current RWwn + 2 0x0000
position being output in pulse units. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
Values are expressed as shown at right when the axis Address Value
current positions are as follows: RWrn 0x0200
Axis 1 = 123456 RWrn + 1 0x0000
Axis 2 = -123 RWrn + 2 0x0000
A-13
● ● Arch designation
This command moves the robot to a target position in arch motion by specifying the point number, arch axis
and arch data.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR002
Robot designation bit 15 – bit 12 Robot number
Remote command guide
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
A-14
d : Specify the arch data units in 1 bit.
Value Meaning
0 Pulse units
A
1 Millimeter units
Value Meaning
0 No output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
1. The arch-specified axis starts moving to the position specified by the option.
("1" shown in the figure above)
2. When the arch-specified axis moves arch distance 1 value or more,
other axes move to their target positions. ("2" shown in the figure above)
3. The arch-specified axis moves to the target position so that the remaining distance becomes the
arch distance 2 when the movement of other axes is completed. ("3" shown in the figure above)
4. When all axes enter the OUT valid position range, the command is completed.
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
A-15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
A
output flag.
Abnormal end
Address Contents Value
Remote command guide
A-16
● ● Linear interpolation
This command moves the robot to a target position by linear interpolation by specifying the point number.
■ ■ Command
Address
RWwn Command code bit 11 – bit 0
Contents Value
0xR003
A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 (0: Fixed) a
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
A-17
e : Specify in 1 bit whether to set deceleration.
Value Meaning
0 Deceleration is not specified.
A
1 Deceleration is specified.
Value Meaning
0 No output.
Remote command guide
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-18
Example: Address Value
Specify the MOVE command with linear interpolation RWwn 0x0003
as shown at right, when moving all axes of the Robot 1 RWwn + 1 0x8026
A
to point number 100 at a speed of 200 mm/s and at RWwn + 2 0x0000
50% acceleration, and with the current position being RWwn + 3 0x00C8
output in millimeters. RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
A-19
● ● Circular interpolation
This command moves the robot to a target position by circular interpolation by specifying two point numbers.
■ ■ Command
A Address
RWwn Command code bit 11 – bit 0
Contents Value
0xR004
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 (0: Fixed) 0
Remote command guide
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
Value Meaning
0 Deceleration is not specified.
1 Deceleration is specified.
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-20
ssss : Specify the speed in 16 bits.
pppp : Specify the first and second point numbers in 16 bits.
Specified range: 0 (=0x0000) to 29999 (=0x752F)
A
rrrr : Specify the acceleration and deceleration in 16 bits.
Specified range: 1 (=0x0001) to 100 (=0x0064)
■ ■ Status
Normal end
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-21
Example: Address Value
Specify the MOVE command with circular RWwn 0x0004
interpolation as shown at right, when moving all axes RWwn + 1 0x8044
A
of the Robot 1 to point numbers 100 and 101 at 20% RWwn + 2 0x0000
speed and 50% deceleration, and with the current RWwn + 3 0x0014
position being output in millimeters. RWwn + 4 0x0064
RWwn + 5 0x0065
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0032
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-22
● ● Direct PTP designation (millimeter units)
This command moves the robot to a target position in PTP motion by directly specifying the data in millimeters.
■ ■ Command
Address
RWwn Command code bit 11 – bit 0
Contents Value
0xR006
A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
Value Meaning
Value Meaning
01 Specifies a right-handed system.
10 Specifies a left-handed system.
Other No hand system is specified.
A-23
xr / yr : Shows the number 1 and number 2 arm rotation information defined by 4 bits. (* 1)
These items are available only on YK500TW model SCARA robots.
On all other robots, any setting value for these setting items will be processed as "0".
A
Value Meaning
0001 1
1111 −1
Other 0
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
c CAUTION
• Even if movement is specified only for Axis 4 on a SCARA robot, the 1 and 2 axes also move simultaneously to
the target position.
• (*1)
For details, refer to the 'Point Data Display / Editing' section of the "Operator’s Manual for RCX3 Series controller".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-24
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Specify the MOVE command with direct PTP
RWwn 0x0006
designation (millimeter units) as shown at right, when
moving all axes of the Robot 1 to the following points RWwn + 1 0x8004
at 50% speed, and with the current position being RWwn + 2 0x0000
A-25
● ● Direct PTP designation (pulse units)
This command moves the robot to a target position in PTP motion by directly specifying the data in pulses.
■ ■ Command
A Address
RWwn Command code bit 11 – bit 0
Contents Value
0xR007
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
Remote command guide
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-26
tt : Specify the axis to move in bit pattern using lower 8 bits.
Valid when axis designation flag is 1.
ssss : Specify the speed in 16 bits.
A
pppppppp : Specify the target position data for each axis in 32 bits. (little endian)
Data should be integers in pulse units.
■ ■ Status
Normal end
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-27
Example: Address Value
Specify the MOVE command with direct designation RWwn 0x0007
PTP (pulse units) as shown at right, when moving all RWwn + 1 0x4004
A
axes of the Robot 1 to the following points at 50% RWwn + 2 0x0000
speed, and with the current position being output in RWwn + 3 0x0032
pulses. RWwn + 4 0x86A0
Axis 1 = 100000 RWwn + 5 0x0001
Axis 2 = -200000 RWwn + 6 0xF2C0
Remote command guide
A-28
4.2.2 MOVEI command
Execute this command group to move the robot to a relative position.
A
● ● PTP designation
This command moves the robot a specified distance in PTP motion by specifying the point number.
n NOTE
• If the MOVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR009
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
bit 2 − bit 1 Speed designation flag bb
bit 14 − bit 3 (0: Fixed) 0
bit 5 Acceleration designation flag d
bit 6 Deceleration designation flag e
bit 13 – bit 7 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Point number 0xpppp
RWwn + 5 Not used 0x0000
to
RWwn + 9
RWwn + 10 Acceleration designation 0xrrrr
RWwn + 11 Deceleration designation 0xrrrr
RWwn + 12 Not used 0x0000
to
RWwn + 15
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
A-29
d : Specify in 1 bit whether to set acceleration.
Value Meaning
0 Acceleration is not specified.
A
1 Acceleration is specified.
Value Meaning
0 Deceleration is not specified.
Remote command guide
1 Deceleration is specified.
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-30
Example: Address Value
Specify the MOVEI command with PTP designation as RWwn 0x0009
shown at right, when moving all axes of the Robot 1 a RWwn + 1 0x4004
A
distance specified by point number 100 at 50% speed, RWwn + 2 0x0000
and with the current position being output in pulses. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
A-31
● ● Linear interpolation
This command moves the robot a specified distance in linear interpolation motion by specifying the point
number.
A n NOTE
• If the MOVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of controller parameters.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR00A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
bit 2 − bit 1 Speed designation flag bb
bit 4 − bit 3 (0: Fixed) 0
bit 5 Acceleration designation flag d
bit 6 Deceleration designation flag e
bit 13 – bit 7 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 – bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Point number 0xpppp
RWwn + 5 Not used 0x0000
to
RWwn + 9
RWwn + 10 Acceleration designation 0xrrrr
RWwn + 11 Deceleration designation 0xrrrr
RWwn + 12 Not used 0x0000
to
RWwn + 15
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
A-32
d : Specify in 1 bit whether to set acceleration.
Value Meaning
0 Acceleration is not specified.
A
1 Acceleration is specified.
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-33
Abnormal end
Address Contents Value
m Status code 0x4000
A
m+2 Alarm group number 0xaaaa
m+4 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Remote command guide
A-34
● ● Direct PTP designation (millimeter units)
This command moves the robot a specified distance in PTP motion by directly specifying the data in
millimeters.
n NOTE
• If the MOVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
A
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of controller parameters.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR00E
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
bit 2 − bit 1 Speed designation flag bb
bit 4 – bit 3 Hand system cc
bit 8 – bit 5 Number 1 arm rotation information xr
bit 12 – bit 9 Number 2 arm rotation information yr
bit 13 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Axis-1 data 0xpppppppp
RWwn + 5
RWwn + 6 Axis-2 data 0xpppppppp
RWwn + 7
RWwn + 8 Axis-3 data 0xpppppppp
RWwn + 9
RWwn + 10 Axis-4 data 0xpppppppp
RWwn + 11
RWwn + 12 Axis-5 data 0xpppppppp
RWwn + 13
RWwn + 14 Axis-6 data 0xpppppppp
RWwn + 15
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
A-35
cc : Specify the hand system in 2 bits.
Only for SCARA robot settings in millimeters.
Value Meaning
A
01 Specifies a right-handed system.
10 Specifies a left-handed system.
Other No hand system is specified.
xr / yr : Shows the number 1 and number 2 arm rotation information defined by 4 bits. (* 1)
These items are available only on YK500TW model SCARA robots. On all other robots, any setting
Remote command guide
Value Meaning
0001 1
1111 −1
Other 0
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
c CAUTION
(*1)
For details, refer to the 'Point Data Display / Editing' section of the "Operator’s Manual for RCX3 Series controller".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-36
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Specify the MOVEI command with direct PTP Address Value
A-37
● ● Direct PTP designation (pulse units)
This command moves the robot a specified distance in PTP motion by directly specifying the data in pulses.
A n NOTE
• If the MOVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of controller parameters.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
when MOVEI is interrupted and then re-executed).
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR00F
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Axis designation flag a
bit 2 − bit 1 Speed designation flag bb
bit 13 − bit 3 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Axis-1 data 0xpppppppp
RWwn + 5
RWwn + 6 Axis-2 data 0xpppppppp
RWwn + 7
RWwn + 8 Axis-3 data 0xpppppppp
RWwn + 19
RWwn + 10 Axis-4 data 0xpppppppp
RWwn + 11
RWwn + 12 Axis-5 data 0xpppppppp
RWwn + 13
RWwn + 14 Axis-6 data 0xpppppppp
RWwn + 15
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
A-38
p, m : Specify in 1 bit whether to output current position.
Value Meaning
0 No output.
A
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-39
Example: Address Value
Specify the MOVEI command with direct PTP RWwn 0x000F
designation (pulse units) as shown at right, when RWwn + 1 0x4004
A
moving all axes of the Robot 1 a distance specified by RWwn + 2 0x0000
the following points from "0" pulse positions at 50% RWwn + 3 0x0032
speed, and with the current position being output. RWwn + 4 0x86A0
Axis 1 = 100000 RWwn + 5 0x0001
Axis 2 = -200000 RWwn + 6 0xF2C0
Remote command guide
A-40
4.2.3 DRIVE command
Execute this command group to move the specified axis of the robot to an absolute position. Valid only for a
single axis.
● ● Point designation
This command moves the specified axis of the robot to a target position in PTP motion by specifying the point
A
number.
■ ■ Command
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-41
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-42
Example: Address Value
Specify the DRIVE command with point designation as RWwn 0x0010
shown at right, to move axis 3 of the Robot 1 to point RWwn + 1 0x4005
A
number 100 at 50% speed and with the current RWwn + 2 0x0004
position being output in pulses units. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
A-43
● ● Direct designation (millimeter units)
This command moves the specified axis of the robot to a target position in PTP motion by directly specifying
the data in millimeters.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR012
Robot designation bit 15 – bit 12 Robot number
Remote command guide
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-44
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-45
Example: Address Value
Specify the DRIVE command with direct designation RWwn 0x0012
(millimeter units) as shown at right, to move axis 3 of RWwn + 1 0x8005
A
the Robot 1 to a position of "5.000" mm at 50% speed, RWwn + 2 0x0004
and with the current position being output in RWwn + 3 0x0032
millimeters. RWwn + 4 0x1388
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-46
● ● Direct designation (pulse units)
This command moves the specified axis of the robot to a target position in PTP motion by directly specifying
the data in pulses.
■ ■ Command
Address Contents Value
A
RWwn Command code bit 11 – bit 0 0xR013
Robot designation bit 15 – bit 12 Robot number
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-47
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-48
Example: Address Value
Specify the DRIVE command with direct designation RWwn 0x0013
(pulse units) as shown at right, to move axis 3 of the RWwn + 1 0x4005
A
Robot 1 to a position of "5000" pulses at 50% speed, RWwn + 2 0x0004
and with the current position being output in pulses. RWwn + 3 0x0032
RWwn + 4 0x1388
RWwn + 5 0x0000
RWwn + 6 0x0000
Address Value
Axis 1 = 10000
RWrn 0x0200
Axis 2 = -20000
RWrn + 1 0x0000
Axis 3 = 5000
RWrn + 2 0x0000
Axis 4 = -18000 RWrn + 3 0x0000
Other axes =0 RWrn + 4 0x2710
A-49
4.2.4 DRIVEI command
Execute this command group to move the specified axis of the robot to a relative position. Valid only for a
single axis.
A ● ● Point designation
This command moves the specified axis of the robot in PTP motion a distance by specifying the point number.
n NOTE
Remote command guide
• If the DRIVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of controller parameters.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
when DRIVEI is interrupted and then re-executed).
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR014
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 (1: Fixed) 1
bit 2 − bit 1 Speed designation flag bb
bit 13 − bit 3 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Point number 0xpppp
RWwn + 5 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-50
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-51
Example: Address Value
Specify the DRIVEI command with point designation as RWwn 0x0014
shown at right, to move axis 3 of the Robot 1 a RWwn + 1 0x4005
A
distance specified by point number 100 at 50% speed, RWwn + 2 0x0004
and with the current position being output in pulses. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-52
● ● Direct designation (millimeter units)
This command moves the specified axis of the robot in PTP motion a distance by directly specifying the data in
millimeters.
n NOTE
• If the DRIVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
A
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of controller parameters.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR016
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 (1: Fixed) 1
bit 2 − bit 1 Speed designation flag bb
bit 13 − bit 3 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Movement data 0xpppppppp
RWwn + 5
RWwn + 6 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-53
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-54
Example: Address Value
Specify the DRIVEI command with direct designation RWwn 0x0016
(millimeter units) as shown at right, to move axis 3 a RWwn + 1 0x8005
A
distance equal to "5.000"mm from "0.000" mm position RWwn + 2 0x0004
at 50% speed, and with the current position being RWwn + 3 0x0032
output in millimeters. RWwn + 4 0x1388
RWwn + 5 0x0000
RWwn + 6 0x0000
A-55
● ● Direct designation (pulse units)
This command moves the specified axis of the robot in PTP motion a distance by directly specifying the data in
pulses.
A n NOTE
• If the DRIVEI command is interrupted and then re-executed, the resumed motion that occurs either to the
original target position or to a new target position referenced to the current position can be selected by the
"MOVEI/DRIVEI start position" setting of other parameters. For details, refer to the controller user's manual.
• The other parameters default "MOVEI/DRIVEI start position" setting is Keep (motion to the original target position
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR017
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 (1: Fixed) 1
bit 2 − bit 1 Speed designation flag bb
bit 13 − bit 3 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Specified axis to move bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Specified speed 0xssss
RWwn + 4 Movement data 0xpppppppp
RWwn + 5
RWwn + 6 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-56
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-57
Example: Address Value
Specify the DRIVEI command with direct designation RWwn 0x0017
(pulse units) as shown at right, to move axis 3 a RWwn + 1 0x4005
A
distance equal to "5000" pulses from "0" pulse position RWwn + 2 0x0004
at 50% speed, and with the current position being RWwn + 3 0x0032
output in pulses. RWwn + 4 0x1388
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-58
4.2.5 Pallet movement command
Execute this command group to move the robot to work positions on a pallet.
A
● ● PTP designation
This command moves the robot to a target position in PTP motion by specifying the pallet number and work
position number.
■ ■ Command
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
Value Meaning
0 Deceleration is not specified.
1 Deceleration is specified.
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-59
ssss : Specify the movement speed in 16 bits.
pppp : Specify the pallet number in 16 bits.
Specified range: 0 (=0x0000) to 39 (=0x0027)
A
wwww : Specify the work position number in 16 bits.
Specified range: 1 (=0x0001) to 32767 (=0x7FFF)
rrrr : Specify the acceleration and deceleration in 16 bits.
Specified range: 1 (=0x0001) to 100 (=0x0064)
■ ■ Status
Remote command guide
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-60
Example: Address Value
Specify the PMOVE command with PTP designation as RWwn 0x0018
shown at right, when moving the Robot 1 to work RWwn + 1 0x8004
A
position number 21 on pallet number 1 at 70% speed, RWwn + 2 0x0000
and with the current position being output in RWwn + 3 0x0046
millimeters. RWwn + 4 0x0001
RWwn + 5 0x0015
RWwn + 6 0x0000
A-61
● ● Arch designation
This command moves the robot to a target position in arch motion by specifying the pallet number, work
position number, arch axis and arch data.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR019
Robot designation bit 15 – bit 12 Robot number
Remote command guide
Value Meaning
0 Pulse units
1 Millimeter units
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-62
uu : Specify the arch motion axis in bit pattern using upper 8 bits.
Specified arch axis is one axis only.
ssss : Specify the speed in 16 bits.
A
pppp : Specify the pallet number in 16 bits.
Specified range: 0 (=0x0000) to 39 (=0x0027)
wwww : Specify the work position number in 16 bits.
Specified range: 1 (=0x0001) to 32767 (=0x7FFF)
qqqqqqqq : Specify the arch position or the arch distance in 32 bits. (little endian)
Data should be integers when units are in pulses.
1. The arch-specified axis starts moving to the position specified by the option.
("1" shown in the figure above)
2. When the arch-specified axis moves arch distance 1 value or more,
other axes move to their target positions. ("2" shown in the figure above)
3. The arch-specified axis moves to the target position so that the remaining distance becomes the
arch distance 2 when the movement of other axes is completed. ("3" shown in the figure above)
4. When all axes enter the OUT valid position range, the command is completed.
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-63
aaaa : Indicates the alarm group number
bbbb : Indicates the alarm category number
A
Example: Address Value
Remote command guide
A-64
4.2.6 Jog movement command
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR020
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 13 − bit 0 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Axis to move and bit 0 Axis 1 tt
direction bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 6 (0: Fixed) 0
bit 7 Direction d
bit 15 − bit 8 (0: Fixed) 0
RWwn + 3 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 − direction
A-65
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end (When jog movement is stopped by a stop input)
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0x000C
RWrn + 2 Alarm category number 0x0190
RWrn + 3 Not used 0x0000
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-66
Abnormal end (other cases)
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-67
● ● Cartesian coordinate system jog movement
Execute this command to move the robot in jog mode. It performs linear interpolation movement of Cartesian
coordinates. The movement speed is determined by the manual movement speed.
A To stop the jog command, set the dedicated input of the stop signal (SI06) to OFF.
Abnormal end status (0x4000) appears as the status code and the alarm code indicates that the robot has
stopped by the stop input (RWrn + 1: 0x000C, RWrn + 2: 0x0190).
After confirming that movement has stopped, set the dedicated input of the interlock signal to ON.
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR021
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 13 − bit 0 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Axis to move and bit 0 Axis 1 tt
direction bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 6 (0: Fixed) 0
bit 7 Direction d
bit 15 − bit 8 (0: Fixed) 0
RWwn + 3 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 − direction
A-68
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end (When jog movement is stopped by a stop input)
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0x000C
RWrn + 2 Alarm category number 0x0190
RWrn + 3 Not used 0x0000
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-69
Abnormal end (other cases)
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Remote command guide
Example:
Specify the Cartesian coordinate system jog movement Address Value
as shown at right, to move axis 1 of the Robot 1 in the RWwn 0x0021
minus (-) direction, and with the current position being RWwn + 1 0x8000
output in millimeters. RWwn + 2 0x0081
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-70
● ● Tool coordinate system jog movement
Execute this command to move the robot in jog mode. It performs linear interpolation movement of the tool
coordinate system's Cartesian coordinates.
The movement speed is determined by the manual movement speed.
To stop the jog command, set the dedicated input of the stop signal (SI06) to OFF.
A
Abnormal end status (0x4000) appears as the status code and the alarm code indicates that the robot has
stopped by the stop input (RWrn + 1: 0x000C, RWrn + 2: 0x0190).
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR022
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 13 − bit 0 (0: Fixed) 0
bit 14 Current position output p
designation flag (Pulse units)
bit 15 Current position output m
designation flag (Millimeter units)
RWwn + 2 Axis to move and bit 0 Axis 1 tt
direction bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 6 (0: Fixed) 0
bit 7 Direction d
bit 15 − bit 8 (0: Fixed) 0
RWwn + 3 Not used 0x0000
to
RWwn + 15
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 − direction
A-71
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end (When jog movement is stopped by a stop input)
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0x000C
RWrn + 2 Alarm category number 0x0190
RWrn + 3 Not used 0x0000
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
A-72
Abnormal end (other cases)
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Specify the tool coordinate system jog movement as
RWwn 0x0022
shown at right, to move axis 1 of the Robot 1 in the
RWwn + 1 0x8000
minus (-) direction, and with the current position being
RWwn + 2 0x0081
output in millimeters.
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-73
4.2.7 Inching movement command
■ ■ Command
Remote command guide
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 - direction
A-74
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-75
Example: Address Value
Specify the pulse unit system inching command as RWwn 0x0024
shown at right, to move axis 2 of the Robot 1 in the RWwn + 1 0x4000
A
plus (+) direction, and with the current position being RWwn + 2 0x0002
output in pulses. An inching amount setting of "50" RWwn + 3 0x0000
results in a movement amount of 50 pulses. RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-76
● ● Cartesian coordinate system inching movement
Execute this command to move the robot by inching. Inching movement distance is determined by the inching
amount setting command.
It performs linear interpolation movement in accordance with the specified movement amount, using Cartesian
coordinates.
A movement amount setting of "100" results in a movement amount of 0.1mm.
A
■ ■ Command
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 - direction
A-77
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-78
Example: Address Value
Specify the Cartesian coordinate system inching RWwn 0x0025
command as shown at right, to move axis 2 of the RWwn + 1 0x8000
A
Robot 1 in the plus (+) direction, and with the current RWwn + 2 0x0002
position being output in millimeters. An inching RWwn + 3 0x0000
amount setting of "50" results in a movement amount RWwn + 4 0x0000
of 0.050mm. RWwn + 5 0x0000
RWwn + 6 0x0000
A-79
● ● Tool coordinate system inching movement
Execute this command to move the robot by inching.
Inching movement distance is determined by the inching amount setting command.
A It performs linear interpolation movement in accordance to the movement amount specified for the movement
axis, using the tool coordinate system's Cartesian coordinates.
A movement amount setting of "100" results in a movement amount of 0.1mm.
■ ■ Command
Remote command guide
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
Value Meaning
0 + direction
1 - direction
A-80
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-81
Example: Address Value
Specify the tool coordinate system inching command RWwn 0x0026
as shown at right, to move axis 2 of the Robot 1 in the RWwn + 1 0x8000
A
plus (+) direction, and with the current position being RWwn + 2 0x0002
output in millimeters. An inching amount setting of RWwn + 3 0x0000
"50" results in a movement amount of 0.050mm. RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-82
4.2.8 Inching movement amount setting command
This command sets the movement amount for inching movement operations.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR027
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the inching movement amount setting command Address Value
A-83
4.2.9 Point teaching command
Execute this command to teach the current robot position to the specified point number.
Point data units of this command are linked to the controller's point display unit.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR028
Robot designation bit 15 – bit 12 Robot number
Remote command guide
Value Meaning
0 Pulse units
1 Millimeter units
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-84
Example: Address Value
Use the point teaching command as shown at right, to RWwn 0x0028
teach the Robot 1 current position to point number RWwn + 1 0x0000
A
4000 in pulse units. RWwn + 2 0x0FA0
RWwn + 3 0x0000
RWwn + 4 0x0000
to
RWwn + 15
A-85
4.2.10 Absolute reset movement command
When absolute reset of the specified axis uses the mark method, this command moves the axis to the nearest
position where absolute reset can be executed. Positions capable of absolute reset are located at every 1/4
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR030
Remote command guide
Value Meaning
0 + direction
1 - direction
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-86
Example: Address Value
Use the absolute reset movement command as shown RWwn 0x0030
at right to move Axis 2 of the Robot 1 in the minus (-) RWwn + 1 0x0000
A
direction to a position capable of absolute reset. RWwn + 2 0x0082
RWwn + 3 0x0000
to
RWwn + 15
A-87
4.2.11 Absolute reset command
Execute this command to perform absolute reset at a mark type axis. The specified axis must be at a position
where an absolute reset is possible. This command can be used only for a mark type axis.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR031
Robot designation bit 15 – bit 12 Robot number
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-88
Example: Address Value
Use this command as shown at right, to perform RWwn 0x0031
absolute reset on axis 2 of the Robot 1. RWwn + 1 0x0000
A
RWwn + 2 0x0002
RWwn + 3 0x0000
to
RWwn + 15
A-89
4.2.12 Return-to-origin command
■ ■ Command
Remote command guide
Value Meaning
0 Details absent
1 Details present
* Only one designation can be enabled. If no details at all a, b, c value, a return-to-origin will be performed at all
axes.
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaabb
RWrn + 2 Alarm category number 0xccdd
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-90
Example: Address Value
Use this command as shown at right, to perform RWwn 0x0032
return-to-origin on all axes of the Robot 1. RWwn + 1 0x0000
A
RWwn + 2 0x0000
to
RWwn + 15
A-91
● ● Return-to-origin in axis units
This command executes return-to-origin in axis units.
When this command is executed on an incremental and absolute type axes, the axis moves to its origin.
A When executed on a semi-absolute mode axis, an absolute search is performed on that axis.
If no particular robot is specified, a return-to-origin will be performed at the specified axis of Robot 1.
■ ■ Command
Address Contents Value
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaabb
RWrn + 2 Alarm category number 0xccdd
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-92
Example: Address Value
Use this command as shown at right, to perform RWwn 0x0033
return-to-origin on axis 1 of the Robot 1. RWwn + 1 0x0000
A
RWwn + 2 0x0001
RWwn + 3 0x0000
to
RWwn + 15
A-93
4.2.13 Ser vo command
Execute this command group to operate the robot servo status.
Ser vo ON :
A Execute this command to turn the servo on at a specified axis. All the robot servos are turned on if no axis is
specified.
Ser vo OFF :
Execute this command to turn the servo off at a specified axis. All the robot servos are turned off if no axis is
Remote command guide
specified.
Ser vo Free :
Execute this command to turn off the mechanical brake and dynamic brake after turning off the servo of a
specified axis. All the robot servos are turned free if no axis is specified.
■ ■ Command
Address Contents Value
RWwn Command code Servo ON bit 11 – bit 0 0xR034
Robot designation bit 15 – bit 12 Robot number
Command code Servo OFF bit 11 – bit 0 0xR035
Robot designation bit 15 – bit 12 Robot number
Command code Servo Free bit 11 – bit 0 0xR036
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
RWwn + 2 Specified axis bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 3 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-94
Example:
Address Value
Use the servo command as shown at right, to free the RWwn 0x0036
servo status at axis 4 of the Robot 1. RWwn + 1 0x0000
A
RWwn + 2 0x0008
RWwn + 3 0x0000
to
RWwn + 15
A-95
4.2.14 Manual movement speed change command
Execute this command to change the robot's manual movement speed.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR038
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the manual movement speed change command as Address Value
shown at right, to set the manual movement speed of RWwn 0x0038
the Robot 1 to 20%.
RWwn + 1 0x0000
RWwn + 2 0x0014
RWwn + 3 0x0000
to
RWwn + 15
A-96
4.2.15 Automatic movement speed change command
Execute this command to change the robot's automatic movement speed.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR039
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the automatic movement speed change command
Address Value
as shown at right, to set the automatic movement
RWwn 0x0039
speed of the Robot 1 to 80%.
RWwn + 1 0x0000
RWwn + 2 0x0050
RWwn + 3 0x0000
to
RWwn + 15
A-97
4.2.16 Program movement speed change command
Execute this command to change the program movement speed.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR03A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the program movement speed change command as Address Value
shown at right, to set the program movement speed for RWwn 0x003A
the Robot 1 to 80%.
RWwn + 1 0x0000
RWwn + 2 0x0050
RWwn + 3 0x0000
to
RWwn + 15
A-98
4.2.17 Shift designation change command
Execute this command to change the selected shift to a specified shift number.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR03B
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the shift designation change command as shown Address Value
at right, to set the shift number of the Robot 1 to shift RWwn 0x003B
4.
RWwn + 1 0x0000
RWwn + 2 0x0004
RWwn + 3 0x0000
to
RWwn + 15
A-99
4.2.18 Hand designation change command
Execute this command to change the selected hand to a specified hand number.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR03C
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the hand designation change command as shown Address Value
at right, to set the hand number of the Robot 1 to hand RWwn 0x003C
1. RWwn + 1 0x0000
RWwn + 2 0x0001
RWwn + 3 0x0000
to
RWwn + 15
A-100
4.2.19 Arm designation change command
Execute this command to change the arm designation status. This command is valid only when SCARA robot is
specified.
■ ■ Command
Address Contents Value
A
RWwn Command code bit 11 – bit 0 0xR03D
Robot designation bit 15 – bit 12 Robot number
Value Meaning
0x0000 Right-handed system
0x0001 Left-handed system
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use the arm designation change command as shown at
Address Value
right, to set the arm designation status of the Robot 1
RWwn 0x003D
to the right-handed system.
RWwn + 1 0x0000
RWwn + 2 0x0000
RWwn + 3 0x0000
to
RWwn + 15
A-101
4.2.20 Motor power command
Execute this command to turn the motor power ON and OFF. All the system servos are also turned ON and
OFF at this time. Axis designations are not possible with this command.
A ■ ■ Command
Address Contents Value
RWwn Command code OFF bit 15 – bit 0 0x0041
Command code ON bit 15 – bit 0 0x0042
Remote command guide
OFF : Turns the motor power OFF. All system servos are also turned OFF at this time, and the dynamic
brake is applied and locked at axes which are equipped with a brake.
ON : Turns the motor power ON. All system servos are also turned ON at this time.
PWR : Turns only the motor power ON.
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-102
4.2.21 MOVET movement command
Execute this command group to allow the robot to move to an absolute position in the tool coordinates.
A
● ● PTP point designation
This command designates a point number which allows the robot to perform PTP movement to a target position
in the tool coordinates.
■ ■ Command
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
A-103
e : Specifies in 1 bit whether to set deceleration.
Value Meaning
0 Deceleration is not specified.
A
1 Deceleration is specified.
Value Meaning
0 No output.
Remote command guide
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-104
Example: Address Value
Specify the MOVET command with PTP designation as RWwn 0x0044
shown at right, when moving all the axes of the Robot RWwn + 1 0x4004
A
1 to point number 100 at 50% speed, and with the RWwn + 2 0x0000
current position being output in pulses. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
A-105
● ● Linear interpolation
This command designates a point number which allows the robot to perform linear interpolation movement to
a target position in the tool coordinates.
A ■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR045
Robot designation bit 15 – bit 12 Robot number
Remote command guide
Value Meaning
0 All axes are specified.
1 One or more axes are specified.
Value Meaning
0 Acceleration is not specified.
1 Acceleration is specified.
A-106
e : Specifies in 1 bit whether to set deceleration.
Value Meaning
0 Deceleration is not specified.
A
1 Deceleration is specified.
Value Meaning
0 No output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers when point display units are in pulses.
Data is shown in integers (x1000) when point display units are in millimeters.
The point units system conforms to the unit system which has been specified for the current position
output flag.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-107
Example: Address Value
Specify the MOVET command with linear interpolation RWwn 0x0045
as shown at right, when moving all axes of the Robot 1 RWwn + 1 0x8026
A
to point number 100 at a speed of 200 mm/s and at RWwn + 2 0x0000
50% acceleration, and with the current position being RWwn + 3 0x00C8
output in millimeters. RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0032
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-108
4.2.22 Torque control command information
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-109
Example: Address Value
Use the max. torque command value change command RWwn 0x0048
to change the max. torque command value for Axis 1 RWwn + 1 0x0000
A
of the Robot 1 to 50%. RWwn + 2 0x0001
RWwn + 3 0x0032
RWwn + 4 0x0000
to
RWwn + 15
Remote command guide
A-110
4.2.23 PUSH operation command
Execute this command group to perform a push operation at the specified robot axis.
This command can only be executed for one axis.
● ● Point designation
This command designates a point number which allows the specified robot axis to perform a PTP operation to
A
a target position.
Address Contents Value
Value Meaning
0 Push force designation absent
1 Push force designation present
Value Meaning
0 Push time-period designation absent
1 Push time-period designation present
A-111
p, m : Specify in 1 bit whether to output current position.
Value Meaning
0 No output.
A
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3 PUSH command bit 0 Push completion result p
completion conditions
bit 15 – bit 1 (0: Fixed) 0
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
A-112
Example: Address Value
Use the PUSH operation command to move Axis 3 of RWwn 0x004B
the Robot 1 to point 100 at 50% speed with a push RWwn + 1 0x8185
A
force of 100, a push time-period of 100, and with the RWwn + 2 0x0004
current position being output in millimeters. RWwn + 3 0x0032
RWwn + 4 0x0064
RWwn + 5 0x0000
RWwn + 6 0x0000
A-113
● ● Direct designation (millimeter units)
This command moves the specified axis of the robot to a target position in PTP motion by directly specifying
the data in millimeters.
A Address
RWwn Command code
Robot designation
bit 11 – bit 0
bit 15 – bit 12
Contents
Robot number
Value
0xR04C
Value Meaning
0 Push force designation absent
1 Push force designation present
Value Meaning
0 Push time-period designation absent
1 Push time-period designation present
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-114
tt : Designates (by lower 8 bits) the axis to be moved.
Valid when axis designation flag is 1.
ssss : Specify the movement speed in 16 bits.
A
pppppppp : Specify the target movement distance data for each axis in 32 bits. (little endian)
Data should be integers (x 1000) in millimeter units.
ffff : Designates (by 16 bits) the push force (units: %).
Specified range: -1000 (=0xFC18) to 1000 (=0x03E8)
* A value within the rated torque range of -1000% to 1000% can be specified.
jjjj : Designates (by 16 bits) the push time-period (units: ms).
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3 PUSH command bit 0 Push completion result p
completion conditions
bit 15 – bit 1 (0: Fixed) 0
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
A-115
Example: Address Value
Specify the PUSH operation command as shown at RWwn 0x004C
right, to move Axis 3 of the Robot 1 to position 100.00 RWwn + 1 0x8185
A
at 50% speed with a push force of 100, a push RWwn + 2 0x0004
time-period of 100, and with the current position being RWwn + 3 0x0032
output in millimeters. RWwn + 4 0x2710
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0032
RWwn + 9 0x0032
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
Values are expressed as shown at right when the push Address Value
operation ends normally at time-out, with the axis
RWrn 0x0200
current positions as follows:
RWrn + 1 0x0000
Axis 1 = 12.345 RWrn + 2 0x0000
Axis 2 = -0.123 RWrn + 3 0x0001
A-116
● ● Direct designation (pulse units)
This command moves the specified axis of the robot to a target position in PTP motion by directly specifying
the data in pulses.
Address
RWwn Command code
Robot designation
bit 11 – bit 0
bit 15 – bit 12
Contents
Robot number
Value
0xR04D A
RWwn + 1 Command flag bit 0 (1: Fixed) 1
Value Meaning
0 Push force designation absent
1 Push force designation present
Value Meaning
0 Push time-period designation absent
1 Push time-period designation present
Value Meaning
0 No output.
1 Output.
* The "pulse units" and "millimeter units" current position output designation flags cannot be designated at the
same time. Doing so will result in the "4.2 Input format error".
A-117
tt : Designates (by lower 8 bits) the axis to be moved.
Valid when axis designation flag is 1.
ssss : Specify the movement speed in 16 bits.
A
pppppppp : Specify the target movement distance data for each axis in 32 bits. (little endian)
Data should be integers in pulse units.
ffff : Designates (by 16 bits) the push force (units: %).
Specified range: -1000 (=0xFC18) to 1000 (=0x03E8)
* A value within the rated torque range of -1000% to 1000% can be specified.
jjjj : Designates (by 16 bits) the push time-period (units: ms).
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3 PUSH command bit 0 Push completion result p
completion conditions
bit 15 – bit 1 (0: Fixed) 0
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
A-118
Example: Address Value
Specify the PUSH operation command as shown at RWwn 0x004D
right, to move Axis 3 of the Robot 1 to position 10000 RWwn + 1 0x4185
A
at 50% speed with a push force of 100, a push RWwn + 2 0x0004
time-period of 100, and with the current position being RWwn + 3 0x0032
output in pulses. RWwn + 4 0x2710
RWwn + 5 0x0000
RWwn + 6 0x0000
Values are expressed as shown at right when the push Address Value
operation ends normally at time-out, with the axis RWrn 0x0200
current positions as follows:
RWrn + 1 0x0000
Axis 1 = 12345 RWrn + 2 0x0000
Axis 2 = -123 RWrn + 3 0x0001
A-119
4.3 Categor y 2 remote commands
Category 2 remote commands are used to define or obtain point data.
A
A command list is given below.
No. Command contents Command code (RWwn)
2-1 Point-related commands Point data definition 0x0100
A-120
4.3.1 Point-related command
Execute this command to define or obtain point data.
A
● ● Point data definition
This command defines point data by specifying the point number and position data on each axis.
■ ■ Command
Address Contents Value
Value Meaning
0 Pulse units
1 Millimeter units
Value Meaning
01 Right-handed system is defined.
10 Left-handed system is defined.
Other No hand system is defined.
xr / yr : Shows in 4 bits the defined "number 1 arm rotation information" and "number 2 arm rotation
information". (*1)
These items are available only on YK500TW model SCARA robots.
Value Meaning
0000 0
0001 1
1111 −1
Other 0
c CAUTION
(*1)
For details, refer to the 'Point Data Display / Editing' section of the "Operator’s Manual for RCX3 Series controller".
A-121
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Remote command guide
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use the point data definition command as shown at RWwn 0x0100
right, to create the following point data in pulse units. RWwn + 1 0x0000
Point number = 100 RWwn + 2 0x0064
Axis 1 = 10000 RWwn + 3 0x0000
A-122
● ● Point data reference
Use this command to find and obtain point data by specifying the point number.
■ ■ Command
Address
RWwn Command code
Contents Value
0x0101
A
RWwn + 1 Not used 0x0000
RWwn + 2 Point number 0xssss
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Point number 0xssss
RWrn + 3 Point flag bit 0 Point unit u
bit 2 − bit 1 Hand system tt
bit 6 − bit 3 Number 1 arm rotation information xr
bit 10 − bit 7 Number 2 arm rotation information yr
bit 15 − bit 11 (0: Fixed) 0
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
Value Meaning
0 Pulse units
1 Millimeter units
Value Meaning
00 No hand system is defined.
01 Right-handed system is defined.
10 Left-handed system is defined.
xr / yr : Shows in 4 bits the defined "number 1 arm rotation information" and "number 2 arm rotation
information". (*1)
These items are available only on YK500TW model SCARA robots.
Value Meaning
0000 0
0001 1
1111 −1
A-123
bbbbbbb : Shows the point data in 32 bits. (little endian)
Data is shown in integers when units are in pulses.
Data is shown in integers (x1000) when units are in millimeters.
A c CAUTION
(*1)
For details, refer to the 'Point Data Display / Editing' section of the "Operator’s Manual for RCX3 Series controller".
Abnormal end
Remote command guide
A-124
4.3.2 Point comment-related command
Execute this command to define or obtain point comment data.
A
● ● Point comment data definition
Use this command to define point comment data by specifying the point number and point comment data.
■ ■ Command
Address Contents Value
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-125
Example: Address Value
Use the point comment data definition command as RWwn 0x0104
shown at right, to create the following point comment RWwn + 1 0x0000
A
data. RWwn + 2 0x0064
Point number = 100 RWwn + 3 0x0000
RWwn + 7 0x4752
" I " = 0x49 RWwn + 8 0x0000
"T" = 0x54 RWwn + 9 0x0000
" " = 0x20 RWwn + 10 0x0000
A-126
● ● Point comment data reference
Use this command to search and obtain point comment data by specifying the point number.
■ ■ Command
Address
RWwn Command code
Contents Value
0x0105
A
RWwn + 1 Not used 0x0000
RWwn + 2 Point number 0xssss
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Point number 0xssss
RWrn + 3 Not used 0x0000
RWrn + 4 Comment data 0xbbbb
RWrn + 5 0xbbbb
RWrn + 6 0xbbbb
RWrn + 7 0xbbbb
RWrn + 8 0xbbbb
RWrn + 9 0xbbbb
RWrn + 10 0xbbbb
RWrn + 11 0xbbbb
RWrn + 12 Not used 0x0000
to
RWrn + 15
A-127
Example: Address Value
Use the point comment data reference command as RWwn 0x0105
shown at right, to obtain point comment data at point RWwn + 1 0x0000
A
number 50. RWwn + 2 0x0032
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-128
4.3.3 Pallet-related command
Execute this command to define or obtain pallet data.
A
● ● Pallet data definition
This command defines the pallet data by specifying the pallet number, the number of pallets (Nx, Ny, Nz), and
the first point number.
n NOTE
■ ■ Command
Address Contents Value
RWwn Command code 0x0108
RWwn + 1 Not used 0x0000
RWwn + 2 Pallet number 0xssss
RWwn + 3 Number of pallets in X direction (Nx) 0xaaaa
RWwn + 4 Number of pallets in Y direction (Ny) 0xaaaa
RWwn + 5 Number of pallets in Z direction (Nz) 0xaaaa
RWwn + 6 First point number 0xpppp
RWwn + 7 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-129
Example: Address Value
Use the pallet data definition command as shown at RWwn 0x0108
right, to create the following pallet. RWwn + 1 0x0000
A
Pallet number = 10 RWwn + 2 0x000A
Nx = 10 RWwn + 3 0x000A
RWwn + 4 0x000F
Ny = 15
RWwn + 5 0x0001
Nz =1
RWwn + 6 0x0064
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code 0x0109
RWwn + 1 Not used 0x0000
RWwn + 2 Pallet number 0xssss
RWwn + 3 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Pallet number 0xssss
RWrn + 3 Number of pallets in X direction (Nx) 0xaaaa
RWrn + 4 Number of pallets in Y direction (Ny) 0xaaaa
RWrn + 5 Number of pallets in Z direction (Nz) 0xaaaa
RWrn + 6 First point number 0xpppp
RWrn + 7 Not used 0x0000
to
RWrn + 15
A-130
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use the pallet data reference command as shown at RWwn 0x0109
right, to obtain pallet data at pallet number 10. RWwn + 1 0x0000
RWwn + 2 0x000A
RWwn + 3 0x0000
to
RWwn + 15
Ny = 15 RWrn + 3 0x000A
RWrn + 4 0x000F
Nz =1
RWrn + 5 0x0001
First point number = 100
RWrn + 6 0x0064
RWrn + 7 0x0000
to
RWrn + 15
A-131
4.3.4 Shift-related command
Execute this command to define or obtain shift data.
A
● ● Shift data definition
Use this command to define shift data by specifying the shift number and shift data.
■ ■ Command
Address Contents Value
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-132
Example: Address Value
Use the shift data definition command as shown at RWwn 0x010C
right, to create the following shift data. RWwn + 1 0x0000
A
Shift number = 5 RWwn + 2 0x0005
A-133
● ● Shift data reference
Use this command to search and obtain shift data by specifying the shift number.
■ ■ Command
A Address
RWwn Command code
Contents Value
0x010D
RWwn + 1 Not used 0x0000
RWwn + 2 Shift number 0xssss
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Shift number 0xssss
RWrn + 3 Not used 0x0000
RWrn + 4 Data 1 0xbbbbbbbb
RWrn + 5
RWrn + 6 Data 2 0xbbbbbbbb
RWrn + 7
RWrn + 8 Data 3 0xbbbbbbbb
RWrn + 9
RWrn + 10 Data 4 0xbbbbbbbb
RWrn + 11
RWrn + 12 Not used 0x0000
to
RWrn + 15
A-134
Example: Address Value
Use the shift data reference command as shown at RWwn 0x010D
right, to obtain shift data at shift number 5. RWwn + 1 0x0000
A
RWwn + 2 0x0005
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
A-135
4.3.5 Hand-related command
Execute this command to define or obtain hand data.
A
● ● Hand data definition
Use this command to define hand data by specifying the hand number and each data.
■ ■ Command
Address Contents Value
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-136
Example: Address Value
Use the hand data definition command as shown at RWwn 0x0110
right, to create hand data for a Cartesian robot. RWwn + 1 0x0000
A
Hand number = 1 RWwn + 2 0x0001
A-137
● ● Hand data reference
Use this command to obtain hand data by specifying the hand number.
■ ■ Commands
A Address
RWwn Command code
Contents
bit 11 – bit 0
Value
0x0111
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Hand number 0xssss
RWrn + 3 Not used 0xrrrr
RWrn + 4 Data 1 0xbbbbbbbb
RWrn + 5
RWrn + 6 Data 2 0xbbbbbbbb
RWrn + 7
RWrn + 8 Data 3 0xbbbbbbbb
RWrn + 9
RWrn + 10 Data 4 0xbbbbbbbb
RWrn + 11
RWrn + 12 Not used 0x0000
to
RWrn + 15
A-138
Example: Address Value
Use the hand data reference command as shown at RWwn 0x0111
right, to obtain hand data. RWwn + 1 0x0000
A
RWwn + 2 0x0001
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
A-139
4.4 Categor y 3 remote commands
Category 3 remote commands are arithmetic commands. A command list is given below.
A No.
3-1 Static variable-related commands
Command contents
Assignment Value
Variable
Command code (RWwn)
0x0200
0x0201
Variable 0x0205
Variable 0x0209
Variable 0x020D
Variable 0x0211
Reference 0xR224
Addition 0x0234
Subtraction 0x0235
A-140
4.4.1 Static variable-related command
Execute this command to assign a numerical value to a static variable for four arithmetic operations or
reference.
■ ■ Command
Address Contents Value
RWwn Command code 0x0200
RWwn + 1 Not used 0x0000
RWwn + 2 Variable number 1 (Variable number at assignment destination) 0xssss
RWwn + 3 Not used 0x0000
RWwn + 4 Numerical data 0xbbbbbbbb
RWwn + 5
RWwn + 6 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-141
Example: Address Value
Use this command as shown at right, to assign RWwn 0x0200
numerical data to variable number 1. RWwn + 1 0x0000
A
Variable number 1 =1 RWwn + 2 0x0001
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-142
● ● Assigning a variable to a static variable
This command assigns a numerical value to a static variable (SGIn or SGRn) by designating the source variable
number and destination variable number.
Variable number 1 = Variable number 2
■ ■ Command A
Address Contents Value
RWwn Command code 0x0201
: : : :
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-143
Example: Address Value
Use this command as shown at right, to assign RWwn 0x0201
numerical data of variable number 2 to variable RWwn + 1 0x0000
A
number 1. RWwn + 2 0x0001
Variable number 1 = 1 RWwn + 3 0x0000
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-144
● ● Arithmetic operation using numerical data on static variable
This command performs four arithmetic operations by specifying variable number 1 and a numerical value.
Results are stored in a static variable (SGIn or SGRn) specified by variable number 1.
Variable number 1 = Variable number 1 (operator) numerical value
■ ■ Command A
Address Contents Value
RWwn Command code Addition 0x0204
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-145
Example: Address Value
Use this command to assign numerical data to a static RWwn 0x0204
variable as shown at right. RWwn + 1 0x0000
A
Variable number 1 =1 RWwn + 2 0x0001
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-146
● ● Arithmetic operation using variable on static variable
This command performs four arithmetic operations by specifying variable numbers 1 and 2. Results are stored
in a static variable (SGIn or SGRn) specified by variable number 1.
Variable number 1 = Variable number 1 (operator) variable number 2
■ ■ Command A
Address Contents Value
RWwn Command code Addition 0x0205
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-147
Example: Address Value
Use this arithmetic operation command to multiply RWwn 0x020D
static variables as shown at right. RWwn + 1 0x0000
A
Variable number 1 = 1 RWwn + 2 0x0001
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-148
● ● Static variable value reference
Use this command to search and obtain the value stored in a static variable (SGIn or SGRn) by specifying the
variable number.
A
■ ■ Command
Address Contents Value
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Variable number 0xssss
RWrn + 3 Not used 0x0000
RWrn + 4 Value of variable 0xbbbbbbbb
RWrn + 5
RWrn + 6 Not used 0x0000
to
RWrn + 15
A-149
Example: Address Value
Use this command as shown at right, to obtain the RWwn 0x0214
numerical value of variable number 5. RWwn + 1 0x0000
A
RWwn + 2 0x0005
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
Remote command guide
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-150
4.4.2 Parameter-related command
Execute this command to assign a value to a parameter or obtain a parameter.
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR220
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
RWwn + 2 Parameter number 0xssss
RWwn + 3 Specified axis bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 4 Numerical data 0xbbbbbbbb
RWwn + 5
RWwn + 6 Not used 0x0000
to
RWwn + 15
A-151
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Remote command guide
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use this command as shown at right, to assign a Address Value
numerical value to the tolerance for Axis 3 of the RWwn 0x0220
Robot 1. RWwn + 1 0x0000
Parameter number = 259 RWwn + 2 0x0103
A-152
● ● Parameter value reference
Use this command to search and obtain parameter setting data by specifying the parameter number.
A
Robot parameter Parameter number Assignment range
WEIGHT Robot payload (kg) 1 (=0x0001) 0 to maximum payload
WEIGHTG Robot payload (g) 2 (=0x0002) 0 to maximum payload
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR224
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
RWwn + 2 Parameter number 0xssss
RWwn + 3 Specified axis bit 0 Axis 1 0x00tt
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWwn + 4 Not used 0x0000
to
RWwn + 15
A-153
■ ■ Status
Normal end
A
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Parameter number 0xssss
RWrn + 3 Specified axis bit 0 Axis 1 0x00tt
Remote command guide
bit 1 Axis 2
bit 2 Axis 3
bit 3 Axis 4
bit 4 Axis 5
bit 5 Axis 6
bit 15 − bit 6 (0: Fixed)
RWrn + 4 Numerical data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Not used 0x0000
to
RWrn + 15
A-154
Example: Address Value
Use this command as shown at right, to obtain the RWwn 0x0224
OUT effective position of axis 1 of the Robot 1. RWwn + 1 0x0000
A
Parameter number = 260 RWwn + 2 0x0104
A-155
4.4.3 Point-related command
Execute this command to assign a point to a parameter or obtain a parameter.
A
● ● Assigning a point to a parameter
This command assigns a numerical value to a specified parameter by specifying the parameter number, axis
and numerical value.
Point number 1 = Point number 2
■ ■ Command
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-156
Example: Address Value
Use this command as shown at right, to assign a point RWwn 0x0230
to the specified point. RWwn + 1 0x0000
A
Point number 1 = 1 RWwn + 2 0x0001
A-157
● ● Point addition/subtraction
This command adds and subtracts points by specifying point number 1 and point number 2.
Point number 1 = Point number 1 (operator) point number 2
A ■ ■ Command
Address Contents Value
RWwn Command code Addition 0x0234
Subtraction 0x0235
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-158
Example: Address Value
Use the point addition command as shown at right, to RWwn 0x0234
add point number 2 to point number 1. RWwn + 1 0x0000
A
Point number 1 = 1 RWwn + 2 0x0001
A-159
● ● Assigning a pallet point
This command assigns a pallet point to the destination point number by specifying a pallet number and work
position number.
A n
Pallet point number = Pallet point (pallet number, work position number)
NOTE
• The target pallet must be defined.
• The maximum value of work position number is determined by the target pallet definition.
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code 0x0238
RWwn + 1 Not used 0x0000
RWwn + 2 Point number (Point number at assignment destination) 0xssss
RWwn + 3 Pallet number 0xaaaa
RWwn + 4 Work position number 0xbbbb
RWwn + 5 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-160
Example: Address Value
Use this command as shown at right, to assign a pallet RWwn 0x0238
point to the following point. RWwn + 1 0x0000
A
Point number = 100 RWwn + 2 0x0064
A-161
4.4.4 Element assignment command
Execute this command to assign a number to a point or shift element.
A
● ● Assigning to a point element
This command assigns a numerical value to a point element by specifying the point number, data number and
numerical value.
LOC [data number] (point number) = numerical value
n
Remote command guide
NOTE
When 1000 is specified in the "pulse" units input format as a numerical value, 1000 is assigned.
When 1000 is specified in the "millimeter" units input format as a numerical value, 1.000 is assigned.
Use the proper input format according to the point data format of the assignment destination.
■ ■ Command
Address Contents Value
RWwn Command code "Pulse" units input format 0x0240
"Millimeter" units input 0x0241
format
RWwn + 1 Not used 0x0000
RWwn + 2 Point number (Point number at assignment destination) 0xssss
RWwn + 3 Data number bit 0 Data 1 0x00tt
designation
bit 1 Data 2
bit 2 Data 3
bit 3 Data 4
bit 4 Data 5
bit 5 Data 6
bit 15 − bit 6 (0: Fixed)
RWwn + 4 Numerical value 0xbbbbbbbb
RWwn + 5
RWwn + 6 Not used 0x0000
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-162
Example: Address Value
Use this command as shown at right, to assign a RWwn 0x0241
numerical value to part of the following point. RWwn + 1 0x0000
A
Point number =1 RWwn + 2 0x0001
A-163
● ● Assigning to a shift element
This command assigns a numerical value to a shift element by specifying the shift number, data number and
numerical value.
■ ■ Command
Address Contents Value
RWwn Command code 0x0245
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-164
Example: Address Value
Use this command as shown at right, to assign a real RWwn 0x0245
number value to part of the following shift. RWwn + 1 0x0000
A
Shift number =1 RWwn + 2 0x0001
A-165
4.5 Categor y 4 remote commands
Category 4 remote commands are I/O port commands. A command list is given below.
A
No. Command contents Command code (RWwn)
4-1 I/O port command Assignment port units 0x0300
Assignment bit units 0x0301
Reference port units 0x0304
A-166
4.5.1 I/O port commands
Use these commands to assign a value to an I/O port or obtain the contents of a specified I/O port.
A
● ● Assigning a numerical value to an I/O port
This command assigns a bit pattern to a port number by specifying the destination port number and bit pattern.
■ ■ Command
Address Contents Value
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-167
Example: Address Value
Use this command as shown at right, to output a RWwn 0x0300
numerical value to the following output port. RWwn + 1 0x0000
A
Output port = DO12 () RWwn + 2 0x1120
Example:
Use this command as shown at right, to output a Address Value
numerical value to the following output port. RWwn 0x0301
A-168
● ● I/O port reference
Use this command to obtain the contents of a port number by specifying the port number.
■ ■ Command
Address
RWwn Command code
Contents
Port units
Value
0x0304
A
RWwn + 1 Not used 0x0000
RWwn + 2 Port number bit 3 − bit 0 (0: Fixed) 0
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Port number bit 3 − bit 0 Not used 0
bit 7 − bit 4 Units of port number r
bit 11 − bit 8 Tens of port number q
bit 15 − bit 12 Specified port type p
RWrn + 3 Bit pattern 0x00bb
RWrn + 4 Not used 0x0000
to
RWrn + 15
A-169
Example: Address Value
Use this command as shown at right, to obtain the RWwn 0x0304
following port data. RWwn + 1 0x0000
A
Output port = DO12 () RWwn + 2 0x1120
RWwn + 3 0x0000
to
RWwn + 15
Remote command guide
A-170
4.6 Categor y 5 remote commands
Category 5 remote commands are program operation setting commands. A command list is given below.
A
No. Command contents Command code (RWwn)
5-1 Execution program designation 0x0401
5-2 Program execution Program execution 0x0402
Program step execution 0x0403
Program skip execution 0x0404
* Check the robot program running status output signal (SO13) to verify a program execution command has been run.
* Check the program reset status output signal (SO14) to verify the program reset command has been run.
A-171
4.6.1 Execution program designation
Use this command to register in a task in order to execute a robot program.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0401
RWwn + 1 Command flag bit 2 – bit 0 Designation method selection sss
bit 15 – bit 3 (0: Fixed) 0
Remote command guide
Value Meaning
001 Program number
100 Program name
Other Designation method error
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-172
Example: Address Value
Use this command as shown at right, to specify RWwn 0x0401
program number 1, task number 1, and a priority RWwn + 1 0x0001
A
ranking of 47. RWwn + 2 0x0001
RWwn + 3 0x0001
RWwn + 4 0x002F
RWwn + 5 0x0000
RWwn + 6 0x0000
A-173
4.6.2 Program execution
These commands execute robot program operations.
A
Command Meaning
Program execution Starts automatic operation of a robot program. Performs the same processing as the RUN key on
the programming box and auto operation start input (SI12). Use the program in-progress status
output signal (SO13) to verify the program is in progress.
Program step execution Executes one line in the robot program. Enters the subroutine when a GOSUB statement is used.
Performs the same processing as STEP execution which is performed from the programming box.
Remote command guide
Program skip execution Skips one line in the program. Performs the same processing as SKIP execution which is performed
from the programming box.
Program next execution Executes one line in the robot program. Executes the entire subroutine when a GOSUB statement
is used. Performs the same processing as NEXT execution which is performed from the
programming box.
■ ■ Command
Address Contents Value
RWwn Command code Program execution 0x0402
Program step execution 0x0403
Program skip execution 0x0404
Program next execution 0x0405
RWwn + 1 Command flag bit 2 – bit 0 Designation method selection sss
bit 15 – bit 3 (0: Fixed) 0
RWwn + 2 Program number 0xnnnn
RWwn + 3 Operation task number 0xtttt
RWwn + 4 Not used 0x0000
RWwn + 5
RWwn + 6 Program name 0xbbbb
to
RWwn + 13
RWwn + 14 Not used 0x0000
RWwn + 15
Value Meaning
000 All operation-enabled programs
(enabled only when using the program RUN command)
001 Program number
010 Operation task number
100 Program name
Other Designation method error
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
A-174
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use these commands to execute Program 1 as Task 1
RWwn 0x0402
as shown at right.
RWwn + 1 0x0001
RWwn + 2 0x0001
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x0000
RWwn + 7 0x0000
RWwn + 8 0x0000
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-175
4.6.3 Program reset
This command resets the robot program.
Check the program reset status output signal (SO14) to verify all the programs have been reset.
A Check the program execution line reference command to see if "1" is indicated there to verify individual
programs has been reset.
■ ■ Command
Address Contents Value
Remote command guide
Value Meaning
000 All operation-enabled programs
001 Program number
010 Operation task number
100 Program name
Other Designation method error
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
A-176
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to reset the program named RWwn 0x0406
"ABC_DE" as shown at right. RWwn + 1 0x0100
RWwn + 2 0x0000
RWwn + 3 0x0000
RWwn + 4 0x0000
RWwn + 5 0x0000
RWwn + 6 0x4241
RWwn + 7 0x5F43
RWwn + 8 0x4544
RWwn + 9 0x0000
RWwn + 10 0x0000
RWwn + 11 0x0000
RWwn + 12 0x0000
RWwn + 13 0x0000
RWwn + 14 0x0000
RWwn + 15 0x0000
A-177
4.6.4 Program execution information reference
Execute this command to acquire information on program execution, when the robot program is stopped.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0408
RWwn + 1 Command flag bit 2 – bit 0 Designation method selection sss
bit 15 – bit 3 (0: Fixed) 0
Remote command guide
Value Meaning
001 Program number
010 Operation task number
100 Program name
Other Designation method error
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Program number 0xpppp
RWrn + 3 Operation task number 0xtttt
RWrn + 4 Execution line number 0xllll
RWrn + 5 Task priority ranking 0xpppp
RWrn + 6 Program name 0xbbbb
to
RWrn + 13
RWrn + 14 Not used 0x0000
RWrn + 15
A-178
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-179
4.7 Categor y 6 remote commands
Category 6 remote commands are data handling commands.
A
A command list is given below.
No. Command contents Command code (RWwn)
6-1 Version information reference 0x0501
6-2 Controller configuration reference 0xR502
6-3 Servo status reference 0xR503
Remote command guide
A-180
4.7.1 Version information reference
This command displays the software version used in the controller.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0501
RWwn + 1 Not used 0x0000
to
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Host software version 0xaabb
RWrn + 3 Host software revision 0xcccc
RWrn + 4 Driver FPGA version 0xdddd
RWrn + 5 Axis-1 driver software version 0xeeff
RWrn + 6 Axis-2 driver software version 0xeeff
RWrn + 7 Axis-3 driver software version 0xeeff
RWrn + 8 Axis-4 driver software version 0xeeff
RWrn + 9 Not used 0x0000
to
RWrn + 15
aabb : Shows the controller's host software version in upper 8 bits and lower 8 bits.
cccc : Shows the controller's host softwar revision in 16 bits.
dddd : Indicates (by 16 bits) the driver FPGA version.
eeff : Shows the controller's driver software version in uper 8 bits and lower 8 bits.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to obtain a software version as RWwn 0x0501
shown at right.
RWwn + 1 0x0000
to
RWwn + 15
A-181
Values are expressed as shown at right when executed Address Value
correctly. RWrn 0x0200
Host software version : V1.08 RWrn + 1 0x0000
A
Host software revision : R0048 RWrn + 2 0x0108
A-182
4.7.2 System configuration referencing
This command acquires the configuration of the specified robot.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR502
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Robot number 0xaaaa
RWrn + 3 Not used 0x0000
RWrn + 4 Axis-1 robot number 0xaaaa
RWrn + 5 Axis-2 robot number 0xaaaa
RWrn + 6 Axis-3 robot number 0xaaaa
RWrn + 7 Axis-4 robot number 0xaaaa
RWrn + 8 Axis-5 robot number 0xaaaa
RWrn + 9 Axis-6 robot number 0xaaaa
RWrn + 10 Not used 0x0000
to
RWrn + 15
Example:
Use the system configuration reference command as Address Value
shown at right, to obtain the configuration of the Robot RWwn 0x0502
1. RWwn + 1 0x0000
to
RWwn + 15
A-183
Values are expressed as shown at right when executed Address Value
correctly. RWrn 0x0200
Robot number : 2000 (YK250X) RWrn + 1 0x0000
A
Axis-1 robot number : 2000 (YK250X) RWrn + 2 0x07D0
A-184
4.7.3 Ser vo status reference
Execute this command to acquire information on servo status.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR503
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Axis-1 information 0xaaaa
RWrn + 3 Axis-2 information 0xaaaa
RWrn + 4 Axis-3 information 0xaaaa
RWrn + 5 Axis-4 information 0xaaaa
RWrn + 6 Axis-5 information 0xaaaa
RWrn + 7 Axis-6 information 0xaaaa
RWrn + 8 Not used 0x0000
to
RWrn + 15
Value Contents
0 Servo OFF + mechanical brake ON (Brake)
1 Servo ON (Servo)
2 Servo OFF + mechanical brake OFF (Free)
9 No axis
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-185
Values are expressed as shown at right when executed Address Value
correctly. RWrn 0x0200
Axis 1 : 1 (Servo ON) RWrn + 1 0x0000
A
Axis 2 : 1 (Servo ON) RWrn + 2 0x0001
A-186
4.7.4 Current position reference
■ ■ Command
A
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR505
Value Meaning
0 DISABLE
1 ENABLE
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers.
A-187
Continuous output mode
Address Contents Value
RWrn Status code 0x0100
A
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
Remote command guide
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers.
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Use this command as shown at right, to obtain the Address Value
Robot 1 current position data in pulse units RWwn 0x0505
designation. RWwn + 1 0x0000
to
RWwn + 15
A-188
● ● Millimeter units designation
Use this command to obtain the robot current position data in millimeter units.
■ ■ Command
Address
RWwn Command code
Contents
bit 11 – bit 0
Value
0xR506
A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Command flag bit 0 Continuous output mode a
Value Meaning
0 DISABLE
1 ENABLE
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3 Point flag bit 0 Not used 0
bit 2 − bit 1 Hand system tt
bit 6 − bit 3 Number 1 arm rotation information xr
bit 10 − bit 7 Number 2 arm rotation information yr
bit 15 − bit 11 Not used 0
RWrn + 4 Axis-1 data 0xbbbbbbbb
RWrn + 5
RWrn + 6 Axis-2 data 0xbbbbbbbb
RWrn + 7
RWrn + 8 Axis-3 data 0xbbbbbbbb
RWrn + 9
RWrn + 10 Axis-4 data 0xbbbbbbbb
RWrn + 11
RWrn + 12 Axis-5 data 0xbbbbbbbb
RWrn + 13
RWrn + 14 Axis-6 data 0xbbbbbbbb
RWrn + 15
Value Meaning
01 Right-handed is specified.
10 Left-handed is specified.
(*1)
xr / yr : Shows in 4 bits the current position's Arm 1 and Arm 2 rotation information.
These items are available only on YK500TW model SCARA robots.
Value Meaning
0000 0
0001 1
1111 −1
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers (x1000).
A-189
Continuous output mode
Address Contents Value
RWrn Status code 0x0100
A
RWrn + 1 Not used 0x0000
RWrn + 2
RWrn + 3 Point flag bit 0 Not used 0
bit 2 − bit 1 Hand system tt
bit 6 − bit 3 Number 1 arm rotation information xr
Remote command guide
Value Meaning
01 Right-handed is specified.
10 Left-handed is specified.
(*1)
xr / yr : Shows in 4 bits the current position's Arm 1 and Arm 2 rotation information.
These items are available only on YK500TW model SCARA robots.
Value Meaning
0000 0
0001 1
1111 −1
bbbbbbbb : Shows the current position output data in 32 bits. (little endian)
Data is shown in integers (x1000).
c CAUTION
(*1)
For details, refer to the 'Point Data Display / Editing' section of the "Operator’s Manual for RCX3 Series controller".
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-190
Example:
Address Value
Use this command as shown at right, to obtain the RWwn 0x0506
Robot 1 current position data in millimeter units. RWwn + 1 0x0000
A
to
RWwn + 15
A-191
4.7.5 Task status reference
Execute this command to acquire task execution status.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0507
RWwn + 1 Not used 0x0000
RWwn + 2 Status acquisition task range designation 0xaaaa
Remote command guide
Value Meaning
0 Tasks 1 to 8
1 Tasks 9 to 16
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Execution status of task 1 (9) 0xaaaa
RWrn + 3 Execution status of task 2 (10) 0xaaaa
RWrn + 4 Execution status of task 3 (11) 0xaaaa
RWrn + 5 Execution status of task 4 (12) 0xaaaa
RWrn + 6 Execution status of task 5 (13) 0xaaaa
RWrn + 7 Execution status of task 6 (14) 0xaaaa
RWrn + 8 Execution status of task 7 (15) 0xaaaa
RWrn + 9 Execution status of task 8 (16) 0xaaaa
RWrn + 10 Not used 0x0000
to
RWrn + 15
Value Meaning
0 Stop status
1 Execution status
2 Suspend status
3 Standby status
9 No task
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-192
Example:
Address Value
Use this command as shown at right, to obtain the RWwn 0x0507
execution status of tasks 1~8. RWwn + 1 0x0000
A
to
RWwn + 15
A-193
4.7.6 Task execution line reference
Execute this command to acquire information on task execution line.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0508
RWwn + 1 Not used 0x0000
RWwn + 2 Execution line acquisition task range designation 0xaaaa
Remote command guide
Value Meaning
0 Tasks 1 to 8
1 Tasks 9 to 16
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Execution line of task 1 (9) 0xaaaa
RWrn + 3 Execution line of task 2 (10) 0xaaaa
RWrn + 4 Execution line of task 3 (11) 0xaaaa
RWrn + 5 Execution line of task 4 (12) 0xaaaa
RWrn + 6 Execution line of task 5 (13) 0xaaaa
RWrn + 7 Execution line of task 6 (14) 0xaaaa
RWrn + 8 Execution line of task 7 (15) 0xaaaa
RWrn + 9 Execution line of task 8 (16) 0xaaaa
RWrn + 10 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command as shown at right, to obtain the RWwn 0x0508
execution lines of tasks 1~8. RWwn + 1 0x0000
to
RWwn + 15
A-194
Values are expressed as shown at right when executed Address Value
correctly. RWrn 0x0200
Task 1 : Execution on first line RWrn + 1 0x0000
A
Task 2 : Execution on 19th line RWrn + 2 0x0001
A-195
4.7.7 Message reference
Execute this command to acquire alarm message information.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0509
RWwn + 1 Not used 0x0000
RWwn + 2 Alarm acquisition number 0xaaaa
Remote command guide
Value Contents
1 to 500 Message number saved in the alarm history
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Additional information 1 0xccdd
RWrn + 4 Additional information 2 0xeeff
RWrn + 5 Not used 0x0000
to
RWrn + 15
ff : number Contents
00 No number
From 01 One of the following numbers is used:
Motor number, axis number, option slot number,
program task number
A-196
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-197
4.7.8 Speed status reference
Execute this command to acquire information on current speed status.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR50A
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Speed of specified robot AUTO mode speed 0xaaaa
RWrn + 3 MANUAL mode speed 0xaaaa
RWrn + 4 Program movement speed 0xaaaa
RWrn + 5 Not used 0x0000
to
RWrn + 15
A-198
4.7.9 Arm designation status reference
Execute this command to acquire information on currently designated arm.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR50B
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Status of specified robot 0xaaaa
RWrn + 3 Not used 0x0000
to
RWrn + 15
Value Meaning
0 Right-handed system status
1 Left-handed system status
9 Robots other than SCARA robot
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command as shown at right, to acquire the RWwn 0x050B
status of Robot 1's currently specified arm. RWwn + 1 0x0000
to
RWwn + 15
A-199
4.7.10 Arm status reference
Execute this command to acquire information on the current arm status.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR50C
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
to
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Main robot status 0xaaaa
RWrn + 3 Not used 0x0000
to
RWrn + 15
Value Meaning
0 Right-handed system status
1 Left-handed system status
9 Robots other than SCARA robot
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-200
4.7.11 Return-to-origin status reference
Execute this command to acquire information on the return-to-origin status.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR50F
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end (When the robot designation is "0")
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Entire system's return-to-origin status 0xaaaa
RWrn + 3 Not used 0x0000
to
RWrn + 15
Value Meaning
0 Return-to-origin incomplete
1 Return-to-origin complete
Value Meaning
0 Return-to-origin incomplete
1 Return-to-origin complete
9 Not applicable
A-201
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Remote command guide
A-202
4.7.12 Current torque value (percentage of max. torque) reference
This command is used to obtain the current torque value of the specified axis relative to its maximum torque
value.
■ ■ Command
Address Contents Value
A
RWwn Command code bit 11 – bit 0 0xR510
Robot designation bit 15 – bit 12 Robot number
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Axis 1 current torque value 0xaaaa
RWrn + 3 Axis 2 current torque value 0xaaaa
RWrn + 4 Axis 3 current torque value 0xaaaa
RWrn + 5 Axis 4 current torque value 0xaaaa
RWrn + 6 Axis 5 current torque value 0xaaaa
RWrn + 7 Axis 6 current torque value 0xaaaa
RWrn + 8 Not used 0x0000
to
RWrn + 15
A-203
Example: Address Value
Specify a command as shown at right to use the RWwn 0x0510
current torque value (percentage of max. torque) RWwn + 1 0x0000
A
acquisition command to obtain the current torque RWwn + 2 0x0004
value for Axis No.3 of Robot 1. RWwn + 3 0x0000
to
RWwn + 15
Remote command guide
A-204
4.7.13 In-controller date reference
Execute this command to acquire the date inside the controller.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0511
RWwn + 1 Not used 0x0000
to
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Date (Year) 0xyyyy
RWrn + 3 Date (Month) 0xmmmm
RWrn + 4 Date (Day) 0xdddd
RWrn + 5 Not used 0x0000
to
RWrn + 15
yyyy : Shows the year. (Lower two digits of Christian year) 0 (=0x00) to 63 (=0x99)
mmmm : Shows the month. 1 (=0x01) to 12 (=0x0C)
dddd : Shows the day. 1 (=0x01) to 31 (=0x1F)
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to obtain the controller's internal
RWwn 0x0511
date as shown at right.
RWwn + 1 0x0000
to
RWwn + 15
A-205
4.7.14 In-controller time reference
Execute this command to acquire the time inside the controller.
A ■ ■ Command
Address Contents Value
RWwn Command code 0x0512
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Time (Hour) 0xhhhh
RWrn + 3 Time (Minute) 0xmmmm
RWrn + 4 Time (Second) 0xssss
RWrn + 5 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to obtain the controller's internal
RWwn 0x0512
time as shown at right.
RWwn + 1 0x0000
to
RWwn + 15
A-206
4.7.15 Option slot module information referencing
Execute this command to acquire module information in the controller's optional slot.
■ ■ Command A
Address Contents Value
RWwn Command code 0x0513
Value Meaning
1 to 4 Controller No.
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Unit number of option slot No. 1 0xaaaa
RWrn + 3 Unit number of option slot No. 2 0xaaaa
RWrn + 4 Unit number of option slot No. 3 0xaaaa
RWrn + 5 Unit number of option slot No. 4 0xaaaa
RWrn + 6 iVY2 unit number 0xaaaa
RWrn + 7 Not used 0x0000
to
RWrn + 15
Value Meaning
0x0000 None
0x0100 DIO unit (NPN specs. general-purpose input)
0x0102 DIO unit (NPN specs. dedicated input)
0x0200 DIO unit (PNP specs. general-purpose input)
0x0202 DIO unit (PNP specs. dedicated input)
0x0300 CC-Link unit
0x0301 PROFIBUS unit
0x0303 EtherCAT
0x0400 DeviceNet unit
0x0401 EtherNet/IP unit
0x0402 PROFINET unit
0x0500 YC-Link/E master unit
0x0600 YC-Link/E slave unit
0x0700 Unit for Gripper
0x0800 iVY2 unit
0x0802 iVY2 unit + LC
0x0900 Unit for Tracking
A-207
Abnormal end
Address Contents Value
RWrn Status code 0x4000
A
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Remote command guide
Address Value
Example: RWwn 0x0513
Use this command to obtain information regarding the RWwn + 1 0x0000
option slot module at Controller 1 as shown at right. RWwn + 2 0x0001
RWwn + 3 0x0000
to
RWwn + 15
A-208
4.7.16 Inching movement amount referencing
Execute this command to acquire the movement amount during inching movement operations.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR514
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Inching movement 0xdddd
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to obtain the inching movement
RWwn 0x0514
amount of the Robot 1 as shown at right.
RWwn + 1 0x0000
to
RWwn + 15
A-209
4.7.17 Remote command latest alarm referencing
This command refers the most recent alarm information which occurred during remote command execution.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0515
RWwn + 1 Not used 0x0000
to
Remote command guide
RWwn + 15
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Additional information 1 0xccdd
RWrn + 4 Additional information 2 0xeeff
RWrn + 5 Not used 0x0000
to
RWrn + 15
ff : number Contents
00 No number
From 01 One of the following numbers is used:
Motor number, axis number, option slot number,
program task number
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-210
Example: Address Value
Use this command to obtain the latest alarm as shown at right. RWwn 0x0515
RWwn + 1 0x0000
A
to
RWwn + 15
A-211
4.7.18 Current torque value (percentage of rated torque) reference
This command is used to obtain the current torque value of the specified axis relative to its rated torque value.
A
■ ■ Command
Address Contents Value
RWwn Command code bit 11 – bit 0 0xR516
Robot designation bit 15 – bit 12 Robot number
RWwn + 1 Not used 0x0000
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
RWrn + 2 Axis 1 current torque value 0xaaaa
RWrn + 3 Axis 2 current torque value 0xaaaa
RWrn + 4 Axis 3 current torque value 0xaaaa
RWrn + 5 Axis 4 current torque value 0xaaaa
RWrn + 6 Axis 5 current torque value 0xaaaa
RWrn + 7 Axis 6 current torque value 0xaaaa
RWrn + 8 Not used 0x0000
to
RWrn + 15
A-212
Example: Address Value
Specify a command as shown at right to use the RWwn 0x0516
current torque value (percentage of rated torque) RWwn + 1 0x0000
A
acquisition command to obtain the current torque RWwn + 2 0x0004
value for Axis No.3 of Robot 1. RWwn + 3 0x0000
to
RWwn + 15
A-213
4.8 Categor y 7 remote commands
Category 7 remote commands are used to set the utility mode.
A
A command list is given below.
No. Command contents Command code (RWwn)
7-1 In-controller date setting operation 0x0602
7-2 In-controller time setting operation 0x0603
7-3 Alarm reset command 0x0604
Remote command guide
■ ■ Command
Address Contents Value
RWwn Command code 0x0602
RWwn + 1 Not used 0x0000
RWwn + 2 Date setting (year) 0xyyyy
RWwn + 3 Date setting (month) 0xmmmm
RWwn + 4 Date setting (day) 0xdddd
RWwn + 5 Not used 0x0000
to
RWwn + 15
yyyy : Shows the year. (Lower two digits of Christian year) 0 (=0x00) to 63 (=0x99)
mmmm : Shows the month. 1 (=0x01) to 12 (=0x0C)
dddd : Shows the day. 1 (=0x01) to 31 (=0x1F)
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
A-214
Example: Address Value
Use this command to set the controller's internal date RWwn 0x0602
as shown below. RWwn + 1 0x0000
A
Date (Year) : 14 RWwn + 2 0x000E
A-215
4.8.2 In-controller time setting operation
This command sets the time inside the controller.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0603
RWwn + 1 Not used 0x0000
RWwn + 2 Time setting (hour) 0xhhhh
Remote command guide
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Use this command to set the controller's internal time RWwn 0x0603
as shown below. RWwn + 1 0x0000
A-216
4.8.3 Alarm reset command
This command resets the controller's internal alarm.
A
■ ■ Command
Address Contents Value
RWwn Command code 0x0604
RWwn + 1 Not used 0x0000
to
■ ■ Status
Normal end
Address Contents Value
RWrn Status code 0x0200
RWrn + 1 Not used 0x0000
to
RWrn + 15
Abnormal end
Address Contents Value
RWrn Status code 0x4000
RWrn + 1 Alarm group number 0xaaaa
RWrn + 2 Alarm category number 0xbbbb
RWrn + 3 Not used 0x0000
to
RWrn + 15
Example:
Address Value
Use this command to reset the controller's internal
RWwn 0x0604
alarm as shown at right.
RWwn + 1 0x0000
to
RWwn + 15
A-217
Revision record
User’s Manual
Network Board RCX 3 Series
CC-Link
Nov. 2019
Ver. 1.20