SYSMAC CS and CJ Series
CS1W-ETN21 (100Base-TX)
CJ1W-ETN21 (100Base-TX)
Cat. No. W420-E1-04
CS1W-ETN21 (100Base-TX)
CJ1W-ETN21 (100Base-TX)
Ethernet Units
Construction of Networks
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 damage to property.
!DANGERIndicates an immine ntly hazardous situation whi ch, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
!WARNINGIndicates a potentially hazardous situatio n which, if not avoided, could resu lt in death or
serious injury. Additionally, there may be severe property damage.
!CautionIndicates 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 Programming 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 constantly 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 VersionsA “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 CorporationMADE 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 LabelThe 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 NotationIn this manual, the unit version of a Ethernet Unit is given as shown in the fol-
lowing table.
Product nameplateNotation used in this manualSpecial 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 laterInformation without reference to specific Unit
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 following 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 following information.
SectionContents
Section 1 Overview of functions for constructing applications.
Section 2Information on using mail func ti ons to autom atic al ly send I/O mem ory data from
Section 3Information on using mail functions to send commands from OMRON PLCs to per-
Section 4Information on transferring large files between personal computers and OMRON
Section 5Information on automatically adjusting the OMRON PLC’s built-in clock.
Section 6Information on communicating between general applications (applications not using
Section 7Information 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.
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 sending/receiving mail, socket service, automatic clock adjustment, 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 communications commands used when sending communications
commands to CS-series and CJ-seri es CPU Units.
Provides an outline of, and describes the design, installation, maintenance, and other basic operations for the CSseries 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, installation, maintenance, and other basic operations for the CJseries 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 CJseries 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).
Serial Communications Boards and
Serial Communications 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 CJseries 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 CJseries 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 NONINFRINGEMENT, 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.
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.
2General Precautions
The user must operate t he product according to t he performance specifications 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, amusement machines, safety equipment, and oth er systems, machines, and equi pment 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 manual 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 applications.
3Safety 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 Precautions4
• 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.
4Operating 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 temperature.
• 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.
5Application 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 Precautions5
• Always turn OFF the power supply to th e CP U Unit, S laves, and Communications 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 circuits (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-circuiting in external wiring. Insufficient safety measures agai nst short-circuiting 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 dissipation. 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 completely.
• 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 Directives6
• 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-tension lines.
• Do not bend the communications cables past their natural bending radius.
• 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 malfunction 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.
6Conformance to EC Directives
6-1Applicable Directives
•EMC Directives
• Low Voltage Directive
6-2Concepts
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 ctives 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.
NoteApplicable EMS (Electromagnetic Susceptibility) and EMI (Electromagnetic
Interference) Standards in the EMC (Electromagnetic Compatibility) standards are as follows:
Unit/BoardEMSEMI
CS1W-ETN21
CJ1W-ETN21
EN61000-6-2
EN61000-6-4
(Radiated emission: 10-m
regulations)
xxv
Conformance to EC Directives6
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.
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 GuideSection 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 (CS1WETN21 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- Programmer with FINS/TCP, use FinsGateway (version 2003 or higher) as personal 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 (CS1WETN21 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 CXProgrammer 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 version 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 client.
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 GuideSection 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 UnitEthernet Unit
CX-Programmer
PLC
FINS
Wireless
ReferenceSECTION 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 (CS1WETN01/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 broadcasting.
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 function supported by this Ethernet Unit (CS1W-ETN21 and CJ1W-ETN21). It provides automatic recovery at the TCP/IP layer from communications errors
(such as packet loss) that occur during multilevel routing.
Ethernet Unit Function GuideSection 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
ReferenceSECTION 6 FINS Communications
Monitoring PLC Changes and Sending Equipment Status to the Operator by E-mail
OperationWhen 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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.