User s Manual YAMAHA NETWORK BOARD

Similar documents
Cat. No. I153E-EN-01. SCARA Robots ZX-T YRC Series. DeviceNet USER S MANUAL

User s Manual YAMAHA NETWORK BOARD

Command Reference Manual

YAMAHA NETWORK BOARD. User s Manual ENGLISH. E87-Ver. 1.04

Command Reference Manual

YAMAHA Robot Controller. MRCH/QRCH/QRCX Series UNIT OWNER'S MANUAL

User s Manual YAMAHA NETWORK BOARD

Introduction. Safety Precautions (Always read before starting use) Warranty. 1. Profile Details of input/output signals 1-5

User s Manual YAMAHA NETWORK BOARD

Additional Explanation for A851GOT Graphic Operation Terminal

CJ Series EtherNet/IP TM Connection Guide. Yamaha Motor Co., Ltd. Robot Controller (RCX340) P624-E1-01

SAFETY PRECAUTIONS CAUTION WARNING CAUTION. Thank you for purchasing ig5a Series Profibus Communication Module

HITACHI. EH-150 series PLC EH-RTD8 Resistance Temperature Detective input module Instruction manual. Safety precautions

ERNT-AQTX10 ERNT-AQT68AD-GH. User s Manual. Mitsubishi General-Purpose Programmable Logic Controller Renewal Tool Conversion Adapter.

H Series PLC. ! : Indicates Compulsion. EH-150 Analog input module EH-AXH8M Instruction manual. Safety precautions DANGER CAUTION COMPULSION

DX200 OPTIONS MECHATROLINK-II COMMUNICATION FUNCTION INSTRUCTIONS

YAMAHA 4-AXIS ROBOT CONTROLLER

DC I/O Conversion Module FA-TB32XY

Optional add-on cassette Attachment Instruction manual

DC I/O Conversion Module

GE Fanuc Automation Europe. Computer Numerical Controls. FANUC DeviceNet Board. Operator s Manual B-63404EN/03 TECHNOLOGY AND MORE

SiO Controller. SiO Controller. SiO-C Ver onwards SiO2/SiO2PNP Ver onwards SiO3 Ver onwards INSTRUCTION MANUAL. Version 3.

MELSEC iq-r DeviceNet Master/Slave Module User's Manual (Application) -RJ71DN91

CQM1 I/O Terminal Block Conversion Adapter. Easy and secure replacement by reusing the I/O terminal block wiring.

INSTALLATION MANUAL For authorized service personnel only.

SAFETY PRECAUTIONS CAUTION. WARNING Improper operation may result in serious personal injury or death.

ERNT-AQTD61 ERNT-AQTD61 ERNT-AQTD61. User s Manual. Mitsubishi General-Purpose Programmable Controller Renewal Tool Conversion Adapter.

MELSEC iq-r DeviceNet Master/Slave Module User's Manual (Startup) -RJ71DN91

GE Fanuc Automation. Computer Numerical Control Products. DeviceNet Board. Operator's Manual. GFZ-63404EN/03 March FANUC CNC Controls

Operation Manual. Fieldbus system EX510-GDN1. DeviceNet Compatible GW unit

CJ-series DeviceNet Connection Guide OMRON Corporation 3G3RX-V1 Series Inverter

YAMAHA 2-AXIS ROBOT CONTROLLER

Varispeed SERIES OPTION CARD DeviceNet COMMUNICATION INTERFACE CARD USER'S MANUAL Model: SI-N1

DeviceNet PCI Card Instructions Manual

EQUIPMENT OPERATION MANUAL

MELSEC iq-r CC-Link System Master/Local Module User's Manual (Startup) -RJ61BT11

FR-A8AR INSTRUCTION MANUAL

1) Indicates that the identified danger WILL cause physical and property damage.

High Speed Data Communication Module User's Manual. -QJ71DC96 -SW1DNN-DCUTL-E (High Speed Data Communication Module Tool)

Conductive Level Controller

Preface. Copyright 1997, Digital Electronics Corporation MS-DOS and Windows 95 are registered trademarks of the Microsoft Corporation.

DX200 OPTIONS JARCR-XFB01B-2 BOARD INSTRUCTIONS

FL-net(OPCN-2) Interface Module

1. Overview of YC-Link/E Overview Part names of YC-Link/E compatible units Installation and settings 3

FX1N-2EYT-BD Output Expansion Board

EQUIPMENT OPERATION MANUAL

MELSEC iq-r CC-Link System Master/Local Module User's Manual (Startup) -RJ61BT11

OPC-VG1-PG / PGo. PG Interface Card for FRENIC-VG. Instruction Manual

GENERAL PRECAUTIONS GENERAL DESCRIPTION... 6

USER S MANUAL. FX2N-64DNET DeviceNet Interface Block

NU-DN1. User s Manual. DeviceNet Compatible Network Unit

MELSEC iq-r CC-Link System Master/Local Module User's Manual (Application) -RJ61BT11

SAFETY PRECAUTIONS. (Read these precautions before using this product.)

JANOME DESKTOP ROBOT JR2000N Series. Operation Manual. <Setup> For Qualified Installer ONLY

4P S. Wireless LAN Connecting Adapter <BRP069A42> Installation Manual

Supporting Supplement Manual

MELSEC-L Flexible High-Speed I/O Control Module User's Manual

MELSEC iq-r CPU Module User's Manual (Startup)

Kinetix 300 Memory Module Programmer

TOS-SN-1 Extended Panel Operation Manual

Mitsubishi Electric General-purpose Programmable Controllers MELSEC-A/QnA (Large), AnS/QnAS (Small) Transition Examples. Apr.

V E1B Snap-in I/O Module

User s Manual. PCI Bus Expansion Adapter for PCI Bus PC-Slot EAD(PCI)BE PCI Bus Expansion Adapter for Low Profile PCI PC-Slot EAD(LPCI)BE

MELSEC iq-r PROFIBUS-DP Module User's Manual (Application) -RJ71PB91V

Maintenance information. DRT2-series. Remote I/O Terminals Relay Output Terminals. DRT2-series Smart Slave Analog I/O Terminals.

MELSEC iq-r EtherNet/IP Network Interface Module User's Manual (Application) -RJ71EIP91

YAMAHA 2-AXIS ROBOT CONTROLLER

DeviceNet Expansion Board

MELSEC iq-r CC-Link IE Field Network Remote Head Module User's Manual (Startup) -RJ72GF15-T2

IO-AO6X I/O Expansion Module 6 Isolated Analog Outputs

MRZJW3- SETUP154E. General-Purpose AC Servo Servo Configuration Software MODEL INSTALLATION GUIDE

V E2B Snap-in I/O Module

MELSEC iq-r MES Interface Module User's Manual (Application) -RD81MES96 -SW1DND-RMESIF-E(MX MESInterface-R)

MELSEC iq-r AnyWireASLINK Master Module User's Manual (Application) -RJ51AW12AL

MELSEC iq-r Analog-Digital Converter Module User's Manual (Startup) -R60AD4 -R60ADV8 -R60ADI8

B63/ NS MS. EtherNet/IP LINK

CC-Link. X-SEL RCS-C E-Con. IAI Corporation. Instruction Manual Ver. 5.0

Programmable Controller Analog Terminal Block Conversion Module FA1-TBS40ADGN, FA1-TBS40ADDG, FA1-TBS40DAG User's Manual

Manual Version: V1.00. Video Decoder Quick Guide

CJ Series EtherNet/IP TM Connection Guide. ABB Ltd. IRC5 Robot Controller P572-E1-01

PMDX-105. I/O Option Riser Board User s Manual. Document Revision: 1.1 Date: 7 September 2004 PCB Revision: PCB-443A

High Speed Remote I/O Module

DX200 OPTIONS INSTRUCTIONS

Before using the product, thank you for using our MDLV-HP Pulse Encoder Interface Option Module. Safety Instruction

Analog Input Installation Manual

GP-70 Series. User Manual. I/O Unit

MELSEC iq-r High Speed Data Logger Module User's Manual (Application) -RD81DL96 -SW1DNN-RDLUTL (High Speed Data Logger Module Tool)

4P S. Wireless LAN Connecting Adapter <BRP069A41> Installation Manual

B-33. Hardware and Install Manual. (DC 12V / PoE)

Cat. No. W489-E1-02 GQ-CRM21. CompoNet TM Gateway Unit for CC-Link OPERATION MANUAL

Install Motor Controller User Manual

IO-DI8-TO8, IO-DI8-TO8-L I/O Expansion Modules 8 Inputs, 8 Outputs

INVERTER INSTRUCTION MANUAL. Relay output function. Plug-in option FR-A7AR PRE-OPERATION INSTRUCTIONS INSTALLATION AND WIRING RELAY OUTPUT

MELSEC iq-f FX5 User's Manual (Serial Communication)

MELSEC iq-r Ethernet/CC-Link IE User's Manual (Startup) -RJ71EN71 -RJ71GP21-SX -RJ71GF11-T2 -R04CPU -R08CPU -R16CPU -R32CPU -R120CPU

FX2NC-ENET-ADP Ethernet adapter USER'S MANUAL

4P M. Wireless LAN Connecting Adapter <BRP069A45> Installation Manual

Operating instructions. Switching amplifier DN0210 DN / / 2015

DTY-EPS DTY-EPU. w e DTY-EPP- - w e. t y. q DTY-EPU PSU-BR DTY-EPP-CC- L DTY-EPS. ZD1 ZD4 Tr1 Tr4

Universal sensors and switches, universal output devices

Transcription:

YAMAHA NETWORK BOARD User s Manual ENGLISH E YAMAHA MOTOR CO., LTD. IM Operations 882 Soude, Naka-ku, Hamamatsu, Shizuoka 435-0054.Japan URL http://www.yamaha-mor.jp/robot/index.html E79-Ver. 2.05

Introduction Thank you for purchasing the DeviceNet compatible module. This DeviceNet compatible module is an option module that allows the YAMAHA robot controller RCX series be connected as a DeviceNet system slave module. The robot controller explained in this manual refers the RCX series. This manual describes the flow of operations from wiring the DeviceNet compatible module programming, and includes setting examples. Refer the respective product manuals for details on other devices such as connecting the master module and sequence programming. Refer the controller user's manual and programming manual supplied with the YAMAHA robot controller for details on operating the robot controller and on the robot program. INTRODUCTION Applicable controllers: RCX240, RCX141, RCX142, RCX40, RCX221 and RCX222 Model names as used in this manual include the following controllers. RCX240: RCX14x: RCX22x: Includes RCX240, RCX141, RCX142 and RCX40 (4-axis controllers) Includes RCX141, RCX142 and RCX40 (4-axis controllers excluding RCX240)* Includes RCX221 and RCX222 (2-axis controllers) * Here, "RCX14x" does not include RCX240 and is used when there is a difference between the RCX240 and other 4-axis controllers due differences in software versions. NOTE The master module explained in this manual is based on the OMRON CJ1 series. If the explanations differ from other brands, refer the manual for the product being used. 1

Safety Precautions (Always read before starting use) SAFETY PRECAUTIONS (ALWAYS READ BEFORE STARTING USE) Always read this manual, the robot controller user's manual and programming manual before using this product. Take special care safety, and correctly handle the product. The cautions given in this manual are related this product. Refer the robot controller user's manual for details on the cautions 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 follow CAUTION instructions may result in injury the operar or person servicing product, or damage the product or peripheral equipment. n NOTE Explains the key point in the operation in a simple and clear manner. Note that some items described as "CAUTION" may lead serious results depending on the situation. In any case, important information that must be observed is explained. Sre this manual where it can be easily referred, and make sure that it is delivered the end user. DeviceNet is a registered trademark of ODVA (Open DeviceNet Vendor Association). 2

[Precautions for design] w WARNING REFER TO THE DEVICENET SYSTEM MASTER MODULE USER'S MANUAL AND THIS MANUAL FOR DETAILS ON THE STATE OF THE DEVICENET SYSTEM AND ROBOT CONTROLLER WHEN A COMMUNICATION ERROR OCCURS WITH THE DEVICENET SYSTEM, ETC. CONFIGURE AN INTERLOCK CIRCUIT IN THE SEQUENCE PROGRAM SO THAT THE SYSTEM, INCLUDING THE ROBOT CONTROLLER WILL WORK SAFELY USING THE COMMUNICATION STATUS INFORMATION. THE SAFETY CONNECTOR OF THE ROBOT CONTROLLER HAS AN EMERGENCY STOP TERMINAL TO TRIGGER EMERGENCY STOP. USING THIS TERMINAL, PREPARE A PHYSICAL INTERLOCK CIRCUIT SO THAT THE SYSTEM INCLUDING THE ROBOT CONTROLLER WILL WORK SAFETY. c CAUTION The control line and communication cable must not be bound with or placed near the main circuit or power line. Separate these by at least 100mm. Failure observe this could lead malfunctions caused by noise. The dedicated input of STD.DIO connecr provided on the RCX240 controllers will be disabled except for an interlock signal (DI 11). When the Board condition (external 24V monir control) of system parameters is set invalid, the interlock signal (DI 11) will also be disabled. On the RCX22x, the dedicated input of STD. DIO connecr will be disabled, but the interlock signal (DI 11) in SAFETY connecr enabled. [Precautions for installation] w WARNING ALWAYS CRIMP, PRESS-FIT OR SOLDER THE CONNECTOR WIRE CONNECTIONS WITH THE MAKER-DESIGNATED TOOL, AND SECURELY CONNECT THE CONNECTOR TO THE MODULE. 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. SAFETY PRECAUTIONS (ALWAYS READ BEFORE STARTING USE) c CAUTION Use the robot controller within the environment specifications given in the manual. Use in an environment outside the environment specification range could lead electric shocks, fires, malfunctioning, product damage or deterioration. Install the DeviceNet compatible module in the robot controller, and securely fix with screws. Never directly uch the conductive sections or electronic parts other than the rotary switch on the DeviceNet compatible module. Never directly uch the conductive sections or electric parts inside the controller. Accurately connect each connection cable connecr the mounting section. Failure observe this could lead malfunctions caused by a connection fault. 3

SAFETY PRECAUTIONS (ALWAYS READ BEFORE STARTING USE) [Precautions for wiring] 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. ALWAYS INSTALL THE TERMINAL COVERS ENCLOSED WITH THE PRODUCT BEFORE TURNING ON THE POWER OR OPERATING THE PRODUCT AFTER INSTALLATION OR WIRING WORK. FAILURE TO INSTALL THE TERMINAL COVER COULD LEAD TO MALFUNCTIONS. c CAUTION Tighten the terminal screws within the specified rque range. A loose terminal screw could lead short-circuiting or malfunctioning. If the terminal screw is o tight, short-circuiting or malfunctioning could occur due screw damage. Make sure that foreign matter, such as cutting chips or wire scraps, do not enter the robot controller. The communication cables connected the DeviceNet compatible module must be placed in a conduit or fixed with a clamp. If the cable is not placed in a conduit or fixed with a clamp, the module or cable could be damaged by the cable shifting, movement or unintentional pulling leading malfunctioning caused by an improper cable connection. Do not disconnect the communication cable connected the DeviceNet compatible module by pulling on the cable section. Loosen the screws on the connecr, and then disconnect the cable. Pulling on the cable fixed with screws could lead module or cable damage, or malfunctioning caused by an improper cable connection. 4

[Precautions for starting and maintenance] w WARNING DO NOT TOUCH THE TERMINALS WHILE THE POWER IS ON. FAILURE TO OBSERVE THIS COULD LEAD TO MALFUNCTIONING. ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE CLEANING OR TIGHTENING THE TERMINAL SCREWS. FAILURE TO SHUT OFF ALL PHASES COULD LEAD TO ELECTRIC SHOCKS, PRODUCT DAMAGE OR MALFUNCTIONING. A LOOSE SCREW COULD LEAD TO DROPPING, SHORT- CIRCUITING OR MALFUNCTIONING. IF THE SCREW IS TOO TIGHT, SHORT- CIRCUITING OR MALFUNCTIONING COULD OCCUR DUE TO SCREW DAMAGE. NEVER DISASSEMBLE OR MODIFY ANY OF THE ROBOT CONTROLLER MODULES. FAILURE TO OBSERVE THIS COULD LEAD TO TROUBLE, MALFUNCTIONING, INJURIES OR FIRES. ALWAYS SHUT OFF ALL PHASES OF THE POWER SUPPLY EXTERNALLY BEFORE INSTALLING OR REMOVING THE DEVICENET COMPATIBLE MODULE. FAILURE TO SHUT OFF ALL PHASES COULD LEAD TO ROBOT CONTROLLER TROUBLE OR MALFUNCTIONING. WHEN USING THE ROBOT CONTROLLER WITH THE DEVICENET COMPATIBLE MODULE MOUNTED, ALWAYS MOUNT THE ENCLOSED FERRITE CORE FOR NOISE MEASURES ON THE POWER CABLE AS CLOSE TO THE ROBOT CONTROLLER AS POSSIBLE. FAILURE TO MOUNT THIS FERRITE CORE COULD LEAD TO MALFUNCTIONING CAUSED BY NOISE. c CAUTION The DeviceNet system may not function properly if the master module and robot controller power are turned ON simultaneously. Always turn the robot controller power ON after turning ON the power for the master module ON. [Precautions for disposal] c CAUTION Dispose of this product as industrial waste. This manual does not guarantee the implementation of industrial rights or other rights, and does not authorize the implementation rights. YAMAHA shall not be held liable for any problems regarding industrial rights that occur through the use of the contents given in this manual. SAFETY PRECAUTIONS (ALWAYS READ BEFORE STARTING USE) 2012 YAMAHA MOTOR CO., LTD. 5

Warranty WARRANTY For information on the warranty period and terms, please contact our distribur where you purchased the product. This warranty does not cover any failure caused by: 1. Installation, wiring, connection other control devices, operating methods, inspection or maintenance that does not comply with industry standards or instructions specified in the YAMAHA manual; 2. Usage that exceeded the specifications or standard performance shown in the YAMAHA manual; 3. Product usage other than intended by YAMAHA; 4. Srage, operating conditions and utilities that are outside the range specified in the manual; 5. Damage due improper shipping or shipping methods; 6. Accident or collision damage; 7. Installation of other than genuine YAMAHA parts and/or accessories; 8. Modification original parts or modifications not conforming standard specifications designated by YAMAHA, including cusmizing performed by YAMAHA in compliance with distribur or cusmer requests; 9. Pollution, salt damage, condensation; 10. Fires or natural disasters such as earthquakes, tsunamis, lightning strikes, wind and flood damage, etc; 11. Breakdown due causes other than the above that are not the fault or responsibility of YAMAHA; The following cases are not covered under the warranty: 1. Products whose serial number or production date (month & year) cannot be verified. 2. Changes in software or internal data such as programs or points that were created or changed by the cusmer. 3. Products whose trouble cannot be reproduced or identified by YAMAHA. 4. Products utilized, for example, in radiological equipment, biological test equipment applications or for other purposes whose warranty repairs are judged as hazardous by YAMAHA. 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. 6 Ver.1.00_201205

General Contents 1 OUTLINE 1. Features 1-1 2. Mechanism 1-2 3. Names of each part on the DeviceNet compatible module 1-3 4. Assignment of DeviceNet compatible I/O 1-4 5. Shift of DeviceNet system connection status and robot controller status 1-7 GENERAL CONTENTS 2 CONNECTION 1. Confirming the DeviceNet compatible module settings 2-1 2. Setting the DeviceNet system specification controller 2-2 2.1 Saving the robot controller data 2-2 2.2 Installing the DeviceNet compatible module 2-2 2.3 Response when starting the robot controller 2-2 3. Setting the DeviceNet compatible module 2-3 3.1 Setting the MAC ID 2-3 3.2 Setting the communication speed 2-4 4. Noise measures 2-6 4.1 Mounting the ferrite core 2-6 5. Connecting the DeviceNet system 2-7 5.1 Connecting the cable terminal the controller 2-7 5.2 Testing the line from the master module 2-8 6. Parameter setting for DeviceNet serial I/O board 2-9 6.1 Parameter setting for DeviceNet serial I/O board 2-10 3 COMMUNICATION 1. State when robot controller power is turned ON 3-1 2. Communication with master module 3-3 2.1 Receiving data 3-3 2.2 Transmitting data 3-5 3. Direct connection by emulated serialization on parallel DIO 3-8 3.1 Emulated serialization setting on parallel DIO 3-8 i

4. Referring communication data 3-11 GENERAL CONTENTS 4.1 Referring the data from the programming box 3-11 4 TROUBLESHOOTING 1. Items confirm before starting up DeviceNet system 4-1 2. Meanings of LEDs on DeviceNet compatible module 4-2 3. Troubleshooting 4-3 3.1 Robot controller front panel LED confirmation 4-3 3.2 Programming box error display confirmation 4-4 3.3 DeviceNet compatible module LED confirmation 4-5 3.4 Confirmation from master module 4-5 4. Error messages relating DeviceNet 4-6 5 SPECIFICATIONS 1. Profile 5-1 1.1 When IO size is set "Large" 5-1 1.2 When IO size is set "Small" 5-4 2. Details of input/output signals 5-5 3. Dedicated input/output signal timing chart 5-11 3.1 Servo ON and emergency sp 5-11 3.2 AUTO mode changeover, program reset and program execution 5-12 3.3 Spping with program interlock 5-14 4. Sample program 5-16 5. DeviceNet compatible module specifications 5-27 6. DeviceNet specifications 5-28 6 APPENDIX 1. Term definition 6-1 2. EDS files 6-2 ii

1 OUTLINE Contents 1. Features 1-1 2. Mechanism 1-2 3. Names of each part on the DeviceNet compatible module 1-3 4. Assignment of DeviceNet compatible I/O 1-4 5. Shift of DeviceNet system connection status and robot controller status 1-7

1. Features 1. Features The DeviceNet system is a system used connect the robot controller or scattered input/ output modules, etc., with dedicated cables, and control these modules from the master module. The DeviceNet system allows wiring be reduced. Master module Controls the entire DeviceNet system. The PLC master module corresponds this. 1 OUTLINE Slave module Controlled by the master module in the DeviceNet system. Slave module Controlled by the master module in the DeviceNet system. The robot controller corresponds this. DeviceNet is a registered trademark of ODVA (Open DeviceNet Vendor Association). n NOTE The dedicated input of STD.DIO connecr provided on the RCX240 controllers will be disabled except for an interlock signal (DI 11). When the Board condition (external 24V monir control) of system parameters is set invalid, the interlock signal (DI 11) will also be disabled. On the RCX22x, the dedicated input of STD. DIO connecr will be disabled, but the interlock signal (DI 11) in SAFETY connecr enabled. [Wiring saving] One dedicated cable (5-wire) is used connect the robot controller and PLC. This allows the entire system wiring be reduced. [Emulated serialization on parallel DIO] By making the robot controller's internal settings without using a robot program, the various I/O devices, such as the sensors and relays mounted on the robot controller's parallel I/O can be controlled from the PLC as if they were DeviceNet system I/O devices. c CAUTION An emergency sp terminal for hardwire is provided in SAFETY connecr on the robot controller. In the case of the RCX240, when the DeviceNet system is used while STD. DIO is not used (external DC 24V power supply is not used), the Board condition (external 24V monir control) of system parameters must be set invalid. If it is left valid, the STD. DIO interlock signal is enabled causing an error in the robot operation commands. 1-1

2. Mechanism 2. Mechanism 1 OUTLINE The mechanism of communication is explained in this section provide an understanding of how the robot controller and master module operate via the DeviceNet system. Master module ON/OFF information Robot controller q The robot controller's ON/OFF information is sent the master module via the network (DeviceNet system cable). w The master module's ON/OFF information is sent the robot controller via the network (DeviceNet system cable). * The robot controller monirs the ON/OFF information at a 10ms cycle. * The ON/OFF information consists of two words each of dedicated I/O words, 14 words each of general-purpose I/O words as word information, and 16 points each of dedicated I/O points, 96 points each of general-purpose I/O points as bit information. However, when the number of channels that the DeviceNet compatible module occupies is set "Small" (2CH each of I/O) by option board parameter, bit information consists 16 points each of dedicated I/O points and 16 points each of general-purpose I/O points, so that word information cannot be handled. n NOTE The number of channels that the DeviceNet compatible module occupies can be set either "Large" (24CH each of I/O) or "Small" (2CH each of I/O) by option board parameter. This function is only supported by Ver. 8.63 onwards of the RCX14x controllers and Ver. 9.09 onwards of the RCX22x controllers. If the following is executed with the robot program in the robot controller, the bit information will be sent the master module via the DeviceNet system by q. SO (20)=1 Conversely, if the following is executed with the robot program, the bit information received from the master module via the DeviceNet system will be monired by w, and the robot controller will wait for the ON information. WAIT SI (20)=1 If the following is executed with the robot program in the robot controller, the word information will be sent the master module via the DeviceNet system by q. SOW (2)= 256 Conversely, if the following is executed with the robot program, the word information received from the master module via the DeviceNet system will be substituted in integer variable A% by w. A% = SIW (3) 1-2

3. Names of each part on the DeviceNet compatible module 3. Names of each part on the DeviceNet compatible module The part names of the DeviceNet compatible module installed in the robot controller are described in this section. The DeviceNet compatible module is installed in an optional slot in the robot controller. 1 OUTLINE Front of the unit q DeviceNet system cable terminals These terminals are used connect the DeviceNet system cable. Each of the five terminals has a meaning, so do not make miswiring. These terminals are "V-" (Black), "CAN L" (Blue), "SHIELD "(-), "CAN H" (White) and "V+" (Red) from the p. w Transmission monir LED The status in the DeviceNet system is indicated with ON, OFF and flickering status of two LEDs. These terminals are "MS"and "NS" from the p. e MAC ID setting switch (LSB: 1st digit) This is the rotary switch for setting the robot controller MAC ID in the DeviceNet system. The 1st digit of the MAC ID is set with this switch. r MAC ID setting switch (MSB: 2nd digit) This is the rotary switch for setting the robot controller MAC ID in the DeviceNet system. The 2nd digit of the MAC ID is set with this switch. t Communication speed switch (BPS) This is the rotary switch for setting the DeviceNet system's communication speed. 1-3

4. Assignment of DeviceNet compatible I/O 4. Assignment of DeviceNet compatible I/O 1 OUTLINE The table below shows the correspondence of the robot controller's serial I/O the I/O data (channel) on the DeivceNet. The number of channels assigned the DeviceNet compatible module can be set either 24 channels each or 2 channels each of I/O by robot controller parameter. Using Input 24CH / Output 24CH Serial output (Robot controller Master module) Serial input (Master module Robot controller) Robot controller Master module Robot controller Master module Port No. Channel No. Port No. Channel No. SOW(0) *1 (mch) SIW(0) *1 (nch) SOW(1) *1 (m+1ch) SIW(1) *1 (n+1ch) SOD(2) SOW(2) (m+2ch) SIW(2) (n+2ch) SID(2) SOW(3) (m+3ch) SIW(3) (n+3ch) SOD(4) SOW(4) (m+4ch) SIW(4) (n+4ch) SID(4) SOW(5) (m+5ch) SIW(5) (n+5ch) SOD(6) SOW(6) (m+6ch) SIW(6) (n+6ch) SID(6) SOW(7) (m+7ch) SIW(7) (n+7ch) SOD(8) SOW(8) (m+8ch) SIW(8) (n+8ch) SID(8) SOW(9) (m+9ch) SIW(9) (n+9ch) SOD(10) SOW(10) (m+10ch) SIW(10) (n+10ch) SID(10) SOW(11) (m+11ch) SIW(11) (n+11ch) SOD(12) SOW(12) (m+12ch) SIW(12) (n+12ch) SID(12) SOW(13) (m+13ch) SIW(13) (n+13ch) SOD(14) SOW(14) (m+14ch) SIW(14) (n+14ch) SID(14) SOW(15) (m+15ch) SIW(15) (n+15ch) SO0(7 0) *2 7 0 SI0(7 0) *2 7 0 (m+16ch) (n+16ch) SO1(7 0) *2 15 8 SI1(7 0) *2 15 8 SO2(7 0) 7 0 SI2(7 0) 7 0 (m+17ch) (n+17ch) SO3(7 0) 15 8 SI3(7 0) 15 8 SO4(7 0) 7 0 SI4(7 0) 7 0 (m+18ch) (n+18ch) SO5(7 0) 15 8 SI5(7 0) 15 8 SO6(7 0) 7 0 SI6(7 0) 7 0 (m+19ch) (n+19ch) SO7(7 0) 15 8 SI7(7 0) 15 8 SO10(7 0) 7 0 SI10(7 0) 7 0 (m+20ch) (n+20ch) SO11(7 0) 15 8 SI11(7 0) 15 8 SO12(7 0) 7 0 SI12(7 0) 7 0 (m+21ch) (n+21ch) SO13(7 0) 15 8 SI13(7 0) 15 8 SO14(7 0) 7 0 SI14(7 0) 7 0 (m+22ch) (n+22ch) SO15(7 0) 15 8 SI15(7 0) 15 8 Reserved *3 (m+23ch) 15 0 Reserved *3 (n+23ch) 15 0 m : Input-area head CH number assigned master module n : Output-area head CH number assigned master module Note) *1: These are used as a dedicated command and so cannot be used as general-purpose I/O data. *2: These are used as a dedicated I/O and so cannot be used as general-purpose I/O data. *3: Reserved area. 1-4

4. Assignment of DeviceNet compatible I/O Using Input 2CH / Output 2CH Serial output (Robot controller Master module) Serial input (Master module Robot controller) Robot controller Master module Robot controller Master module Port No. Channel No. Port No. Channel No. SO0(7 0) *1 7 0 SI0(7 0) *1 7 0 (mch) (nch) SO1(7 0) *1 15 8 SI1(7 0) *1 15 8 SO2(7 0) 7 0 SI2(7 0) 7 0 (m+1ch) (n+1ch) SO3(7 0) 15 8 SI3(7 0) 15 8 m : Input-area head CH number assigned master module n : Output-area head CH number assigned master module Note) *1: These are used as a dedicated I/O and so cannot be used as general-purpose I/O data. 1 OUTLINE c CAUTION The number of channels assigned the DeviceNet compatible module can be selected when an RCX14x controller of Ver. 8.63 onwards or an RCX22x controller of Ver. 9.09 onwards is used. Earlier version controllers support only input 24CH and output 24CH. n NOTE Each channel consists of 16-bit data. SOn() and SIn() are handled as unsigned 8-bit integer data. SOW(n) and SIW(n) are handled as unsigned 16-bit integer data. SOD(n) and SID(n) are handled as signed 32-bit integer data. The upper and lower words of SOD(n) respectively correspond SOW(n+1) and SOW(n). The upper and lower words of SID(n) respectively correspond SIW(n+1) and SIW(n). The dedicated input of STD.DIO connecr provided on the RCX240 controllers will be disabled except for an interlock signal (DI 11). When the Board condition (external 24V monir control) of system parameters is set invalid, the interlock signal (DI 11) will also be disabled. On the RCX22x, the dedicated input of STD. DIO connecr will be disabled, but the interlock signal (DI 11) in SAFETY connecr enabled. 1-5

4. Assignment of DeviceNet compatible I/O 1 OUTLINE The head channel numbers in the input and output areas differ depending on the method of assigning the DeviceNet compatible module the master module and the MAC ID setting. Refer the master module and PLC instruction manuals for details. Example: When fixed assignment is applied fixed assignment area 1 while using a programmable controller (OMRON CJ1G-CPU42H) and a DeviceNet unit (OMRON CJ1W-DRM21). Output-area CH (n) = 3200 + MAC ID Input-area head CH (m) = 3300 + MAC ID CJ1G-CPU42H + CJ1W-DRM21 RCX controller q MAC ID = 1 IO size: 24CH/24CH Output area: 3201CH 3224CH Input area: 3301CH 3324CH RCX controller w MAC ID = 25 IO size: 2CH/2CH Output area: 3225CH 3226CH Input area: 3325CH 3326CH RCX controller e MAC ID = 27 IO size: 24CH/24CH Output area: 3227CH 3250CH Input area: 3327CH 3350CH Master module Controller Channel No. MAC ID Number of channels Data 3201 3224 1 24 RCX controller q serial input 3225 3226 25 2 RCX controller w serial input 3227 3250 27 24 RCX controller e serial input 3301 3324 1 24 RCX controller q serial output 3325 3326 25 2 RCX controller w serial output 3327 3350 27 24 RCX controller e serial output 1-6

5. Shift of DeviceNet system connection status and robot controller status 5. Shift of DeviceNet system connection status and robot controller status Always start the DeviceNet system specification robot controller in the servo OFF state after the power is turned ON. 1 q Normal state of DeviceNet system connection when robot controller power is turned ON Robot controller Master module OUTLINE Emergency sp/interlock signals in DeviceNet system are valid. When SAFE mode is enabled, service mode input signal is made valid with SI (02) in the DeviceNet system. Emergency sp terminal in SAFETY connecr is valid. Interlock signal in STD. DIO connecr is valid unless the Board condition (external 24V monir control) of system parameters is set invalid. (RCX240) Interlock signal in SAFETY connecr is valid. (RCX22x) When the Board condition (external 24V monir control) of system parameters is left valid while SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX240) When SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX22x) * The signals in the DeviceNet system are sent and received. w Shift from DeviceNet system normal connection state DeviceNet system erroneous connection state Robot controller Master module Robot controller Master module or Robot controller Master module Emergency sp input turns off with SI (00) in the robot controller. Service mode input turns off with SI (02) in the robot controller. Emergency sp terminal in SAFETY connecr is valid. Interlock signal in STD. DIO connecr is valid when the Board condition (external 24V monir control) of system parameters is left valid. (RCX240) 1-7

5. Shift of DeviceNet system connection status and robot controller status 1 OUTLINE Interlock signal in SAFETY connecr is valid. (RCX22x) When the Board condition (external 24V monir control) of system parameters is left valid while SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX240) When SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX22x) * The signals in the DeviceNet system are not sent or received. * The "DeviceNet Link Error" is added the error hisry in the robot controller. * If the connection the DeviceNet system shifts from the normal state the erroneous state, the DeviceNet system connection must be returned the normal state. * The DeviceNet system will return when the DeviceNet system connection is recovered the normal state. e DeviceNet system erroneous connection state due following facrs when robot controller power is turned ON Connection DeviceNet system not possible Error in master module Robot controller Master module Robot controller Master module Emergency sp/interlock signals in DeviceNet system are invalid. When SAFE mode is enabled, service mode input signal is made valid with SI (02) in the DeviceNet system. Emergency sp terminal in SAFETY connecr is valid. Interlock signal in STD. DIO connecr is valid when the Board condition (external 24V monir control) of system parameters is left valid. (RCX240) Interlock signal in SAFETY connecr is valid. (RCX22x) When the Board condition (external 24V monir control) of system parameters is left valid while SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX240) When SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX22x) * The signals on the DeviceNet system cannot be exchanged. * The "DeviceNet Link Error" has been added the error hisry in the robot controller. (A standby state for up 10 seconds will occur check the communication.) 1-8

5. Shift of DeviceNet system connection status and robot controller status * As opposed the state given in w, in this state, the emergency sp state by SI (00) is not attained in the controller, so the robot can be operated from the programming box. (The robot controller can be started independently when setting up the system, etc.) * Service mode input signal cannot be invalidated with SI (02) when SAFE mode is enabled, so change the service mode parameter setting in SYSTEM > PARAM mode. In this case, take full precautions prevent improper settings that might lead a hazardous situation. * When the connection the DeviceNet system is correctly recovered, the system will aumatically return the DeviceNet system. 1 OUTLINE r Transmission from DeviceNet system erroneous connection state DeviceNet correct connection state when robot controller power is turned ON Robot controller Master module Robot controller Master module Robot controller Master module DeviceNet system emergency sp/interlock signals change valid state. Emergency sp terminal in SAFETY connecr is valid. Interlock signal in STD. DIO connecr is valid when the Board condition (external 24V monir control) of system parameters is left valid. (RCX240) Interlock signal in SAFETY connecr is valid. (RCX22x) When the Board condition (external 24V monir control) of system parameters is left valid while SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX240) When SAFE mode is enabled, service mode input signal is made valid with DI (02) in SAFETY connecr. (RCX22x) * The signals in the DeviceNet system can be sent and received. * When service mode parameter setting in SYSTEM > PARAM mode has been changed while SAFE mode is enabled, make the service mode parameter setting again. In this case, take full precautions prevent improper settings that might lead a hazardous situation. * The DeviceNet system will return when the DeviceNet system connection is recovered the normal state. 1-9

MEMO 1-10

2 CONNECTION Contents 1. Confirming the DeviceNet compatible module settings 2-1 2. Setting the DeviceNet system specification controller 2-2 2.1 Saving the robot controller data 2-2 2.2 Installing the DeviceNet compatible module 2-2 2.3 Response when starting the robot controller 2-2 3. Setting the DeviceNet compatible module 2-3 3.1 Setting the MAC ID 2-3 3.2 Setting the communication speed 2-4 4. Noise measures 2-6 4.1 Mounting the ferrite core 2-6 5. Connecting the DeviceNet system 2-7 5.1 Connecting the cable terminal the controller 2-7 5.2 Testing the line from the master module 2-8 6. Parameter setting for DeviceNet serial I/O board 2-9 6.1 Parameter setting for DeviceNet serial I/O board 2-10

1. Confirming the DeviceNet compatible module settings 1. Confirming the DeviceNet compatible module settings When using the DeviceNet system specification robot controller, the DeviceNet compatible module's MAC ID and communication speed setting can be confirmed from a programming box (RPB for RCX22x and RCX240 or MPB for RCX14x; hereafter called "MPB/RPB"). When connecting DeviceNet compatible module existing robot controller Follow the procedures given in section 2., and change the settings for the DeviceNet system specifications. For DeviceNet system specification robot controller (When robot controller is purchased with DeviceNet compatible module mounted) Follow the procedures given in section 3., and set the MAC ID and communication speed. Confirmation position 2 CONNECTION [Operation] 1) Press the MODE key on the MPB/RPB. 2) Press the F 4 (SYSTEM) key on the MPB/RPB. 3) The display above will appear. The MAC ID and communication speed set for the DeviceNet system will appear in the parentheses following "D_Net" on the screen. The meaning of the above example is shown below. M1 : MAC ID 1 (Setting range: 0 63) 500K : 500Kbps (Setting speed [unit: bps]: 125K, 250K, 500K) * The communication speed must match the master module. c CAUTION If the robot controller is not connected the DeviceNet system or if there is an error in the DeviceNet system, the error "DeviceNet Link Error" will appear on the MPB/RPB when the robot controller power is turned ON. The above settings can be confirmed even in this state. 2-1

2. Setting the DeviceNet system specification controller 2. Setting the DeviceNet system specification controller 2 CONNECTION When connecting the DeviceNet compatible module an existing robot controller, the DeviceNet compatible module must be installed in the robot controller. Check the DeviceNet system specifications with the procedure given in section 1. 2.1 Saving the robot controller data Before installing the DeviceNet compatible module in the robot controller, be sure save the data sred in the robot controller in an external memory by using VIP software, etc. 2.2 Installing the DeviceNet compatible module Install the DeviceNet compatible module in the robot controller. At this point, set the MAC ID and communication speed for the DeviceNet compatible module by referring the procedures given in "3. Setting the DeviceNet compatible module" in chapter 2. 2.3 Response when starting the robot controller The robot controller will always start up with an "option board setting error" after the DeviceNet compatible module has been installed. Make the following settings as explained below. [Procedure] 1. Make connections all input connecrs on the front panel of the robot controller. 2. The following type of question will appear on the MPB/RPB screen, so answer as "YES". 3. If the controller does not operate properly because of a memory error, etc., load the data saved in step 2.1 in the controller. Refer the controller user's manual for details on loading the data. If the robot controller is not correctly connected with the DeviceNet system, the message "DeviceNet Link Error" will appear on the MPB/RPB. n NOTE When using support software "VIP" load data, refer the VIP user's manual. 2-2

3. Setting the DeviceNet compatible module 3. Setting the DeviceNet compatible module To connect the DeviceNet system specification controller the DeviceNet system, the MAC ID and communication speed must be set with the rotary switch on the DeviceNet compatible module. Carry out the operations explained in section 2.1 confirm the current MAC ID and communication speed settings. 3.1 Setting the MAC ID Using the rotary switches MSB and LSB in front of the DeviceNet compatible module, set the MAC ID of the robot controller in the DeviceNet system. n NOTE The MAC ID for the DeviceNet system can be set in the range of 0 63. 2 CONNECTION MSB LSB Front of the unit w WARNING WHEN SETTING THE MAC ID, COMPLETELY SHUT OFF THE POWER SUPPLIED TO THE ROBOT CONTROLLER. [Procedures] 1. Check the MAC ID of the robot controller in the DeviceNet system. The MAC ID must be set between 0 and 63. 2. Using a precision flathead screwdriver, set the 2nd digit of the MAC ID on rotary switch MSB. 3. In the same manner, set the 1st digit on rotary switch LSB. 2-3

3. Setting the DeviceNet compatible module 2 CONNECTION c CAUTION Make sure that the setting is not duplicated with other settings. Never directly uch the conductive sections or electronic parts other than the rotary switch on the DeviceNet compatible module. Do not apply impact on the DeviceNet compatible module. Do not place water or conductive matters, etc., which could cause damage near the DeviceNet compatible module. Accurately set the MAC ID When setting the BPS, make sure not set the rotary switches MSB and LSB by mistake. 3.2 Setting the communication speed Using the rotary switch BPS in front of the DeviceNet compatible module, set the communication speed for the robot controller in the DeviceNet system. n NOTE The communication speed must match the DeviceNet system's master module setting. BPS Front of the unit 2-4

3. Setting the DeviceNet compatible module w WARNING WHEN SETTING THE MAC ID, COMPLETELY SHUT OFF THE POWER SUPPLIED TO THE ROBOT CONTROLLER. [Procedures] 1. Confirm the communication speed for the robot controller in the DeviceNet system. The communication speed must be set between 125K and 500Kbps. The correspondence of the communication speed and switch is shown below. Switch No. 0 1 2 Other than left setting Communication speed [bps] 125K 250K 500K Error 2. Using a precision flathead screwdriver, set the switch No. corresponding the communication speed with rotary switch BPS. c CAUTION Never directly uch the conductive sections or electronic parts other than the rotary switch on the DeviceNet compatible module. Do not apply impact on the DeviceNet compatible module. Do not place water or conductive matters, etc., which could cause damage near the DeviceNet compatible module. Accurately set the communication speed. When setting the MSB and LSB, make sure not set the rotary switch BPS by mistake. 2 CONNECTION 2-5

4. Noise measures 4. Noise measures 2 CONNECTION Two ferrite cores must be mounted on the input power cable when connecting the DeviceNet system. 4.1 Mounting the ferrite core Mount two ferrite cores on the input power cable connected the input power connecr on the front panel of the robot controller. w WARNING COMPLETELY SHUT OFF THE POWER SUPPLY TO THE INPUT POWER CABLE BEFORE STARTING THIS WORK. [Procedures] 1. Mount the two ferrite cores (supplied) on the input power cable. The ferrite core should be placed as close the robot controller body as possible. 2. Fix the mounted ferrite core with an Insulock tie, etc. c CAUTION Securely fix the ferrite core. If the ferrite core is not mounted, trouble could occur with the DeviceNet system operations. 2-6

5. Connecting the DeviceNet system 5. Connecting the DeviceNet system The DeviceNet system cable must be connected the DeviceNet compatible module in order connect the DeviceNet system. 2 Cable terminal V- (Black) CAN L (Blue) SHIELD (-) CAN H (White) V+ (Red) CONNECTION Front of the unit w WARNING BEFORE CONNECTING THE CABLE, COMPLETELY SHUT OFF THE POWER SUPPLIED TO THE ROBOT CONTROLLER. 5.1 Connecting the cable terminal the controller Connect the DeviceNet system cable the DeviceNet system cable terminal on the DeviceNet compatible module. [Procedure] 1. Using a flathead screwdriver, completely loosen the two screws on both sides of the DeviceNet system cable terminal, and remove the terminal block section from the DeviceNet compatible module. c CAUTION Always remove the terminal block section before installing the DeviceNet system cable. 2. Using a flathead screwdriver, securely fix the DeviceNet system cable the terminal block removed in step 1. The name of each terminal on the cable terminal block is shown above. * When connecting a terminar, connect it across CAN H-CAN L. * A slit prevent incorrect inverted insertion is provided on the cable terminal block. 2-7

5. Connecting the DeviceNet system 2 CONNECTION c CAUTION Securely install the DeviceNet system cable. Carefully carry out the work avoid applying excessive force the DeviceNet cable. Use a crimp terminal crimp-connect each wire end of the DeviceNet system cable, so that the cable does not cause an open-circuit fault. Carefully make connections so that the DeviceNet system cable is correctly wired. 3. Connect the cable terminal, in which the DeviceNet system cable has been installed, the DeviceNet compatible module terminal block section on the robot controller, and completely fix with the two screws on both sides using a flathead screwdriver. c CAUTION Refer the master module instruction manual for details on the DeviceNet system cable connection. 5.2 Testing the line from the master module The master module in the DeviceNet system has a function test the line the slave module. Using this function, confirm that the robot controller is accurately recognized as a slave module in the DeviceNet system. Refer the master module instruction manual for details. c CAUTION If the line test results indicate a correct connection, place the DeviceNet system cable in a conduit, or fix it with a clamp. 2-8

6. Parameter setting for DeviceNet serial I/O board 6. Parameter setting for DeviceNet serial I/O board The following functions are enabled or disabled by setting the parameters for the DeviceNet serial I/O board. Parameter 1. [RCX240] Board condition [RCX22x] Serial I/O Meaning Enables or disables the DeviceNet compatible module. When set "VALID" the controller can be connected the DeviceNet. 2. Remote cmd / IO cmd (S105) Enables or disables the functions of remote commands and I/O commands. When set "VALID" the remote commands and I/O commands can be used. When set "INVALID" the remote commands and I/O commands cannot be used. This parameter cannot be set "VALID" simultaneously with parameter 3. When parameter 4 is set "Small", the remote command cannot be used, although this parameter can be set "VALID". 3. Output MSG SOW(1) Enables or disables the function that sends an error message code number, which is displayed on the MPB / RPB, serial word output SOW(1). When set "VALID" the error code number will be output SOW(1). When set "INVALID" the error code number will not be output SOW(1). This parameter cannot be set "VALID" simultaneously with parameter 2. Also, this parameter cannot be set "VALID" when parameter 4 is set "Small". 4. IO size Selects the number of channels that the DeviceNet compatible module occupies. When set "Large", 24 channels each are occupied by the input/output. When set "Small", 2 channels each are occupied by the input/output. This parameter cannot be set "Small" when parameter 3 is set "VALID". 2 CONNECTION n NOTE IO size setting is supported by Ver. 8.63 onwards of the RCX14x controllers and Ver. 9.09 onwards of the RCX22x controllers. When using the controller without connecting a DeviceNet, set the "board condition" ("serial I/O" for RCX22x) parameter "INVALID". When the "board condition" ("serial I/O" for RCX22x) parameter is set "INVALID", the dedicated input/output of STD.DIO connecr becomes enabled. When the "board condition" ("serial I/O" for RCX22x) parameter is set "VALID", the dedicated input (except DI11 for RCX240) of STD.DIO connecr becomes disabled. However, the emergency sp input signal (DI00), interlock input (DI11), and service mode input (DI02) stay enabled. For remote commands and I/O commands, refer the separate command reference manual. For a description of codes issued from the "Output MSG SOW(1)" parameter function, refer "Error message" in this manual. When the "remote cmd / I/O cmd" parameter is set "VALID", the "Output MSG SOW(1)" parameter function cannot be used. Likewise, when the "Output MSG SOW(1)" parameter is set "VALID", the "remote cmd / I/O cmd" parameter function cannot be used. When the IO size is set "Small" (2CH each of input/output), the I/O commands can be used but the remote commands cannot be used. Note that use of the I/O commands is partly limited. When the IO size is set "Small" (2CH each of input/output), the "Output MSG SOW(1)" parameter function cannot be used. 2-9

6. Parameter setting for DeviceNet serial I/O board 6.1 Parameter setting for DeviceNet serial I/O board 2 CONNECTION [Procedure] 1) Press the F 1 (PARAM) key in "SYSTEM" mode enter "SYSTEM>PARAM" mode. 2) Press the F 5 (OP. BRD) key in "SYSTEM>PARAM" mode enter the option board parameter setting mode. The option boards installed in the controller are displayed in order on the MPB screen. Option boards installed in the option slots are displayed on the MPB screen. Type Display Meaning Option DIO DIO_N(n) An option DIO board of NPN specifications is installed. The number in parentheses is an ID number. DIO_P(n) An option DIO board of PNP specifications is installed. The number in parentheses is an ID number. CCLnk(n/m) A CC-Link unit is installed. Letters in parentheses indicate a station number "n" and a communication speed "m". Serial I/O D_Net(n/m) A DeviceNet unit is installed. Letters in parentheses indicate a MAC ID number "n" and communication speed "m". Profi(n/m) A Profibus unit is installed. Letters in parentheses indicate a station address "n" and communication speed "m". Network E_Net An Ethernet unit is installed. YC-Link YCLnk(Mn) A YC-Link unit is installed. Letters in parentheses indicate a station number "n". 3) In "SYSTEM>PARAM>OP. BRD" mode, select the "D_Net" with the cursor ( / ) keys and press the F 1 (SELECT) key. 2-10

6. Parameter setting for DeviceNet serial I/O board 4) Select the parameter with the cursor ( / ) keys. 5) Press the F 1 (EDIT) key. 2 CONNECTION 6) Press the F 1 (INVALID) or F 2 (VALID) key. When setting the IO size parameter, press the F 1 (Large) or F 2 (Small) key. 7) Press the ESC key quit the edit mode. To continue setting another parameter, use the cursor ( / ) keys select the parameter. 2-11

MEMO 2-12

3 COMMUNICATION Contents 1. State when robot controller power is turned ON 3-1 2. Communication with master module 3-3 2.1 Receiving data 3-3 2.2 Transmitting data 3-5 3. Direct connection by emulated serialization on parallel DIO 3-8 3.1 Emulated serialization setting on parallel DIO 3-8 4. Referring communication data 3-11 4.1 Referring the data from the programming box 3-11

1. State when robot controller power is turned ON 1. State when robot controller power is turned ON The DeviceNet system specification robot controller always starts operation in servo OFF state when the power turned ON. q When connection DeviceNet system is correctly established. The following conditions must be satisfied correctly connect the DeviceNet system: The DeviceNet system cable must be physically connected The MAC ID and communication speed must be correctly set The master module is operating normally. When the robot controller is correctly connected the DeviceNet system, the normal state will be indicated with the LEDs on the DeviceNet compatible module. At this time, the emergency sp signal and interlock signal in the DeviceNet system will be validated, so both signals must be turned ON in the connection process. The emergency sp terminal in SAFETY connecr is always kept valid. On the RCX22x, the interlock signal in SAFETY connecr is also valid. On the RCX240, the interlock signal in STD. DIO connecr is valid unless the Board condition (external 24V monir control) of system parameters is set invalid. When SAFE mode is enabled, service mode input signal is made valid with SI (02) in the DeviceNet system. Service mode input signal the RCX22x is also made valid with DI (02) in SAFETY connecr. On the RCX240, service mode input signal is made valid with DI (02) in SAFETY connecr unless the Board condition (external 24V monir control) of system parameters is set invalid. 3 COMMUNICATION w When connection DeviceNet system is incorrectly established The following causes can be considered a correct connection with the DeviceNet system cannot be established: The DeviceNet system cable is not physically connected The MAC ID or communication speed is set incorrectly The master module is not operating correctly When incorrectly connected the DeviceNet system, an abnormal state will be indicated with the DeviceNet compatible module's LED. This also occurs when the master module is not operating correctly. The emergency sp signal and interlock signal in the DeviceNet system are invalid in this case, so the robot controller can be operated independently. However, if the correct state has been established even once after the robot controller power was turned ON, the robot controller's emergency sp state cannot be canceled without correctly connecting the DeviceNet system. The emergency sp terminal in SAFETY connecr is always kept valid. On the RCX22x, the interlock signal in SAFETY connecr is also valid. On the RCX240, the interlock signal in STD. DIO connecr is valid unless the Board condition (external 24V monir control) of system parameters is set invalid. 3-1

1. State when robot controller power is turned ON 3 When SAFE mode is enabled, service mode input signal the RCX22x is made valid with DI (02) in SAFETY connecr. On the RCX240, service mode input signal is made valid with DI (02) in SAFETY connecr unless the Board condition (external 24V monir control) of system parameters is set invalid. Service mode input signal in the DeviceNet system cannot be invalidated when SAFE mode is enabled, so change the service mode setting of system parameters. In this case, take full precautions prevent improper settings that might lead a hazardous situation. * For meanings of LED display, see 4 in this manual. COMMUNICATION 3-2

2. Communication with master module 2. Communication with master module The method for communicating with the master module by using the robot program when the DeviceNet system is correctly connected is explained in this section. 2.1 Receiving data The master module's output channel data is read via the serial input ports of the robot controller. The table below shows the correspondence of the master module's output channels and the robot controller's serial input ports. The correspondence of the master module's output channels and the robot controller's serial input ports differs depending on whether the IO size is set "Large" or "Small" by option board parameter. When IO size is set "Large" Master module output channel No. Robot controller serial input port No. Master module output channel No. (nch) SIW(0) (n+16ch).07 00 SI0(7 0) (n+1ch) SIW(1) (n+16ch).15 08 SI1(7 0) (n+2ch) SIW(2) (n+17ch).07 00 SI2(7 0) SID(2) (n+3ch) SIW(3) (n+17ch).15 08 SI3(7 0) (n+4ch) SIW(4) (n+18ch).07 00 SI4(7 0) SID(4) (n+5ch) SIW(5) (n+18ch).15 08 SI5(7 0) (n+6ch) SIW(6) (n+19ch).07 00 SI6(7 0) SID(6) (n+7ch) SIW(7) (n+19ch).15 08 SI7(7 0) (n+8ch) SIW(8) (n+20ch).07 00 SI10(7 0) SID(8) (n+9ch) SIW(9) (n+20ch).15 08 SI11(7 0) (n+10ch) SIW(10) (n+21ch).07 00 SI12(7 0) SID(10) (n+11ch) SIW(11) (n+21ch).15 08 SI13(7 0) (n+12ch) SIW(12) (n+22ch).07 00 SI14(7 0) SID(12) (n+13ch) SIW(13) (n+22ch).15 08 SI15(7 0) (n+14ch) SIW(14) SID(14) (n+15ch) SIW(15) Robot controller serial input port No. 3 COMMUNICATION n : Output-area head CH number assigned master module When IO size is set "Small" Master module output channel No. (nch).07 00 SI0(7 0) (nch).15 08 SI1(7 0) (n+1ch).07 00 SI2(7 0) (n+1ch).15 08 SI3(7 0) Robot controller serial input port No. n : Output-area head CH number assigned master module 3-3

2. Communication with master module c CAUTIONS Always refer the PLC manual and check the settings for communication with the master module. IO size setting is only supported by Ver. 8.63 onwards of the RCX14x controllers and Ver. 9.09 onwards of the RCX22x controllers. The IO size for earlier version controllers is the same as the "Large" setting. 3 n NOTE The IO size can be set by option board parameter. Refer section 6 of chapter 2 for more details. COMMUNICATION When reading the bit information from the master module output channel No. with the robot controller, write the following command in the robot program in the same manner as the DI input port. WAIT command Assignment statement Example: To wait for (n+17ch)0 turn ON when the IO size is set "Large" WAIT SI (20) = 1... * The robot program will wait for SI (20) turn ON. Example: To read the (n+17ch)0 (n+17ch)7 data in variable A when the IO size is set "Large" A = SI2 ()... * The SI2 () data will be converted in a decimal and assigned variable A. If SI2 () is 7Fh, variable A will be 127. n NOTE The SI statement in the robot language can be defi ned from SI0 ( ) SI27 ( ), but the DeviceNet compatible module accepts from SI0 ( ) SI15 ( ). When reading the word information from the master module's output channel No. with the robot controller, write the following command in the robot program. Assignment statement Example: To read the (n+2ch) word data in variable B when the IO size is set "Large" B = SIW (2)... * The SIW (2) data will be assigned variable B as a decimal. If SIW (2) is 01FFh, variable B will be 511. 3-4