Omron CS1W-ETN21 User Manual

OPERATION MANUAL

Ethernet Units Construction of Networks
SYSMAC CS and CJ Series CS1W-ETN21 (100Base-TX) CJ1W-ETN21 (100Base-TX)
Cat. No. W420-E1-04
Operation Manual
Revised January 2006
iv

Notice:

r f
OMRON products are manufactured for use accordin g to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to ind icate and classify pr ecautions in this manual . Always heed the information provided with them . Failure to heed precautions can result in in jur y to people or dam­age to property.
!DANGER Indicates an immine ntly hazardous situation whi ch, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
!WARNING Indicates a potentially hazardous situatio n which, if not avoided, could resu lt in death or
serious injury. Additionally, there may be severe property damage.
!Caution Indicates a potentially hazardous situat ion which, if not avoided, may result in mino r or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON produ cts, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PLC” means P rogrammable Controller. “PC” is used, however, in some Program­ming Device displays to mean Programmable Controller.
Visual Aids
The following headings appear in the le ft column of the manual to help you locate different types of information.
OMRON, 2003
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or tran smit ted, in any form, o by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o OMRON.
No patent liability is assumed with respect to th e use of the in fo rmation c ontain ed he rein. M oreover, because OMRON is con­stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Note Indicates information of pa rticular interest for efficient and convenient opera-
tion of the product.
1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
v

Unit Versions of CS/CJ-series

Unit Versions A “unit version” has been introduced to manage Units in the CS/CJ Series
according to differences in functionality accompanying Unit upgrades.
Notation of Unit Versions on Products
Confirming Unit Versions with Support Software
The unit version is given to the right of the lot number on the nameplate of the products for which unit versions are being managed, as shown below.
Product nameplate
CS1W-
UNIT
Lot No.
Lot No. 040401 0000 Ver.1.3
OMRON Corporation MADE IN JAPAN
Unit version Example for unit version 1.3
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. 2.0 Units cannot be confirm ed Unit Manufac-
turing Information. The following dialog box is displayed.
In the IO Table Window, right-click and select Unit Manufacturing informa- tion - CPU Unit.
The following Unit Manufacturing information Dialog Box will be displayed.
Unit version
Use the above display to confirm the unit version of the Unit connected online.
vi
Using Unit Version Label The following unit version label is provided with the Ethernet Unit.
This label can be attached to the front of the Ethernet Unit to differentiate between Ethernet Units with different unit versions.
Unit Version Notation In this manual, the unit version of a Ethernet Unit is given as shown in the fol-
lowing table.
Product nameplate Notation used in this manual Special remarks
Ver. 2.0 or later nu mber shown to right of the lot number
Blank to the right of lot number
Ethernet Unit Ver. 1.3 or later Information without reference to specific Unit
Versions applies to all versions of the Unit
Pre-Ver. 1.3 Ethernet Units
vii
viii
TABLE OF CONTENTS
PRECAUTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
SECTION 1
Features and System Configuration . . . . . . . . . . . . . . . . . . . . . 1
1-1 Ethernet Unit Function Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-3 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1-4 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1-5 Overview of Communications Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-6 Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1-7 Comparison with Previous Models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1-8 Unit Version Upgrade Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
SECTION 2
Installation and Initial Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2-1 Overview of Startup Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2-2 Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2-3 Mounting to a PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2-4 Network Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2-5 Connecting to the Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2-6 Creating I/O Tables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2-7 Unit Setup Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2-8 Using the Web Browser Setting Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2-9 Basic Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2-10 Unit Setup for Particular Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
2-11 Communications Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
2-12 Converting from Previous Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
SECTION 3
CX-Programmer Unit Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3-1 Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3-2 FINS/TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
3-3 DNS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3-4 SMTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3-5 POP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
3-6 Mail Address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3-7 Send Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-8 Receive Mail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3-9 Auto Adjust Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
3-10 HTTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
ix
TABLE OF CONTENTS
SECTION 4
Ethernet Unit Memory Allocations. . . . . . . . . . . . . . . . . . . . . . 77
4-1 CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4-2 DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4-3 Auxiliary Area Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
SECTION 5
Determining IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
5-2 IP Addresses in FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
5-3 Private and Global Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
SECTION 6
FINS Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6-1 Overview of FINS Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
6-2 FINS/UDP Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6-3 FINS/TCP Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6-4 Creating Routing Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6-5 Using FINS Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
6-6 Communicating between OMRON PLCs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
6-7 Precautions on High Traffic in FINS Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
SECTION 7
FINS Commands Addressed to Ethernet Units. . . . . . . . . . . . 155
7-1 Command Codes and Response Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
7-2 Socket Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
7-3 Command/Response Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
SECTION 8
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
8-1 Troubleshooting with Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8-2 Error Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
8-3 Error Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
8-4 Troubleshooting Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
8-5 Troubleshooting with Response Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
8-6 Results Storage Area Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
x
TABLE OF CONTENTS
Appendices
A Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
B Buffer Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
C TCP Status Transitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
D ASCII Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
E Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
F Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
G Ethernet Unit Web Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
xi
TABLE OF CONTENTS
xii

