background image

41

Operating Examples

Section 4-3

4-3

Operating Examples

4-3-1

Overview

This section describes how to access a device on a DeviceNet or DeviceNet
Safety network from a general-purpose controller (e.g., a PLC or computer)
on an Ethernet network using UDP/IP frame message communications via an
ED Router.

In this example, a Mitsubishi CPU Module and a Mitsubishi Ethernet Interface
Module on an Ethernet network monitor an NE1A-series or DST1-series
device using UDP/IP message communications via an NE1A-EDR01 ED
Router. 

Note

The following Mitsubishi products are used in this example.

Note

For details on settings and programming, refer to 

4-4 Mitsubishi Ethernet

Interface Module Settings

 an

4-5 Sample Ladder Programs

. For advanced

monitor settings, refer to 

4-6 NE1A Series Monitoring

 

4-7 DST1 Series Moni-

toring

.

4-3-2

Settings

In this example, the following settings are made.

Mitsubishi Ethernet 
Interface Module Settings

PC Parameter Settings (Refer to 

4-4-1 PC Parameters

.)

• I/O allocation settings

• Program settings

Module/Software

Model/Version

Power Supply Module

Q61P

CPU Module

Q02CPU

Ethernet Interface Module 

QJ71E71-100

Ladder Creation Software

GX Developer

CPU
Module 

Ethernet

Module

 NE1A-SCPU01-V1 

 NE1A-SCPU02 

 DST1-ID12SL-1 

 DST1-MD16SL-1 

 DST1-MRD08SL-1 

Ethernet 

Ethernet 

DeviceNet Safety

DeviceNet Safety 

IP address: 192.168.250.18 

IP address: 192.168.250.17 

MAC ID: 17

IP address: 192.168.250.17

MAC ID: 1

Mitsubishi products

Power

Supply

Module

ED Router

NE1A Series

DST1 Series

Summary of Contents for NE1A-EDR01

Page 1: ...OPERATION MANUAL Cat No Z912 E1 01 NE1A Series NE1A EDR01 EtherNet IP DeviceNet Router...

Page 2: ...NE1A Series EtherNet IP DeviceNet Router NE1A EDR01 Operation Manual Produced July 2007...

Page 3: ...iv...

Page 4: ...MRON products are capitalized in this manual The word Unit is also capitalized when it refers to an OMRON product regardless of whether or not it appears in the proper name of the product The abbrevia...

Page 5: ...itted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the...

Page 6: ...Connecting to Ethernet EtherNet IP 18 2 5 ED Router Settings 23 SECTION 3 Status Indicators and Troubleshooting 25 3 1 Status Indicators 26 3 2 Troubleshooting 29 3 3 Error History 32 SECTION 4 Access...

Page 7: ...viii TABLE OF CONTENTS...

Page 8: ...ifications functions and application methods of the EtherNet IP DeviceNet Router in detail DeviceNet Safety System Configuration Manual Z905 This manual explains how to configure the DeviceNet Safety...

Page 9: ...x...

Page 10: ...S DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE...

Page 11: ...that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear...

Page 12: ...onfirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANC...

Page 13: ...xiv...

Page 14: ...xv PRECAUTIONS 1 Intended Audience xvi 2 General Precautions xvi 3 Precautions for Safe Use xvi 4 Regulations and Standards xviii...

Page 15: ...of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for progra...

Page 16: ...to the EtherNet IP DeviceNet Router Disconnect the EtherNet IP DeviceNet Router from the power supply before starting wiring Properly apply the specified voltage to the EtherNet IP DeviceNet Router i...

Page 17: ...Disconnect the EtherNet IP DeviceNet Router from the power supply before replacing the EtherNet IP DeviceNet Router Devices connected to the EtherNet IP DeviceNet Router may operate unexpectedly Do no...

Page 18: ...Router and it s functionality 1 1 EtherNet IP DeviceNet Router 2 1 1 1 Accessing All Devices on a Network from a Network Configurator 2 1 1 2 Monitoring DeviceNet or DeviceNet Safety Systems via Ethe...

Page 19: ...viceNet or DeviceNet Safety Networks are con figured for an Ethernet or EtherNet IP connection using an ED Router it is possible to set devices such as NE1A series Controllers and DST1 series Slaves c...

Page 20: ...machine controller or monitor computer that does not support a DeviceNet interface This can be used to easily add a DeviceNet Safety con trol system to an existing system ED Router NE1A EDR01 PLC OMRO...

