EtherCAT E V.1.11
EtherCAT E V.1.11
EtherCAT E V.1.11
RCX340/RCX320
EUSH205111
Introduction 1
Warranty 4
1. Overview of functions 5
3. Input/output assignments 7
6. Connection 14
6.2 Cabling 15
7. ESI File 16
8. Parameter Settings 17
T-1
CONTENTS EtherCAT
User’s Manual
12. Specifications 33
T-2
Impor tant information before reading this manual
For details on network unit specifications and communication settings, refer to this manual.
For details on communication functions between the controller and the host control device, such as remote I/O
and remote commands, refer to the Remote I/O Manual.
For details on the functions of the robot controller unit, refer to the following manuals.
RCX 3 Series Operator’s Manual. . .......... for operation of the controller unit
RCX 3 Series User’s Manual.................. for specifications and settings of the controller unit
RCX 3 Series Programming Manual.. ...... for the programming language used by Yamaha robot controllers
1
Safety Precautions (Always read before starting use)
Before using this product, be sure to read this manual carefully as well as the robot controller user's manual
Important information before reading this 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
This indicates a supplementary explanation in the operation.
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.
EtherCAT is a registered trademark and patented technology licensed from Germany Beckhoff Automation GmbH.
w WARNING
• For information about the status of the network system and robot controller in the event that a communication
problem occurs in the network system, refer to the manual of the host control device as well as to this
document. Configure an interlock circuit in the sequence program so that the system, including the robot
controller, will work safely WITH using the communication status information.
• The SAFETY connector has an emergency stop terminal to trigger emergency stop of the robot controller. By
using this terminal, prepare a physical interlock circuit so that the system including the robot controller will work
safely.
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 communication error or declining
throughput caused by noise.
2
■ ■ Precautions for installation
w WARNING
c CAUTION
• Use the robot controller in the environmental conditions specified in this manual. Operation outside the
specified environmental range may cause electric shocks, fire, malfunction or product damage or
deterioration.
• Do not directly touch the conductive portions or electronic components of a network module.
• Never directly touch the controller's interior areas.
• Accurately connect each 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, does not enter the robot controller.
• Communication cables that contact network modules must be kept inside a duct or secured by clamps. Failure
to place the cable in a duct or secure it by a clamp could damage the cable or module by shifting, movement
or unintentional pulling the cable, or cause malfunction by poor contact condition.
• When disconnecting a connector from the network module, grasp the connector rather than pulling on the
cable. 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 malfunctions.
• 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 malfunctions.
• Never disassemble or modify any of the robot controller modules.
Failure to observe this could lead to trouble, malfunctions, injuries or fires.
c CAUTION
Power must be supplied to the robot controller only after supplying power to the host control device. The robot
controller will enter an error state if communication is not established within a certain length of time after the
controller starts.
c CAUTION
Dispose of this product as industrial waste.
3
Warranty
For information on the warranty period and terms, please contact our distributor where you purchased the
Important information before reading this manual
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
4
1. Over view of functions
1
A network interface unit is a device that transmits and receives I/O information via a communication protocol
between a controller and a host control device.
We provide a lineup of products that support fieldbus (CC-Link, DeviceNet, PROFIBUS, etc.) or industrial
Ethernet (EtherNet/IP, PROFINET, EtherCAT, etc.).
In any of these networks, the robot controller (slave device) operates in accordance with commands via I/O
Overview of functions
control from a host (master device).
While acting as distributed I/O for the host control device, the network interface unit simultaneously shares
I/O information with the controller. The I/O update cycle time between the controller and the network
interface unit is 5 ms.
The I/O update cycle time between the network interface unit and the host control device will vary depending
on the structure of the applicable network.
←Status output
Input Output
m, m+1, ..., m+x SO, SOW
Output Input
n, n+1, ..., n+y SI, SIW
Command input→
I/O consists of a general-purpose input/output area, and a dedicated input/output area that has specific
significance such command input and status output that is optimized for control of robot controllers. Using
these, the robot controller can be controlled from the host control device.
The following methods can be used for control via I/O. Combining these methods makes it possible to control
the robot.
1. Controlling the robot controller directly using simple commands and status queries via remote
I/O's dedicated input/output.
Example) Dedicated input: cancel emergency stop, servo on, reset, start program execution, etc.
Dedicated output: CPU_OK, return-to-origin complete, etc.
2. Using remote commands to control the robot controller directly with advanced instructions and
status queries without programming.
Example) < Transmission >
SIW0 = 0x1031 (absolute reset command for robot no.1)
SIW2 = 0x0015 (axis designation: axis 1 through axis 4)
< Reception >
SOW = 0x0100 (executing command)
↓
SOW = 0x0200 (normal end)
* For details on remote I/O and remote commands, refer to the Remote I/O Manual. For details on robot programs, refer
to the RCX 3 Series Programming Manual.
5
2. Controller status transitions
Here we explain the status transitions of a robot controller equipped with a network interface unit.
A controller equipped with a network interface unit will initially start up in the emergency stop state.
In order for robot operation to be possible, communication must be established with the host control device,
and a sign that cancels the emergency stop state must be input.
If communication with the host control device is interrupted for any reason, the controller will again transition
2 to the emergency stop state regardless of the I/O status. In order to resume operation, I/O processing is
required, such as reestablishing communication, cancelling the emergency stop state, and resetting any error.
Startup Startup
Controller status transitions
When communication
Cease communication
ceases, the robot transitions
to the emergency stop state,
robot power is shut down,
and the program also stops.
6
3. Input/output assignments
3.1 I/O assignments (default)
The following describes the correspondence between the robot controller's serial input/output data and the
input/output data on network.
3
m+1
- Word output
m+2
SOW(1) Remote command error code area
m+3
m+4
SOW(2)
m+5
SOD(2)
Input/output assignments
m+6
SOW(3)
m+7
m+8
SOW(4)
m+9
SOD(4)
m + 10
SOW(5)
m + 11
m + 12
SOW(6)
m + 13
SOD(6)
m + 14
SOW(7)
m + 15
m + 16
SOW(8)
m + 17 Word output / Remote command response area /
SOD(8)
m + 18 Double word output General-purpose output area
SOW(9)
m + 19
m + 20
SOW(10)
m + 21
SOD(10)
m + 22
SOW(11)
m + 23
m + 24
SOW(12)
m + 25
SOD(12)
m + 26
SOW(13)
m + 27
m + 28
SOW(14)
m + 29
SOD(14)
m + 30
SOW(15)
m + 31
m + 32 SO07 - SO00
Bit output Status output area
m + 33 SO17 - SO10
m + 34 SO27 - SO20
m + 35 SO37 - SO30
m + 36 SO47 - SO40
m + 37 SO57 - SO50
m + 38 SO67 - SO60
m + 39 SO77 - SO70 Bit output /
General-purpose output area
m + 40 SO107 - SO100 Byte output
m + 41 SO117 - SO110
m + 42 SO127 - SO120
m + 43 SO137 - SO130
m + 44 SO147 - SO140
m + 45 SO157 - SO150
m + 46 SO167 - SO160
Reserved area Prohibited to use
m + 47 SO177 - SO170
m: Starting address of the input data area for the target host control device
• Each address is 8 bit data.
• SOn() is handled as unsigned 8-bit integer data.
• SOW(n) is handled as unsigned 16-bit integer data.
• SOD(n) is handled as signed 32-bit integer data.
• The upper word and lower word of SOD(n) correspond to SOW(n+1) and SOW(n), respectively.
7
■ ■ Output from the host control device, input to the controller
Host control device Controller
Address (WRITE) Address (READ) Input/output type Use
n
SIW(0) Remote command area
n+1
- Word input
n+2
SIW(1) Remote command data area
n+3
n+4
SIW(2)
n+5
SID(2)
n+6
SIW(3)
n+7
n+8
SIW(4)
n+9
3
SID(4)
n + 10
SIW(5)
n + 11
n + 12
SIW(6)
n + 13
SID(6)
n + 14
Input/output assignments
SIW(7)
n + 15
n + 16
SIW(8)
n + 17 Word input / Command data area /
SID(8)
n + 18 Double word input General-purpose input area
SIW(9)
n + 19
n + 20
SIW(10)
n + 21
SID(10)
n + 22
SIW(11)
n + 23
n + 24
SIW(12)
n + 25
SID(12)
n + 26
SIW(13)
n + 27
n + 28
SIW(14)
n + 29
SID(14)
n + 30
SIW(15)
n + 31
n + 32 SI07 - SI00
Bit input Command input area
n + 33 SI17 - SI10
n + 34 SI27 - SI20
n + 35 SI37 - SI30
n + 36 SI47 - SI40
n + 37 SI57 - SI50
n + 38 SI67 - SI60
n + 39 SI77 - SI70 Bit input /
General-purpose input area
n + 40 SI107 - SI100 Byte input
n + 41 SI117 - SI110
n + 42 SI127 - SI120
n + 43 SI137 - SI130
n + 44 SI147 - SI140
n + 45 SI157 - SI150
n + 46 SI167 - SI160
Reserved area Prohibited to use
n + 47 SI177 - SI170
n: Starting address of the output data area for the target host control device
• Each address is 8 bit data.
• SIn() is handled as unsigned 8-bit integer data.
• SIW(n) is handled as unsigned 16-bit integer data.
• SID(n) is handled as signed 32-bit integer data
• The upper word and lower word of SID(n) correspond to SIW(n+1) and SIW(n), respectively.
8
3.2 I/O assignments (extension)
The following describes the correspondence between the serial input/output data on robot controller and the
input/output data on network when the serial input/output word is extended (Option board related parameters
"SIOW extension": VALID).
For details about the parameter, refer to RCX 3 user's/operator’s manual "Option board related parameters"
3
m+4
SOW(2)
m+5
SOD(2)
m+6
SOW(3)
m+7
m+8
SOW(4)
m+9
SOD(4)
m + 10
SOW(5)
Input/output assignments
m + 11
m + 12
SOW(6)
m + 13
SOD(6)
m + 14
SOW(7)
m + 15
m + 16
SOW(8) Word output / Remote command response area /
m + 17
SOD(8)
m + 18 Double word output General-purpose output area
SOW(9)
m + 19
m + 20
SOW(10)
m + 21
SOD(10)
m + 22
SOW(11)
m + 23
m + 24
SOW(12)
m + 25
SOD(12)
m + 26
SOW(13)
m + 27
m + 28
SOW(14)
m + 29
SOD(14)
m + 30
SOW(15)
m + 31
m + 32 SO07 - SO00
Bit output Status output area
m + 33 SO17 - SO10
m + 34 SO27 - SO20
m + 35 SO37 - SO30
m + 36 SO47 - SO40
m + 37 SO57 - SO50
m + 38 SO67 - SO60
m + 39 SO77 - SO70 Bit output /
General-purpose output area
m + 40 SO107 - SO100 Byte output
m + 41 SO117 - SO110
m + 42 SO127 - SO120
m + 43 SO137 - SO130
m + 44 SO147 - SO140
m + 45 SO157 - SO150
m + 46 SO167 - SO160
Reserved area Prohibited to use
m + 47 SO177 - SO170
m + 48
SOW(24)
m + 49
SOD(24)
m + 50
SOW(25)
m + 51
m + 52 General-purpose output area
SOW(26)
m + 53 Word output /
SOD(26)
m + 54 or
SOW(27) Double word output
m + 55
: : : Real time output area*
m + 252
SOW(126)
m + 253
SOD(126)
m + 254
SOW(127)
m + 255
m: Starting address of the input data area for the target host control device
• Each address is 8 bit data.
• SOn() is handled as unsigned 8-bit integer data.
• SOW(n) is handled as unsigned 16-bit integer data.
• SOD(n) is handled as signed 32-bit integer data.
• The upper word and lower word of SOD(n) correspond to SOW(n+1) and SOW(n), respectively.
*W
hen the real time output parameter is enabled, the extended serial output area is used for real time output.
For details about the parameter, refer to RCX 3 user's/operator’s manual "I/O parameters".
9
■ ■ Output from the host control device, input to the controller
Host control device Controller
Address (WRITE) Address (READ) Input/output type Use
n
SIW(0) Remote command area
n+1
- Word input
n+2
SIW(1) Remote command data area
n+3
n+4
SIW(2)
n+5
SID(2)
n+6
SIW(3)
n+7
n+8
SIW(4)
n+9
SID(4)
n + 10
SIW(5)
3
n + 11
n + 12
SIW(6)
n + 13
SID(6)
n + 14
SIW(7)
n + 15
n + 16
SIW(8)
Input/output assignments
n + 48
SIW(24)
n + 49
SID(24)
n + 50
SIW(25)
n + 51
n + 52
SIW(26)
n + 53
SID(26) Word input /
n + 54 General-purpose input area
SIW(27) Double word input
n + 55
: : :
n + 252
SIW(126)
n + 253
SID(126)
n + 254
SIW(127)
n + 255
n: Starting address of the output data area for the target host control device
• Each address is 8 bit data.
• SIn() is handled as unsigned 8-bit integer data.
• SIW(n) is handled as unsigned 16-bit integer data.
• SID(n) is handled as signed 32-bit integer data
• The upper word and lower word of SID(n) correspond to SIW(n+1) and SIW(n), respectively.
10
3.3 How to extend I/O size
The latest configuration file can be downloaded from the YAMAHA website:
https://global.yamaha-motor.com/business/robot/download/fieldbus/
3
2 Change I/O size for the master unit to that for the controller.
Set the I/O size to 256 bytes; to match the
communication I/O size for RCX340/320 on
Input/output assignments
the setting screen of your master unit.
Not to extend the I/O size (SIOW extension
parameter: Invalid), set to 48 bytes.
Transporting the setting to the master unit extends the I/O size of master unit as shown in right.
SIOW(0)-SIOW(15)
(16 WORD)
SIO0(0)-SIO17(7)
(8 WORD)
SIOW(16)-SIOW(119)
(104 WORD)
拡張
n NOTE
The description above shows an example for setting. Set the I/O size according to your master unit.
11
4. Par t names and functions
Here we explain the part names and functions of the network interface unit.
Part names
• Pin configuration and connector specifications
Number Name
1 TXD+
ERROR LED 8
2 TXD-
Port 1
3 RXD+ 1
Link/activity LED
Port 1 4 -
RJ45 modular jack
5 -
Link/activity LED 6 RXD- 8
RJ45 modular jack Port 2 Port 2
7 -
4
1
8 -
ERR0R LED
This LED indicates the EtherCAT communication error.
Invalid settings
Red flashing It is disabled to change the status to that sent by the master device as the setting or the register /
object is invalid.
Application watchdog timeout
Red flashing twice
The sync manager watchdog has timed out.
Application controller malfunction
Red lit*
The module is in the “EXCEPTION” status.
RUN LED
This LED indicates the status of the CoE (CANopen over EtherCAT) communication.
*: W
hen the either of LED is lit in red, something critical is happening.
The bus interface becomes physically passive in this case.
12
5. Flow until operation begins
Here we explain the flow from startup until operation begins. Proceed with the flow shown in the illustration
below, and consult the appropriate manuals as necessary for each step.
5
• Debug the program
13
6. Connection
Here we provide an overview of the procedures for connecting the robot controller to the network.
Network structure and cable specifications should be designed according to the materials provided by
the network interest group (ETG: EtherCAT Technology Group).
The network corresponds to topologies with a lot of flexibility such as Star type, Line type, and Ring type, and
it is recommended to construct the network by Daisy-chained connection among them.
6
Connection
RCX340 RCX340
c CAUTION
Network equipment such as switches can be used if it satisfies the requirements of the EtherCAT network.
However if the equipment is to be used in an environment where noise is a concern, such as a factory,
equipment that meets EMC industrial standards should be selected.
14
6.2 Cabling
w WARNING
SHUT off the power supply input to the robot controller before performing this work.
Insert the LAN cable's modular plug into the controller's modular jack until you hear it click into place.
■ ■ Cable specifications
Use LAN cables that meet the following specifications.
Category 5e (CAT 5e) or higher
Shielded Twisted Pair (STP: Shielded Twist Pair)
Double-shielded
100 m or shorter (solid-core cable is recommended if it is over 10 m)
Connection
emergency stop state, or causing throughput to decline. If there is a source of noise, and this noise is suspected
of affecting communication, please take the following countermeasures.
15
7. ESI File
ESI (EtherCAT Slave Information) is a type of network setting file. It contains settings for a device that
supports EtherCAT.
The network setting file contains information necessary for connecting to a host control device, such as I/
O size and communication settings, in a prescribed format. When constructing a network, the settings
information of all connected network devices must be loaded into the host control device.
The appropriate engineering tool or configuration tool is used to make settings for and write to the host
control device, and during this process it will be required to load each device's network setting file into the
tools.
The steps for loading the file will depend on the host control device to use, and on the tool that supports it.
Refer to the manuals for the devices and tools.
When the serial input/output word is extended (option board related parameter "SIOW extension" is valid),
Change the I/O size in host control device to accord with communication I/O size in robot controller.
=>For details about the setting method, refer to Chapter 6 "3.3 How to extend I/O size"
In order to use the real time output function, after enabling the option board related parameter "SIOW
extension", enable the I/O parameter "Real time output".
=>For details about the real time output function, refer to the remote I/O manual.
7 URL: https://global.yamaha-motor.com/business/robot/download/fieldbus/
ESI File
16
8. Parameter Settings
Here are the indispensable parameters for communication between the host control device and the robot
controller.
Option board enable 0: INVALID 1: VALID Enables / disables the option board.
1: VALID Set to VALID in order to use the EtherCAT system.
It is required to turn OFF and ON the power after changing the parameter
setting.
EtherCAT Device ID 0 to 65535 0 Set this parameter to communicate with the host control device using the
device ID.
0: No device is set.
1 to 65535: Valid network address
SIOW extension 0: INVALID 0: INVALID Enables/disables the SIOW extension.
1: VALID * After setting the parameter, the power cycling is required.
* For details about the parameter, refer to RCX 3 user's/operator’s manual
"Option board related parameters".
n NOTE
It is required to set the device ID or node address (e.g. station alias) for communication between the host device
and robot controller.
■ ■ Setting Method
n NOTE
Save the data inside the controller to external storage device through support software 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.
8
4 Edit the parameter.
Parameter Settings
Enter the desired set value, then press [Enter].
The "Option board enable" parameter set values display in the order of the option slot numbers.
(1: Upper left ➔ 2: Lower left ➔ 3: Upper right ➔ 4: Lower right)
Specify a setting for the slot number where the EtherCAT compatible module is installed.
c CAUTION
• Do not touch the conductive areas and the electronic components of the EtherCAT compatible module.
• Do not subject the EtherCAT compatible module to impact shocks.
• Use care to keep moisture and conductive materials away from the EtherCAT compatible module in order to
prevent module failure.
• The "12.591: EtherCAT link error" alarm will be displayed at the programming box when the robot controller power
is turned ON if there is no connection to the EtherCAT system, or if an EtherCAT system error status exists. Even if
this occurs, the setting check described above can be performed.
c CAUTION
Data of the robot controller other than network parameters is not passed on automatically.
Be sure to back up from the controller before replacing it, download this data to the controller following
replacement, and then connect the controller to the network.
17
9. Monitoring communication data
9
On/off data for the host controller device and controller I/O can be monitored via the programming box or
the RCX-Studio PC support software. This can be used to check the input/output addresses during setup or
for debugging.
c CAUTION
Monitoring communication data
Since the display update interval of the programming box and of RCX-Studio is longer than the data update
interval of I/O information, there may be cases in which accurate information is not shown if the on/off interval of
the I/O information is short.
Valid keys and submenu descriptions in the MANUAL mode are shown below.
n NOTE
Four types of I/O data can be transmitted and received via the network: SI, SO, SIW, and SOW.
18
9.1.1 Switching the port number
■ ■ Monitor screen
By switching the monitor number the displayed port number can be changed.
The following table shows the correspondence between monitor number and port number. 9
Port name Monitor number Display range Display format
1 00-77
3 200-277
1 0-7
SIW
4-digit hexadecimal
SOW
2 8-15
* The port name is shown in . For example if "DO monitor 2" (monitor number 2 of the DO port) is shown,
DO100-DO177 is shown.
Monitor number
Monitor number
19
9.1.2 Input/output list display
Key Input/output
F2 DI
F3 DO
F4 MO
F5 LO
F6 TO
F7 SI
F8 SO
F9 SIW
F10 SOW
20
9.1.4 Switching the output status
In the "Input/output detail view" screen, DO, MO, LO, TO, and SO output can be switched on/off by individual
bits.
c CAUTION
• In order to switch the output on/off, the programming box must have control authority.
9
• SO00-07, SO10-17, and DO00-07 and DO10-17 cannot be changed, since they are dedicated bit outputs that
indicate the status of the controller.
21
9.2 Using RCX-Studio PC support software
From the window tree, choose [Monitor] and then double-click a port name DI through SOW to monitor, then
9
the monitor screen appears.
The monitor screen contains a list screen and a detail screen. When starting RCX-Studio, the monitor screen
that appears first will always be the "Detail screen."
The explanation here uses the example of SI, SO, SIW, and SOW.
Monitoring communication data
Tip
Once you open a monitor screen, it is shown as a tab at the bottom of the screen. The monitor screen can be
displayed by switching tabs.
Tab display
22
■ ■ SI monitor
9
Check name
Save name Sends the name that is entered in the name entry field to the controller.
Reload name Loads the name from the controller, updating the indication of the name entry field.
Checks whether the entered I/O name conforms to the prescribed rules. For details on the naming
Check name
rules for an I/O name, see "I/O name entry field" below.
Enters the I/O name. Observe the following naming rules when entering the name.
• The maximum is 16 characters.
• Single-byte alphanumeric characters and "_" (underscore) can be used.
• Uppercase and lowercase alphabetical characters are distinguished.
• A numeral cannot be used as the first character.
I/O name entry field
• It is not possible to assign an I/O name that is identical to a reserved word, or that starts with
a system variable name.
• It is not possible to assign the same I/O name to more than one I/O.
• Since SI00-07 and SI10-17 are dedicated bit inputs, the I/O name cannot be input. Similarly, I/O
name input is not possible for DI inputs (DI00-07 and DI10-17).
* For a list of reserved words and system variables, and for usage examples of variable names, refer to "13. Reserved word list."
■ ■ SIW monitor
Display unit
Function
23
■ ■ SO monitor
If the name is hidden
Name on/off ON/OFF button
Save name Reload name Name on/off ON/OFF button
9
I/O name entry field
Check name
Monitoring communication data
Function
Save name Sends the name that is entered in the name entry field to the controller.
Reload name Loads the name from the controller, updating the indication of the name entry field.
Check name Checks whether the entered I/O name conforms to the prescribed rules.
c CAUTION
• In order to switch SO or DO on/off, the programming box must release control authority, and the controller must
be in auto mode.
• SO00-07, SO10-17, DO00-07, and DO10-17 are dedicated bit outputs that indicate the status of the controller,
and therefore cannot be changed.
■ ■ SOW monitor
Display unit
Function
Tip
The SOW2-15 output values can be updated to desired values by rewriting the numerical value in the text box
during communication with the controller.
As SOW0 and 1 are dedicated outputs, their values cannot be changed.
As SIW is an external input value, it cannot be changed to an arbitrary value.
24
10. Disabling an option unit
If the controller is equipped with a field network option unit, it normally communicates with the host control
device and controls the robot in accordance with the communicated content, so a ladder program is required
for the host control device.
When performing teaching or trial operation of the robot by itself in a state in which the host control device's
ladder program has not been provided, the robot can be operated without communicating with the host
control device by setting the option board to "disabled". 10
c CAUTION
When shipped from the factory, all functions of the option unit are set to "enabled." In the "enabled" state, the robot
Slot 1
Slot 2
Option board enabled 0 : INVALID, 1 : VALID 1 : VALID
Slot 3
Slot 4
c CAUTION
The "Option board enable" parameter is set individually for option slots 1 through 4. When changing the settings of
an option board, be sure to verify the location in which the target option board is installed, and change the setting
only for the target slot number.
The illustration below shows the correspondence between the location of each option slot and the actual
installation location.
1 2
3 4
25
10.1 Making settings
An option board can be disabled either from the programming box or from RCX-Studio PC support software.
10
Disabling an option unit
2 Press the [F6] (OPTION) key to display the Option Parameters screen.
26
4 Edit the parameter.
Change the setting for the target slot, and press the enter key.
1 2
10
3 4
27
2 Select the option slot "Value" column, and choose either "VALID" or "INVALID."
C101 through C104 in the chart correspond to option slots 1 through 4 of controller 1.
If controllers are linked to each other in a YC-Link/E network, the option slots of controller 2 and
following are shown in C201 through C204.
10
Disabling an option unit
Tip
If a cell's value is changed, its background color turns red.
[Save] button
28
11. Countermeasure against communication failure
If communication is not established, diagnose the situation by referring to the alarm codes or alarm messages
of the controller unit and to the network unit's LED illumination pattern, and take the appropriate actions.
11
■ ■ Procedure
Connection
• Determine the network configuration
• Connect cables
• Noise countermeasures (only if necessary)
Setting
• Setting for the host control device (EtherCAT Master)
- Use ESI file to register device information
- Network parameter setting for the robot controller (Node address or Device ID)
- I/O size setting for the host control device (EtherCAT Master)
→After setting, put the system in the RUN state
29
11.2 Viewing the alarm codes in the 7-segment LED
Normal state
• The "PWR" LED on the front of the controller is lit, and the 7-segment LED shows the following.
(Servo off, return-to-origin incomplete, emergency stop cancelled)
S O E
Abnormal state
11
• The "PWR" LED on the front of the controller is lit, and the 7-segment LED shows an alarm code.
• Note the alarm message on the programming box, and take the actions prescribed by the troubleshooting guidelines.
(Example) Display when an alarm occurs
"E + alarm group number" and "alarm type number" are displayed alternately.
Countermeasure against communication failure
30
11.3.2 Alarms related to I/O on/off status
These errors occur depending on the state of the dedicated input/output.
If the robot controller is equipped with a network unit, the robot cannot be operated unless an emergency stop
or STOP signal is input from the host control device, even if the robot is being controlled from somewhere
other than the host control device.
For details on I/O functions, refer to "Remote I/O Manual."
11
d. The DIO connector is not connected.
a, b. Cancel the stop status, and then execute the program or move the axis.
c. Supply 24V-power for I/O.
Action
d. Connect the DIO connector.
* Set the "Option board enable" parameter INVALID when DIO is not used.
31
11.3.4 Checking alarm codes in the programming box
11
Countermeasure against communication failure
32
12. Specifications
12.1 Network specifications
Spec. Item Contents
RCX-Studio Pro: V2.1.9 or later RCX-Studio 2020: all versions are supported
Available via:
ESI file
https://global.yamaha-motor.com/business/robot/download/fieldbus/
Specifications
Input/output points byte 0-3 Dedicated word input : 2 words
(I n parentheses shows when byte 4-31 General purpose word input : 14 words
SIOW are extended.*) Input
48 bytes in total byte 32-33 Dedicated bit input : 16 points
(256 bytes in total) byte 34-45 General-purpose bit input : 96 points
byte 46-47 Reserved area
(byte 48-255) (General-purpose word input : 104 words
* When the serial Input/Output word is extended (Option board related parameters "SIOW extension": VALID),
the input/output points become as the table above.
For details about the parameter, refer to RCX 3 user's/operator’s manual "Option board related parameters".
33
12.2 Input/output specifications
Controller ⇒ Host control device Host control device ⇒ Controller
Address (WRITE) I/O function Address (READ) I/O function
SOW(0) Remote command status area SIW(0) Remote command area
– Remote command response –
SOW(1) SIW(1) Remote command data area
area
SOW(2) SIW(2)
SOD(2) SID(2)
SOW(3) SIW(3)
SOW(4) SIW(4)
SOD(4) SID(4)
SOW(5) SIW(5)
SOW(6) SIW(6)
SOD(6) SID(6)
SOW(7) SIW(7)
Remote command response
SOW(8) SIW(8) Remote command data area /
SOD(8) area / SID(8)
SOW(9) SIW(9) General-purpose input area
General-purpose output area
SOW(10) SIW(10)
SOD(10) SID(10)
SOW(11) SIW(11)
12 SOW(12)
SOW(13)
SOW(14)
SOD(12)
SIW(12)
SIW(13)
SIW(14)
SID(12)
SOD(14) SID(14)
SOW(15) SIW(15)
SO00 Emergency stop status output SI00 Emergency stop input
Specifications
For details on each I/O function, refer to the separate "Remote I/O Manual".
34
12.3 Input/output specifications (extension)
Controller ⇒ Host control device Host control device ⇒ Controller
Address (WRITE) I/O function Address (READ) I/O function
SOW(0) Remote command status area SIW(0) Remote command area
– –
SOW(1) Remote command response area SIW(1) Remote command data area
SOW(2) SIW(2)
SOD(2) SID(2)
SOW(3) SIW(3)
SOW(4) SIW(4)
SOD(4) SID(4)
SOW(5) SIW(5)
SOW(6) SIW(6)
SOD(6) SID(6)
SOW(7) SIW(7)
Remote command response area
SOW(8) SIW(8) Remote command data area /
SOD(8) / SID(8)
SOW(9) SIW(9) General-purpose input area
General-purpose output area
SOW(10) SIW(10)
SOD(10) SID(10)
SOW(11) SIW(11)
SOW(12) SIW(12)
SOD(12) SID(12)
SOW(13) SIW(13)
12
SOW(14) SIW(14)
SOD(14) SID(14)
SOW(15) SIW(15)
SO00 Emergency stop status output SI00 Emergency stop input
SO01 CPU_OK status output SI01 Servo on input
SO02 Servo on status output SI02
SO07 SO03 Alarm status output SI03
Specifications
SI07 - SI00 Reserved area (do not use)
- SO00 SO04 MPRDY status output SI04
SO05 SI05
SO06 Reserved area (do not use) SI06 Stop input
SO07 SI07 Reserved area (do not use)
SO10 Auto mode status output SI10 Sequence control input
Return-to-origin complete status
SO11 SI11 Reserved area (do not use)
output
Sequence program execution
SO12 SI12 Automatic operation start
status output
SO17 SO13 Robot program operating output SI13 Reserved area (do not use)
SI17 - SI10
- SO10 Return-to-origin input
SO14 Program reset status output SI14
(incremental type axis)
SO15 Warning output SI15 Program reset input
SO16 SI16 Alarm reset input
Reserved area (do not use) Return-to-origin input
SO17 SI17
(absolute type axis)
SO27 - SO20 SI27 - SI20
SO37 - SO30 SI37 - SI30
SO47 - SO40 SI47 - SI40
SO57 - SO50 SI57 - SI50
SO67 - SO60 SI67 - SI60
SO77 - SO70 SI77 - SI70
General-purpose output area General-purpose input area
SO107 - SO100 SI107 - SI100
SO117 - SO110 SI117 - SI110
SO127 - SO120 SI127 - SI120
SO137 - SO130 SI137 - SI130
SO147 - SO140 SI147 - SI140
SO157 - SO150 SI157 - SI150
SO167 - SO160 SI167 - SI160
Reserved area (do not use) Reserved area (do not use)
SO177 - SO170 SI177 - SI170
SOW(24) SIW(24)
SOD(24) SID(24)
SOW(25) SIW(25)
General-purpose output area
SOW(26) SIW(26)
SOD(26) SID(26)
SOW(27) or SIW(27) General-purpose input area
: : : :
Real time output area*
SOW(126) SIW(126)
SOD(126) SID(126)
SOW(127) SIW(127)
For details on each I/O function, refer to the separate "Remote I/O Manual".
* W hen "real time output" parameter is valid, the extended serial output area is used for real time output.
For details, refer to RCX 3 user's/operator’s manual "I/O parameters".
35
13. Reser ved word list
Because the following names are reserved for the robot language, they cannot be used as I/O names.
A D HOLDALL MRKSET
ABS DATE I MSG
ABSADJ DBP IDIST MSGCLR
ABSRPOS DECEL IF MSPEED
ACCEL DEF IMP MTRDUTY
ACCESS DEGRAD INCH N
ACO DELAY INCHT NAME
ALL DI INCHXY NEXT
ALM DIM INIT NOT
ALMRST DIR INPUT O
AND DIST INROFST OFFLINE
ARCHP1 DO INT ON
ARCHP2 DPM ION ONLINE
ARM DRIVE J OPEN
ARMCND DRIVEI JOG OPT
13 ARMSEL
ARMTYP
DRV
E
JOGT
JOGXY
OR
ORD
ARP ELSE JTOXY ORGORD
ARY ELSEIF L ORGRTN
Reserved word list
36
READ SGI TCHXY WHRXY
REF SGR TCOUNTER WHRXYEX
REM SHARED TEACH WRITE
REN SHIFT THEN WRKDEF
RESET SI TIME X
RESTART SID TIMER XOR
RESUME SIN TO XYTOJ
RETURN SIW TOLE
RIGHT SKIP TORQUE
RIGHTY SKIPTO TSKECD
RSHIFT SO TSKMON
RTO SOD TSKPGM
RUN SOW V
RUNTO SPEED VAL
S SQR VAR
S START VER
SCK STEP VMCDEF
SCRINR STOP VMCPNO
SELECT STR VMCORRECT
13
SEND SUB VMCSTS
SEQCMPL SUSPEND W
SEQUENCE SWI WAIT
SERVO SYNCHK WEIGHT
SET T WEIGHTG
• Keywords reserved as system variables cannot be used at the beginning of other variable names, even if alphanumeric
characters are added to them.
Example: "FN" cannot be used. "FNA" and "FN123" also cannot be used.
37
Revision Record
User’s Manual
Network Board
EtherCAT
May 2020
Ver. 1.11