Profinet e V.1.11
Profinet e V.1.11
RCX340/RCX320
EUSD205111
Introduction 1
Warranty 4
1. Overview of functions 5
3. Input/output assignments 7
6. Connection 14
6.2 Cabling 16
7. GSDML files 17
8. Settings 18
T-1
CONTENTS PROFINET
User’s Manual
12. Specifications 36
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
The key points in the operation are explained simply and clearly.
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
• 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, etc.).
In any of these networks, the robot controller (slave module) operates in accordance with commands via I/O
Overview of functions
control from a host control device (master module).
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 the network.
■ ■ Output from the controller, input to the host control device
Host control device Controller
Address (READ) Address (WRITE) Input/output type Use
Im
SOW(0) Remote command status area
3
Im + 1
- Word output
Im + 2
SOW(1) Remote command error code area
Im + 3
Im + 4
SOW(2)
Im + 5
SOD(2)
Im + 6
Input/output assignments
SOW(3)
Im + 7
Im + 8
SOW(4)
Im + 9
SOD(4)
Im + 10
SOW(5)
Im + 11
Im + 12
SOW(6)
Im + 13
SOD(6)
Im + 14
SOW(7)
Im + 15
Im + 16
SOW(8)
Im + 17 Word output / Remote command response area /
SOD(8)
Im + 18 Double word output General-purpose output area
SOW(9)
Im + 19
Im + 20
SOW(10)
Im + 21
SOD(10)
Im + 22
SOW(11)
Im + 23
Im + 24
SOW(12)
Im + 25
SOD(12)
Im + 26
SOW(13)
Im + 27
Im + 28
SOW(14)
Im + 29
SOD(14)
Im + 30
SOW(15)
Im + 31
Im + 32 SO07 - SO00
Bit output Status output area
Im + 33 SO17 - SO10
Im + 34 SO27 - SO20
Im + 35 SO37 - SO30
Im + 36 SO47 - SO40
Im + 37 SO57 - SO50
Im + 38 SO67 - SO60
Im + 39 SO77 - SO70 Bit output /
General-purpose output area
Im + 40 SO107 - SO100 Byte output
Im + 41 SO117 - SO110
Im + 42 SO127 - SO120
Im + 43 SO137 - SO130
Im + 44 SO147 - SO140
Im + 45 SO157 - SO150
Im + 46 (Reserve)
Reserved area Prohibited to use
Im + 47 (Reserve)
Im: Starting address of the input data area for the target host control device
• Im, Im+1, ..., Im+47 assume data memory that is divided at each byte (8-bits).
• SOx() is handled as unsigned 8-bit integer data. (x=2-7, 10-17) • SOW(y) is handled as unsigned 16-bit integer data. (y=0 - 15)
• The upper byte and lower byte of SOW(y) correspond to I(2y+1) and I(2y) respectively.
• SOD(z) is handled as signed 32-bit integer data. (z=2, 4, ..., 14)
• The upper word and lower word of SOD(z) correspond to SOW(z+1) and SOW(z), respectively.
7
■ ■ Output from the host control device, input to the controller
Host control device Controller
Address (WRITE) Address (READ) Input/output type Use
Qn
SIW(0) Remote command area
Qn+1
- Word input
Qn+2
SIW(1) Remote command data area
Qn+3
Qn+4
SIW(2)
Qn+5
SID(2)
Qn+6
SIW(3)
Qn+7
Qn+8
SIW(4)
Qn+9
3
SID(4)
Qn+10
SIW(5)
Qn+11
Qn+12
SIW(6)
Qn+13
SID(6)
Qn+14
Input/output assignments
SIW(7)
Qn+15
Qn+16
SIW(8)
Qn+17 Word input / Remote command data area /
SID(8)
Qn+18 Double word input General-purpose input area
SIW(9)
Qn+19
Qn+20
SIW(10)
Qn+21
SID(10)
Qn+22
SIW(11)
Qn+23
Qn+24
SIW(12)
Qn+25
SID(12)
Qn+26
SIW(13)
Qn+27
Qn+28
SIW(14)
Qn+29
SID(14)
Qn+30
SIW(15)
Qn+31
Qn+32 SI07 - SI00
Bit input Command input area
Qn+33 SI17 - SI10
Qn+34 SI27 - SI20
Qn+35 SI37 - SI30
Qn+36 SI47 - SI40
Qn+37 SI57 - SI50
Qn+38 SI67 - SI60
Qn+39 SI77 - SI70 But input /
General-purpose input area
Qn+40 SI107 - SI100 Byte input
Qn+41 SI117 - SI110
Qn+42 SI127 - SI120
Qn+43 SI137 - SI130
Qn+44 SI147 - SI140
Qn+45 SI157 - SI150
Qn+46 (Reserve)
Reserved area Prohibited to use
Qn+47 (Reserve)
Qn : Starting address of the output data area for the target host control device
• Qn, Qn+1, ..., Qn+47 assume data memory that is divided at each byte (8-bits).
• SIx() is handled as unsigned 8-bit integer data. (x=2-7, 10-17)
• SIW(y) is handled as unsigned 16-bit integer data. (y=0 - 15)
• The upper byte and lower byte of SIW(y) correspond to Q(2y+1) and Q(2y) respectively.
• SID(z) is handled as signed 32-bit integer data. (z=2, 4, ..., 14)
• The upper word and lower word of SID(z) correspond to SIW(z+1) and SIW(n), respectively.
* For details on the functions that are assigned to each serial input/output data, refer to the separate Remote
I/O Manual.
* The reserved area cannot be used.
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
Im + 3
Im + 4
SOW(2)
Im + 5
SOD(2)
Im + 6
SOW(3)
Im + 7
Im + 8
SOW(4)
Im + 9
Input/output assignments
SOD(4)
Im + 10
SOW(5)
Im + 11
Im + 12
SOW(6)
Im + 13
SOD(6)
Im + 14
SOW(7)
Im + 15
Im + 16
SOW(8)
Im + 17 Word output / Remote command response area /
SOD(8)
Im + 18 Double word output General-purpose output area
SOW(9)
Im + 19
Im + 20
SOW(10)
Im + 21
SOD(10)
Im + 22
SOW(11)
Im + 23
Im + 24
SOW(12)
Im + 25
SOD(12)
Im + 26
SOW(13)
Im + 27
Im + 28
SOW(14)
Im + 29
SOD(14)
Im + 30
SOW(15)
Im + 31
Im + 32 SO07 - SO00
Bit output Status output area
Im + 33 SO17 - SO10
Im + 34 SO27 - SO20
Im + 35 SO37 - SO30
Im + 36 SO47 - SO40
Im + 37 SO57 - SO50
Im + 38 SO67 - SO60
Im + 39 SO77 - SO70 Bit output /
General-purpose output area
Im + 40 SO107 - SO100 Byte output
Im + 41 SO117 - SO110
Im + 42 SO127 - SO120
Im + 43 SO137 - SO130
Im + 44 SO147 - SO140
Im + 45 SO157 - SO150
Im + 46 (Reserve)
Reserved area Prohibited to use
Im + 47 (Reserve)
Im + 48
SOW(24)
Im + 49
SOD(24)
Im + 50
SOW(25)
Im + 51
Im + 52 General-purpose output area
SOW(26)
Im + 53
SOD(26) Word output /
Im + 54 or
SOW(27) Double word output
Im + 55
: : : Real time output area*
Im + 252
SOW(126)
Im + 253
SOD(126)
Im + 254
SOW(127)
Im + 255
Im: Starting address of the input data area for the target host control device
*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
Qn
SIW(0) Remote command area
Qn+1
- Word input
Qn+2
SIW(1) Remote command data area
Qn+3
Qn+4
SIW(2)
Qn+5
SID(2)
Qn+6
SIW(3)
Qn+7
Qn+8
SIW(4)
Qn+9
SID(4)
Qn+10
3
SIW(5)
Qn+11
Qn+12
SIW(6)
Qn+13
SID(6)
Qn+14
SIW(7)
Qn+15
Qn+16
Input/output assignments
SIW(8)
Qn+17 Word input / Remote command data area /
SID(8)
Qn+18 Double word input General-purpose input area
SIW(9)
Qn+19
Qn+20
SIW(10)
Qn+21
SID(10)
Qn+22
SIW(11)
Qn+23
Qn+24
SIW(12)
Qn+25
SID(12)
Qn+26
SIW(13)
Qn+27
Qn+28
SIW(14)
Qn+29
SID(14)
Qn+30
SIW(15)
Qn+31
Qn+32 SI07 - SI00
Bit input Command input area
Qn+33 SI17 - SI10
Qn+34 SI27 - SI20
Qn+35 SI37 - SI30
Qn+36 SI47 - SI40
Qn+37 SI57 - SI50
Qn+38 SI67 - SI60
Qn+39 SI77 - SI70 But input /
General-purpose input area
Qn+40 SI107 - SI100 Byte input
Qn+41 SI117 - SI110
Qn+42 SI127 - SI120
Qn+43 SI137 - SI130
Qn+44 SI147 - SI140
Qn+45 SI157 - SI150
Qn+46 (Reserve)
Reserved area Prohibited to use
Qn+47 (Reserve)
Qn + 48
SIW(24)
Qn + 49
SID(24)
Qn + 50
SIW(25)
Qn + 51
Qn + 52
SIW(26)
Qn + 53
SID(26) Word input /
Qn + 54 General-purpose input area
SIW(27) Double word input
Qn + 55
: : :
Qn + 252
SIW(126)
Qn + 253
SID(126)
Qn + 254
SIW(127)
Qn + 255
Qn : Starting address of the output data area for the target host control device
• Im, Im+1, ..., Im+47 and Qn, Qn+1, ..., Qn+47 assume data memory that is divided at each byte (8-bits).
• SOx() and SIx() is handled as unsigned 8-bit integer data. (x=2-7, 10-17)
• SOW(y) and SIW(y) is handled as unsigned 16-bit integer data. (y=0 - 15, 24 -127)
• The upper byte and lower byte of SOW(y) and SIW(y) correspond to I(2y+1), I(2y) and Q(2y+1), Q(2y) respectively.
• SOD(z) and SID(z) is handled as signed 32-bit integer data. (z=2,4,..,14, 24, 26, ..., 126)
• The upper word and lower word of SOD(z) and SID(z) correspond to SOW(z+1), SOW(z) and SIW(z+1), SIW(z), 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/
2 Change I/O size for the master unit to that for the controller.
3
Set the I/O size to 256 bytes; to match the communication I/O size for RCX340/320 on the setting screen
of your master unit.
Input/output assignments
Not to extend the I/O size (SIOW extension parameter: Invalid), set to 48 bytes.
Input Adress Output Adress
Transporting the setting to the master unit extends the I/O size of master unit as shown below.
設定をマスタユニットに転送すると、下図の例のようにマスタユニットのI/Oサイズが拡張されます。
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
Network status LED
1 TXD+
Module status LED 8
2 TXD-
Port 1
3 RXD+ 1
4 -
Link/activity LED
5 -
RJ45 modular jack Port 1
6 RXD- 8
Port 2
7 -
4
Link/activity LED 1
8 -
RJ45 modular jack Port 2
* An RJ45 modular plug is not included.
Connect a CAT 5e or higher STP (Shielded Twisted Pair) cable to the connector. From the standpoint of
durability and noise rejection, double-shielded LAN cable for industrial use is recommended.
Power is off
OFF Offline
I/O controller is not connected
Connection with I/O controller is not established
Green Online (RUN)
I/O controller is in RUN state
Connection with I/O controller is not established
Flashing green Online (STOP)
I/O controller is in STOP state
Flash green at 1 Hz DCP flashing An engineering tool is being used to identify a node on the network.
Flash red once Setting error Expected ID differs from actual ID.
Flash red three times Station name error Station name is not set.
Flash red four times Internal error A serious error occurred inside the module.
Green Link detected An Ethernet link is established, but communication is not occurring.
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 steps 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 (PI: PROFIBUS & PROFINET International).
A PROFINET network is typically constructed in a star topology via a switch, but since the robot controller's
PROFINET unit contains a two-port switch, a cable-saving linear network can also be constructed by daisy-
chained connection.
c CAUTION
The two Ethernet ports of a PROFINET unit are for the purpose of allowing a versatile network topology within a
single subnet without using a switch. It is not possible for the two ports to be connected to different subnets.
6 Host unit
Max. 100m
(PROFINET I/O controller)
Connection
RCX340 RCX340
c CAUTION
Network equipment such as switches can be used if it satisfies the requirements of the PROFINET 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
■ ■ Example of a cable-saving layout that combines PROFINET with a general-purpose Ethernet
network
General-purpose computer
Host unit
(PROFINET I/O controller)
RCX340 RCX340
c CAUTION
The general-purpose Ethernet ports built into the controller unit do not support the PROFINET communication
6
protocol. Also, communication settings are made separately from the PROFINET unit.
For details on settings for the general-purpose Ethernet ports, refer to the user's manual of the controller unit.
When cabling via option boards as shown above, do not set the option board setting parameter to "disable."
As setting the option board setting parameter to "disable" causes the option board's internal switch to stop
Connection
functioning, the general-purpose Ethernet communication pathway to the controller will be shut off.
15
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)
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.
16
7. GSDML files
GSDML (General Station Description Markup Language) is a type of network setting file. It contains settings
for a device that supports PROFINET.
The network settings 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 or configuration tool is used to make settings for and write to the host control
device, and during this process it will be necessary to load each device's network settings file into the tool.
The steps for loading the file will depend on the host control device used, and on the tool that supports it.
Refer to the manual for the device and tool.
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.
Network settings files for Yamaha products were created by Yamaha and have been certified by the various
network standards organizations.
These files are downloaded from the Yamaha product website.
URL: https://global.yamaha-motor.com/business/robot/download/fieldbus/
Slot
1
PROFIBUS PROFINET
IN/OUT 16 Words
7
Remote 16word/DI DO 16byte
2 IN/OUT 16 Bytes
GSDML files
3 IN/OUT 104 Words
Slot3 is available when the serial Input/Output word is extended (Option board related parameter "SIOW
extension": VALID),
For details about "SIOW extension", refer to RCX 3 user's/operator’s manual "Option board related parameters".
17
8. Settings
Here we explain the parameters that must be set and the settings files that are required in order to begin
communication between the host control device and the robot controller.
Communication with the host control device (I/O controller) requires network parameter settings such as IP
address, subnet mask, and station name.
After enabling "SIOW extension" parameter, set the I/O size to correspond to that of the robot controller (256
byte) by using the new GSDML file on the host control device.
All of these are set by the corresponding engineering tool (I/O Supervisor).
Tasks such as viewing the network parameters and performing "Reset to factory setting" are also all performed
from the engineering tool.
For details on how to use the engineering tool, refer to the manual of the device and software you're using.
If you are replacing only one device within the network, such as when replacing a controller, and topology
8
settings have been made for the host control device (I/O controller):
The network parameters that had been specified for the device before replacement can be automatically assigned
by PROFINET to the replacement device based on the address information of the peripheral device.
This means that in this case, there is no need to make communication settings.
c CAUTION
Settings
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.
I/O size setting: Match the I/O size between the host control device and the robot controller.
1) Beforehand, always register the new GSDML file in the host control device.
2) • SIOW extension parameter is invalid: Set to 48 byte for the robot controller
• SIOW extension parameter is valid: Set to 256 byte for the robot controller
3) Set the I/O size of the host control device to correspond to that of the robot controller.
In order to use the real time output function, be sure to perform the flow above and set I/O size to 256 byte.
For detail about the real time output function, refer to the remote I/O manual.
18
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
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.
19
9.1.1 Switching the port number
■ ■ Monitor screen
9 By switching the monitor number the displayed port number can be changed.
The following table shows the correspondence between monitor number and port number.
1 00-77
Monitoring communication data
: ON
SI,SO 2 100-177
: OFF
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
20
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
21
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.
9 c CAUTION
• In order to switch the output on/off, the programming box must have control authority.
• 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.
Monitoring communication data
22
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.
Tab display
23
■ ■ SI monitor
9
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.
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
24
■ ■ 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
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.
25
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
10 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".
c CAUTION
When shipped from the factory, all functions of the option unit are set to "enabled." In the "enabled" state, the robot
Disabling an option unit
first becomes operable when an emergency stop or stop signal is input from the host control device.
For details on I/O functionality, refer to the separate "Remote I/O Manual".
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
26
10.1 Making settings
An option board can be disabled either from the programming box or from RCX-Studio PC support software.
10
27
4 Edit the parameter.
Change the setting for the target slot, and press the enter key.
1 2
10
3 4
Disabling an option unit
n NOTE
The values of the option board enable parameter correspond to slots 1 through 4 starting from the left.
Verify the slot in which the network unit is installed, and change the value only for the target slot number.
28
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
[Save] button
29
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
Countermeasure against communication failure
■ ■ Procedure
Connections
• Determine the network configuration
• Connect cables
• Noise countermeasures (only if necessary)
Settings
• Settings for the host control device (PROFINET IO controller)
- Use GSD file to register device information
- Network parameter settings for the robot controller (station name, IP address, etc.)
- I/O size setting for the host control device
→After settings, put the system in the RUN state
30
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.
31
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.
Countermeasure against communication failure
32
11.3.4 Checking alarm codes in the programming box
11
33
11.4 Detailed diagnostics using the indicators
Details of the situation can be obtained from the illumination pattern of the network unit indicators.
lit green
Network status LED green (single color) LED
Module status LED green/red (two-color) LED
flashing green
11 Link/activity LED
Port 1
lit red
Port 2
unlit
Power is off
OFF Offline
I/O controller is not connected.
Connection with I/O controller is not established.
Green Online (RUN)
I/O controller is in RUN state.
Connection with I/O controller is not established.
Flashing green Online (STOP)
I/O controller is in STOP state.
Flash green at 1 Hz DCP flashing An engineering tool is being used to identify a node on the network.
Flash red once Setting error Expected ID differs from actual ID.
Flash red three times Station name error Station name is not set.
Flash red four times Internal error A serious error is occurring inside the module.
Green Link detected An Ethernet link is established, but communication is not occurring.
34
11.4.1 Common situations and LED illumination patterns
■ ■ Action to take
Link/Activity
Use the host control device to switch the control mode to
START.
3. Unset parameters
■ ■ Action to take
From the I/O supervisor, manually specify the IP address and
station name.
Make topology settings for the I/O controller.
35
12. Specifications
12.1 Network specifications
Spec. Item Contents
RCX-Studio Pro: V2.1.9 or later RCX-Studio 2020: all versions are supported
Network specification
PROFINET IO V2.2
conformance
Product revision
YAMAHA RCX3 PROFINET / 0x0001
1.00
Available via:
GSD file
https://global.yamaha-motor.com/business/robot/download/fieldbus/
Specifications
36
12.2 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".
37
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
13
ARM DRIVE J OPEN
ARMCND DRIVEI JOG OPT
ARMSEL DRV JOGT OR
ARMTYP E JOGXY ORD
ARP ELSE JTOXY ORGORD
Reserved word list
38
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.
39
Revision Record
User’s Manual
Network Board
PROFINET
May 2020
Ver. 1.11