Page 21: ...part names of the ED Router 7 segment display Status indicators DeviceNet node address switches DeviceNet communications connector Power supply connector EtherNet IP IP address switches Service switc...

Page 22: ...ng 9 2 2 2 Wiring the Power Supply 9 2 2 3 DeviceNet Wiring 11 2 2 4 Ethernet EtherNet IP Network Installation 12 2 3 Connecting to DeviceNet 16 2 3 1 Setting the DeviceNet Node Address 16 2 3 2 Setti...

Page 23: ...e appropriate and sufficient measures when installing systems in the fol lowing locations Inappropriate and insufficient measures may result in mal function Locations subject to static electricity or...

Page 24: ...to a DIN Track Do not screw the Router to the control panel DIN Track Mounting Bracket Positions for the ED Router Wiring duct Wiring duct 50 mm max 50 mm max 5 mm max 5 mm max 35 mm DIN Track End Pl...

Page 25: ...8 Installation Section 2 1 2 1 3 ED Router Dimensions and Weight Dimensions Weight Unit mm 131 4 114 1 45 2 105 1 101 1 Model Weight NE1A EDR01 220 g max...

Page 26: ...re rough standards Confirm the dimensions beforehand Use wires of the same diameter if two wire pin terminals are used Note 1 When wiring with pin terminals be sure to insert pin terminals all the way...

Page 27: ...ground resistance of 100 The length of the ground wire should be no more than 20 m To avoid grounding problems do not share the ground wiring with other devices or connect it to the building structure...

Page 28: ...the correct locations The colors of the wires are as follows IMPORTANT Turn OFF the power supply to the NE1A series Controller to all nodes on the network and to communications lines before starting a...

Page 29: ...g hub manufacturer for setting procedures for the switch ing hub Install the switching hub so that its environmental resistance capabilities are not exceeded Ask the switching hub manufacturer for inf...

Page 30: ...ecifications and use a switching hub appropriate for the ambient condi tions Contact the switching hub manufacturer for details on switching hub s environment resistance specifications Switching Hub C...

Page 31: ...77 Note The ED Router Ethernet port has auto MDI MDI X functionality so either a straight or cross cable can be used Connecting the Cable Caution Turn OFF the ED Router power supply before connecting...

Page 32: ...ure to press in the cable until it locks into place This procedure should only be performed by qualified personnel 3 Connect the twisted pair cable to the connector on the ED Router Be sure to press t...

Page 33: ...dress is set for more than one node Communications will not start if this error occurs Note Use a small flat blade screwdriver to set the rotary switches being careful not to scratch them Refer to 2 3...

Page 34: ...h Op tion Select Interface and then select Network Connect 3 Select DeviceNet in the Network Configuration Window For example click the DeviceNet_1 Tab 4 Select Tool Node Address Baud Rate Setting The...

Page 35: ...ess are described below Method 1 Using the Default IP Address 192 168 250 IP_address_switch_set value The default IP address for the ED Router is 192 168 250 IP_address_switch_set value The IP address...

Page 36: ...e the val ue set from the Network Configurator set the IP address switch to 00 or FF 3 To use the BOOTP server set the IP address switch to 00 or FF Making TCP IP Settings with the Network Configurato...

Page 37: ...Router has rec ognized the new TCP IP Configuration settings Note 1 The ED Router will restart automatically when the TCP IP Configuration s IP address parameters are downloaded to the ED Router from...

Page 38: ...being used Preferred DNS Server and Alternate DNS Server When accessing another node from the ED Router using the host name the DNS server searches for the other node s IP address from the other node...

Page 39: ...me unstable and prevent normal communications The following table shows the allowed settings for each switching hub communications mode OK Allowed Not allowed ED Router Switching hub setting Auto nego...

Page 40: ...igurator will be started 2 Connect the Network Configurator online First set the interface with Op tion Select Interface and then select Network Connect 3 In the Network Configuration Window double cl...

Page 41: ...24 ED Router Settings Section 2 5...

Page 42: ...ndicators and how to troubleshoot problems that may occur with the ED Router 3 1 Status Indicators 26 3 1 1 Overview 26 3 1 2 Seven segment Display 27 3 2 Troubleshooting 29 3 2 1 ED Router Errors and...

Page 43: ...the NS E and NS D indicators turn OFF ED Router failure Fatal error Abort One of the following recoverable errors has occurred Message communica tions routing is enabled Switch changed during operatio...