About this Manual:

This manual descr i bes th e i nstal la tio n and operation of th e CS 1W-ETN21 an d CJ1W-ETN21 E thernet Units (100Base-TX) and includes the sections described below.
Please read this manual carefully and be sure you understand the information provided before attempting to install o r operate the Ethe rnet Un it. Be sure to read the prec autions provided in the fol­lowing section.
Section 1 introd uces the features, describes the sys tem configuration and Unit par ts, and provides Unit specifications.
Section 2 explains how to install the Ethernet Unit and make the initial settings required for operation. Section 3 provides information for setting communications using CX-Programmer. Section 4 describes the words allocated in the CIO Area and the DM Area for Ethernet Units. Section 5 explains how to manage and use IP addresses. Section 6 provides infor matio n on c ommunic ating on Eth er net Sy stems and inter connecte d n etwor ks
using FINS commands. Section 7 describe s the FI NS c omm and s th at ca n be s en t t o an E thernet Unit and the r espon ses that
are returned by the Ethernet Unit. Section 8 describes information and procedures that can be used to troubleshoot problems that some-
times occur with Ethernet Unit and Ethernet communications. Appendices provide information on Ethernet network parameters, the buffer configuration, TCP status
transitions, ASCII characters, maintenance, and inspections.
The related Ether ne t Units Operation Manual Construction of Appli c ations (W 421 ) provide s the follow­ing information.
Section Contents
Section 1 Overview of functions for constructing applications. Section 2 Information on using mail func ti ons to autom atic al ly send I/O mem ory data from
Section 3 Information on using mail functions to send commands from OMRON PLCs to per-
Section 4 Information on transferring large files between personal computers and OMRON
Section 5 Information on automatically adjusting the OMRON PLC’s built-in clock. Section 6 Information on communicating between general applications (applications not using
Section 7 Information on using person al co mpu ter and UNIX mac hin e soc ket interfaces to cre-
OMRON PLCs to personal computers.
sonal computers.
PLCs.
FINS) and OMRON PLCs.
ate applications using FINS communications.
xiii

Relevant Manuals

The following table lists CS and CJ-series manuals that contain information relevant to Ethernet Units.
Manual
number
W420
W421 CS1W-ETN21
W343
W342
W339
W393
W394 CS1G/H-CPU@@H
W340
CS1W-ETN21 CJ1W-ETN21
CJ1W-ETN21
CS1W-ETN01 CS1W-ETN11 CJ1W-ETN11
CS1G/H-CPU@@H CS1G/H-CPU-@@EV1 CS1D-CPU@@H CS1D-CPU@@S CJ1M-CPU@@ CS1W-SCU21-V1 CS1W-SCB21-V1/41-V1 CJ1G/H-CPU@@H CJ1G-CPU@@P CJ1G-CPU@@ CJ1W-SCU21-V1/41-V1
CS1G/H-CPU@@H CS1G/H-CPU@@-EV1
CJ1G/H-CPU@@H CJ1G-CPU@@P CJ1M-CPU@@ CJ1G-CPU@@
CS1G/H-CPU@@EV1 CS1D-CPU@@H CS1D-CPU@@S CJ1G/H-CPU@@H CJ1G-CPU@@P CJ1G-CPU@@ CJ1M-CPU@@
CS1G/H-CPU@@H CS1G/H-CPU@@EV1 CS1D-CPU@@H CS1D-CPU@@S CJ1G/H-CPU@@H CJ1G-CPU@@P CJ1G-CPU@@ CJ1M-CPU@@
Model Name Contents
Ethernet Units Oper­ation Manual Construction of Net­works
(this manual )
Ethernet Units Oper­ation Manual Construction of Applications
Ethernet Units Oper­ation Manual
Communications Commands Refer­ence Manual
Programmable Con­trollers Operation Manual
Programmable Con­trollers Operation Manual
Programmable Con­trollers Program­ming Manual
Programmable Con­trollers Instructions Reference Manual
Provides information on operating and installing 100Base-TX Ethernet Units, including details on basic settings and FINS communications.
Refer to the Communications Comm ands Reference Manual (W342) for details on FINS commands that can be sent to CS-series and CJ-series CPU Units when using the FINS communications service.
Provides inf ormation on constructin g host applicat ions f or 100Base-TX Ethernet Units, including functions for send­ing/receiving mail, socket service, automatic clock adjust­ment, FTP server functions, and FINS communications.
Describes the installation and operation of the 10Base-5 and 10Base-T Ethernet Units.
Describes the C-series (Hos t L ink) a nd FINS communica­tions commands used when sending communications commands to CS-series and CJ-seri es CPU Units.
Provides an outline of, and describes the design, installa­tion, maintenance, and other basic operations for the CS­series PLCs. Information is also included on features, system configura tion, wi ring, I/O memory alloca tions , and troubleshooting.
Use together with the Programmable Controllers Pro- gramming Manual (W394).
Provides an outline of, and describes the design, installa­tion, maintenance, and other basic operations for the CJ­series PLCs. Information is also included on features, system configura tion, wi ring, I/O memory alloca tions , and troubleshooting.
Use together with the Programmable Controllers Pro- gramming Manual (W394).
Describes programming, tasks, file memory, and other functions for the CS-series and CJ-series PLCs.
Use together with the Programmable Controllers Opera- tion Manual (W339 for CS-series PLCs and W393 for CJ­series PLCs) .
Describes the ladder diagram programming instructions supported by CS-series and CJ-se ries PCs. Use to gether with the Programmable Controllers Operation Manual (W339 for CS-series PLCs and W393 for CJ-series PLCs), and Programmable Controllers Programming Manual (W394).
xiv
Manual
number
W446 WS02-CXPC1-EV6 CX-Programmer
W444 CXONE-AL@@C-E CX-One Setup Man-
W445 CXONE-AL@@C-E CX-Integrator Op era-
W341
W336
CQM1H-PRO01-E CQM1-PRO01-E C200H-PRO27-E
CS1W-SCB21-V1/41-V1 CS1W-SCU21-V1 CJ1W-SCU21-V1/41-V1
Model Name Contents
Ver. 6.1 Operation Manual
ual
tion Manual
Programming Con­soles Operation Manual
Serial Communica­tions Boards and Serial Communica­tions Units Operati on Manual
Provides information on how to use the CX-Programmer, a Windows-based programming device, and CX-Net, a Windows-based network configuration tool.
Use together with the Programmable Controllers Opera- tion Manual (W339 for CS-series PLCs and W393 for CJ­series PLCs) , Programmable Controllers Programming
Manual (W394) and the Programma ble Controllers Instructions Reference Manual (W340) to perform pro-
gramming. Describes operating procedures for the CX-One FA Inte-
grated Tool Package. Refer to this manual for operating procedures for the CX -
One FA Integrated Tool Package. Describes operating pro cedure s f or th e CX-Integ r ator ne t-
work configuration support software for CS/CJ-series PLCs.
Refer to this manual for operating procedures for the CX ­Integrator network configuration support software for CS/ CJ-series PLCs.
Provides information on how to operate the Programming Console.
Use together with the Programmable Controllers Opera- tion Manual (W339 for CS-series PLCs and W393 for CJ­series PLCs) , Programmable Controllers Programming
Manual (W394) and the Programma ble Controllers Instructions Reference Manual (W340) to perform pro-
gramming. Accessing the PLC c onn ec ted to the CX-Programmer via
Ethernet or the host computer or other device connected to the Serial Communications Board or Unit.
Describes the use of Serial Communications Units and Boards, including details on hardware, software, and standard system protocols.
!WARNING Failure to read an d understand the infor mation pr ovided in this manual may result i n per-
sonal injury or death, damage to th e product, or product failure. Please r ea d ea ch section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
xv
xvi
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments.
Warranty and Limitations of Liability

WARRANTY

OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON­INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS 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 FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
xvii
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply 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 energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products. NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.
xviii
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons.
It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm 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.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
xix
xx

PRECAUTIONS

This section provides general precautions for using the CS1W-ETN21 and CJ1W-ETN21 Ethernet Units (100Base-TX).
The information contained in this section is importan t for the safe and reliable applicat ion of Ethernet Un its. You must read this section and understand the information contained before attempting to set up or operate an Ethernet Unit.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
3 Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
6-1 Applicable Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
6-2 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
xxi
Intended Audience 1

1 Intended Audience

This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.

2 General Precautions

The user must operate t he product according to t he performance specifica­tions described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the produ ct to nuclear control s ystems, railroad systems, aviation systems, vehicles, combustion systems, me dical equipmen t, amuse­ment machines, safety equipment, and oth er systems, machines, and equi p­ment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performan ce charact er is ti cs of the pr od uc t are sufficient for the systems, machi nes, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides informat ion for programming and operat ing the Un it. B e sure to read this manual before attempting to use the Unit and keep this man­ual close at hand for reference during operation.
!WARNING It is extremely impor tant that a PLC and al l PLC Units b e used for the spec i-
fied purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to th e above-mentioned appli­cations.

3 Safety Precautions

!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing
so may result in electric shock.
!WARNING Do not touch any of the te r minals o r ter minal blocks while the power is bein g
supplied. Doing so may result in electric shock.
!WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do
so may result in malfunction, fire, or electric shock.
!Caution Execute online editing only after confirming that no adverse effects will be
caused by extending the cycle time. Other wise, the input signals may not be readable.
xxii
Operating Environment Precautions 4
• Emergency sto p circu its, inter lock circuits, lim it circu its, and simil ar safety measures must be provided in external control circuits.
!Caution Tighten the screws on the ter minal block of the AC Power Supply Unit to the
torque specified in the operation manual. The loose screws may result in burning or malfunction.

4 Operating Environment Precautions

!Caution Do not operate the control system in the following locations:
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified in the specifications.
• Locations subject to condensation as the result of severe changes in tem­perature.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
!Caution Take appropr iate and sufficient counter measures when install ing systems in
the following locations:
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power supplies.

5 Application Precautions

Observe the following precautions when using the Ethernet Unit.
!WARNING Always heed these precautions. Failure to abide by the following precautions
could lead to serious or possibly fatal injury.
• Always connect to a ground of 100 connecting to a ground of 100
or less when installing the Units. Not
or less may result in electric shock.
xxiii
Application Precautions 5
• Always turn OFF the power supply to th e CP U Unit, S laves, and Commu­nications Units before attem pting any of the following. Not turning OFF the power supply may result in malfunction or electric shock.
• Mounting or dismounting I/O Units, CPU Units, Memory Packs, or Master Units.
• Assembling the Units.
• Setting DIP switches or rotary switches.
• Connecting cables or wiring the system.
!Caution Failure to abide by the following precautions could lead to faulty operation of
the Ethernet Unit or the syste m, or could damage the Ethernet Unit. Always heed these precautions.
• Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnorm al signals caused by broken signal lines, momentary power interruptions, or other causes.
• Interlock circuits, limit circuits, and similar safety measures in external cir­cuits (i.e., not in the Programmable Controller) must b e provided by the customer.
• Always use the power supply voltages specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
• Take appro priate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be partic ularly car eful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
• Install external breakers and take other safety measures against short-cir­cuiting in external wiring. Insufficient safety measures agai nst short-cir­cuiting may result in burning.
• Do not install the Unit near devices that generate strong high-frequency noise.
• Do not drop the Unit or subject it to excessive vibration or shock.
• Make sure that all the Backplane mounting screws, terminal block screws, and cable connector screws are tightened to the torqu e specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
• Leave the label attached to the Unit when wiring. Removing the label may result in malfunction if foreign matter enters the U nit .
• Remove the label after the completion of wiring to ensure proper heat dis­sipation. Leaving the label attached may result in malfunction.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.
• Double-check all wir ing and switch settings b efore turning ON th e power supply. Incorrect wiring may result in bur ni ng.
• Wire all connections correctly.
• Mount Units only after checking terminal blocks and connectors com­pletely.
• Make sure that the ter minal blocks, expansion cables, and other items with locking devices are locked in place.
• When transporting the Unit, use special packing boxes and protect it from being exposed to excessive vibration or impacts during transportation.
xxiv
Conformance to EC Directives 6
• Check the user program for proper execution before actually runn ing it on the Unit. Not checking the program may result in unexpected operation.
• Observe the following precautions when wiring the communications cable.
• Separate the communications cables from the power lines or high-ten­sion lines.
• Do not bend the communications cables past their 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 communications cables.
• Before touching a Unit, be sure to first touch a grounded metallic object in order to discharge any static build-up. Not doing so may result in malfunc­tion or damage.
• Confirm th at no adverse effect will occur in the system before attemp ting any of the following. Not doing so may result in an unexpected operation.
• Changing the operating mo de of the PLC (incl uding th e settin g of the startup operation mode).
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.

6 Conformance to EC Directives

6-1 Applicable Directives
•EMC Directives
• Low Voltage Directive
6-2 Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the r elated EMC standards so tha t they can be more e asil y built in to ot her d evices or th e overall machine. The actual products have been checked for conformity to EMC standards (see the following note). Whether the products conform to the standards in the s ystem used by the custo mer, however, must be checked by the customer.
EMC-related perfor ma nce o f th e O M RON devices that c omp ly wi th EC Di re c­tives will vary depending on the configuration, wi ring, an d other conditio ns of the equipment or control panel on which the OMRON devices are installed . The customer must, therefore, perform the fi nal c heck to confir m th at devices and the overall machine conform to EMC standards.
Note Applicable EMS (Electromagnetic Susceptibility) and EMI (Electromagnetic
Interference) Standards in the EMC (Electromagnetic Compatibility) stan­dards are as follows:
Unit/Board EMS EMI
CS1W-ETN21 CJ1W-ETN21
EN61000-6-2
EN61000-6-4 (Radiated emission: 10-m regulations)
xxv
Conformance to EC Directives 6
Low Voltage Directive
Always ensure that devices operating at voltage s of 50 to 1,00 0 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2).
xxvi
SECTION 1
Features and System Configuration
This section introduces the features, describes the system configuration and Unit parts, and provides Unit specifications.
1-1 Ethernet Unit Function Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-1 Overall System Configuration Example. . . . . . . . . . . . . . . . . . . . . . 2
1-1-2 Determining the Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-3 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1-3-1 System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1-3-2 Devices Required for Constructing a Network. . . . . . . . . . . . . . . . . 11
1-3-3 Setup Area and Related Peripheral Devices. . . . . . . . . . . . . . . . . . . 11
1-4 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1-4-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1-4-2 Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-4-3 Software Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1-5 Overview of Communications Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-5-1 FINS Communications Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-5-2 Socket Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1-5-3 FTP Server Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1-5-4 Mail Send Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1-5-5 Mail Receive Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1-5-6 Automatic Clock Adjustment Function . . . . . . . . . . . . . . . . . . . . . . 22
1-5-7 Specifying Servers by Host Name . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1-6 Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1-6-1 Component Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1-6-2 Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-7 Comparison with Previous Models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1-8 Unit Version Upgrade Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
1
Ethernet Unit Function Guide Section 1-1

1-1 Ethernet Unit Function Guide

1-1-1 Overall System Configuration Example
The following diagram shows an example of an overall system configuratio n using Ethernet Units.
(1) Connecting the CX-Programmer to the PLCs online via Ethernet
CX-Programmer Mail software
Mail FINS
Mail
IP router
Firewall
(3) Capturing PLC changes
and sending the status of equipment to an operator
(7) Automatically adjusting the
PLC's internal clock periodically
Internet
Server Room
Router
(4) Receiving mail (data, files) at
PLCs
Receiving mail
Writing commands
Sending mail
DNS server POP3 server SMPT server SNPT server
Ethernet
(5) Transferring large data files between
Intranet
Router
Ethernet Unit Ethernet Unit
PLC PLC
FINS message communications
(2) Sending and receiving data via Ethernet
between OMRON PLCs
personal computers and PLCs
FTP software Mail software
Large files
(Factory line)
Ethernet
FTP
Memory Card
(6) Configuring an independent communications protocol
for the host application using TCP/IP (UDP/IP)
Office Floor
CX-Programmer SCADA software PLC Reporter, Compolet FinsGateway (communications driver)
Ethernet
FINS
FINS message communications
Wireless
FINS
NS-series PT
Independent user application
UDP/TCP socket
(1) Connecting the CX-Programmer to
PLCs online via Ethernet
CX-Programmer
FINS
1-1-2 Determining the Objectives
Connecting the CX-Programmer to PLCs Online via Ethernet
Connecting within the Same Segment
2
Use the UDP/IP version of the FINS communications service (i.e., FINS/ UDP). FINS/UDP is suppor ted by many OMRON products and is compatible with earlier Ethernet Units (CS1W-ETN01/ETN11 and CJ1W-ETN11). The CX-Programmer can be connecte d an d us ed with F INS /UDP even if personal computer middleware (FinsG ateway) is not used. FinsGateway (any version) can also be used together with the CX-Programmer.
Ethernet Unit Function Guide Section 1-1
Connecting through Multiple Segments
Using Media with Unreliable Connections, Such as a Wireless LAN
Connecting from a Personal Computer with a Dynamic Private IP Address
Use the TCP/IP version of the FINS communications service (i.e., FINS/TCP). FINS/TCP is a new function supported by these Ethernet Units (CS1W­ETN21 and CJ1W-ETN21). It provides automatic recovery at the TCP/IP layer from communications error s (s uc h as packet loss) t hat occ ur dur i ng mul til evel routing. For CX-Programmer (version 4.0 or higher), FINS/TCP can be used to directly conne ct to the PLC online. To use lower versions of the CX- Pro­grammer with FINS/TCP, use FinsGateway (version 2003 or higher) as per­sonal computer middleware.
Use the TCP/IP version of the FINS communications service (i.e., FINS/TCP). FINS/TCP is a new function supported by these Ethernet Units (CS1W­ETN21 and CJ1W-ETN21). It provides automatic recovery at the TCP/IP layer from communications errors (such as packet loss) resulting from unreliable connections. For CX-Programmer (version 4.0 or higher) , FINS/TCP can be used to directly c onnect to the P LC online. To use lower versions of the CX­Programmer with FINS/TCP, use FinsGateway (version 2003 or higher) as personal computer middleware.
Depending on whether or not the connection will be within the same segment, either use an IP add ress conversion meth od for dynamic IP address es in th e UDP/IP version of the FINS communic ations service or use the TCP/IP ver­sion of the FINS communications service.
It is possible to conn ect online to a PLC using the CX-Pr ogrammer from a computer serving as a temporarily connected node or a permanent DHCP cli­ent.
For CX-Programmer (version 4.0 or higher), FINS/TCP can be used to directly connect to the PLC onlin e. To use lower versions of the CX -Programmer with FINS/TCP, use FinsGateway (version 2003 or higher) as pe rsonal computer middleware.
3
Ethernet Unit Function Guide Section 1-1
Connecting through multiple segments, such as over the Internet: Use FINS/TCP.
CX-Programmer
FINS
Internet
IP router
Firewall
Router
(Server room)
Intranet
Router
Connecting from a computer with a dynamic private IP address: Use FINS/TCP or FINS/UDP.
(Office floor)
CX-Programmer
FINS
EthernetEthernet
(Production line)
Ethernet
Ethernet Unit Ethernet Unit
CX-Programmer
PLC
FINS
Wireless
Reference SECTION 6 FINS Communications
Exchanging Data between OMRON PLCs using Ethernet
Connecting within the Same Segment
Use the UDP/IP version of the FINS communications service (i.e., FINS/ UDP), and construct applications using the SEND(090), RECV(098), and CMND(490) instructions in the ladder program. FINS/UDP is supported by many OMRON products, and is compatible with earlier Ethernet Units (CS1W­ETN01/ETN11 and CJ1W-ETN11). The protoc ol processing for FINS/UDP is simpler than for FINS/TCP, giv ing FINS/UDP cer tain advantages in ter ms of performance. Another feature of FINS/UD P is that it can be used for broad­casting.
On the other hand, with F INS/UDP it is nece ssary to provide mea sures, such as retries, for handling communications errors.
Connecting within the same segment: Use FINS/UDP.
CX-Programmer
Using media with unreliable connections, such as wireless
FINS
LAN: Use FINS/TCP.
Connecting through Multiple Segments
4
Use the TCP/IP version of the FINS communications service (i.e., FINS/TCP), and construct applications using the SEND(090), RECV(098), and CMND(490) instr uctions in the ladder program. FINS /TCP is the initial func­tion supported by this Ethernet Unit (CS1W-ETN21 and CJ1W-ETN21). It pro­vides automatic recovery at the TCP/IP layer from communications errors (such as packet loss) that occur during multilevel routing.
Ethernet Unit Function Guide Section 1-1
Intranet
Production line A
Ethernet Unit
Ethernet
Router
Mail communications
FINS message communications
Ethernet Unit
Connecting within the same segment: Use FINS/UDP.
Router
Connecting through multiple segments: Use FINS/TCP.
Production line B
PLC
FINS message communications
Ethernet Unit
PLC
Memory Card
Reference SECTION 6 FINS Communications
Monitoring PLC Changes and Sending Equipment Status to the Operator by E-mail
Operation When the mail send fun ction is used , au tomatic c ommunic ations ap plic ations
via the Inter net can be constr ucted relatively easily. With this Ethernet Unit, the following mail triggers c an be set as PLC cha nges. When these settings can be used, no special ladder program is required for sending e-mail.
• When a particular bit (the Mail Send Switch) turns ON
• When values change in particular words (=, <>, <, <=, >=, >)
• When a particular bit changes (either OFF to ON or ON to OFF)
• When a change occurs at the Ethernet Unit (stored in error log)
• When a change occurs at the CPU Unit (e.g., a non-fatal error, a fatal error, or a mode change)
• At regular intervals
The following data can be sent by e-mail:
• Text (user- created text strings (ASCII data), Ether net Unit e rror log data, and status data)
• Attached files (IOM data cr eated auto maticall y by the Ether net Uni t, data tables, and files in File Memory)
To use the mail send func tion, there must b e a separate SM TP ser ver on the network. When u sing the S MTP ser ver of an Inter net S er vice Pr ovider (ISP ), security measures, such as POP before or SMTP, may be required. (This Unit handles POP before SMTP.) In addition to the IP address, the host name used for the DNS service can be specified for the SMTP/POP3 server.
5
Loading...
+ 255 hidden pages