background image

299

Message Service Transmission Delay

Section 10-5

Note

CJ2 CPU Units support only Normal Mode.

For details, refer to the CPU Unit’s Operation Manual.

CPU Bus Unit Service 
Cycle (Local Node, 2)

The following table shows the CPU Bus Unit service cycle, which depends on
the CPU Unit’s CPU processing mode setting.

Note

CJ2 CPU Units support only Normal Mode.

For details, refer to the CPU Unit’s Operation Manual.

CPU Bus Unit Service 
Processing Time (Local 
Node, 2)

The following table shows the CPU Bus Unit service processing time, which
depends on the CPU Unit’s CPU processing mode setting.

Note

CJ2 CPU Units support only Normal Mode.

For details, refer to the CPU Unit’s Operation Manual.

Note

Depending on the actual operating environment, the transmission time may
be longer than the one calculated with the equations given here. The following
factors can cause longer transmission times: other traffic on the network, win-
dow sizes of network nodes, other traffic at the EtherNet/IP Unit or built-in Eth-
erNet/IP port itself (e.g., simultaneous tag data link communications), and the
system configuration.

Parallel processing with syn-
chronous memory access

4% of CPU Unit cycle time

Parallel processing with asyn-
chronous memory access

1 ms max.

CPU execution mode

Processing time details

CPU execution mode

Processing time details

Normal Mode (See note.)

One CPU Unit cycle time

Priority peripheral servicing

EtherNet/IP Unit or 
built-in EtherNet/IP 
port is given prior-
ity.

Time slice instruction execution 
time

EtherNet/IP Unit or 
built-in EtherNet/IP 
port is not given 
priority.

One CPU Unit cycle time

Parallel processing with syn-
chronous memory access

One CPU Unit cycle time

Parallel processing with asyn-
chronous memory access

0.2 ms + peripheral servicing time (1 ms max. for 
peripheral servicing of each Special I/O Unit, CPU 
Bus Unit, peripheral port, RS-232C port, and Inner 
Board)

CPU execution mode

Processing time details

Normal Mode (See note.)

4% of CPU Unit cycle time
(10% for CJ2 CPU Units)

Priority peripheral servicing

EtherNet/IP Unit or 
built-in EtherNet/IP 
port is given prior-
ity.

Time slice peripheral servicing 
execution time

EtherNet/IP Unit or 
built-in EtherNet/IP 
port is not given 
priority.

Set peripheral servicing time
(Default: 4% of CPU Unit cycle 
time)

Parallel processing with syn-
chronous memory access

4% of CPU Unit cycle time

Parallel processing with asyn-
chronous memory access

1 ms max.

Summary of Contents for CJ2H-CPU6 - REV 02-2010

Page 1: ...OPERATION MANUAL Cat No W465 E1 05 SYSMAC CS and CJ Series CS1W EIP21 100Base TX CJ1W EIP21 100Base TX CJ2H CPU6 EIP 100Base TX CJ2M CPU3 100Base TX 10Base T EtherNet IP Units...

Page 2: ......

Page 3: ...CS1W EIP21 100Base TX CJ1W EIP21 100Base TX CJ2H CPU6 EIP 100Base TX CJ2M CPU3 100Base TX 10Base T EtherNet IP Units Operation Manual Revised February 2010...

Page 4: ...iv...

Page 5: ...rogrammable Controller Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest fo...

Page 6: ...vi...

Page 7: ...ions Services Overview 6 1 5 Network Configurator Overview 10 SECTION 2 Unit Specifications 13 2 1 EtherNet IP Unit and Built in EtherNet IP Port Specifications 14 2 2 Nomenclature and Functions 21 2...

Page 8: ...ing with Tag Data Links 183 SECTION 7 Message Communications Functions 187 7 1 Overview 188 7 2 FINS Message Communications 190 7 3 Explicit Message Communications 192 7 4 Message Communications Speci...

Page 9: ...8 FTP File Transfer Time 320 11 9 Host Computer Application Example 321 SECTION 12 Automatic Clock Adjustment Function 323 12 1 Automatic Clock Adjustment 324 12 2 Using the Automatic Clock Adjustment...

Page 10: ...hernet Network Parameters 377 C TCP Status Transitions 379 D CIP Message Communications 381 E FINS Commands Addressed to EtherNet IP Units or Built in EtherNet IP Ports 391 F EDS File Management 419 G...

Page 11: ...tion 7 describes message communications using FINS messages and explicit messages Section 8 provides information on communicating on EtherNet IP Systems and interconnected net works using FINS command...

Page 12: ...f Applications Provides information on constructing host applications for 100Base TX Ethernet Units including functions for send ing receiving mail socket service automatic clock adjust ment FTP serve...

Page 13: ...es PLCs and W393 for CJ series PLCs W340 CS1G H CPU H CS1G H CPU V1 CJ1G H CPU H CJ1G CPU NSJ B G5D NSJ B M3D Programmable Con trollers Instructions Reference Manual Describes the ladder diagram progr...

Page 14: ...xiv...

Page 15: ...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 16: ...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 17: ...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 18: ...xviii...

Page 19: ...ort Software CX Programmer version 4 0 can be used to confirm the unit version using the Unit Manufacturing Information Note The unit versions of Pre Ver 1 0 Units cannot be confirmed in Unit Manufac...

Page 20: ...nual the unit version of a EtherNet IP Unit is given as shown in the following table Note Some Support Software products call the EtherNet IP Unit version the revi sion Revision is also sometimes used...

Page 21: ...rNet IP Units or built in EtherNet IP ports You must read this section and understand the information contained before attempting to set up or operate an EtherNet IP Unit or built in EtherNet IP port...

Page 22: ...ance characteristics 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 i...

Page 23: ...function As a countermeasure for all such errors external safety measures must be provided to ensure safety in the system Provide measures in the computer system and programming to ensure safety in t...

Page 24: ...precautions when using the EtherNet IP Unit or built in EtherNet IP port WARNING Always heed these precautions Failure to abide by the following precautions could lead to serious or possibly fatal inj...

Page 25: ...eir natural bending ra dius Do not pull on the communications cables Do not place heavy objects on top of the communications cables Always lay communications cable inside ducts Use appropriate communi...

Page 26: ...ing a CPU Bus Unit or Special I O Unit always verify that restart the Unit will not cause any problems in the system 6 Conformance to EC Directives 6 1 Applicable Directives EMC Directives Low Voltage...

Page 27: ...ications services 1 1 EtherNet IP Unit Features 2 1 2 Devices Required for Constructing a Network 4 1 3 Support Software Required to Construct a Network 4 1 4 Communications Services Overview 6 1 5 Ne...

Page 28: ...be set for each connection each application can communicate at its ideal refresh cycle For example a processes interlocks can be transferred at high speed while the production commands and the sta tu...

Page 29: ...cli ent 2 The DNS server is specified directly using its IP address Set Classless IP Address with CIDR A subnet mask can be set to use classless IP addresses allowing more flexi bility in address set...

Page 30: ...vided for each as described below Note Unlike the Ethernet Units the EtherNet IP Unit s TCP IP settings are not stored in the CPU Unit s CPU Bus Unit System Setup Area The settings are stored in the E...

Page 31: ...and deleted to enable constructing setting and managing networks that contain EtherNet IP devices from other companies The IP addresses of EtherNet IP devices can also be changed For details on the Ne...

Page 32: ...g and tag set specifications Personal computer running Windows CX Integrator Routing table settings EtherNet IP Unit or built in EtherNet IP port CS CJ series CPU Unit Routing Table Area Tags Tag sets...

Page 33: ...tion from the CS CJ series CPU Unit s user program without using a connection CIP messages CIP commands and responses can also be transferred to another CIP based network via the EtherNet IP Unit or b...

Page 34: ...ng of I O memory between PLCs mode changes and file memory operations can be executed from the host computer by sending the corresponding FINS command with a UDP IP or TCP IP header attached For examp...

Page 35: ...1 4 The FINS gateway function enables access to PLCs on not only the same Ethernet network but on various other networks including SYSMAC LINK and Controller Link Ethernet EtherNet IP IP FINS EtherNe...

Page 36: ...CXONE AL D V4 Network connection method CS1 CJ1 CJ2 Serial interface CPU Unit s Peripheral or RS 232C port CPU Unit s USB or RS 232C port Ethernet interface EtherNet IP Unit s Ethernet port CPU Unit...

Page 37: ...on EtherNet IP Unit CJ2 series CPU Unit s serial port USB or RS 232C Ethernet port on EtherNet IP Unit or built in EtherNet IP port The Network Configurator can be connected directly to the EtherNet I...

Page 38: ...12 Network Configurator Overview Section 1 5...

Page 39: ...4 2 1 2 Unit Specifications 14 2 1 3 Communications Specifications 17 2 1 4 Dimensions 19 2 1 5 Software Configuration 20 2 2 Nomenclature and Functions 21 2 2 1 Nomenclature and Functions 21 2 2 2 Sw...

Page 40: ...ber s words These words contain the IP address display setting area User set area Any usable data area words Target node PLC s operating and error information and registered normal target node informa...

Page 41: ...in the IP address display setting area User set area Any usable data area words Target node PLC s operating and error information and registered normal target node information CPU Bus Unit Sys tem Set...

Page 42: ...formation CPU Bus Unit Sys tem Setup Not used Non volatile memory for the CJ2 built in EtherNet IP port The following settings are stored in the non volatile memory for the built in EtherNet IP port N...

Page 43: ...imum data size per connection 252 words or 722 words See note 2 Note Data synchronicity is maintained within each connection 20 words Note Data synchronic ity is maintained within each con nection Num...

Page 44: ...nt version 2 unnecessary multicast packets can be filtered by using a switching hub that supports IGMP snooping 7 The EtherNet IP Unit uses the TCP UDP port numbers shown in the fol lowing table 8 Net...

Page 45: ...100BASE TX 10BASE T 0 EIP21 MS NS COMM 100M 10M IP ADDRESS SUBNET MASK 192 168 250 1 255 255 255 0 65 mm 31 mm UNIT No EIP21 90 mm NODE No x160 x161 0 1 2345 6 7 8 9 A B C D E F 0 1 2345 6 7 8 9 A B C...

Page 46: ...m 62 mm 2 7 mm 2 7 mm 90 mm 84 5 mm 75 mm FINS encapsulization FINS Cyclic Interface with CPU Unit Memory Card EM file memory FTP Automatic clock adjustment FINS FINS UDP IP ARP IGMP LAN controller dr...

Page 47: ...tor NODE NO 1 160 0 161 UNIT NO 100BASE TX 10BASE T 0 EIP21 MS NS COMM 100M 10M IP ADDRESS SUBNET MASK 192 168 250 1 255 255 255 0 Unit number setting switch Node address setting switches LED Indicato...

Page 48: ...herNet IP Units or Built in EtherNet IP Ports 2 An IP address label is included with the EtherNet IP Unit so the user can record the user set IP address and subnet mask on the label and affix the labe...

Page 49: ...indicators can be green or red The COMM 100M and 10M indicators are yellow These indicators can be lit flashing or not lit The fol lowing table shows the meaning of these indicator conditions Refer to...

Page 50: ...r Green Lit Normal Not lit Power supply OFF NS Network Status Red Lit Fatal error Flashing Recoverable error Green Lit Tag data link and message connections established Flashing Tag data link and mess...