Page 44: ...occurs the error code is displayed following Er If multiple errors occur the error codes are displayed in order Display Example When the Error Codes Are d6 and E0 Displaying the EtherNet IP IP Addres...

Page 45: ...display from right to left Note Errors are indicated by combining the MS indicator NS indicator and the 7 segment display For further details on specific meanings refer to 3 2 Trouble shooting 300 ms...

Page 46: ...ions related Error Illegal mes sage dis carded The message was discarded due to illegal packet commu nications Operation stops 0118 Check the system communi cations status Ethernet Communications rela...

Page 47: ...and branch lines correct Are any cables discon nected or loose Is terminating resistance connected at both ends of the main line Settings related Error Flash ing red F2 Ethernet basic setting error A...

Page 48: ...IP address switch setting and the configura tion and make the settings again Flash ing red E8 Device parameter error An error occurred in the parameters downloaded from the Net work Configura tor Ope...

Page 49: ...ormation Detailed information Error History Saving Area The description of an error is recorded in the error history in the RAM of the ED Router and if the error is critical it is also saved in the no...

Page 50: ...story is read using the Network Configurator the time at which the error occurred the ED Router total operating time error informa tion detailed error information and the contents of the error are dis...

Page 51: ...hex detected as changed Stored 0214 Invalid IP address setting FF hex FF hex Stored 021A Device parameter error 00 hex OE hex Unit name Stored 0340 Bus OFF error 00 hex 00 hex Not stored 0341 DeviceN...

Page 52: ...memory 0601 System error Undetermined Undetermined Stored 0602 Memory access error 01 hex Read error 02 hex Write error 06 hex Error history 07 Protocol data 09 hex Identity data 0E hex Unit name 0F h...

Page 53: ...36 Error History Section 3 3...

Page 54: ...3 4 4 1 PC Parameters 43 4 4 2 Network Parameters 43 4 5 Sample Ladder Programs 45 4 5 1 System Configuration for Sample Ladder Programs 45 4 5 2 PC Parameters 46 4 5 3 Sample Ladder Program Processin...

Page 55: ...nitor computer that does not support a DeviceNet interface This can be used to easily add a DeviceNet Safety con trol system to an existing system ED Router NE1A EDR01 PLC OMRON or other maker OR Ethe...

Page 56: ...ssion frames The value is freely assigned by the message transmis sion source and the same value is stored in the response Setting range 0 to 65 535 Timeout monitor time Set the timeout monitor time i...

Page 57: ...node address 1 byte 5 Service code 1 byte 6 Data 552 bytes max Parameter Description Message sequence number The sequence number set when the command was sent is returned Data size The data size from...

Page 58: ...tsubishi Ethernet Interface Module Settings and 4 5 Sample Ladder Programs For advanced monitor settings refer to 4 6 NE1A Series Monitoring 4 7 DST1 Series Moni toring 4 3 2 Settings In this example...

Page 59: ...gs Refer to 4 4 2 Network Parameters Ethernet operation settings Initial settings Open settings Creating Ladder Programs Refer to 4 5 Sample Ladder Programs Note For advanced monitor settings refer to...

Page 60: ...in the following table EtherNet Operations Make the common Module settings for using the Ethernet Module The settings for Ethernet operations are shown in the following table Item Contents Setting Typ...

Page 61: ...onfirma tion for TCP protocol communications Use the KeepAlive Item Contents Setting Item Contents Setting Response monitoring timer Set the response wait time 100 Item Contents Setting Protocol See n...

Page 62: ...essage communica tions via an NE1A EDR01 ED Router Note The following Mitsubishi products are used in this example Module Software Model Version Power Supply Module Q61P CPU Module Q02CPU Ethernet Mod...

Page 63: ...ts Remarks D100 OPEN instruction execution type D101 OPEN instruction completion sta tus D200 System area D201 CLOSE instruction completion sta tus D300 Send data length bytes Area used for BUFSEND in...

Page 64: ...ode is stored in the completion status area D3001 Abnormal completion signal M501 turns ON and the error code is stored in the completion status area D5001 Abnormal completion signal M201 turns ON and...

Page 65: ...a special instruction for Ethernet Modules used to send data to remote devices using fixed buffer communications 2 The BUFRCV instruction is a special instruction for Ethernet Modules used for readin...

