OPERATION MANUALEthernet UnitsConstruction of NetworksSYSMAC CS and CJ SeriesCS1W-ETN21 (100Base-TX)CJ1W-ETN21 (100Base-TX)Cat. No. W420-E1-04
xiTABLE OF CONTENTSAppendicesA Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75HTTP Section 3-10For details, refer to SECTION 5 Automatic Clock Adjustment Function in theOperation Manual Construction of Applications.3-10 HTTPHT
76HTTP Section 3-10
77SECTION 4Ethernet Unit Memory AllocationsThis section describes the words allocated in the CIO Area and the DM Area for Ethernet Units.4-1 CIO Area
78CIO Area Allocations Section 4-14-1 CIO Area AllocationsThe various kinds of data are stored in the offset positions shown in the fol-lowing diagram
79CIO Area Allocations Section 4-1Unit Control Bits (CPU Unit to Ethernet Unit)Socket Force-close Switch (Bit 2)All UDP and TCP sockets used for socke
80CIO Area Allocations Section 4-1Status of UDP/TCP Sockets 1 to 8 (Ethernet Unit to CPU Unit)Note The status of these flags can also be checked using
81CIO Area Allocations Section 4-1Receiving Flag (Bit 1)Turns ON when a receive request is received either by control bit manipulationor the CMND(490)
82CIO Area Allocations Section 4-1Service Status (Ethernet Unit to CPU Unit)FTP Status (Bit 0)Turns ON while connected to an FTP client, and OFF while
83CIO Area Allocations Section 4-1Accessing Memory (Receiving Mail) (Bit 2)This bit turns ON while CPU Unit memory is being accessed to store anattach
84CIO Area Allocations Section 4-1Socket Service Request Switches 1 to 8 (CPU Unit to Ethernet Unit)When a socket service request is executed by contr
xiiTABLE OF CONTENTS
85CIO Area Allocations Section 4-1FINS/TCP Connection StatusBit Switch Status Manipulated byUnit operation Reference8 0 UDP Open Request SwitchON User
86DM Area Allocations Section 4-2These bits show the status of FINS/TCP connections.4-2 DM Area AllocationsThe various kinds of data are stored in the
87DM Area Allocations Section 4-2The meanings of the items shown in the above diagram are explained on thefollowing pages. For details regarding the r
88DM Area Allocations Section 4-2TCP Socket No. (1 to 8): Number of Bytes Received (Ethernet Unit to CPU Unit)For each TCP socket, the number of bytes
89DM Area Allocations Section 4-2IP Address Display/Setting AreaIP address: (1)(2).(3)(4).(5)(6).(7)(8) (Hex)If the local IP address in the CPU Bus Un
90Auxiliary Area Data Section 4-34-3 Auxiliary Area DataThe following table and descriptions cover the words and bits in the AuxiliaryArea of PLC memo
91Auxiliary Area Data Section 4-3Read/Write Bits (User Settings)A417 A41700 to A41715CPU Bus Unit Error, Unit Number FlagsWhen an error occurs in a da
92Auxiliary Area Data Section 4-3
93SECTION 5Determining IP AddressesThis section explains how to manage and use IP addresses.5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . .
94IP Addresses Section 5-15-1 IP AddressesEthernet networks use IP addresses for communications. IP addresses iden-tify both the Ethernet network and
xiiiAbout this Manual:This manual describes the installation and operation of the CS1W-ETN21 and CJ1W-ETN21 EthernetUnits (100Base-TX) and includes th
95IP Addresses Section 5-15-1-3 Ethernet Unit IP Address SettingsAn IP address must be set even for the Ethernet Unit before Ethernet commu-nications
96IP Addresses in FINS Communications Section 5-25-2 IP Addresses in FINS Communications5-2-1 Specifying Nodes in FINS Communications ServicesWith FIN
97IP Addresses in FINS Communications Section 5-2Pairing IP Addresses with FINS Node Addresses at Local NodesA particular IP address is allocated to e
98IP Addresses in FINS Communications Section 5-25-2-2 Pairing Addresses in Internal TablesFINS/UDP Communications MethodsAutomatic Generation (Dynami
99IP Addresses in FINS Communications Section 5-2IP Address Table Method With this method, FINS node addresses are converted to IP addresses basedon a
100IP Addresses in FINS Communications Section 5-2• Connection method: FINS/UDP• FINS Node Address Not Registered to IP Address TableThe following add
101IP Addresses in FINS Communications Section 5-2Using the ETN11-compatible ModeFor Ethernet Unit with unit version 1.4 or later, operating specifica
102IP Addresses in FINS Communications Section 5-2FINS/TCP Communications MethodPairing in the FINS/TCP MethodWith the FINS/TCP method, communications
103IP Addresses in FINS Communications Section 5-2Setting FINS/TCP ConnectionsThe procedure for setting FINS/TCP connections involves the items descri
104IP Addresses in FINS Communications Section 5-25-2-3 Application ExamplesResponding to Computers with Changed IP AddressesFINS/UDP Communications M
xivRelevant ManualsThe following table lists CS and CJ-series manuals that contain information relevant to Ethernet Units.Manual numberModel Name Cont
105IP Addresses in FINS Communications Section 5-2applications, such as mail servers, are normally allocated fixed IP addresses.Ethernet Units in PLC
106IP Addresses in FINS Communications Section 5-2Models Supporting Automatic Generation Method (Static)Models Supporting IP Address Table MethodModel
107Private and Global Addresses Section 5-35-2-5 Pairing IP Addresses and FINS Node AddressesThe following table shows the methods for pairing IP addr
108Private and Global Addresses Section 5-3Communications Services That Require Global Addresses for Ethernet UnitsA global address is required for th
109Private and Global Addresses Section 5-35-3-2 Using a Private Address for the Ethernet UnitConditions for Using Communications ApplicationsWhen the
110Private and Global Addresses Section 5-3• With FINS/UDP, when the IP address (private address) of a computerserving as a DHCP client is changed, th
111Private and Global Addresses Section 5-35-3-3 Ethernet Unit with a Global AddressConditions for Using Communications ApplicationsCommunications app
112Private and Global Addresses Section 5-33. Sending Mail• The PLC can send the Ethernet Unit's IP address to the SMTP server bymail via the int
113SECTION 6FINS CommunicationsThis section provides information on communicating on Ethernet Systems and interconnected networks using FINScommands.
114Overview of FINS Communications Section 6-16-1 Overview of FINS Communications6-1-1 Communications On an Ethernet NetworkData is sent and received
xv W446 WS02-CXPC1-EV6 CX-Programmer Ver. 6.1 Operation ManualProvides information on how to use the CX-Programmer, a Windows-based programming device
115Overview of FINS Communications Section 6-1• When FINS nodes are connected on the same Ethernet segment:Use the FINS/UDP method between those nodes
116FINS/UDP Method Section 6-26-2 FINS/UDP Method6-2-1 OverviewFINS/UDP Features The FINS/UDP method is a FINS communications method that uses the UDP
117FINS/UDP Method Section 6-2UDP Port Numbers for FINS/UDPThe UDP port number is the number for UDP to identify the application layer(i.e., the FINS
118FINS/TCP Method Section 6-36-3 FINS/TCP Method6-3-1 OverviewFINS/TCP FeaturesThe FINS/TCP method is a FINS communications method that uses the TCP/
119FINS/TCP Method Section 6-3• Once a FINS/TCP connection (connection number, remote IP address)has been set in the Unit Setup, it can be dynamically
120FINS/TCP Method Section 6-3FINS/TCP Connection Status (Word n+23)While a connection with a remote node is established, the bit corresponding tothe
121FINS/TCP Method Section 6-3Even if the connection is closed at the FINS/TCP client, requests continue tobe made to the FINS/TCP server every few se
122Creating Routing Tables Section 6-46-4 Creating Routing TablesWhen the FINS communications service is used, routing tables must be cre-ated in adva
123Creating Routing Tables Section 6-4The following example shows routing tables for sending data from PLC #1 (thelocal node: network address 1, node
124Creating Routing Tables Section 6-46-4-3 Routing Table Setting Examples Example 1: Local Network Table for a PLC With Multiple Units MountedThis e
125Creating Routing Tables Section 6-4 Example 3: All NodesThis example uses the following configuration to show the routing tables for allnodes. PL
126Using FINS Applications Section 6-56-5 Using FINS Applications6-5-1 CX-Programmer (CX-Server)The following examples show how to connect online from
127Using FINS Applications Section 6-5CX-Programmer's Unit SetupSetup Tab Example: Inputs to the CX-Programmer's Setup WindowExample: Change
128Using FINS Applications Section 6-5Example: Network Settings (Network Tab)Note When FinsGateway is selected as the network type, make sure that the
129Using FINS Applications Section 6-5 System Configuration Example 2: Using Routing TablesIn this example, an online connection is made via the Eth
130Using FINS Applications Section 6-5• Local Network Table• Relay Network TableNoneExample: PLC 2 and PLC 3 Routing Table Settings• Local Network Tab
131Using FINS Applications Section 6-5• Network Tab• Communication Unit Tab• Network number Set the network number for the personal computer (Ethernet
132Using FINS Applications Section 6-5• UDP Nodes Tab: Automatic Generation Method (Dynamic or Passive) • UDP Nodes Tab: IP Address Table Method or Co
133Using FINS Applications Section 6-5• TCP Nodes TabClick the Add Button, and then set the IP address table in the following Ether-net Node Definitio
134Using FINS Applications Section 6-5 3. Starting FinsGateway ETN_UNIT ServiceSelect ETN_UNIT from Services under the Basic Tab in the FinsGatewaySet
xviiRead and Understand this ManualPlease read and understand this manual before using the product. Please consult your OMRON representative if you ha
135Communicating between OMRON PLCs Section 6-6CX-Programmer's Unit SetupSetup Tab FINS/TCP TabNot set. (All defaults are used.)FinsGateway ETN_U
136Communicating between OMRON PLCs Section 6-6Note 1. The maximum data length is limited to 512 bytes for data exchange be-tween the PLC and SYSMAC L
137Communicating between OMRON PLCs Section 6-66-6-3 Using SEND(090), RECV(098), and CMND(490)Make the settings shown below when using the SEND(090),
138Communicating between OMRON PLCs Section 6-6RECV(098) With the RECV(098) instruction, the data in m number of words, starting fromthe beginning wor
139Communicating between OMRON PLCs Section 6-6CMND(490) The CMND(490) instruction sends n bytes of command data, starting from thebeginning word S at
140Communicating between OMRON PLCs Section 6-6Commands Addressed to CS/CJ-series CPU UnitsThe following table provides a list of FINS commands that c
141Communicating between OMRON PLCs Section 6-66-6-4 Writing ProgramsPrograms incorporating the SEND(090), RECV(098), and CMND(490)instructions are ge
142Communicating between OMRON PLCs Section 6-6 The execution status of the SEND(090), RECV(098), and CMND(490) instruc-tions is always reflected by t
143Communicating between OMRON PLCs Section 6-6Communications Port Completion CodesThe status of a SEND(090), RECV(098), and CMND(490) instruction aft
144Communicating between OMRON PLCs Section 6-6 10100000 0000 0000ExampleCommunications Port Enabled FlagCommunications instruction:SEND(090), RECV(09
xviiiApplication ConsiderationsSUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply
145Communicating between OMRON PLCs Section 6-66-6-5 Program ExampleWhen the Communications Port Enabled Flag for port 7 is ON, and RECV(098) is not b
146Communicating between OMRON PLCs Section 6-6Note 1. With CS/CJ-series PLCs, the Communications Port Enabled Flags at bits0 to 7 in word A202 turn O
147Communicating between OMRON PLCs Section 6-66-6-6 Transmission DelaysThe methods of computing the maximum time required from execution of theSEND(0
148Communicating between OMRON PLCs Section 6-6CPU Bus Unit Service Processing Time (Local Node)The processing time will be as follows, depending on t
149Communicating between OMRON PLCs Section 6-6CPU Bus Unit Service Processing Time (Remote Node)The processing time will be as follows, depending on
150Communicating between OMRON PLCs Section 6-6RECV(098)The transmission delay for the RECV(098) instruction can be calculated usingthe equation illus
151Communicating between OMRON PLCs Section 6-6CPU Bus Unit Service Processing Time (Local Node 1)The processing time will be as follows, depending on
152Communicating between OMRON PLCs Section 6-6CPU Bus Unit service processing time (remote node)The processing time will be as follows, depending on
153Precautions on High Traffic in FINS Communications Section 6-7nodes, traffic through the Ethernet Unit (e.g., socket servicing, FTP servercommunica
154Precautions on High Traffic in FINS Communications Section 6-7For example, suppose that approximately 20 ms are required to process a sin-gle FINS
xixDisclaimersCHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons.It is
155SECTION 7FINS Commands Addressed to Ethernet UnitsThis section describes the FINS commands that can be sent to an Ethernet Unit and the responses t
156Command Codes and Response Codes Section 7-17-1 Command Codes and Response Codes7-1-1 Command Code ListThe command codes listed in the following ta
157Socket Applications Section 7-2The MRES codes are shown in the following table along with the results theyindicate. Refer to 8-5 Troubleshooting wi
158Socket Applications Section 7-2Parameters Specifies the parameters for the command code. Parameters depend on thecommand being executed; for detail
159Command/Response Reference Section 7-37-3 Command/Response ReferenceThis section describes the FINS commands that can be sent to Ethernet Unitsand
160Command/Response Reference Section 7-37-3-2 CONTROLLER DATA READReads the following data from the Ethernet model, version, IP address, sub-net mask
161Command/Response Reference Section 7-3FFINS/TCP Port Number Setting0: Default (9600)1: Unit Setup valueBaud Rate setting0: Automatic detection1: 10
162Command/Response Reference Section 7-3ParametersError Flags (Response) Indicates the operating status and errors that occurred when the Ethernet Un
163Command/Response Reference Section 7-3Address DisagreementThe address conversion method was set for automatic generation, but thenode address and t
164Command/Response Reference Section 7-3ParametersTest Data (Command, Response) This command specifies the data to be sent to the specified nodes. Up
165Command/Response Reference Section 7-3Command BlockParametersTest Data (Command) This command specifies the data to be sent to the specified nodes
166Command/Response Reference Section 7-3Error Log Data (Response)The specified number of error log records from the beginning record numberis returne
167Command/Response Reference Section 7-37-3-9 UDP OPEN REQUESTRequests processing to open a socket.Command BlockResponse BlockResults Storage FormatP
168Command/Response Reference Section 7-3Results Storage Area Response Codes7-3-10 UDP RECEIVE REQUESTRequests that data be sent from a UDP socket.Com
169Command/Response Reference Section 7-3Number of Reception Bytes (Command, Results Storage Area)The maximum number of bytes of data to be received i
170Command/Response Reference Section 7-3Command BlockResponse BlockResults Storage FormatParametersSocket Option (Command) The socket option specifie
171Command/Response Reference Section 7-3Results Storage Area Response Codes7-3-12 UDP CLOSE REQUESTRequests processing to close a socket.Command Bloc
172Command/Response Reference Section 7-3Results Storage Area (Command)The area in which the results of the command execution are stored. The firstbyt
173Command/Response Reference Section 7-3TCP Socket Number (Command)The TCP socket number to be opened specified as 1 byte between 1 and 8. Results St
174Command/Response Reference Section 7-3Response CodesResults Storage Area Response CodesNote These errors occur only in large multilayered networks.
CS1W-ETN21 (100Base-TX)CJ1W-ETN21 (100Base-TX)Ethernet UnitsConstruction of NetworksOperation ManualRevised January 2006
xxiPRECAUTIONSThis section provides general precautions for using the CS1W-ETN21 and CJ1W-ETN21 Ethernet Units (100Base-TX).The information contained
175Command/Response Reference Section 7-3Response BlockResults Storage FormatParametersSocket Option (Command) The socket option is specified in one b
176Command/Response Reference Section 7-3Response CodesResults Storage Area Response CodesNote These errors occur only in large multilayered networks.
177Command/Response Reference Section 7-37-3-15 TCP RECEIVE REQUESTRequests that data be sent from a TCP socket.Command BlockResponse BlockResults Sto
178Command/Response Reference Section 7-3Response CodesResults Storage Area Response CodesNote These errors occur only in large multilayered networks.
179Command/Response Reference Section 7-3Response BlockResults Storage FormatParametersSocket Option (Command) The socket option specified as 1 byte.
180Command/Response Reference Section 7-3Results Storage Area Response CodesNote These errors occur only in large multilayered networks.7-3-17 TCP CLO
181Command/Response Reference Section 7-3Results Storage Area (Command)The area in which the results of the command execution are stored. The firstbyt
182Command/Response Reference Section 7-3RemarksPING CommandThe PING command runs the echoback test using the ICMP protocol. Whenthe PING command is e
183Command/Response Reference Section 7-3Response Codes7-3-20 FINS/TCP CONNECTION STATUS READReads the FINS/TCP connection status.Command BlockRespons
184Command/Response Reference Section 7-3Remote TCP Port Number (Response)Specifies the TCP port number for the remote node.TCP Transitions (Response)
xxiiIntended Audience 11 Intended AudienceThis manual is intended for the following personnel, who must also haveknowledge of electrical systems (an e
185Command/Response Reference Section 7-3IP Address Table Records (Command)Specify the IP address table records. The number of records specified mustb
186Command/Response Reference Section 7-3ParametersIP Address (Command) Specify the local IP address of the Ethernet Unit using 4 pairs of hexadecimal
187Command/Response Reference Section 7-3Maximum Number of Stored Records (Response)The maximum number of records that can be stored in the IP address
188Command/Response Reference Section 7-3Response BlockParametersNumber of Records (Command, Response)The number of records to read is specified betwe
189Command/Response Reference Section 7-37-3-25 PROTOCOL STATUS READReads the Ethernet Unit protocol status.Command BlockResponse BlockParametersIP St
190Command/Response Reference Section 7-3ICMP Status (Response) Ten types (46 items) of ICMP status information occupying 4 bytes each arereturned in
191Command/Response Reference Section 7-3TCP Status (Response) Three types (46 items) of TCP status information occupying 4 bytes each arereturned in
192Command/Response Reference Section 7-312. The number of times no window advertisement is received within the timeset on the duration timer. (The du
193Command/Response Reference Section 7-318. The number of ACK packets received with no data set. 19. The number of ACK packets received.20. The numbe
194Command/Response Reference Section 7-3ParametersMemory Status (Response)A total of 23 data items in six areas are returned in the following order.
xxiiiOperating Environment Precautions 4• Emergency stop circuits, interlock circuits, limit circuits, and similar safetymeasures must be provided in
195Command/Response Reference Section 7-3Response Codes7-3-27 SOCKET STATUS READReads the Ethernet Unit network socket status.Command BlockResponse Bl
196Command/Response Reference Section 7-3TCP Transitions (4 bytes)The TCP connection status is returned as one of the numbers shown in thefollowing ta
197Command/Response Reference Section 7-3FINS Node AddressNode address set on the Ethernet Unit (hexadecimal).IP AddressIP address set on the Ethernet
198Command/Response Reference Section 7-3Subnet Mask (Response)The subnet mask set in the CPU Bus Unit System Setup for the Ethernet Unitis returned i
199SECTION 8TroubleshootingThis section describes information and procedures that can be used to troubleshoot problems that sometimes occur withEthern
200Troubleshooting with Indicators Section 8-18-1 Troubleshooting with IndicatorsThe indicators on the Ethernet Unit can be used to troubleshoot some
201Error Status Section 8-28-2 Error StatusThe Ethernet Unit will output error status to the following word in the CIO Areaof the CPU Unit. This infor
202Error Log Section 8-38-3 Error LogThe Ethernet Unit provides an error log that records errors that have occurredduring Ethernet Unit operation. The
203Error Log Section 8-3Error Log Table Each error is recorded as one record in an error log table. Up to 64 recordscan be saved. If more than 64 erro
204Error Log Section 8-30103 Resend count exceeded (send failed)CommandsBit 15: OFFBits 08 to 14: SNABits 00 to 07: SA1ResponsesBit 15: ONBits 08 to 1
xxivApplication Precautions 5• Always turn OFF the power supply to the CPU Unit, Slaves, and Commu-nications Units before attempting any of the follow
205Error Log Section 8-30300 Parameter error; packet discarded CommandsBit 15: OFFBits 08 to 14: SNABits 00 to 07: SA1ResponsesBit 15: ONBits 08 to 14
206Error Log Section 8-303C2 FINS/TCP packet discarded 01 to 10: Connection number02: Reopened because remote node closed03: Reopened because of recep
207Error Log Section 8-303C4 Server connection error 00: DNS01: SMTP02: POP303: SNTP01: Specified host does not exist02: No ser-vice at speci-fied hos
208Error Log Section 8-3Note (1) The time information in the CPU Unit is used in the CPU Bus Units.(2) If the time information cannot be read from the
209Troubleshooting Procedures Section 8-48-4 Troubleshooting ProceduresThe following procedures can be used to troubleshoot various problems insystem
210Troubleshooting Procedures Section 8-48-4-2 FINS Communications Problems (SEND(090)/RECV(098)/CMND(490))Go to Network Connection ProblemsNYYNNYNYSe
211Troubleshooting Procedures Section 8-48-4-3 UDP Socket ProblemsGeneral ProblemsOpening and Closing ProblemsRefer to General Problems above.YNYNGene
212Troubleshooting Procedures Section 8-4Reception ProblemsYNNNNNYYYYReception Problems occurred.Is reception processing finishing?Is the remote node
213Troubleshooting Procedures Section 8-4Transmission ProblemsNYNYYNIs send processing not finishing?Return to the procedure for general problems.Tran
214Troubleshooting Procedures Section 8-48-4-4 TCP Socket ProblemsGeneral ProblemsYNNYNYGeneral ProblemsIs the response code in the results storage ar
xxvConformance to EC Directives 6• Check the user program for proper execution before actually running it onthe Unit. Not checking the program may res
215Troubleshooting Procedures Section 8-4Opening ProblemsClosing Problems Refer to General Problems on page 214.YYNNNYYNOpening Problems occurred.Are
216Troubleshooting Procedures Section 8-4Reception ProblemsTransmission ProblemsNYNYNYYYNNReception problems occurred.Is reception processing not fini
217Troubleshooting Procedures Section 8-48-4-5 FTP Service ProblemsConnection ProblemsYNNYNNYENDNNYYYYWhat type of MemoryCard is it?Memory CardNConver
218Troubleshooting Procedures Section 8-4File Transfer ProblemsYNNYENDYNNYNN11NYYYFile transfer problem occurred.Are you not connected to the FTP serv
219Troubleshooting Procedures Section 8-48-4-6 Network Connection ProblemsIs the LNK indicatorlit?Did all nodes fail to respond to pingcommand?Is the
220Troubleshooting Procedures Section 8-4Mail Not being SentSTARTNYIs the ERH indicatorflashing?YNYNNIs the HOST indicatorlit?Is the user mailtransmis
221Troubleshooting Procedures Section 8-4Mail Not being ReceivedSTARTNYIs the ERH indicatorflashing?YNYNNIs the HOST indicatorlit?Are there responsest
222Troubleshooting Procedures Section 8-4Clock Not being Automatically AdjustedSTARTNYIs the SNTP error status bit ON?Is the ERH indicatorflashing?YNY
223Troubleshooting with Response Codes Section 8-58-5 Troubleshooting with Response CodesYou can troubleshoot the errors in FINS communications from t
224Troubleshooting with Response Codes Section 8-503: Communi-cations con-troller error01: Communica-tions controller errorERC indicator on the Contro
xxviConformance to EC Directives 6Low Voltage DirectiveAlways ensure that devices operating at voltages of 50 to 1,000 V AC and 75to 1,500 V DC meet t
225Troubleshooting with Response Codes Section 8-511: Parame-ter error00: Parameter errorParameters in command dataThe parameters in the com-mand data
226Troubleshooting with Response Codes Section 8-522: Status error (operat-ing mode dis-agreement)0F: Service in progress, cannot perform operationSoc
227Results Storage Area Response Codes Section 8-6Network Relay Errors For network relay errors using SEND(090) or RECV(098), check the path ofthe com
228Results Storage Area Response Codes Section 8-6003F EISCONN Socket is already connected (con-nection attempted to open socket)Close the local socke
229Results Storage Area Response Codes Section 8-60081 (None) Closed by close command during socket servicingNo action is necessarily called for.0082
230Results Storage Area Response Codes Section 8-6
231Appendix AEthernet Network ParametersParameter Value DescriptionTCP send buffer 4,096 bytes Maximum capacity of the TCP send bufferTCP receive buff
233Appendix BBuffer ConfigurationNetwork memory (248K bytes)Communications controllerIP packet output queue (50 max. x 1,500 bytes)UDP socket send req
234Buffer Configuration Appendix BNetwork MemoryMost of the buffers used for communications servicing by the Ethernet Unit are administered in a buffe
1SECTION 1Features and System ConfigurationThis section introduces the features, describes the system configuration and Unit parts, and provides Unit
235Appendix CTCP Status TransitionsThe TCP socket status can be confirmed using the socket status data returned for the FINS commandSOCKET STATUS READ
237Appendix DASCII CharactersBits 1 to 4 Bits 5 to 7Binary 0000 0001 0010 0011 0100 0101 0110 0111Hex012345670000 0NUL DLE Space 0 @ P p0001 1SOH DC1
239Appendix EMaintenanceThe Ethernet Unit makes up part of a network. Repair a defective Ethernet Unit as soon as possible as it canhave a negative ef
241Appendix FInspectionsCarry out regular inspections to ensure the Ethernet Unit is functioning perfectly.ItemsMost of the parts that make up an Ethe
243Appendix GEthernet Unit Web FunctionWeb FunctionEthernet Units with Unit Ver. 1.3 or later can use a Web browser from a personal computer or other
244Ethernet Unit Web Function Appendix GPOP Unit Setup window- POP TabIP Address (or Host name) Unit Setup window- POP Tab - IP Address or Host namePo
2Ethernet Unit Function Guide Section 1-11-1 Ethernet Unit Function Guide1-1-1 Overall System Configuration ExampleThe following diagram shows an exam
245Ethernet Unit Web Function Appendix GStatus MonitorWeb Function PasswordTo prevent unauthorized access to the Ethernet Unit from a Web browser, pas
246Ethernet Unit Web Function Appendix G1. Connect to the Ethernet Unit from the Web browser. In this example, the URL is specified as http://192.168.
247Ethernet Unit Web Function Appendix G4. Input the default password (“ETHERNET” all in upper case) and click the Login Button.When login is successf
248Ethernet Unit Web Function Appendix G6. Make the required settings (i.e., the password in this example).To prevent incorrect password entry, set th
249IndexNumerics100M indicator, 26AAccount Name field, 68applications precautions, xxiiiARP communications, 16ASCII characters, 237Attached file name
250Indexprecautions, 37CONTROLLER DATA READ, 160Controller Link, 10CONTROLLER STATUS READ, 161Conversion field, 62Counter Area, 136CPU Bus Unit Error
Index251controller status, 161error codes, 203error log, 202clearing, 166reading, 165error status, 201flagsFINS communications, 162response codes, 223
252IndexResults Storage Error Flag, 80Sending Flag, 80TCP/UDP Open Flag, 80FTP communications, 17FTP indicator, 26FTP server, 7, 9, 20, 50troubleshoot
Index253MailLogClear command, 6, 73MailLogRead command, 6, 73main response code, 156See also MRESmaintenance, 239media access methodCJ-series, 14CS-s
254IndexTCP/IP, 8UDP, 17UDP/IP, 8RRacksmounting Ethernet Units, 33radioactivity, xxiiiRD indicator, 26Receive file with specified extension only field
3Ethernet Unit Function Guide Section 1-1Connecting through Multiple SegmentsUse the TCP/IP version of the FINS communications service (i.e., FINS/TCP
Index255testing communications, 181UDP socketstroubleshooting, 211softwareconfiguration, 16Software switch field, 71specificationsEthernet UnitsCJ-ser
256IndexUDP Nodes Tab, 132UDP OPEN REQUEST, 167UDP Open Request Switch, 85UDP RECEIVE REQUEST, 168UDP SEND REQUEST, 169UDP/IP, 2, 8, 115creating commu
257Revision HistoryA manual revision code appears as a suffix to the catalog number on the front cover of the manual. The following table outlines the
258Revision History03 June 2005 Information was added for new versions of the Ethernet Unit and minor corrections were also made, including the follow
OMRON CorporationControl Devices Division H.Q.Shiokoji Horikawa, Shimogyo-ku,Kyoto, 600-8530 JapanTel: (81)75-344-7109/Fax: (81)75-344-7149Regional He
Authorized Distributor:Cat. No. W420-E1-04 Note: Specifications subject to change without noticePrinted in JapanThis manual is printed on 100% recycle
4Ethernet Unit Function Guide Section 1-1Reference SECTION 6 FINS CommunicationsExchanging Data between OMRON PLCs using EthernetConnecting within the
5Ethernet Unit Function Guide Section 1-1Reference SECTION 6 FINS CommunicationsMonitoring PLC Changes and Sending Equipment Status to the Operator by
6Ethernet Unit Function Guide Section 1-1Reference SECTION 2 Mail Send Function in the Operation Manual Construction ofApplicationsReceiving E-mail (D
7Ethernet Unit Function Guide Section 1-1Reference SECTION 3 Mail Receive Function in the Operation Manual Construction ofApplicationsExchanging Large
8Feat ur es Section 1-2Automatically Adjusting the PLC's Internal Clock at Regular IntervalsOperation Use the automatic clock adjustment function
9Feat ur es Section 1-2Improved FINS Message CommunicationsThe following functions have been improved over previous Ethernet Unit mod-els. They allow
10Feat ur es Section 1-2• In addition to using the existing Mail Send Switch, or having e-mail sent atregular intervals, it is possible to set trigger
11System Configuration Section 1-31-3 System Configuration1-3-1 System Configuration1-3-2 Devices Required for Constructing a NetworkThe basic configu
12System Configuration Section 1-3Making Settings in the Routing Table Area (with CX-Integrator)OMRON Communications Units use OMRON's original F
13Specifications Section 1-41-4 Specifications1-4-1 General SpecificationsCS-series Ethernet UnitPersonal computer running WindowsUser-created softwar
14Specifications Section 1-4CJ-series Ethernet UnitAmbient operating temperature 0 to 55°CAmbient humidity 10% to 90% (with no condensation)Atmosphere
vNotice:OMRON products are manufactured for use according to proper procedures by a qualified operatorand only for the purposes described in this manu
15Specifications Section 1-41-4-2 DimensionsCS1W-ETN2110135130(Unit: mm)NODENO.1×1600×161UNITNO.100BASE-TX10BASE-T0ETN21RUNERCSDRDLNK100MERHTCPFTPHOST
16Specifications Section 1-4CJ1W-ETN211-4-3 Software ConfigurationThe software supported by the Ethernet Unit runs in the layers shown in thefollowing
17Overview of Communications Functions Section 1-55. UDP (User Datagram Protocol)Performs data communications. Data resends, priority control, flow co
18Overview of Communications Functions Section 1-5Executing, from the host computer, FINS commands with UDP/IP or TCP/IPheaders enables various contro
19Overview of Communications Functions Section 1-5A total of eight ports (UDP and TCP combined) can be used for socket ser-vices.Executing CMND(490) A
20Overview of Communications Functions Section 1-51-5-3 FTP Server FunctionThe Ethernet Unit has a built-in FTP server, so other computers on the Ethe
21Overview of Communications Functions Section 1-5(2) An SMTP server is required to use the mail send function.(3) Mail server settings require specia
22Overview of Communications Functions Section 1-51-5-6 Automatic Clock Adjustment FunctionThe Ethernet Unit can acquire clock information from the SN
23Nomenclature and Functions Section 1-61-6 Nomenclature and FunctionsThis section describes Ethernet Unit component names, settings, and LEDindicator
24Nomenclature and Functions Section 1-6Note The Ethernet address can also be checked using the FINS command, CON-TROLLER DATA READ. For details, refe
viUnit Versions of CS/CJ-seriesUnit Versions A “unit version” has been introduced to manage Units in the CS/CJ Seriesaccording to differences in funct
25Nomenclature and Functions Section 1-6Each communications device connected to the Ethernet network is allocateda unique Ethernet address. For the Et
26Nomenclature and Functions Section 1-6Indicator Color Status MeaningRUN Green Not lit Operation stoppedHardware errorLit Normal operation100M(Transf
27Comparison with Previous Models Section 1-71-7 Comparison with Previous ModelsItem Previous models New modelsModel number CS1W-ETN11CJ1W-ETN11CS1W-E
28Unit Version Upgrade Information Section 1-81-8 Unit Version Upgrade InformationThe details of the upgrade to the Ethernet Unit version are as follo
29SECTION 2Installation and Initial SetupThis section explains how to install the Ethernet Unit and make the initial settings required for operation.2
30Overview of Startup Procedure Section 2-12-1 Overview of Startup ProcedureThe following procedure is the same for the CS Series and CJ Series.Mount
31Switch Settings Section 2-22-2 Switch Settings2-2-1 CS-series Ethernet UnitsSetting the Unit NumberThe unit number is used to identify individual CP
32Switch Settings Section 2-22-2-2 CJ-series Ethernet UnitsSetting the Unit NumberThe unit number is used to identify individual CPU Bus Units when mo
33Mounting to a PLC Section 2-3Unit Operating Mode Change FunctionIf the node address is set to 00, the Unit operating mode change function willstart.
34Network Installation Section 2-4The CJ1W-ETN21 Ethernet Unit’s maximum current consumption is 370 mA.Make sure that the total current consumption of
viiUsing Unit Version Label The following unit version label is provided with the Ethernet Unit.This label can be attached to the front of the Etherne
35Network Installation Section 2-42-4-2 Recommended ProductsThe following products are recommended for use with the CS1W-ETN21Ethernet Unit.2-4-3 Prec
36Network Installation Section 2-4• Do not lay the twisted-pair cable near devices that generate noise.• Do not lay the twisted-pair cable in location
37Network Installation Section 2-42-4-4 Using Contact Outputs (Common to All Units)Communications errors can occur when Contact Output Units are mount
38Connecting to the Network Section 2-52-5 Connecting to the Network2-5-1 Ethernet ConnectorsThe following standards and specifications apply to the c
39Creating I/O Tables Section 2-61,2,3... 1. Lay the twisted-pair cable.2. Connect the cable to the hub. Be sure to press in the cable until it locks
40Creating I/O Tables Section 2-6Programming ConsoleCX-Programmer (Version 3.20 or Higher) and CX-Integrator The operations are explained here using a
41Unit Setup Procedure Section 2-72-7 Unit Setup ProcedureUse the CX-Programmer (Ver. 3.20 or higher) for the Ethernet Unit Setup, andfollow the proce
42Unit Setup Procedure Section 2-73. Read the I/O tables from the PLC and select the Rack to which the Ether-net Unit is mounted. 4. Move the cursor t
43Using the Web Browser Setting Function Section 2-85. Make the required settings (i.e., the IP address in this case). 6. Transfer the settings to the
44Using the Web Browser Setting Function Section 2-81,2,3... 1. Connect to the Ethernet Unit from the Web browser. In this example, the URL is specifi
viii
45Using the Web Browser Setting Function Section 2-83. Select 1. IP address and Protocols - System to display the Login Pass-word field on the right o
46Basic Settings Section 2-97. After entering the correct values, click the Set Button followed by the Reg-ist Button to register them.The Set Button
47Basic Settings Section 2-9Default SettingThe Ethernet Unit operates using the default IP address when the Unit ismounted to the PLC and initially re
48Basic Settings Section 2-9Example: Using the CX-Programmer to Set the IP Address to 10.3.65.1 When an IP address is set in the Unit Setup, that valu
49Basic Settings Section 2-9 Baud RateSet the baud rate. TCP/IP Keep-alive SettingSet the Liveness-Checking Interval. (This setting is enabled only
50Unit Setup for Particular Applications Section 2-10The default IP router is selected when no Network ID exists in the IP routertable for the destina
51Unit Setup for Particular Applications Section 2-10For details, refer to SECTION 2 Mail Send Function in the Operation ManualConstruction of Applica
52Communications Test Section 2-11For details, refer to SECTION 5 Automatic Clock Adjustment Function in theOperation Manual Construction of Applicati
53Converting from Previous Models Section 2-122-11-3 Host ComputerThe PING command can be executed from the host computer to send anecho request packe
54Converting from Previous Models Section 2-12If the format change is from ETN11 mode to ETN21 mode, then there will beno effect on previous applicati
ixTABLE OF CONTENTSPRECAUTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi1 Intended Audience . . . . . . . . . . .
55Converting from Previous Models Section 2-12Checking the CPU Bus Unit System Setup Area FormatChecking with the CX-Programmer's Software Switch
56Converting from Previous Models Section 2-12 Window Display in ETN11 Mode Checking by Reading Words Allocated in the CIO Area Changing the CPU Bu
57Converting from Previous Models Section 2-12 Using the CX-Programmer's Unit Setup1. Select Change Ethernet Unit Mode from the Options Menu in
58Converting from Previous Models Section 2-12 Manipulating the Rotary Switches for the Node Address with a Precision ScrewdriverConverting from ETN1
59Converting from Previous Models Section 2-127. Turn OFF the power to the PLC and return the Ethernet Unit's rotaryswitches for the node address
60Converting from Previous Models Section 2-12Note If an error occurs in the mode change, remove the Ethernet Unit,create the I/O tables, and correct
61SECTION 3CX-Programmer Unit SetupThis section describes how to install the Ethernet Unit and make the initial settings required for operation.3-1 Se
62Setup Section 3-13-1 SetupItem Contents DefaultBroadcast Set the method for specifying IP addresses for broadcasting in FINS/UDP.• All 1 (4.3BSD): B
63Setup Section 3-1Note (1) The setting to enable or disable dynamic changing of remote IP address-es is available for Ethernet Units with Unit Ver. 1
64FINS/TCP Section 3-23-2 FINS/TCPFINS/TCP Connection SetupItem Contents DefaultNo. Shows the connection number. This is a network API used when TCP i
xTABLE OF CONTENTSSECTION 4Ethernet Unit Memory Allocations. . . . . . . . . . . . . . . . . . . . . . 774-1 CIO Area Allocations . . . . . . . . . .
65FINS/TCP Section 3-2The following settings can be made for each connection number.For details, refer to SECTION 6 FINS Communications Service in the
66DNS Section 3-33-3 DNSDNS Server SetupItem Contents DefaultIP Address Set the IP address for the DNS server.The DNS server is required when specifyi
67SMTP Section 3-43-4 SMTPSMTP Server SetupFor details, refer to SECTION 2 Mail Send Function in the Operation ManualConstruction of Applications.Item
68POP Section 3-53-5 POPPOP Server SetupFor details, refer to SECTION 3 Mail Receive Function in the Operation Man-ual Construction of Applications.It
69Mail Address Section 3-63-6 Mail AddressDestination Mail Address SetupFor details, refer to SECTION 2 Mail Send Function in the Operation ManualCons
70Send Mail Section 3-73-7 Send MailItem Contents DefaultTrigger No. Select a number as the trigger condition for send-ing mail. Up to eight trigger n
71Send Mail Section 3-7Mail trigger type (Select only one.)Soft-ware switchIf this option is selected, mail is sent whenever the Mail Send Switch turn
72Receive Mail Section 3-8For details, refer to SECTION 2 Mail Send Function in the Operation ManualConstruction of Applications.3-8 Receive MailPosti
73Receive Mail Section 3-8Receive Attached File SettingReceive Command SettingItem Contents DefaultReceive file with specified extension onlyIf this o
74Auto Adjust Time Section 3-9For details, refer to SECTION 3 Mail Receive Function in the Operation Man-ual Construction of Applications.3-9 Auto Adj
Comentarios a estos manuales