Page 51: ...92 168 250 9 A d5 error verification error target nonexistent occurred with IP address 192 168 250 64 A C6 error multiple switches ON and EA error EtherNet IP expansion setting error occurred at the l...

Page 52: ...a area words are allocated to the Unit to contain data such as con trol bits flags status information and connection information Note The unit number is factory set to 0 The unit number can be set to...

Page 53: ...r Net IP Unit or built in EtherNet IP port Default IP address 192 168 250 node address With the factory default node address setting of 01 the default IP address is 192 168 250 1 The node address can...

Page 54: ...e Ethernet address to switch ports Switching hub functions and settings can be changed using special software tools for switch ing hubs running on a network node Analytical data can also be collected...

Page 55: ...UDP protocols are called transport layer protocols leading to the name L4 layer 4 QoS function When tag data links and message communications are executed on the same network tag data links can be se...

Page 56: ...nications We recommend using an L2 switching hub with multicast filtering and L4 QoS By setting tag data links for higher priority transmission it is possible to pre vent problems such as transmission...

Page 57: ...buffer overflow Settings must be made in the switching hub to enable this function and give higher priority to tag data link packets Special settings must be made in the switching hub when using the...

Page 58: ...32 Selecting the Network Devices Section 2 3...

Page 59: ...tions 41 3 4 2 Recommended Products 41 3 4 3 Precautions 41 3 4 4 Using Contact Outputs Common to All Units 43 3 5 Connecting to the Network 44 3 5 1 Ethernet Connectors 44 3 5 2 Connecting the Cable...

Page 60: ...ammer I O tables do not need to be created for the built in EtherNet IP port on the CJ2H CPU EIP or CJ2M CPU3 Refer to 3 6 Creating I O Tables 6 Set the IP address of the EtherNet IP Unit or built in...

Page 61: ...onform to Controller Link data link parameters Refer to 3 9 Tag Data Link Parameters or SECTION 6 Tag Data Link Functions 2 Using the Tag Data Link Setting Function in the Network Configurator to Set...

Page 62: ...ot set a number that has already been set for another node on the same network The left switch sets the sixteens digit most significant digit and the right switch sets the ones digit least significant...

Page 63: ...e on the same network The left switch sets the sixteens digit most significant digit and the right switch sets the ones digit least significant digit The node address is factory set to 01 Note Turn OF...

Page 64: ...pansion CPU Rack Connect the EtherNet IP Unit in any of the positions shown below using the sliders on the top and bottom of the Unit Up to seven EtherNet IP Units can be mounted for a CJ2H CPU EIP CP...

Page 65: ...ollowing procedure 1 2 3 1 Hook the claw on the top of the Unit onto the Backplane 2 Insert the Unit into Backplane connectors and securely tighten the screw at the bottom of the Unit Tighten the scre...

Page 66: ...for the I O lines to prevent noise from high tension lines or power lines Leave the label attached to the Unit when wiring Removing the label may result in malfunction if wire clippings or other fore...

Page 67: ...not affect communications For example install the tag data links in a segment that is separate from the information network Note The maximum current consumption of the CS1W EIP21 and CJ1W EIP21 Ether...

Page 68: ...ce specifications Switching Hub Connection Methods Connect two hubs to each other as follows Connect an MDI port to an MDI X port with a straight cable connect two MDI ports with a cross cable and con...

Page 69: ...ontact Output Units as far away from the EtherNet IP Unit or built in EtherNet IP port as possible Cable Location Separate the transceiver cable or twisted pair cable connecting the EtherNet IP Unit a...

Page 70: ...n Modular Connector conforming to ISO 8877 3 5 2 Connecting the Cable Caution Turn OFF the PLC s power supply before connecting or disconnecting twisted pair cable Caution Allow enough space for the b...

Page 71: ...itching hub Be sure to press in the cable until it locks into place 3 Connect the twisted pair cable to the connector on the EtherNet IP Unit Be sure to press the connectors both the switching hub sid...

Page 72: ...ming Devices can be used with CS CJ series PLCs Programming Console Note A Programming Console cannot be used with the CJ2H CPU EIP and CJ2M CPU3 CPU Units Use the CX Programmer CX Programmer For info...

Page 73: ...8 0 or higher Refer to the CX Programmer Operation Manual Cat No W446 for details on the operating procedures This section describes how to register the CJ1W EIP21 in the I O tables by creating the I...

Page 74: ...If the connection process is successful the system will be connected on line Here check the operating mode of the PLC If the operating mode is not PROGRAM mode change the mode by selecting PLC Operat...

Page 75: ...select Options Transfer from PLC from the menus Note Creating I O tables is not required if the built in EtherNet IP port of a CJ2 CPU Unit is used It is registered as a built in port Inner Board wit...

Page 76: ...nications are being used it is necessary to show the cor respondence between the IP addresses and FINS node addresses Refer to SECTION 5 Determining IP Addresses for an explanation of IP addresses as...

Page 77: ...Area is set and the other TCP IP Configuration settings are left at their default values Method 3 Setting the TCP IP Configuration from the Network Configurator This method can be used to set IP addr...

Page 78: ...ort are not stored in the CPU Unit s CPU Bus Unit Sys tem Setup Area 3 8 1 Setting Procedure with the CX Programmer 1 2 3 1 When the EtherNet IP Unit is registered in the I O tables of the CX Pro gram...

Page 79: ...s recognized the new TCP IP Configuration settings the IP address in this case Note 1 The EtherNet IP Unit or built in EtherNet IP port must restart in order to enable the parameter settings that are...

Page 80: ...to the IP address class is used The following table shows the various parameters in the Unit Setup when only the IP address and subnet mask are set and other settings are left at their default values...

Page 81: ...nications The following table shows the allowed settings for each switching hub communications mode Note Best Recommended OK Allowed Not allowed 3 8 2 Making TCP IP Settings with the Network Configura...

Page 82: ...e Device Button The IP address will be transferred to the device The applicable device is the device specified in the Target IP Address Box The device must be reset to enable the transferred setting I...

Page 83: ...us Unit Setup Area is not used for tag data link settings for an EtherNet IP Unit or built in EtherNet IP port This point is different from the operation of Ethernet Units Refer to SECTION 6 Tag Data...

Page 84: ...u can create a similar device configuration by connecting to the EtherNet IP network and selecting Network Upload from the menus Refer to 6 2 9 Connecting the Network Configurator to the Network for i...

Page 85: ...nk Wizard Dialog Box enter 50 words starting from memory address W000 for area 1 and 100 words starting from D00050 for area 2 and then press the OK Button 5 The data link settings will be automatical...

Page 86: ...gurator a mark will be added to each EtherNet IP Unit to show that data links have been set 7 Connect the Network Configurator to the EtherNet IP network and select Network Download from the menus The...

Page 87: ...ialog Box Setting Function FINS UDP FINS UDP Port Specifies the local UDP port number to use in the FINS communi cations service The UDP uses the UDP port number to distinguish the application layer F...

Page 88: ...ts from any IP address not set as the target IP address when the server client setting is set to a server and the target IP address is set to any value other than 0 0 0 0 This check box can be selecte...

Page 89: ...on Type is set to an IP address Host Name Sets the host name of the SNTP server to use for automatic time adjustment This IP address is valid only when the Server Specification Type is set to a host n...

Page 90: ...r Authentication Check 1 2 Specifies the SNMP managers that can access the PLC To restrict access to only specific SNMP managers specify the SNMP managers using IP addresses or host names Community na...

Page 91: ...he PING command then the nodes are physically connected correctly and Ethernet node settings are cor rect 3 11 2 EtherNet IP Unit or Built in EtherNet IP Port Operation The EtherNet IP Unit or built i...

Page 92: ...e PING command PING 130 25 36 8 56 data bytes 64 bytes from 130 25 36 8 icmp_seq 0 time 0 ms 64 bytes from 130 25 36 8 icmp_seq 0 time 0 ms 64 bytes from 130 25 36 8 icmp_seq 0 time 0 ms Press the Ctr...

Page 93: ...Allocations 70 4 2 1 Overview of the Allocated CIO Area Words 70 4 2 2 Details of the Allocated CIO Area Words 71 4 3 DM Area Allocations 83 4 3 1 Overview of the Allocated DM Area Words 83 4 3 2 Deta...

Page 94: ...ttings area Contains status information This area can be used only when the allo cated CIO Area words are set to user settings Note The EtherNet IP Unit or built in EtherNet IP port has the following...

Page 95: ...or information Unit status communications status registered normal target node and FINS TCP connection status Local memory Local memory Local memory Set in Network Configurator User Settings Area Allo...

Page 96: ...ault Settings Note The reserved words are regularly refreshed with all zeroes Unit control bits Reserved Target Node PLC Operating Information 4 words only Target Node PLC Error Information 4 words on...

Page 97: ...t EtherNet IP Unit CPU Unit EtherNet IP Unit CPU Unit EtherNet IP Unit CPU Unit EtherNet IP Unit CPU Unit EtherNet IP Unit CPU Unit Offset Bit Data direction n n 1 n 2 n 3 n 4 n 5 n 6 n 7 n 8 n 9 n 10...

Page 98: ...op Bit Do not force this bit ON or OFF until it is automatically turned OFF by the Unit Adjust Clock Bit Bit 5 Automatically adjust the time on the clock by switching this bit from OFF to ON The SNTP...

Page 99: ...t n 10 Bit Name Status Manipulated by Unit operation Target Node PLC Operat ing Flags ON Unit The corresponding PLC is operating The pro gram is being executed OFF Unit The PLC is not operating n 2 n...

Page 100: ...l non volatile memory device error OFF Unit Indicates that a non volatile memory error did not occur This flag is not cleared even if it occurs one time Flag remains ON 5 Communications Controller Err...

Page 101: ...nt area has been specified OFF Unit There was not an error in the layout settings 15 Not used Bit Name Status Manipulated by Unit operation Bit Name Status Manipulated by Unit operation 0 Online ON Un...

Page 102: ...FF if the node address set ting is the same as the setting when the power was turned ON 3 to 10 Not used 11 User Setting Area Enabled ON Unit Indicates that the user set tings area data is enabled ON...

Page 103: ...from the actual node information Main causes The specified target does not exist The variable name does not match The connection size is differ ent Connection resources are insufficient OFF Unit Indic...

Page 104: ...e Eth erNet IP Unit or built in EtherNet IP port tag data link status area allocations setting etc CJ2H CPU6 EIP or CJ2M CPU3 only OFF Unit OFF when a symbol name is not used in a setting for the Ethe...

Page 105: ...stablished with the switching hub OFF Unit OFF when the link with the switching hub is stopped 15 Not used n 13 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Link Status FTP Status Bit Name Status Manipulated...

Page 106: ...information is correct 7 to 8 Not used 9 Ethernet Expan sion Settings Error ON Unit One of the following parame ters is invalid FINS settings OFF Unit OFF when the parameters above are valid 10 BOOTP...

Page 107: ...gistered n 16 n 17 n 18 n 19 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32...

Page 108: ...a connection is established OFF Unit Turned OFF by the Unit when the connection is terminated 15 FINS TCP Connec tion 16 ON Unit Turned ON by the Unit when a connection is established OFF Unit Turned...

Page 109: ...ress will be used For details on the IP address settings refer to SECTION 5 Determining IP Addresses Note 1 If an IP address other than 00 00 00 00 is set as the local IP address in the TCP IP Configu...

Page 110: ...d 2 It is not possible to set the following IP addresses If any of these values are set the ERH indicator will flash IP addresses where all network number bits are 0 or 1 IP addresses where all host n...

Page 111: ...6 words Normal target node 16 words Target node PLC s operating information 16 words Target node PLC s error information 16 words Bit Name Status Manipulated by Unit operation Registered Target Node F...

Page 112: ...ns are established Revision 2 or higher Flags turn ON after all data for multiple connections for the target device is refreshed in the CPU Unit OFF Unit Indicates that all connections are not establi...

Page 113: ...170 169 168 167 166 165 164 163 162 161 160 43 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 44 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 45 223 222 221 220 219...

Page 114: ...System will automatically turn the flag OFF when ini tialization has been completed A402 A40203 CPU Bus Unit Set ting Error Flag Non fatal error Bit A40203 is turned ON when the CPU Bus Units actually...

Page 115: ...rresponding flag in A27 are turned ON Bits 00 to 15 correspond to unit numbers 0 to F The ERR ALM indicator on the front of the CPU Unit will flash but CPU operation will continue 0 No setting error 1...

Page 116: ...90 Auxiliary Area Data Section 4 5...

Page 117: ...Addresses in FINS Communications 94 5 2 1 Specifying Nodes in FINS Communications Services 94 5 2 2 Pairing Addresses in Internal Tables 96 5 2 3 Application Examples 102 5 2 4 Related Products and Co...

Page 118: ...ould be represented as 130 58 17 32 Note The same network number must be set for every node on the same Ethernet network 5 1 2 Allocating IP Addresses IP Internet Protocol is a standard communications...

Page 119: ...TCP IP and Link Settings 5 1 4 Subnet Masks Operation and management of a network can become very difficult if too many nodes are connected on a single network In such a case it can be help ful to con...

Page 120: ...twork Note Use the Node Address Setting Switches NODE NO on the front of the Eth erNet IP Unit or for the built in EtherNet IP port on the front of the CPU Unit to set the FINS node address Allocating...

Page 121: ...et ting in the EtherNet IP Unit or built in EtherNet IP port according to the follow ing equation If the setting does not conform to this equation a setting error will be generated and the MS Indicato...

Page 122: ...NS node number Remote IP address Example Connection Remote port number Example Internal table FINS data Application level Transport level Internet level Physical level FINS UDP TCP IP Ethernet Node nu...

Page 123: ...stered to the internal table Remote IP address IP address registered to IP address table Remote UDP port number UDP port number set for local Unit Connection method FINS UDP FINS Node Address Not Regi...

Page 124: ...e Remote IP address Local IP address network number FINS node address Remote UDP port number UDP port number set for local Unit Connection method FINS UDP With the combined method records of FINS node...

Page 125: ...cifications can be made compatible with the CS1W ETN11 CJ1W ETN11 for all methods automatic generation dynamic I O address table or combined Dynamic changes however are prohibited for the destination...

Page 126: ...g FINS node addresses with IP addresses as with FINS UDP On the other hand it is necessary to set the remote IP address for each connection in the FINS TCP Tab Page of the Net work Configurator s Edit...

Page 127: ...erver 2 Set IP addresses for the devices to be connected If the option for protection of IP addresses is selected set the IP addresses for clients where connections are permitted This step can be omit...

Page 128: ...hod With FINS TCP FINS node addresses and IP addresses in the internal table are changed with each connection that is established Therefore even when a FINS command has been received from a personal c...

Page 129: ...re sent from individual appli cations to the EtherNet IP Unit or built in EtherNet IP port the respective remote IP addresses and remote port numbers in the internal table are dynamically changed FINS...

Page 130: ...21 Yes 10BASE T CJ1W ETN11 Yes Simply called auto matic generation method CV CVM1 series Ethernet Unit 10BASE 5 CV500 ETN01 FinsGateway Version 4 xx or lower Version 2003 or higher Yes Programmable Te...

Page 131: ...ot possible with personal computers set automati cally by DHCP Open Network Controller ONC Communi cations method Method of pairing of IP addresses and FINS node addresses IP address determination Cli...

Page 132: ...routers interfacing with the Internet All other nodes in the intranet including the EtherNet IP Unit or built in EtherNet IP port are allocated private addresses Communications Services That Require G...

Page 133: ...communications are also not possible over the Inter net between EtherNet IP Units and or built in EtherNet IP ports with private addresses Either FINS TCP or FINS UDP can be used for the FINS communi...

Page 134: ...ly A device such as a personal computer CIP applications including the Network Configurator cannot connect online and communicate over the Internet with an EtherNet IP Unit or built in EtherNet IP por...

Page 135: ...ess conversion method of the EtherNet IP Unit or built in EtherNet IP port The TCP port number to be used for FINS TCP cannot be used if prohib ited by a firewall in the communications path Explicit M...

Page 136: ...EtherNet IP port involves network security considerations It is recommended that the user contract with a communications company for a dedicated line rather than using a general line such as a broadb...

Page 137: ...nk Tool 150 6 2 7 Creating Connections Using the Wizard 156 6 2 8 Creating Connections by Device Dragging and Dropping 159 6 2 9 Connecting the Network Configurator to the Network 161 6 2 10 Downloadi...

Page 138: ...on is set in the EtherNet IP Unit or built in EtherNet IP port that is the orig inator If an I O device is used the Network Configurator must have an EDS file installed that includes connection inform...

Page 139: ...ut tags can be defined to clear output data to 0 or to hold the output data when PLC outputs are turned OFF Setting Tag Sets Create output tag sets and input tag sets and position them Up to eight tag...

Page 140: ...of packets as the number of input tag sets Therefore using multicast connections can decrease the communications load if one output tag set is sent to multiple nodes Example of Calculating the Number...

Page 141: ...be performed for the originator Software switches in allocated words can also be used to start and stop tag data links for the entire network Refer to 6 2 13 Starting and Stopping Tag Data Links for...

Page 142: ...her tag set A tag set name must be set for each tag set Note A connection is used to exchange data as a unit within which data concur rency is maintained Thus data concurrency is maintained for all th...

Page 143: ...set can contain up to 8 tags totaling 20 words for the CJ2M or 722 words for other CPU Units Tag ii Tag i PLC status EtherNet IP Connection Tag Set Input Tags Tag set name SP1_IN PLC status Tag a Tag...

Page 144: ...b and c EtherNet IP I O memory CPU Unit a b c d e I O memory CPU Unit f g h i j Tag set SP1_OUT Tag set SP2_OUT group of tags d e Tag set SP2_IN Connection One tag each Each tag is set using a text st...

Page 145: ...dresses of the target nodes In this case it is necessary to change the target ID with the Network Configurator For information on how to change the device number refer to step 4 under Registering Devi...

Page 146: ...lag Infor mation Layout set to default settings Words n 6 to n 9 Layout set to user settings Words n 48 to n 63 Note Corresponds to the PLC sta tus s PLC Error Flag Each flag indicates the error statu...

Page 147: ...ows Start Menu To start the Network configurator select OMRON CX One Network Con figurator for EtherNet IP Network Configurator from the Windows Start Menu Starting from the IO Table Dialog Box in CX...

Page 148: ...ayed Main Window The Main Window consists of a Hardware List and a Network Configuration Window as shown in the following diagram Hardware List Displays the devices that can be added to the network Ne...

Page 149: ...etworks are being managed a new Network Configura tion Window can be added by selecting Network Add To change the name displayed in the Network Tab Page select Network Property The name set in the Com...

Page 150: ...er as for Controller Link The following functions can be used with Network Configurator version 3 10 or higher 3 Creating Connections Using the Wizard Refer to 6 2 7 Creating Connections Using the Wiz...

Page 151: ...e the revision with the highest number The following table shows the relation between the CIP revision and the unit version 2 When mounting the CJ1W EIP21 to a CJ2 CPU Unit select CJ1W EIP21 CJ2 from...

Page 152: ...urator s device parameter edit ing function 1 Creating Tags and Tag Sets Using the Network Configurator s Device Pa rameter Editing Function Next the following two procedures which can be used to effe...

Page 153: ...127 Setting Tag Data Links Section 6 2 2 Click the Tag Sets Tab at the top of the Edit Device Parameters Dialog Box There are two kinds of tag sets input consume and output produce...

Page 154: ...5 In the Name Field enter the character string for the CPU Unit s I O memory address or a network symbol e g 100 W100 D0 Input_signal Addresses in the following I O memory areas can be set Note a The...

Page 155: ...e the dialog box for input tags except for the Over Load setting The Over Load setting determines whether outputs are cleared or continue their previous status when outputs are turned OFF with the PLC...

Page 156: ...ther the registered tag names will registered without changes as tag sets A tag set can contain up to 8 tags but tag sets will be registered with one tag per tag set if the tags are registered as tag...

Page 157: ...splayed when the tags in the Edit Tags Dialog Box are registered directly as tag sets 12 If an input tag has already been registered in an input tag set and you want to change its registration to a di...

Page 158: ...other tags registered in that tag set it is possible to delete just one tag by selecting the tag that you want to delete in the Edit Tag Set Dialog Box and clicking the Button At this point a confirm...

Page 159: ...t on the right side of the dialog box shows the other tags that have not been registered yet To add a tag select it in the Candidate Tag List and click the Button 14 When the PLC status is being inclu...

Page 160: ...ed 19 When you are finished registering the required tags click the OK Button at the bottom of the Edit Tags Dialog Box 20 At this point a confirmation dialog box will be displayed to check whether th...

Page 161: ...right side of the dialog box shows the other tags that have not been registered yet 22 Select the tags that you want to add from the Candidate Tag List and click the Button Up to 8 tags can be registe...

Page 162: ...formed from the Edit Device Parameters Dialog Box Importing Symbols to the Network Configurator 1 2 3 1 Start the CX Programmer and open the project that was saved Note When multiple copies of the CX...

Page 163: ...l be displayed Click the Yes Button The symbols will be imported as shown below on the Tag Sets Tab Page Each symbol will be imported into a different tag set and the device param eters will be automa...

Page 164: ...elete Button A confirmation message will be displayed Click the No Button to delete only the tag sets To create a new tag set for more than one tag click the New Button To place more than one tag in a...

Page 165: ...figurator to the CX Programmer If the CJ2H CPU6 EIP or CJ2M CPU3 is used you can specify network symbols for tags using the Network Configurator The procedure to import net work symbols that were crea...

Page 166: ...etwork Variable from the pop up menu 2 You can add a tag as a network symbol by selecting and executing the CSV file exported using the Network Configurator Note The following precautions apply when i...

Page 167: ...ings are not necessary in the target device Note Make the Connections settings after creating tag sets for all of the devices involved in tag data links Connection Settings Connections Tab Registering...

Page 168: ...iginator node PLC of the Target Node PLC Operating Flag Target Node PLC Error Flag Reg istered Target Node Flag and Normal Target Node Flag By default the target ID is automatically set to the rightmo...

Page 169: ...on Tab and then click the New Button The following Edit Connection Dialog Box will be displayed according to the type of device that is selected Using an OMRON EtherNet IP Unit or Built in EtherNet IP...

Page 170: ...lticast Multicast connection Select this type when the same data is shared by multiple nodes This setting is usually used Point to Point connection Select this type when the same data is not shared by...

Page 171: ...arget s input consume tag set Originator Vari able Selects and allocates the originator node s tag set In Selects the originator s output produce tag set Out Selects the originator s input consume tag...

Page 172: ...diagram will be displayed 3 Repeat the Connections setting procedure until all of the connections have been set Note After completing the settings always click the OK Button before closing the Edit D...

Page 173: ...et Names The following connections would automatically be set if there is an output tag set named A_Signal at node A and input tag sets named A_Signal at nodes B and C Output tag set names Except for...

Page 174: ...kward el lipses 2 Select Auto Connection from the Network Menu The connections will be set automatically A dialog box will appear to set forward and backward ellipses for both out put product and inpu...

Page 175: ...will be displayed when processing has been completed 5 Use the device connection structure tree as required to change the RPI and timeout settings Device Connection Structure Tree Connection settings...

Page 176: ...this dialog box 6 2 6 Setting Tags Using Data Link Tool Using the EtherNet IP Datalink Tool enables easily setting data links similar to those for the Controller Link by using only I O memory addresse...

Page 177: ...n selected for one row IN will automatically be selected for other rows A asterisk will be displayed if the Over Load function is disabled See note Note The Over Load function is used to clear output...

Page 178: ...Variable The target tag set name For an input tag this is the name of the target set that provides the output For an output tag will be entered automatically RPI ms The requested packet interval for...

Page 179: ...the memory area here D in the Memory Field and enter the start ing address here 50 and number of words here 100 in the Start Ad dress and Size Fields for Area 2 4 Select the Enable Over Load Check Box...

Page 180: ...table is continued the data link table will be cre ated with the same size of data link for all registered nodes Examples are shown below Automatic Allocation Results for Node 1 IP Address 192 168 25...

Page 181: ...able and the re sults will be displayed a Table Inconsistencies The following Check Result Dialog Box will be displayed Correct the data link table according to the displayed information To save the c...

Page 182: ...e Wizard can be used only with the following OMRON EtherNet IP devices Use the following procedure to create connections i e data links with the Wizard 1 2 3 1 Set tags and tag sets for all devices be...

Page 183: ...ngs of the icons and check marks displayed in the tag set list Note Tag sets that are used in connections that are already set are not displayed Icon Display position Status All All output tag sets fo...

Page 184: ...area in the Input Tag Set Column is the connection that you are creating The rows in which there are input tag sets are connections that are already set To prevent duplicate settings input tag sets t...

Page 185: ...ng Tags and Tag Sets for information on creating the settings if the target is one of the OMRON EtherNet IP devices giv en above b If the target is another EtherNet IP device refer to the manual of th...

Page 186: ...et device Items that can be selected will depend on the connection I O type that is selected Select the output input or both output and input tag sets at the target and specify the corresponding input...

Page 187: ...igurator to the Network This section explains how to connect the Network Configurator to the network Connecting through Ethernet Note The Windows firewall settings must be changed when making this con...

Page 188: ...blue in the Network Tab Page in which the Network Configurator is connected The connecting network can be switched by selecting Network Change Connect Network Connecting through the CPU Unit s Periph...

Page 189: ...ick the OK Button The Network Configurator will be connected to the EtherNet IP network If the Network Configurator is con nected online properly On line will be displayed in the status bar at the bot...

Page 190: ...baud rate at the default setting The following dialog box will be displayed 5 Select the Backplane Icon and click the Refresh Button The CPU Unit CPU Bus Units and Special I O Units connected in the...

Page 191: ...time using Windows XP SP2 or higher Vista or Windows 7 Refer to Appendix G Precautions for Using Windows XP Vista or Win dows 7 Using EtherNet IP with Windows XP Vista or Windows 7 for in formation o...

Page 192: ...gs The registration information details are as follows a Registration name Enter any name b Host PC information Enter information for the computer that has the Network Configurator installed Network a...

Page 193: ...l be displayed again Check the registered information that has been en tered and then click the OK Button 5 The following dialog box will be displayed Select TCP 2 which represents the EtherNet IP por...

Page 194: ...confirm that the network symbols have been set in the CPU Unit On the Connection and Tag Status Tab Pages described in 14 1 1 The Network Configurator s Device Monitor Function check whether the netwo...

Page 195: ...es press and hold the Shift Key while selecting addi tional icons In the following example 2 nodes are selected 192 168 250 1 and 192 168 250 2 After selecting the icons click the right mouse button o...

Page 196: ...tton can be clicked to download load the parameters even when one or more CPU Units is in RUN or MON ITOR mode Display When Even One EtherNet IP Unit Is Revision 1 When the Download after changed to P...

Page 197: ...1 2 3 1 Connect the Network Configurator to the network 2 There are two ways to upload the parameters Uploading from All Devices in the Network Select Network Upload The following dialog box will be d...

Page 198: ...log box will be displayed Click the Yes Button or No Button During the upload the following progress monitor will be displayed to show the progress of the upload 3 The following dialog box will be dis...

Page 199: ...tion cannot be used to verify device parameters 1 2 3 1 Connect the Network Configurator to the network 2 The following progress monitor will be displayed to show the progress as data is read from the...

Page 200: ...1 Connect the Network Configurator to the network 2 Click the icon of the EtherNet IP Unit that is to be verified To select multiple nodes hold down the Shift Key while clicking the icons In the foll...

Page 201: ...ork Configurator They will also start automatically when the power to the PLC is turned ON or the CPU Unit is restarted Starting and Stopping All Tag Data Links on the Network Using the Network Config...

Page 202: ...meters The device parameters saved in the EtherNet IP Units in the EtherNet IP net work can be cleared returned to their default settings The following proce dure shows how to clear the device paramet...

Page 203: ...cling power Returns the Unit to its factory default settings and restarts the Unit Clicking the No Button The device parameters are not cleared or reset 6 2 15 Saving the Network Configuration File De...

Page 204: ...rwritten by selecting File Save or clicking the Button 4 You can select the Select target network Check Box in the Option Area to save a network configuration file with only the required networks Sele...

Page 205: ...that you want to read is not displayed change to Look in another folder 2 When you click and select the network configuration file that you want to read that file name will be displayed in the File n...

Page 206: ...the Network Menu The following dialog box will be displayed if parameters are normal The following dialog box will be displayed if there are parameter errors Check the displayed details and review the...

Page 207: ...from the View Menu Icon When normal Device after change CJ1W EIP21 CS1W EIP21 CJ1W EIP21 CS1W EIP21 CJ1W EIP CJ2 CJ2B EIP21 CJ2M EIP21 Device before change Revi sion 1 01 1 01 2 01 2 01 2 01 2 01 2 0...

Page 208: ...figuration turquoise edge green Idle CPU Unit of PLC is in PROGRAM mode blue Communications normal CPU Unit of PLC is in RUN or MONI TOR mode yellow Warning A non fatal error has occurred in the CPU U...

Page 209: ...on 2 or higher the Normal Target Node Flag will turn ON only after the data for all connections for the target device has been refreshed in the CPU Unit With revision 1 the Normal Target Node Flag wil...

Page 210: ...Operating Flag 1 n 2 bit 01 PLC Error Flag 1 n 6 bit 01 Node 1 Data Link Normal Operation Flag Normal Target Node Flag 2 n 20 bit 02 PLC Operating Flag 2 n 2 bit 02 PLC Error Flag 2 n 6 bit 02 Node 2...

Page 211: ...Tag Data Link Operating n 11 bit 01 Unit Error Occurred n 10 bit 00 Unit Error Occurred n 10 bit 00 10000 Local node Error output Release Flag Local node Error output DIFD 10000 DIFU 10000 The parts o...

Page 212: ...a in this table is refreshed when neces sary Target Node PLC Error Flag Infor mation Layout set to default settings Words n 6 to n 9 Layout set to user settings Words n 48 to n 63 Note Corresponds to...

Page 213: ...mmunications using FINS messages and explicit messages 7 1 Overview 188 7 2 FINS Message Communications 190 7 3 Explicit Message Communications 192 7 4 Message Communications Specifications 193 7 5 Me...

Page 214: ...hernet inter face OMRON PLCs with a CS CJ series EtherNet IP Unit built in EtherNet IP port or Ethernet Unit Computer with an Ethernet inter face Another company s masters or slaves OMRON PLCs with a...

Page 215: ...ble even if the I O link function is disabled CPU Unit CMND 490 instruction CMND 490 instruction 2810 Hex FINS message FINS Explicit message FINS message function Explicit message function FINS messag...

Page 216: ...works such as Controller Link and SYSMAC LINK Up to eight levels of networks can be crossed provided that routing tables containing local network tables and relay network tables have been registered i...

Page 217: ...t and commands addressed to the CS CJ series EtherNet IP Unit Up to 8 network levels including the EtherNet IP network can be crossed Controller Link Unit Controller Link Unit CS CJ series EtherNet IP...

Page 218: ...he CPU Unit to which the EtherNet IP Unit is mounted Explicit message Sending Receiving Network communi cations instruction CIP UCMM messages can be sent to an EtherNet IP Unit or built in EtherNet IP...

Page 219: ...mmunications Transmission data length not includ ing the command code FINS message com munications SEND 990 words 1 980 bytes max normally or 727 words 1 454 bytes max when broadcasting RECV 990 words...

Page 220: ...nd date that the error occurred are also recorded together The error log can be read or cleared from the CPU Unit by sending an FINS command to the EtherNet IP Unit Error Log Read Clear The contents o...

Page 221: ...CPU error Not lit H7 0006 Too many retries cannot send No change No change No change 0103 Node address setting error cannot send 0105 Remote node not part of network cannot send 0107 No Unit with spe...

Page 222: ...196 Message Communications Errors Section 7 6...

Page 223: ...se instructions 8 1 Overview of FINS Communications 198 8 1 1 Communications On an Ethernet Network 198 8 1 2 Using the FINS UDP and FINS TCP Methods 199 8 1 3 FINS Communications Service Specificatio...

Page 224: ...ommunications service Another number can be set for the FINS UDP port from the Setup Tab Page in the Unit Setup For details on pairing FINS node addresses with IP addresses and UDP TCP port numbers re...

Page 225: ...ged Protection No Yes Specification of client IP addresses when Unit is used as a server Other Items set for each UDP port Broadcast IP Address Conversion Items set for each connection Server client s...

Page 226: ...ork with multiple layers such as the Internet communications reliability drops FINS UDP Frame Format The following diagram shows the structure of a UDP packet used for sending and receiving data on an...

Page 227: ...following in the CPU Bus Unit Setup Area from the FINS UDP Tab Page of the Edit Parameters Dialog Box IP Address Conversion FINS UDP Port No Default 9600 IP Address List Set only when the conversion m...

Page 228: ...ther as the server Compared to the FINS UDP method the FINS TCP method has the following characteristics Data transmission is more reliable due to factors such as retry process ing at the TCP IP layer...

Page 229: ...igher the appro priate frames are separated out automatically so there is normally no need to be pay attention to it at the application layer TCP Port Number for FINS TCP The TCP port number is the nu...

Page 230: ...blished This makes it possible to determine the FINS node addresses to which the 16 connection numbers and to manage them in an internal table After a connection has been established as a FINS TCP ser...