Page 66: ...quest signal N1000 Open instruction 1PLS MOV M0 D100 Execution type N150 OPEN instruction normal completion MOV K1 SET N151 OPEN instruction abnormal completion SET D100 Execution type N100 OPEN instr...

Page 67: ...truction Area Item Setting Target Node 01 hex Service Code 4B hex Class ID 306 hex Instance ID 01 hex Request data Attribute ID 00000002 hex Address 15 8 7 0 Remarks D300 00 hex 10 hex Send data lengt...

Page 68: ...ial ID MOV H0 D302 Timer Value MOV H0A D303 Data Size MOV H4B01 D304 Destination MACID and service code MOV H306 D305 Class ID MOV M150 Initial normal completion signal X19 Connection 1 open completio...

Page 69: ...ection 4 5 BUFSND instruction completion device M600 BUFSND instruction normal completion SET M601 BUFSND instruction abnormal completion SET M300 BUFSND instruction abnormal device M301 BUFSND instru...

Page 70: ...ve instruction completion device D500 D5000 ZP BUFRCV U0 K1 M700 BUFRCV instruction normal completion SET M7000 Receive instruction 1PLS PLS M701 BUFRCV instruction abnormal completion SET M7000 Recei...

Page 71: ...01 hex Service code 0E hex Class ID 04 hex Instance ID 310 hex Send data attribute ID 03 hex Address 15 8 7 0 Remarks D300 00 hex 0D hex Send data length D301 00 hex FF hex Send data message sequence...

Page 72: ...MOV H0E01 D304 Destination MACID and service code MOV H4 305 Class ID MOV H310 D306 Instance ID MOV H3 D307 Attribute ID MOV M300 BUFSND instruction completion device D300 Data length number of words...

Page 73: ...M600 BUFSND instruction normal completion SET M601 BUFSND instruction abnormal completion SET BUFSND instruction completion device M300 BUFSND instruction abnormal completion device M301 BUFSND instru...

Page 74: ...on device D5000 D500 ZP BUFRCV U0 K1 M7000 Receive instruction 1PLS PLS M700 BUFRCV instruction normal completion SET M701 BUFRCV instruction abnormal completion SET Always ON SM400 BUFSND instruction...

Page 75: ...OSE instruction being executed SET M203 CLOSE instruction abnormal completion SET M210 CLOSE instruction being executed RST END M161 CLOSE instruction being executed M210 CLOSE instruction abnormal co...

Page 76: ...er for which the error cause is to be acquired plus 1 for the instance ID specified at that time For example to acquire the error cause for terminal No 0 specify 01 hex for the instance ID Read Data F...

Page 77: ...itor Format below 4 Output ON error 5 Error at dual channel partner 6 Internal bit circuit error 7 Bit error 8 Illegal data between dual channel outputs 9 Short circuit detected between wires Value Me...

Page 78: ...ty input terminal No 5 status Safety input terminal No 4 status Safety input terminal No 3 status Safety input terminal No 2 status Safety input terminal No 1 status Safety input terminal No 0 status...

Page 79: ...e 1 Byte Error Cause Service code Class ID Instance ID Request data attribute ID Safety input terminal monitor Safety input monitor 4B hex 306 hex 01 hex 00000005 hex See note 4 Safety input status 4B...

Page 80: ...ag OFF I O communications stopped or error ON I O communications being executed 4 Safety I O Communications Error Flag OFF No error ON Error 5 Safety I O Communications Status Flag OFF I O communicati...

Page 81: ...inal No 17 status Safety input terminal No 16 status 3 Safety input terminal No 27 status Safety input terminalNo 26 status Safety input terminalNo 25 status Safety input terminal No 24 status Safety...

Page 82: ...E1A Series Monitoring Section 4 6 Status value 1 Normal 0 Error 2 Muting lamp status No 7 Reserved Muting lamp status No 3 Reserved 3 Reserved Offset bytes Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bi...

Page 83: ...l status See note 1 Input value status 0E hex 04 hex Refer to the table in note 3 03 hex Safety input error cause See note 2 Error cause 0E hex 3D hex 01 to 0C hex 6E hex 0 Status Bit Meaning 0 Input...

Page 84: ...t 0 0 Safety input terminal No 7 monitor Safety input terminal No 6 monitor Safety input terminal No 5 monitor Safety input terminal No 4 monitor Safety input terminalNo 3 monitor Safety input termina...

Page 85: ...Safety input terminalNo 1 monitor Safety input terminalNo 0 monitor 1 Muting lamp status Safety input batch status Reserved Safety input terminalNo 11 monitor Safety input terminalNo 10 monitor Safety...

Page 86: ...est output terminalNo 3 status Test output terminalNo 2 status Test output terminal No 1 status Test output terminal No 0 status Service code Class ID Instance ID Request data attribute ID Safety inpu...

Page 87: ...mple to acquire the error cause for terminal No 0 specify 01 hex for the instance ID Read Data Format Read Size 1 Byte Error cause 6 Operation Time Monitor Error Flag OFF Within range all I O sets low...

Page 88: ...erminalNo 1 monitor Safety input terminalNo 0 monitor Offset bytes Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 General status Offset bytes Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Safet...

Page 89: ...No 0 status 3 Safety out put termi nal No 7 monitor Safety out put termi nal No 6 monitor Safety out put termi nal No 5 monitor Safety out put termi nal No 4 monitor Safety out put termi nal No 3 moni...

Page 90: ...x Refer to the table in note 4 03 hex Safety input error cause See note 2 Error cause 0E hex 3D hex 01 to 04 hex 6E hex Safety output error cause See note 3 Error cause 0E hex 04 hex 01 to 04 hex 6E h...

Page 91: ...me For example to acquire the error cause for terminal No 0 specify 01 hex for the instance ID Read Data Format Read Size 1 Byte Error Cause 4 Instance ID Status held in the DST1 MRD08SL 1 can be moni...

Page 92: ...y input terminalNo 0 monitor Offset bytes Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Safety input terminal No 3 status Safety input terminal No 2 status Safety input terminal No 1 status Safety...

Page 93: ...No 0 status Offset bytes Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Test output terminal No 3 status Test output terminal No 2 status Test output terminal No 1 status Test output terminal No 0...

Page 94: ...time For example to acquire the error cause for terminal No 0 specify 01 hex for the instance ID Read Data Format Read Size 1 Byte Error cause 5 I O Error Flag OFF Normal all I O points normal ON Err...

Page 95: ...on result No 4 4 5 Safety input operation result No 3 Safety input operation result No 2 2 3 Safety input operation result No 1 Safety input operation result No 0 0 1 Offset bytes Bit 7 Bit 6 Bit 5 Bi...

Page 96: ...Monitoring the DST1 XD0808SL 1 5 Reserved Reset request sig nal Safety input operation result No 5 Safety input operation result No 4 4 5 Safety input operation result No 3 Safety input operation res...

Page 97: ...80 DST1 Series Monitoring Section 4 7...

Page 98: ...et and DeviceNet Safety Topology Combination of multi drop and T branch connections for trunk or branch lines Baud rate 125 kbps 250 kbps or 500 kbps Communications media Special 5 wire cable 2 signal...

Page 99: ...ensions Number of CIP connections 128 Allowable Module communica tions bandwidth 6 000 pps See note Explicit message communications Class 3 connection Maximum message length of 502 bytes UCMM connecti...

Page 100: ...ct 125 Kbit s 250 Kbit s or 500 Kbit s 125 Kbit s 2 3 Connect ing to DeviceNet Node address for soft ware settings Set an address from 0 to 63 63 decimal Ethernet EtherNet IP settings IP address setti...

Page 101: ...84 Settings from the Network Configurator Appendix B...

Page 102: ...eliable safety communications DeviceNet Safety and EtherNet IP Safety are CIP Safety compliant networks based on DeviceNet and EtherNet IP Safety configuration Using the Network Configurator to built...

Page 103: ...in DeviceNet standard communica tions Fault Present Several function blocks have Fault Present as an optional output This is an error output that indicates that the applicable function block has dete...

Page 104: ...uilt that included multiple networks In this type of configuration devices are uniquely identified and mutually confirmed using a TUNID that combines the network number and node address The Network Co...

Page 105: ...88 Glossary...

Page 106: ...atalog number on the front cover of the manual The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code Date Revised co...

Page 107: ...90 Revision History...

Page 108: ...31 2356 81 300 Fax 31 2356 81 388 OMRON ELECTRONICS LLC One Commerce Drive Schaumburg IL 60173 5302 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 OMRON ASIA PACIFIC PTE LTD No 438A Alexandra Road 05 05...

Page 109: ...Authorized Distributor Cat No Z912 E1 01 Note Specifications subject to change without notice Printed in Japan 0707 0 5M This manual is printed on 100 recycled paper...

Reviews: