EtherCat_operator_manual_[B-83704EN_03]
EtherCat_operator_manual_[B-83704EN_03]
EtherCat_operator_manual_[B-83704EN_03]
B-83704EN/03
The products in this manual are controlled based on Japan’s “Foreign Exchange and
Foreign Trade Law”. The export from Japan may be subject to an export license by the
government of Japan.
Further, re-export to another country may be subject to the license of the government of
the country from where the product is re-exported. Furthermore, the product may also be
controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.
In this manual, we endeavor to include all pertinent matters. There are, however, a very
large number of operations that must not or cannot be performed, and if the manual
contained them all, it would be enormous in volume. It is, therefore, requested to assume
that any operations that are not explicitly described as being possible are "not possible".
B-83704EN/03 SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
This chapter describes the precautions which must be followed to enable the safe use of the robot. Before
using the robot, be sure to read this chapter thoroughly.
For detailed functions of the robot operation, read the relevant operator's manual to understand fully its
specification.
For the safety of the operator and the system, follow all safety precautions when operating a robot and its
peripheral equipment installed in a work cell.
For safe use of FANUC robots, you must read and follow the instructions in the “FANUC Robot series
SAFETY HANDBOOK (B-80687EN)”.
1 PERSONNEL
Personnel can be classified as follows.
Operator:
• Turns the robot controller power ON/OFF
• Starts the robot program from operator panel
Maintenance technician:
• Operates the robot
• Teaches the robot inside the safeguarded space
• Performs maintenance (repair, adjustment, replacement)
s-1
SAFETY PRECAUTIONS B-83704EN/03
Table 1 (a) lists the work outside the safeguarded space. In this table, the symbol “” means the work
allowed to be carried out by the specified personnel.
During robot operation, programming and maintenance, the operator, programmer, teaching operator and
maintenance technician take care of their safety using at least the following safety protectors:
Symbol Definitions
Used if hazard resulting in the death or serious injury of the user will be expected to
WARNING occur if he or she fails to follow the approved procedure.
Used if a hazard resulting in the minor or moderate injury of the user, or equipment
CAUTION damage may be expected to occur if he or she fails to follow the approved
procedure.
Used if a supplementary explanation not related to any of WARNING and CAUTION
NOTE is to be indicated.
s-2
B-83704EN/03 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS ............................................................................ s-1
1 SPECIFICATION ..................................................................................... 1
2 SETUP ..................................................................................................... 2
2.1 SETUP SCREEN ........................................................................................... 2
2.2 DETAIL OF THE SETTING ........................................................................... 3
2.3 SETTING OF OMRON PLC .......................................................................... 3
2.4 SETTING OF BECHOFF PLC ....................................................................... 3
3 STATUS SCREEN .................................................................................. 4
3.1 STATUS SCREEN ......................................................................................... 4
4 EtherCAT COMMUNICATION SOFT UPDATE ...................................... 6
5 SYSTEM VARIABLES ............................................................................ 7
5.1 SYSTEM VARIABLES UNDER $ECAT ......................................................... 7
6 ALARM .................................................................................................... 8
6.1 ALARM IN ROBOT CONTROLLER............................................................... 8
6.2 ALARM IN MASTER ...................................................................................... 9
7 INSTALLATION .................................................................................... 10
7.1 SPECIFICATIONS ....................................................................................... 10
7.2 INSTALLATION ........................................................................................... 10
8 CONNECTION ....................................................................................... 13
8.1 ROUTING OF THE ETHERNET CABLE ..................................................... 13
8.2 ANTI-NOISE MEASURES ........................................................................... 13
8.2.1 Clamping and Shielding of Cables ......................................................................... 13
9 HARDWARE ......................................................................................... 17
9.1 LAYOUT OF COMPONENTS ...................................................................... 17
9.1.1 LED States .............................................................................................................. 18
9.1.2 LED Indication for EtherCAT Communication ..................................................... 18
9.1.3 LED Indication for Board Status ............................................................................ 19
9.2 SMODE SWITCH ........................................................................................ 21
APPENDIX
A EtherCAT I/O DATA ............................................................................. 25
c-1
B-83704EN/03 1. SPECIFICATION
1 SPECIFICATION
Item Description
Data size 128,256,512,1024,2048,4096 points for each of input and output
Synchronous mode Free Run mode (asynchronous) only. DC mode isn’t supported.
Communication PDO communication only
- Protocol “CAN application protocol over EtherCAT® (CoE)” is supported. This function supports
as a slave and it does not support as a master.
- EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff Automation
GmbH, Germany.
- Maximum number of slaves depends on EtherCAT master’s performance. The greater of the input
data size and the output data size is used for calculation of maximum number of slaves. For example,
the combination of input 1024 / output 128 is equal to that of input 1024 / output 1024.
- To use this function, “EtherCAT slave board” is necessary. Only 1 board can be installed to the
robot controller.
- To use this function, “EtherCAT slave function (J743)” should be ordered.
- To use this function, the system software version should be 7DC2/P11 or later. R-30iB Mate is
supported by 7DC3 or later.
- To use safety function, the system software version should be 7DF5/P24 or later in R-30iB Plus.
“EtherCAT slave function (J743)” and “EtherCAT safety slave (S532)” should be ordered. Refer to
“Dual Check Safety Function OPERATOR'S MANUAL (B-83184EN) ” for detail.
- DI/DO, GI/GO, UI/UO can be exchanged. Update unit is 16 points and each 16 points from start
point 1 is updated by one update. Please take care of data tearing caused when 1 GI/GO is updated
by more than one update.
- Acyclic communication (SDO communication), which communicates only when requested, is not
supported.
- I/O update interval in robot is 8ms by default and it isn’t synchronized to EtherCAT communication.
- The CiA402 drive profile is not supported. So the servo control with EtherCAT is not supported.
- ESI file for robot is available from FANUC. Except for 7DC2 series, ESI file can be output to any
device from setup screen.
-1-
2. SETUP B-83704EN/03
2 SETUP
2.1 SETUP SCREEN
You can display following SETUP SCREEN by MENU key -> 6 SETUP -> EtherCAT.
SETUP EtherCAT
1/5
1 Error one shot : DISABLE
2 I/O safety value : CLEAR
Process data size
3 The number of input :[1024]points
4 The number of output :[1024]points
5 Output ESI file :<Execute>
[TYPE] >
Item Description
Error one shot ENABLE:
default: DISABLE Pressing reset can release “PRIO-801 EtherCAT off line” regardless of EtherCAT
communication status. This is used when robot should be moved even when EtherCAT
communication is offline etc. Please use ENABLE only when robot is under setup because
robot may move even when this function is in error status (e.g. EtherCAT communication is
offline etc.). Use DISABLE normally.
DISABLE:
Pressing reset cannot release “PRIO-801 EtherCAT off line” until the cause of the error is
solved.
I/O safety value This item decides if DI, GI, UI assigned to EtherCAT are kept or cleared when EtherCAT
default: CLEAR communication is offline.
The number of Process data size of EtherCAT communication.
input/output Select from 128,256,512,1024,2048,4096 points.
default: 512 points PLC setting change is necessary when changing this setting.
Output ESI file ESI file is output to the selected folder in selected device in the FILE screen, which is
(Except for 7DC2) displayed from MENU key -> FILE. Please check whether ESI file is wrote because writing is
missed when device is write protected even when prompt shows them as saved.
NOTE
About ESI file, “fanuc_rs_esi0002.xml” is output in 7DF5/24 or later.
“fanuc_rs_esi0001.xml” is output in a series other than 7DF5, and 7DF5/23 or
earlier.
-2-
B-83704EN/03 2. SETUP
- The settings in this screen are saved as “ETHERCAT.SV”. You can save by displaying EtherCAT
screen -> [FCTN] key -> “0 -- NEXT --” -> “2 SAVE” or FILE screen -> [F4] key [BACKUP]
-> “1 System files” or “8 All of above”. Please check whether the file is written because writing is
missed when device is write protected even when prompt shows them as saved.
EtherCAT address of robot is set from PLC. OMRON PLC can set as following.
1 Connect IN port of EtherCAT board, which is inserted to robot, and PLC, and power-on robot.
2 Open Sysmac Studio and change ONLINE and double click “EtherCAT” in left pane -> Right click
“Master” in center pane -> Select Slave address writing and set address to setting value and click
write. At this junction, error automatic correction can be selected from right click.
3 Cycle power is necessary after writing.
1 Connect IN port of EtherCAT board, which is inserted to robot, and PLC, and power-on robot.
2 Open TwinCAT3 project, and right click “I/O” -> “Devices” in left pane, and click “Scan”.
3 Select port of PLC, which is connected to EtherCAT board. If you cannot see the device, check the
network adapter setting.
4 When the scan finishes, the FANUC R-30iB or FANUC R-30iB Plus is added to the device. If the
device is not added, check that ESI file for robot is stored in the specified folder. Refer to Beckhoff
manual for detail.
-3-
3. STATUS SCREEN B-83704EN/03
3 STATUS SCREEN
3.1 STATUS SCREEN
You can display following STATUS SCREEN by MENU key -> 0 -- NEXT -- -> 4 STATUS -> F1 key
[TYPE] -> EtherCAT.
STATUS EtherCAT
1/18
1 ECAT RUN : OP
2 ECAT ERR : NO ERROR
3 AL Status : 0x8
4 AL Status Code : 0x0
5 Port1 Invalid frame counter : 0
6 Port1 Rx Error counter : 0
7 Port2 Invalid frame counter : 0
8 Port2 Rx Error counter : 0
9 Forwarded Rx Error Counter
Port1 : 0
Port2 : 0
10 ECAT Processing Unit Error Counter
0
11 PDI Error Counter : 0
12 Lost Link Counter
Port1 : 0
Port2 : 0
13 VendorID : 0x691
14 Product code : 0x10001
15 Revision : 0x10000
16 Node address : 1
17 RxPDO 1st index : 0x1602
18 TxPDO 1st index : 0x1A02
[ TYPE ]
item Description
ECAT RUN INIT : During communication initialization. No data communication is available.
PREOP : Pre operational. No data communication is available.
BOOTSTRAP : Firmware update. No data communication is available.
SAFEOP : Safe operational. Only sending data is available.
OP : Operational. Sending and receiving data are available. Normal communication status.
-4-
B-83704EN/03 3. STATUS SCREEN
item Description
ECAT ERR NO ERROR : No Error.
INVALID CONFIG : Invalid configuration. (e.g. Invalid mailbox configuration, Invalid Input
configuration, Invalid Input configuration)
Invalid mailbox configuration : The mailbox SyncManager configuration is invalid.
Invalid Input configuration : SyncManager configuration for input process data is invalid.
Invalid Output configuration : SyncManager configuration for output process data is invalid.
WATCHDOG TIMEOUT : EtherCAT Watchdog Timeout. (i.e. Process Data Watchdog)
Process Data Watchdog : No process data received yet (S->O) or not received within a
specified timeout value.
LOCAL ERROR : This is due to internal error in the EtherCAT slave board.
AL Status When bit 4(0x10) is on, error is present.
-5-
4. EtherCAT COMMUNICATION SOFT UPDATE B-83704EN/03
-6-
B-83704EN/03 5. SYSTEM VARIABLES
5 SYSTEM VARIABLES
In this chapter, change of system variable is valid after cycle power unless otherwise described.
$WARNINGENB default 1
0: “PRIO-800 EtherCAT Board not installed” doesn’t show up.
1: The alarm above shows up.
$DEAD_BAND default 0
During this time from specific timing in power-on, “PRIO-801 EtherCAT off line” doesn't show up. Unit
is 2ms.
$ECAT_SOFT default except for 7DC2 series FRS:¥ecat.bin 7DC2 series UD1:¥ecat.bin
Set the location of EtherCAT communication software.
-7-
6. ALARM B-83704EN/03
6 ALARM
6.1 ALARM IN ROBOT CONTROLLER
PRIO-800 WARN EtherCAT Board not installed
Cause: No EtherCAT PCB is installed.
Remedy: Install EtherCAT PCB.
PRIO-810 WARN %s
Cause: See the message displayed.
Remedy: This alarm displays the detail of alarm.
-8-
B-83704EN/03 6. ALARM
-9-
7. INSTALLATION B-83704EN/03
7 INSTALLATION
This chapter provides information required for installation of the EtherCAT slave board.
7.1 SPECIFICATIONS
The specifications of the EtherCAT slave board are described below.
7.2 INSTALLATION
This section describes information about the installation of the EtherCAT slave board.
The maximum number of EtherCAT slave board in the controller is 1.
In the R-30iB/R-30iB Plus controller, an EtherCAT slave board can be installed to an option slot like the
figure below.
Mini-slot 1
Mini-slot 2
- 10 -
B-83704EN/03 7. INSTALLATION
In the R-30iB Mate/R-30iB Mate Plus controller, an EtherCAT slave board can be installed to an option
slot like the figure below.
Mini-slot 2 Mini-slot 1
- 11 -
7. INSTALLATION B-83704EN/03
In the R-30iB Mate Open Air controller, an EtherCAT slave board can be installed to an option slot like
the figure below.
Mini-slot 2
Mini-slot 1
- 12 -
B-83704EN/03 8. CONNECTION
8 CONNECTION
This chapter provides information required for Ethernet connection of the EtherCAT slave board.
Radius of 70 mm or more
Ethernet cable
Clamp
Ground plate
The Ethernet cable needs to be secured with a clamp so that no tension is applied to the connector (RJ-45)
installed at the end of the cable even if the cable is pulled. This clamping also serves as the grounding of
the cable shield.
NOTE
In EtherCAT communication, be sure to use twisted pair cables with a common
shield in category 5 or more (STP cables).
- 13 -
8. CONNECTION B-83704EN/03
NOTE
1 Be sure to clamp and shield the cable to ensure the stable operation of the
system.
2 Refer to the manual of master for master’s shielding.
3 Unlike general Ethernet communication, EtherCAT communication does not
perform retransmission at intervals of several seconds to achieve high
responsibility. Accordingly, severer anti-noise measures must be taken as
compared with general Ethernet wiring.
4 Upon completion of cabling, perform a communication test sufficiently not only
before but also after system operation to ensure anti-noise measures.
The following figure is how to lead the cable into the R-30iB/R-30iB Plus controller.
Clamp
A-cabinet
- 14 -
B-83704EN/03 8. CONNECTION
Clamp
B-cabinet
The following figure is how to lead the cable into the R-30iB Mate/R-30iB Mate Plus controller.
Clamp
- 15 -
8. CONNECTION B-83704EN/03
The following figure is how to lead the cable into the R-30iB Mate Open Air controller.
Clamp
- 16 -
B-83704EN/03 9. HARDWARE
9 HARDWARE
This chapter provides hardware information required for the maintenance of the EtherCAT slave board.
GREEN
GREEN
RED
RED
RED
STAT1
STAT0
LA OUT
ALM1
ALM0
LA IN
RN
ER
SMODE
LED SWITCH
- 17 -
9. HARDWARE B-83704EN/03
Blinking
Turned on
200ms 200ms
Turned off
Flickering
50ms
Turned on
Turned off
50ms
Single flash
Turned on
200ms 1000ms 200ms
Turned off
Double flash
Turned on
200ms 200ms 200ms 1000ms 200ms 200ms 200ms
Turned off
RN, ER
Name Color State Description
Turned Off Initialization state
Blinking PRE-OPERATIONAL state
RN Green
Single Flash SAFE-OPERATIONAL state
Turned On OPERATIONAL state
Turned Off The EtherCAT communication of the device is in working
condition
Blinking General configuration error
ER Red
Single Flash Slave device application has changed the EtherCAT state
autonomously, due to local error.
Double Flash An application watchdog timeout has occurred.
- 18 -
B-83704EN/03 9. HARDWARE
LA IN, LA OUT
Name Color State Description
Turned Off Port closed
LA IN Green Flickering Port open
Turned On Port open, Not activity
Turned Off Port closed
LA OUT Green Flickering Port open
Turned On Port open, Not activity
Description
□-
■-
□☆
□☆
LED
Indication
STAT1(Green)
STAT0(Green)
ALM1(Red)
ALM0(Red)
Description
■△
□ □
□ □
□ □
- 19 -
9. HARDWARE B-83704EN/03
LED
Indication
STAT1(Green)
STAT0(Green)
ALM1(Red)
ALM0(Red)
Description
★
□
□
□
The updating of software of EtherCAT slave board is failed or the updating of the EEPROM data of
the EtherCAT slave board is failed.
Please try updating operation again after restarting the robot controller.
If the updating fails again, the EtherCAT slave board may have broken.
Replace the EtherCAT slave board.
■
■
■
■
Initializing.
If the LED of the EtherCAT slave board does not change for a while, please restart the robot
controller.
If a similar phenomenon occurs again, the EtherCAT slave board may have broken.
Replace the EtherCAT slave board.
CAUTION
Please do not turn off the power during the software updating or the EEPROM
data updating for the EtherCAT slave board.
If the power turned off during the software updating, the internal ROM or
EEPROM data of EtherCAT slave board may have broken.
If the internal ROM or EEPROM data of EtherCAT slave board is broken,
EtherCAT slave board can not communicate.
In this case, replace the EtherCAT slave board.
After confirm that the LED state is normal or flashing (blinking, flickering, single
flash, double flash), turn off the power.
- 20 -
B-83704EN/03 9. HARDWARE
SMODE SWITCH
NOTE
The updating mode and EEPROM updating mode are not used normally.
- 21 -
APPENDIX
B-83704EN/03 APPENDIX A. EtherCAT I/O DATA
- 1600H, 1601H, 1602H, 1603H, 1604H, 1605H are exclusive, only 1 item can be selected.
- 1A00H, 1A01H, 1A02H, 1A03H, 1A04H, 1A05H are exclusive, only 1 item can be selected.
- Bit array of 128bits are assigned for robot as 1bit = 1 point.
- 1610H, 1A10H are displayed in the PLC configuration software, if the ESI file
fanuc_rs_esi0002.xml is used. These are used as the safety communication message data. If S532 is
not ordered, the safety communication can not be used even if the data is configured.
- 25 -
B-83704EN/03 INDEX
INDEX
<A>
ALARM ........................................................................... 8
ALARM IN MASTER ..................................................... 9
ALARM IN ROBOT CONTROLLER............................. 8
ANTI-NOISE MEASURES ........................................... 13
<C>
Clamping and Shielding of Cables ................................. 13
CONNECTION .............................................................. 13
<D>
DETAIL OF THE SETTING ........................................... 3
<E>
EtherCAT COMMUNICATION SOFT
UPDATE ...................................................................... 6
EtherCAT I/O DATA ..................................................... 25
<H>
HARDWARE ................................................................. 17
<I>
INSTALLATION ........................................................... 10
<L>
LAYOUT OF COMPONENTS ..................................... 17
LED Indication for Board Status .................................... 19
LED Indication for EtherCAT Communication ............. 18
LED States ..................................................................... 18
<R>
ROUTING OF THE ETHERNET CABLE .................... 13
<S>
SAFETY PRECAUTIONS ........................................... s-1
SETTING OF BECHOFF PLC ........................................ 3
SETTING OF OMRON PLC ........................................... 3
SETUP ............................................................................. 2
SETUP SCREEN ............................................................. 2
SMODE SWITCH.......................................................... 21
SPECIFICATION ............................................................ 1
SPECIFICATIONS ........................................................ 10
STATUS SCREEN .......................................................... 4
SYSTEM VARIABLES ................................................... 7
SYSTEM VARIABLES UNDER $ECAT ....................... 7
i-1
B-83704EN/03 REVISION RECORD
REVISION RECORD
Edition Date Contents
Support R-30iB Compact Plus, R-30iB Mini Plus.
03 Feb., 2022
Safety function, ESI file, Setting of Beckhoff PLC, PDO mapping etc.
Support R-30iB Plus, R-30iB Mate Plus.
02 Sep., 2017
OMRON Connection Guide, Address setting, Clear assignment etc.
01 Jun., 2014
r-1
B-83704EN/03
* B - 8 3 7 0 4 E N / 0 3 *