Page 231: ...alog Box FINS TCP port default 9600 Server Client Specifies whether the connection will operate in FINS TCP server mode or client mode Target IP address for client Specifies the IP address of the targ...

Page 232: ...PLC and the nodes are connected as one network 2 If EtherNet IP is selected for CX Programmer communications FINS message communications and remote programming monitoring from the CX Programmer will...

Page 233: ...tables A local network table and a relay network table Local Network Table The local network table is a table describing the correspondences among unit numbers of the Communications Units and Boards...

Page 234: ...re ated can be read and enabled Before transferring the routing tables con firm that there will be no problems in the system when the CPU Bus Units are reset 2 To transfer routing tables for multiple...

Page 235: ...ork B becomes the relay network and node c becomes the relay node If network C is taken as the end network then network B still becomes the relay network and node e becomes the relay node A B a b No 1...

Page 236: ...0 015 020 02 030 07 PLC 1 Routing Table Local network table Relay network table Local network CPU Bus Unit No End network Relay network Relay node PLC 2 Routing Table PLC 3 Routing Table PLC 4 Routing...

Page 237: ...Integrator Ethernet or EtherNet IP Network address None Ethernet port Target PLC1 EtherNet IP Unit IP address 192 168 250 1 FINS UDP method Node number 1 IP address conversion Automatic generation me...

Page 238: ...8 5 Example Inputs to the CX Programmer s Setup Window Example Change PLC Settings Example Network Settings Network Tab Page Note When FinsGateway is selected as the network type make sure that the fr...

Page 239: ...dress 1 Network number 2 Node address 3 Frame length 2 000 bytes Response monitor time 2 seconds CX Programmer CX Integrator Ethernet port Node address 1 IP address 192 168 250 1 Ethernet or EtherNet...

Page 240: ...e Controller Link Unit on relay network number 2 2 Save the routing table file File Save local routing table file 3 Next to connect online select Communication Settings from the Net work Menu For each...

Page 241: ...Methods 1 Starting FinsGateway Settings Select FinsGateway FinsGateway Setup to start the FinsGateway Setup 2 ETN_UNIT Driver Setup 1 Double click on ETN_UNIT in the settings for the network and Unit...

Page 242: ...or Passive UDP port number Set the local UDP port number for the personal com puter Ethernet port The default is 9600 Priority Network Card If multiple Network Cards are mounted at the personal compu...

Page 243: ...es Tab Page IP Address Table Method or Combined Method Click the Add Button and then set the IP address table in the following Ether net Node Definition Dialog Box Node address Set the remote FINS nod...

Page 244: ...ect ETN_UNIT from Services under the Basic Tab in the FinsGateway Setup Window and then click the Start Button Node address Set the remote FINS node address IP address Set the remote IP address Destin...

Page 245: ...Dialog Box CX Programmer CX Integrator Ethernet or EtherNet IP Network number none Ethernet port Target PLC1 EtherNet IP Unit Node number 1 IP address 192 168 250 1 FinsGateWay Version 2003 IP addres...

Page 246: ...and SYSMAC BUS 2 Remote I O Systems 2 When broadcasting do not require a response Use the FINS UDP method for broadcasting Item Specifications Destination 1 1 SEND 090 RECV 098 CMND 490 instructions...

Page 247: ...25 banks in the EM Area can be used for a CJ2H CPU Unit A maximum of 4 banks in the EM Area can be used for a CJ2M CPU Unit For details regarding the EM Area refer to the operation manual for the PLC...

Page 248: ...essing is executed automatically by specifying the number of retries so specify a number other than 0 S 15 0 n D 15 0 Local node Number of words n Destination node number N SEND 90 S D C C 1 0 0 C 15...

Page 249: ...ly by specifying the num ber of retries so specify a number other than 0 D m 15 0 15 0 S Local node Number of words m Remote node number N C 1 0 0 C 3 0 0 C 4 C 15 11 8 7 0 C 2 15 11 8 7 0 15 10 8 7 3...

Page 250: ...2 Local node Destination node number N Command Response Interpretation Execution Com mand data n bytes Re sponse data m bytes CMND 490 S D C C 1 C 15 0 15 0 C 3 15 8 7 0 C 2 0 0 15 11 8 7 0 C 4 0 0 C...

Page 251: ...METER AREA FILL CLEAR Writes the same data to the specified range of parameter area words Program area access 03 06 PROGRAM AREA READ Reads the UM User Memory area 03 07 PROGRAM AREA WRITE Writes to t...

Page 252: ...r file memory in the same sys tem 22 08 FILE NAME CHANGE Changes a file name 22 0A MEMORY AREA FILE TRANSFER Transfers or compares data between the I O memory area and the file memory 22 0B PARAMETER...

Page 253: ...control data created with MOV and XFER Creates operand and control data in a given area Communications Port Enabled Flag DIFU 013 B Executes communications instructions Communications Port Error Flag...

Page 254: ...t i e 2 000 bytes for the EtherNet IP Unit or built in Eth erNet IP port When the actual number of response bytes is greater than the number of reception bytes that has been set The response is not st...

Page 255: ...ed Flag Communications instruction SEND 090 RECV 098 CMND 490 Communications Port Error Flag Communications Port Completion Code Instruction 1 being executed Instruction 2 being executed Instruction 3...

Page 256: ...ions port No used 7 Number of retries 5 Response monitor time 10 s Send Data Creation Ten words of data from word CIO 0000 is stored from D00010 onwards Ten words of data from D00010 at the local node...

Page 257: ...6 Source network number 3 Source node number 32 Source unit address 0 Response required Communications port No used 7 Number of retries 5 Response monitor time Default A total of 16 words of data begi...

Page 258: ...command If a timeout is set at the remote node for 2 seconds or less then a timeout will be generated A retry will begin due to the timeout and the traffic to the EtherNet IP Unit or built in EtherNe...

Page 259: ...message communications using FINS commands sent from the ladder program in the CPU Unit of the PLC 9 1 Sending Explicit Messages 234 9 1 1 Sending Explicit Messages Using CMND 490 243 9 2 Receiving E...

Page 260: ...ion other company s EtherNet IP node Specify the node address of the actual destination in the command data of the explicit message send command There are two ways to send an explicit message send com...

Page 261: ...form retry processing when sending explicit mes sages PLC s CPU Unit Explicit message Other company s EtherNet IP node Destination node address Local node address 05 Node 05 Destination unit address F...

Page 262: ...Command code Transport ID Message monitoring time 02 20 06 24 01 Service code Unconnected Send service 52 Hex Request path size 2 words 02 Hex Class ID Connection Manager 06 Hex 8 bit class ID 20 Hex...

Page 263: ...t IP port extracts the CIP explicit message from this command until a response is received The moni toring time can be set between 0 01 and 655 35 s Service code command response In the command this c...

Page 264: ...me Out Ticks at the end of Appendix D CIP Message Communications Time Out Ticks command Specifies the base value of the timeout time For details refer to the descrip tion of the Priority Time Ticks an...

Page 265: ...t service processing In CIP routing the node Unit performing the routing subtracts the timeout time for 1 hop deletes its own address from the routing information and relays the message to the next no...

Page 266: ...240 Sending Explicit Messages Section 9 1 Ann Arbor Michigan 48108 5006 USA TEL 1 734 975 8840 FAX 1 734 922 0027 Email odva odva org WEB www odva org...

Page 267: ...e explicit message The node address of the local EtherNet IP Unit or built in EtherNet IP port is specified in the control data for the CMND 490 but the node address of the actual destination is speci...

Page 268: ...n of a EXPLICIT MESSAGE SEND command s control data is the local node s EtherNet IP Unit or built in EtherNet IP port and the actual destination node is specified in the command s route path Always sp...

Page 269: ...inuing with words with higher addresses in I O memory in the command block format Command Format Example Get_Attribute_All Service to Identity Object Routing service data Transport ID 8 bit instance I...

Page 270: ...ing time Service code 52 hex Request path size 02 hex 8 bit class ID 20 hex Class ID 06 hex Connection Manager 8 bit instance ID 24 hex request path Instance ID 01 hex Priority Time Tick 0A hex Time O...

Page 271: ...path size 2 words D01004 2006 hex Request path 20 06 24 01 hex Connection Manager Class ID 06 hex D01005 2401 hex Instance ID 01 hex Words S 6 to S 19 contain the request data D01006 0A0C hex Priorit...

Page 272: ...s FE hex or 10 hex D00004 0000 hex Response communications port 0 no retries D00005 00A0 hex Response monitoring time 16 0 s Response D02000 2801 hex Command code D02001 0000 hex FINS completion code...

Page 273: ...0003 MOV 0000 D00004 MOV 00A0 D00005 MOV 2810 D1000 MOV 0000 D1001 MOV 5202 D1003 MOV 2006 D1004 MOV 2401 D1005 MOV 0A0C D1006 MOV 0600 D1007 MOV 0102 D1008 MOV 2001 D1009 MOV 2401 D1010 MOV 0800 D101...

Page 274: ...IP nodes made by other manufacturers OMRON PLCs with a CS CJ series EtherNet IP Unit or a CPU Unit with a built in EtherNet IP port Messages from CS CJ series EtherNet IP Units and built in EtherNet I...

Page 275: ...Unit Attribute ID 66 Hex Reads CPU Unit model CPU Unit Write 10 Hex Attribute ID 64 Hex Attribute Value Changes the operating mode of the CPU Unit Attribute ID 65 Hex Attribute Value Clears errors CPU...

Page 276: ...te Data Read 1C Hex C4 Hex 2F Hex See note Specifies area 01 Hex to 14 Hex Address No of read bytes Reads the specified node data in byte units The word data is read in order from high to low bytes Re...

Page 277: ...wing table CPU Operating Mode when Attribute ID 64 Hex Reads the CPU Unit operating mode CPU Unit Errors when Attribute ID 65 Hex Reads if there are any fatal or non fatal errors in the CPU Unit CPU U...

Page 278: ...s Command Block Note A body format of either 8 bits or 16 bits is possible Response Block Parameters Service code command response 10 Hex is specified for commands For responses the highest bit will t...

Page 279: ...the codes as data for operand S of CMND 490 For example to specify battery error 00F7 Hex specify the error code as F7 Hex followed by 00 Hex as shown in the following diagram Error code Hex Data clea...

Page 280: ...ID command Always 00 Hex Read data response The read data is given in the following table The data is returned after the service code in the order shown in the table high to low Operation status Retur...

Page 281: ...not being executed 1 Operating User program is being executed CPU status 0 Normal 1 CPU standby waiting for SYSMAC Bus Remote I O or other event Battery status CS1H CJ1 H CJ1M and CS1D only 0 No batt...

Page 282: ...ons the code is returned in ASCII with 20 Hex space in 16 bytes Byte Data Read Service Code 1C Hex Byte Data Read reads any I O memory area data in a CPU Unit The read word data is in byte units The r...

Page 283: ...t that returned the response is returned in hexadecimal Read data response The specified area word and byte data is returned in order from word H high byte bits 8 to 15 to word L low byte bits 0 to 7...

Page 284: ...ds of read data is speci fied in 1 byte 2 digit hexadecimal The range is 01 to 64 Hex 1 to 100 deci mal Read data response The specified area word and byte data is returned in order from word L low by...

Page 285: ...response The specified area and write data is returned in order from word H higher byte bits 8 to 15 to word L lower byte bits 0 to 7 For byte data write specify an even number Important Points The a...

Page 286: ...adecimal Address H The higher 2 digits when the first word address is displayed in 4 digit hexadecimal Write data response The specified area and write data is returned in order from word L lower byte...

Page 287: ...Links 269 10 2 2 Tag Data Link Bandwidth Usage and RPI 270 10 2 3 Adjusting Device Bandwidth Usage 271 10 2 4 Changing the RPI 272 10 2 5 RPI Setting Examples 276 10 3 I O Response Time in Tag Data Li...

Page 288: ...cket interval 100 ms The heartbeat frame transmission period is 100 ms Packet interval 100 ms The heartbeat frame transmission period is the same as the RPI Example In this example 2 tag data link con...

Page 289: ...de 2 has originator connections only with receive RPI of 200 ms 2 ms and 5 ms Node 3 has target connections only with send RPI of 5 ms and 1 ms Each node s total PPS is calculated as follows Total PPS...

Page 290: ...is three connections Node 3 opens one connection as the target with node 1 and one connection as the target with node 2 Therefore the total is two connections In either case the con nections can be op...

Page 291: ...sing delay is the delay that occurs within the EtherNet IP Unit or built in EtherNet IP port when data packets are sent once each packet interval This delay varies with the RPI error shown in the foll...

Page 292: ...200 words If the number of con nections is n the maximum delay can be calculated with the following equation Maximum reception processing delay 1 n 0 043 ms The size of the connections may cause a del...

Page 293: ...267 Communications System Section 10 1 PLC 1 PLC 2 PLC 3 PLC 17 17 3 2 200 words 200 words 200 words 16 5 ms 5 ms 200 words 5 ms...

Page 294: ...the required tag data link performance cannot be achieved with the switching hub s capabilities reevaluate the overall network configuration and correct it by taking steps such as selecting a differen...

Page 295: ...device icon The model number of the device is displayed by default Usage of Capacity The percentage of the allowable communications bandwidth used for tag data links for the device is displayed Bandwi...

Page 296: ...ng the Total Maximum Network Bandwidth The Network Configurator displays the total maximum bandwidth that can be used for the entire network as the Network Total of Max Mbit s This value indicates the...

Page 297: ...media converter had been exceeded as the result of how the network was wired e g switch hub or cascade connection causing a tag data link to operate abnor mally Check the bandwidth of the transmission...

Page 298: ...a sures are not possible change the connection settings e g the RPI set tings and adjust the bandwidth for all cascade connections until the total network bandwidth is not exceeded 10 2 4 Changing the...

Page 299: ...ging the associated devic es RPI settings The RPI settings can be changed with the following three methods Method 1 Same Packet Interval Set for all Connections The usage of capacity can be adjusted b...

Page 300: ...Interval RPI Button at the bottom of the Usage of Device Bandwidth Dialog Box b The Set Packet Interval RPI Dialog Box will be displayed In the Tar get Device Area deselect the target devices that ar...

Page 301: ...k the device that is set as the originator of the desired con nection The Edit Device Parameters Dialog Box will be displayed c In the Register Device List select the connection for which you want to...

Page 302: ...etail Button in the Usage of Device Bandwidth Area at the bottom of the Network Configura tion Window and check bandwidth usage according to the instructions in 10 2 1 Checking Bandwidth Usage for Tag...

Page 303: ...168 250 1 to 192 168 250 20 Checking the Device Bandwidth Usage When the Detail Button is clicked in the Usage of Device Bandwidth Area it is apparent that the percentage of the allowed tag data link...

Page 304: ...used Usage of Capacity was 39 67 with the RPI set to 10 0 ms for all of the connections so the RPI will be set to 5 0 ms with a target of 80 or less of the allowable bandwidth Click the Set Packet In...

Page 305: ...92 168 250 1 and 192 168 250 10 only Click the Set Packet Interval RPI Button at the bottom of the Usage of Device Bandwidth Dialog Box to display the Set Packet Inter val RPI Dialog Box In the Target...

Page 306: ...o 43 00 for all of the other devices which connect with devices 192 168 250 1 and 192 168 250 10 In this case if there is no multicast filter the value becomes 106 33 If there is no multicast filter f...

Page 307: ...this example we want a faster tag data links for just a particular connection of device 192 168 250 1 Double click device 192 168 250 1 in the Network Configuration Window Information about the conne...

Page 308: ...nd click the OK Button The tag data link bandwidth being used by device 192 168 250 1 Usage of Capacity increases to 54 67 which indicates that a RPI is set to a higher speed for this device In this c...

Page 309: ...end data when new data has been received from other nodes The following diagram shows the timing of data transmissions If there is an interrupt for data transmission processing the CPU Unit s cycle ti...

Page 310: ...sing will have higher priority so the data processing time may be longer 10 3 3 Effect on the CPU Unit s Cycle Time The CPU Unit s cycle time is affected when the EtherNet IP Unit or CJ2H built in por...

Page 311: ...data link I O response time This example shows how to calculate the minimum and maximum I O response times in the following configuration for connection 1 opened between node 1 and node 2 CPU Unit Ef...

Page 312: ...put Output relay external output device Tag Data Link Table PLC 1 PLC 2 PLC 3 Outputs RPI 10 ms RPI 10 ms W000 722 words x 16 connections Total 11 552 words W000 Inputs Inputs 256 words x 16 connectio...

Page 313: ...nsmissions times the CPU Unit cycle times The following table gives the send data processing times and breakdown for node 1 PLC 1 in this sys tem configuration Refer to 10 3 2 EtherNet IP Unit or CJ2H...

Page 314: ...s based on the data size of node 2 PLC 2 to transfer received data for node 1 PLC 1 and node address 3 PLC 3 Also the cycle time of PLC 2 is 15 ms the effect on the CPU Unit cycle time is 2 3 ms and t...

Page 315: ...ts D Number of data trans missions A 10 m sec C 6 15 m sec To meet the condition to enable processing in one data transmission the number of transmissions is the same as B plus 1 Delay of one CPU Unit...

Page 316: ...e time may be longer due to noise or other events Output I O processing Data exchange Tag data link I O response time 1 Input ON response time 2 Network transmission delay time 3 Output ON response ti...

Page 317: ...otal of 32 connections The maximum data size per connection is 20 words so the send area in node 1 is 20 words and the receive areas in node 1 are each 20 words CJ2M built in port CJ2M CPU3 Reference...

Page 318: ...the built in CJ2M port is small Maximum I O Response Time Input ON delay Cycle time of sending PLC 2 RPI Cycle time of receiv ing PLC 2 Output ON delay Minimum I O Response Time Input ON delay Cycle t...

Page 319: ...mum I O response times would be as fol lows for the above system Maximum response time 1 5 ms 5 ms 2 12 ms 10 ms 2 2 0 ms 45 5 ms Minimum response time 1 5 ms 5 ms 10 ms 2 0 ms 18 5 ms Note If the mes...

Page 320: ...d processing Transmission delay Receive processing CPU Bus Unit service cycle remote node CPU Bus Unit service processing time remote node CPU Bus Unit Service Cycle Local Node The following table sho...

Page 321: ...Note CJ2 CPU Units support only Normal Mode For details refer to the CPU Unit s Operation Manual CPU execution mode Processing time details Normal Mode See note Set peripheral servicing time Default 4...

Page 322: ...servicing time Default 4 Remote node s CPU cycle time 5 ms Remote node s CPU execution mode Normal Remote node s CPU peripheral servicing time Default 4 Baud rate 100Base TX CPU execution mode Proces...

Page 323: ...ode Maximum transmission delay Execution of RECV 099 in user program CPU Bus Unit service cycle Local node 1 CPU Bus Unit service processing time Local node 1 Send processing Command Receive processin...

Page 324: ...f words transferred 0 0013 0 0118 ms 10Base T Command 0 0157 ms Response Number of words transferred 0 0019 0 0157 ms Command 0 704 ms Response Number of words being transferred 0 003 0 704 ms CPU exe...

Page 325: ...lel processing with syn chronous memory access 4 of CPU Unit cycle time Parallel processing with asyn chronous memory access 1 ms max CPU execution mode Processing time details CPU execution mode Proc...

Page 326: ...se TX Item Calculated value CPU Bus Unit service cycle local node 1 10 ms CPU Bus Unit service processing time local node 1 0 4 ms Send processing command 0 550 ms 0 5 ms Transmission delay command 0...

Page 327: ...305 11 3 2 List of Settings Required for the FTP Server Function 305 11 3 3 FTP Tab 306 11 4 FTP Server Application Example 307 11 5 Using FTP Commands 308 11 5 1 Table of Commands 308 11 5 2 Using th...

Page 328: ...download large files in the EM file memory by executing FTP commands from the FTP client software FTP can be used for EtherNet IP Units with unit version 2 0 Note Only one FTP client can connect at th...

Page 329: ...d file names dir Display the Memory Card file names and details rename Changes a file name mkdir Creates a new directory in the working directory in the remote host rmdir Deletes a new directory from...

Page 330: ...ogin names and passwords The login name and password must consist of alphanumeric characters hyphens and or underscores They are not case sensitive A login name consists of 12 characters A password co...

Page 331: ...in the Unit Setup and log into the EtherNet IP Unit or built in EtherNet IP port Note Once logged in the ftp commands can be used such as cd Change Directory and get Obtain File 7 Search in the follow...

Page 332: ...EtherNet IP Unit or built in EtherNet IP port via FTP None CONFIDENTIAL is used Password Set the password to externally connect to the EtherNet IP Unit or built in EtherNet IP port via FTP None Port N...

Page 333: ...ntering the text that is underlined in the following diagram 3 Enter FTP commands underlined in the following diagram to read and write files The following directory tree is used in this example IP ad...

Page 334: ...rmally when the FTP client is booted the FTP server IP address is specified to execute this command automatically Command Description open Connects the specified host FTP server user Specifies user na...

Page 335: ...is not set only the file names will be displayed You can specify a file name in the Memory Card or EM File Memory if desired If a local file name is specified the file information will be stored in th...

Page 336: ...net Unit current work directory cd Format cd directory_name Function Changes the remote host Ethernet Unit work directory to the specified remote directory The files in the Memory Card are contained i...

Page 337: ...file in the local host mget Format mget FILE_NAME Function Allows the use of a wildcard character to transfer multiple remote files from the Memory Card or EM File Memory to the local host put Format...

Page 338: ...ut execution will continue and remaining files will be transferred delete Format delete FILE_NAME Function Deletes the specified remote file from the Memory Card or EM File Memory mdelete Format mdele...

Page 339: ...e or directory name illegal The file or directory name is incorrect File or directory name illegal FINS error 0 x 110C File read error FINS error 0 x 1104 An error occurs when reading the file File re...

Page 340: ...n be computed as fol lows CIO 1500 25 x unit number 13 Note 1 File operations for files on the Memory Card are performed during FTP communications Do not remove the Memory Card or turn OFF power to th...

Page 341: ...3 character exten sions An error will occur if a file name or extension is too long The first period in a file name will be taken as the delimiter between the file name and extension Extensions are d...

Page 342: ...itten from the CPU Unit simply by speci fying the extension STD Files trans ferred at startup Data files AUTOEXEC IOM I O Memory data for the specified number of words starting from D20000 There does...

Page 343: ...adecimal 9ABC hexadecimal etc is contained in an attached file in TXT format the data will be converted into ASCII format in words or double words The words are delimited by inserting tabs HT 09 and c...

Page 344: ...e words are delimited by inserting comma delimiters 2C and CRs after specified fields CR LF 0D0A 0 1 2 3 4 5 6 7 8 9 0 1234 5678 9ABC DEF0 1234 5678 9ABC DEF0 1234 5678 10 9ABC DEF0 1234 5678 9ABC DEF...

Page 345: ...ta type to binary using the type command before reading or writing files using FTP Refer to type on page 311 Note For details on how to use File Memory Instructions refer to the CS CJ Series Instructi...

Page 346: ...ed faster File system Memory Card EM File Memory CPU Unit status Operating mode PROGRAM RUN PROGRAM RUN Cycle time 20 ms 20 ms Transfers using put 1 KB 0 7 s 6 0 s 0 4 s 2 9 s 30 KB 4 5 s 38 3 s 2 5 s...

Page 347: ...in the CPU Unit to the workstation and then the pro cessing instructions file PLAN IOM is transferred from the workstation to the Memory Card in the CPU Unit Underlined text is keyed in from the FTP...

Page 348: ...D command successful ftp Binary data type set ftp type binary 200 Type set to I ftp ftp get RESULT IOM File read 200 PORT command successful 150 opening data connection for result iom IPaddress port b...

Page 349: ...justment 324 12 1 1 Overview 324 12 1 2 Specifications 325 12 2 Using the Automatic Clock Adjustment Function 325 12 2 1 Procedure 325 12 2 2 Settings Required for Automatic Clock Adjustment Function...

Page 350: ...h DD the day and nnnn the serial number 5 In accordance with SNTP protocol specifications automatic adjustment will not be possible from February 7 2036 In EtherNet IP Units or built in EtherNet IP po...

Page 351: ...perform automatic clock adjustment manually turn the Automatic Clock Adjustment Switch from OFF to ON The Automatic Clock Adjustment Switch is word n bit 05 in the words allocated in the CPU Bus Unit...

Page 352: ...e on page 327 IP Address One or the other is required depending on the Server specifi cation type setting Host name Port No Rarely required Change when a set ting other than the default setting of 123...

Page 353: ...he SNTP server is accessed and the CPU Unit clock is adjusted to match the SNTP server clock 0 0 0 Server specifi cation type Select whether the SNTP server used for automatic clock adjustment is to b...

Page 354: ...an error occurs while the EtherNet IP Unit or built in EtherNet IP port is operating the error code detailed error code and time the error occurred are saved in the error log The following table provi...

Page 355: ...not exist 02 No service at specified host 03 Timeout 04 Closed uni laterally by host 05 Cannot con nect because account infor mation does not match 06 Host name resolution error 07 Transmis sion error...

Page 356: ...ber on the side or top corner of the CPU Unit 4 The lot numbers are as follows YYMMDDnnnn in which YY indicates the last two digits of the year MM the month DD the day and nnnn the serial number CPU U...

Page 357: ...cleaning inspection and Unit replacement procedures as well as the Simple Backup Function 13 1 Maintenance and Replacement 332 13 1 1 Cleaning 332 13 1 2 Inspection 332 13 1 3 Unit Replacement Proced...

Page 358: ...he following equipment before inspecting the system Normally Required Equipment Have a standard and Phillips head screwdriver multimeter alcohol and a clean cloth Occasionally Required Equipment Depen...

Page 359: ...imple backup function can be used for the following EtherNet IP Units and built in EtherNet IP port CS series EtherNet IP Unit CS1W EIP21 mounted to a CS1D CS1 H CPU Unit CJ series EtherNet IP Unit CJ...

Page 360: ...a simple backup can be restored to an EtherNet IP Unit or built in EtherNet IP port with revision 2 1 but an error will occur in the comparison When changing the unit version refer to 6 2 18 Changing...

Page 361: ...turn the power to the CPU Unit OFF and then ON again with the Memory Card inserted into the slot This operation will read the EtherNet IP Unit or built in EtherNet IP port setup data file from the Mem...

Page 362: ...Y indicators will turn OFF If the MCPWR and BUSY indicators both flash it means that the data does not match or that an error has occurred Note Data backed up for revision 1 1 using a simple backup ca...

Page 363: ...munications Settings Refer to the CX Programmer Operation Manual for detailed procedures Button Function Backup from PLC Click this button to back up data All of the data in the target PLC will be bac...

Page 364: ...338 Using the Backup Tool Section 13 3...

Page 365: ...unction 340 14 2 Using the LED Indicators and Display for Troubleshooting 347 14 2 1 Errors Occurring at the EtherNet IP Unit or Built in EtherNet IP Port 347 14 3 Connection Status Codes and Error Pr...

Page 366: ...as collected To start monitoring again close the Monitor Device Dialog Box and then open the dialog box again Status 1 Tab Page The information displayed on the Status 1 Tab Page shows the status of t...

Page 367: ...nected with the EtherNet IP Unit as the tag data link originator The icon will be blue if the CPU Unit is in RUN mode or MONI TOR mode gray if it is in PROGRAM mode or red if an error occurred The Con...

Page 368: ...ork Configurator Section 14 1 Note The target PLC status is can be used when the PLC status is selected for all the target sets for both originator and target connections For those that are not select...

Page 369: ...EtherNet IP Unit as the tag data link originator The icon will be blue if the connection is normal or red if an error occurred In addition the Connection Status Area shows the current status each con...

Page 370: ...aved in a computer file as required In some cases error records are cleared when the power is turned OFF and in other cases the records are retained For details on the error log refer to 14 4 Error Lo...

Page 371: ...M bank specified by the tag setting does not exist in the CPU Unit A connection will not be established for a tag for which this error occurs Out of address range The area specified by the tag setting...

Page 372: ...346 Checking Status with the Network Configurator Section 14 1 If the status is not OK check the tag data link settings or the network symbol settings in the symbol table in the CJ2 CPU Unit...

Page 373: ...isplay for Troubleshooting 14 2 1 Errors Occurring at the EtherNet IP Unit or Built in EtherNet IP Port Errors Related to CPU Unit Data Exchange The 7 segment display alternates between the node addre...

Page 374: ...tion stops 0006 Create the I O table Flashing red H8 Simplebackup function restore error The simple backup func tion s data resto ration failed The settings of the EtherNet IP Unit or built in EtherNe...

Page 375: ...possible from this error If recovery is achieved the tag data links will be restarted to return to nor mal status 0017 Download the tag data to the CPU Unit again Replace the CPU Unit if the error rec...

Page 376: ...urned ON Note Recovery is possible for this error When operation is restored tag data link startup processing will be performed and opera tions will return to normal 0002 Check and correct the CPU Uni...

Page 377: ...The tag data link will restart auto matically when the cause of the error is eliminated Output OFF Error An Output OFF output inhibit condition occurred in the CPU Unit The tag data link s send data w...

Page 378: ...on Failed The connection could not be established because device parameters such as the variable name and size did not match in the originator and target or con nection resources are insufficient The...

Page 379: ...error does not indicate checksumerrors detected when reading data Case 1 The error record remains in RAM only Subsequent writes to non volatile memory are all ignored Other than that normal operation...

Page 380: ...her Net IP Unit or for a built in EtherNet IP port the CPU Unit If the ladder pro gram uses the OUT instruction to turn ON the CPU Bus Unit Restart Bit change the OUT instruction to the SET instruc ti...

Page 381: ...detected Note This error will not occur when data links are not set for version 2 0 or higher The Unit will be offline and unable to communicate Errors will be returned to all communications requests...

Page 382: ...ate Errors will be returned to all com munications requests Data exchanges refreshing will con tinue with the CPU Unit Case 2 The Unit will operate with the default IP address 192 168 250 node_ addres...

Page 383: ...efreshing will con tinue with the CPU Unit The Unit Error Occurred Flag n 10 bit 00 Network Error Occurred Flag n 10 bit 01 and IP Address Duplication Error Flag n 10 bit 06 will go ON 0211 Check the...

Page 384: ...Unit or built in EtherNet IP port The Unit will be offline and unable to communicate Errors will be returned to all communications requests Data exchanges refreshing will con tinue with the CPU Unit T...

Page 385: ...device s manufac turer for details on preventing the error from occurring in the future 01 0103 Error code returned from target Attempted to open a connection with an unsupported transport class This...

Page 386: ...s devices 01 0114 Error code returned from target The Vendor ID and Product Code did not match when open ing connection This error does not occur Depends on the tar get s specifications Contact the t...

Page 387: ...e power supply and cable wiring of the devices in the communications path including the target and switches 01 0205 Error code returned from target There was a parameter error in the frame used to ope...

Page 388: ...erated in origina tor The connection operation is stopped The connection was stopped because the Tag Data Link Stop Bit was turned ON or the settings data is being down loaded Either turn ON the Tag D...

Page 389: ...e s manufac turer The meaning of this error code is defined by each vendor so it depends on the origi nator s specifica tions Contact the origina tor device s manufac turer 01 0811 Error code generate...

Page 390: ...e Unit is restarted When the error log is read the error log records in RAM are read When the error log is cleared the error log records in both RAM and EEPROM are erased Error Log Overflows The error...

Page 391: ...led No 0107 Remote node not in network send failed No 0108 No Unit with specified unit address send failed No 010B CPU Unit error send failed No 010D Destination address not in routing tables send fai...

Page 392: ...06 hex BOOTP 07 hex SNMP 08 hex SNMP Trap 09 hex FINS UDP 0A hex FINS TCP 01 IP address 02 Host name 03 Port number 04 Other parameter No 03C2 FINS TCP packet discarded 01 to 10 hex Connection number...

Page 393: ...nd check the application conditions 03D0 Ethernet basic setting error 01 hex Ethernet setting error 01 hex Checksum error 11 hex Inconsistent set tings 12 hex Specified baud rate is not supported Yes...

Page 394: ...Write error 02 hex Network parame ter 06 hex Error log 09 hex Identity data 0E hex Unit name 0F hex Ethernet basic setting 10 hex Ethernet advanced setting 11 hex MAC address 12 hex Status area layou...

Page 395: ...lem All of the indicators for the EtherNet IP Unit or built in Ether Net IP port will be OFF if a CPU Bus Unit error has occurred Check for a CPU Bus Unit error Restart the Unit Replace the Unit if it...

Page 396: ...dth listed in the specifications CJ2M 3 000 pps other CPU Units 6 000 pps is achieved when the Unit auto negotiates to full duplex at 100 Mbps Refer to 14 1 Checking Status with the Network Configurat...

Page 397: ...ss 3 or FINS When there is a high load in the tag data link and the CPU Unit s cycle time is relatively long or there are messages coming in from many nodes the message service response time may be de...

Page 398: ...s controller error Affected con troller s ERC indicator Error occurred in the communications control ler Take corrective action refer ring to troubleshooting proce dures in this section 02 PLC error A...

Page 399: ...nd s data area code in the Results Stor age Area and set the appro priate code 03 Address out of range error First word address in command data The first word is in an inaccessible area Check the data...

Page 400: ...s no response in keep alive 30 Establishing connec tion Command data A connection is already established with the specified remote node Correct the settings for the FINS TCP connection num ber the rem...

Page 401: ...Yes Yes Yes Socket service Yes No No File transfer FTP Yes No Yes Mail send receive Yes No No Web functions Yes No No Automatic adjustment of PLC s internal clock Yes No Yes Simple backup function Yes...

Page 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...

Page 403: ...restarted Confirmation of the window size is requested from the remote node when the continue timer times out The initial value of the timer is 5 s and confirmation processing will continue consecuti...

Page 404: ...378 Ethernet Network Parameters Appendix B...

Page 405: ...N sent CLOSING Completed and exchanged FIN Awaiting ACK LAST ACK FIN sent and completed Awaiting ACK FIN WAIT 2 Completed and ACK received Awaiting FIN TIME WAIT After closing pauses twice the maximum...

Page 406: ...380 TCP Status Transitions Appendix C...

Page 407: ...bject abstractly represents a related group of the device s data values When accessing the device from the outside access an Object An Object represents the abstracted device function processing and t...

Page 408: ...d depending on the Service The Class ID Instance ID and Attribute ID identify a location in the device and are known as the request path Term Meaning Object An abstract representation of a particular...

Page 409: ...escribe the route path and request path With this method the route path and request path are divided into segments and a value is assigned to each segment so the route path description shows the path...

Page 410: ...a special meaning which indicates that the size of Port Identifier is larger than 1 byte and the 4 bit port identifier 15 is followed by 2 byte Port Identifier The port identifier does not exceed 1 by...

Page 411: ...Class ID and Instance ID which specify the request path Segment Type Port Identifier 7 6 5 4 3 2 1 0 0 0 0 Extended Link Address Size 1 7 6 5 4 3 2 1 0 Link Address Size 7 6 5 4 3 2 1 0 Link Address 7...

Page 412: ...ed through the CPU Unit a Special I O Unit or another CPU Bus Unit always travel through the backplane Link Address The Link Address is a node address on the network which is used to specify the route...

Page 413: ...state 0D Object already exists The requested instance of object to be created already exists 0E Attribute not settable A request to modify a non modifiable attribute was received 0F Privilege violati...

Page 414: ...s status code can serve for other causes of invalid replies 23 24 Reserved by CIP for future extensions 25 Key Failure in path The Key Segment that was included as the first segment in the path does n...

Page 415: ...01 0119 Connection request fails since there is no controlling connection currently open 01 011A Target Application cannot support any more connections 01 011B RPI is smaller than the Production Inhib...

Page 416: ...hat can be set in the time out ticks 0000 hex 1 255 0001 hex 2 510 0010 hex 4 1 020 0011 hex 8 2 040 0100 hex 16 4 080 0101 hex 32 8 160 0110 hex 64 16 320 0111 hex 128 32 640 1000 hex 256 65 280 1001...

Page 417: ...O TEST 02 BROADCAST TEST RESULTS READ 03 BROADCAST DATA SEND 21 02 ERROR LOG READ 03 ERROR LOG CLEAR 27 20 PING 30 FINS TCP CONNECTION REMOTE NODE CHANGE REQUEST 31 FINS TCP CONNECTION STATUS READ 50...

Page 418: ...rsion of the EtherNet IP Unit or built in EtherNet IP port are returned as ASCII char acters occupying 20 bytes each i e 20 characters each If all bytes are not used the remaining bytes will be all sp...

Page 419: ...t Bit 1 Broadcast setting Bit 4 UDP port number setting for FINS Bits 2 and 3 IP address conversion method 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Bit 5 TCP port number setting for FINS TCP Bit 8 Transm...

Page 420: ...Command code 2 byte Total number of packets received Total number of receive errors Communications status 3 Bit 3 IP address table error 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Bit 4 IP router table er...

Page 421: ...ected More than 8 records or invalid IP address Bit 6 Meaning 0 No error 1 Error detected in routing table check Bit 9 Meaning 0 No error 1 An error was detected during the validity check of vendor sp...

Page 422: ...number of send collisions is discontinued when the counted value reaches the maximum value Response Codes INTERNODE ECHO TEST Performs an echoback test internode communications test between specified...

Page 423: ...er The number of times received is cleared each time the result is read Response Codes BROADCAST DATA SEND Sends test data simultaneously to all nodes on the network Command Block Parameters Test Data...

Page 424: ...response returns the actual number of records read Maximum Number of Stored Records Response Indicates the maximum number of records that can be stored in the error log The maximum number of error log...

Page 425: ...be returned and the command exe cuted will end normally Response Codes ERROR LOG CLEAR Clears the error log for the EtherNet IP Unit or built in EtherNet IP ports and resets the number of stored recor...

Page 426: ...ho reply packet is automatically returned by the remote node ICMP Response Codes FINS TCP CONNECTION REMOTE NODE CHANGE REQUEST Requests a remote node change for the FINS TCP connection The default de...

Page 427: ...us Command Block 27 30 FINS TCP connection No Command code Remote IP address Remote TCP port number 27 30 Response code Command code Response code Description 0000 Normal end 0105 Node address setting...

Page 428: ...r Response Specifies the TCP port number for the remote node TCP Transitions Response Specifies the TCP connection status using the following numbers For details on TCP status changes refer to Appendi...

Page 429: ...he number of records 6 bytes record The configuration of the 6 bytes of data in each record is as shown in the following diagram FINS Node Address Node address for communications via the FINS command...

Page 430: ...mal Specify 0 0 0 0 to enable the local IP address set in the allocated DM Area words Example 150 31 2 83 Subnet Mask Command Specify the local IP address of the EtherNet IP Unit or built in EtherNet...

Page 431: ...of records read Maximum Number of Stored Records Response The maximum number of records that can be stored in the IP address table is returned The maximum number of stored records is fixed at 0020 32...

Page 432: ...DP Tab Page of the Unit Response Codes IP ROUTER TABLE READ Reads the IP router table Command Block Response Block Parameters Number of Records Command Response The number of records to read is specif...

Page 433: ...The network ID from the IP address in hexadecimal The network ID part corresponding to the address class determined by the leftmost 3 bits set here is enabled Router IP Address The IP address in hexa...

Page 434: ...ted packets received 8 The number of received fragmented IP packets discarded because a queue for reassembly could not be secured 9 The number of fragmented IP packets discarded because they could not...

Page 435: ...urned in the order shown below Contents are defined for 13 types only all other types contain 0 TCP Status Response Three types 46 items of TCP status information occupying 4 bytes each are returned i...

Page 436: ...is smaller than necessary and the resend timer is not set If no window advertisement is received within the time limit the number of segments permitted by the transmission window are sent If the tran...

Page 437: ...e Each value is returned as an 8 digit hexadecimal value 1 The number of packets discarded because the size of the first short buffer was smaller than the minimum size 28 of the IP header and UDP head...

Page 438: ...for storing socket options 12 The number of short buffers used for storing access rights 13 The number of short buffers used for storing interface addresses 3 Long Buffer Application Two items are ret...

Page 439: ...atus Response Returns eight types of information in records of 32 bytes each A maximum of 62 records can be returned The format of each record is shown below Protocol 4 bytes The protocol used for the...

Page 440: ...ode addresses and IP addresses With the EtherNet IP Unit or built in EtherNet IP port this value is always 0001 1 decimal Number Stage Status 00 00 00 00 CLOSED Closed 00 00 00 01 LISTEN Waiting for c...

Page 441: ...y the settings actually used for operation The settings that are actually used for operation can be confirmed using CONTROLLER DATA READ page 392 and ADDRESS INFORMATION READ page 414 This command is...

Page 442: ...and the remote IP address is the network ID of the local IP address the rightmost 8 bits of the remote IP address Command Block Response Block Response Codes Response code Description 0000 Normal end...

Page 443: ...s size 2810 hex Command code Transport ID Message monitoring timer 502 bytes max Service code response Service response data variable length Reserved Reserved General status 2810 hex 00 hex 00 hex 00...

Page 444: ...erNet IP Ports Appendix E Description For details refer to CIP UCMM MESSAGE SEND 28 10 on page 236 in 9 1 1 Sending Explicit Messages Using CMND 490 1005 Header error 110B Response length exceeds maxi...

Page 445: ...the installed EDS file to not be recog nized when you log in using a different user account You can run the Network Configurator as the administrator by using the following procedure 1 Select the Netw...

Page 446: ...online 3 The device can be added to the Hardware List as a new device just like installing an EDS file Note Device parameters cannot be set with the Network Configurator s EDS file creation function...

Page 447: ...ring and click the Find Next Button 3 When there is a matching device found the cursor will move to that position 4 To quit the search operation click the Cancel Button Note 1 The device will be found...

Page 448: ...422 EDS File Management Appendix F 2 Select EDS File Property The following window will be displayed The time and date that the EDS file was created will be displayed along with the device information...

Page 449: ...nt inappropriate access from external devices e g via the Internet The changes to the Windows Firewall settings described in this document enable EtherNet IP connections to be used by the CX Programme...

Page 450: ...the Actions Area on the right side of the dialog box 5 Make the following settings for each step in the New Inbound Rule Wizard Dialog Box clicking the Next But ton to move between steps 6 Click the F...

Page 451: ...utions for Using Windows XP Vista or Windows 7 Appendix G An EtherNet IP connection will be accepted from CX Programmer or Network Configurator and EtherNet IP connections will be enabled in the futur...

Page 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...

Page 453: ...stallation 43 precautions 41 cd command 303 308 310 cdup command 303 308 CIDR 3 94 CIO Area allocations 70 CIP 3 381 CIP communications services 6 CIP message communications 381 cleaning 332 close com...

Page 454: ...Tab 326 domain name 55 downloading tag data link parameters 168 dynamic changes of remote IP address prohibiting 99 E EC Directives xxvi Edit Parameters 52 61 EDS file management 419 EDS files 10 419...

Page 455: ...er 203 FINS TCP communications method 100 FINS TCP Connection Status Flags 81 FINS UDP 200 frame format 200 procedure 201 UDP port numbers 201 FINS UDP and FINS TCP comparison 199 FINS UDP communicati...

Page 456: ...IP Address field 326 327 IP ADDRESS TABLE READ 405 IP addresses allocating 92 configuration 92 IP communications IP addresses reading from Units 392 reading tables 405 IP router tables reading 406 sta...

Page 457: ...xxiv P packet interval RPI relationship to bandwidth usage 263 setting 262 Password field 306 PCMR 260 instruction 227 PING 399 PING command 65 PLC object services 249 Port No field 306 326 327 port...

Page 458: ...status 413 TCP sockets status 379 testing communications 399 specifications 14 CJ series general specifications 15 16 communications specifications 17 CS series general specifications 14 FINS communic...

Page 459: ...ors 371 timers 377 to 61 troubleshooting 368 twisted pair cable recommended models 28 twisted pair cables precautions 41 type command 303 308 311 U unicast communications 114 unit numbers setting 36 3...

Page 460: ...434 Index...

Page 461: ...mation for CJ series CJ2 CPU Units and for new unit version 2 0 func tions 03 December 2008 Added the CJ series CJ2 CPU Units CJ2H CPU 04 December 2009 Added information on methods to create connectio...

Page 462: ...436 Revision History...

Page 463: ......

Page 464: ...3 5302 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron co...

Reviews: