Omron CS1W-ETN21 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Omron CS1W-ETN21. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoOmron CS1W-ETN21 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Omron CS1W-ETN21 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Omron CS1W-ETN21, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Omron CS1W-ETN21 deve conte:
- dados técnicos do dispositivo Omron CS1W-ETN21
- nome do fabricante e ano de fabricação do dispositivo Omron CS1W-ETN21
- instruções de utilização, regulação e manutenção do dispositivo Omron CS1W-ETN21
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Omron CS1W-ETN21 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Omron CS1W-ETN21 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Omron na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Omron CS1W-ETN21, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Omron CS1W-ETN21, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Omron CS1W-ETN21. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    OPERA TION MANUAL Ethernet Units Construction of Networks SYSMAC CS and CJ Series CS1W -ETN21 (100Base-TX) CJ1W -ETN21 (100Base-TX) Cat. No. W420-E1-04[...]

  • Página 2

    CS1W-ETN21 (100Base-TX) CJ1W-ETN21 (100Base-TX) Ethernet Units Construction of Networks Operation Manual Revised Ja nuary 2006[...]

  • Página 3

    iv[...]

  • Página 4

    v Notice: OMRON products are manufactured for use acc ording to proper procedu res by a qualifi ed ope rator and only f or the pur p oses des cribe d in th is manual. The following conventions are us ed to indicate and cla ssify precaution s in this manual. A lwa ys heed the informat ion provided with them. F ail ure to heed precauti ons can result[...]

  • Página 5

    vi Unit Versions o f CS/CJ-series Unit V ersions A “unit version” has been introd uced to mana ge Units in the CS/ CJ Seri es accord ing to differences in functiona lity accompanyi ng Unit upgrades. Notation of Unit V ersions on Pr oducts The unit version is given to the r ight of the lo t number on the name plate of th e product s for which un[...]

  • Página 6

    vii Using Unit V ersion Label The following unit version label is provided with the Ether net Unit. This label can be attac hed to th e front of the E ther net Unit to differentiate between Ether ne t Units with different unit versions. Unit V ersion Notation In this manual , the un it version of a Eth er net Un it i s given as shown in th e fol- l[...]

  • Página 7

    viii[...]

  • Página 8

    ix TABLE OF CONTENTS PRECAUTION S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi 1 Intended Aud ience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxii 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 9

    x TABLE OF CONTENTS SECTION 4 Ethernet U nit Memory Allocatio ns . . . . . . . . . . . . . . . . . . . . . . 77 4-1 CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4-2 DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 10

    xi TABLE OF CONTENTS A ppendices A Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 B Buf fer Conf iguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 C TCP Status T ransitions . . . . . . . [...]

  • Página 11

    xii TABLE OF CONTENTS[...]

  • Página 12

    xiii About this Manual: This manual de sc r ibes th e i ns tal la tio n a nd opera tio n o f th e CS 1W-ETN21 an d CJ 1W-ETN21 Et her ne t Units (1 00Base-T X) and i ncludes the sec tions des cri bed be low . Please rea d this manual c arefully and be sure you unders tand the infor mation provided before attempt ing to install o r operate the Ethe [...]

  • Página 13

    xiv Relevant Manuals The following table lis ts CS a nd CJ-s erie s manual s that co ntain i nformat ion rel e vant to Eth er net Uni ts. Man ual numbe r Model Nam e Contents W420 CS1W -ETN21 CJ1W -ETN21 Ethernet Units Oper- atio n Manu al Cons tr uc tio n of Net- wor ks (thi s manu al) Provi des inf ormation on op erating and installing 100Base -T[...]

  • Página 14

    xv W446 WS02-CXPC1- EV6 CX-Prog rammer V er . 6.1 Oper ation Manual Provi des inf orm ation on ho w to use th e CX-Progr ammer , a Windo w s-base d progr amming de vice, an d CX-Net, a Windo ws-based network con figurati on tool. Use toget her with the Progr am m ab le Controll ers Oper a- tion Man ual (W3 39 f or CS-series PLCs an d W393 f or CJ- [...]

  • Página 15

    xvi[...]

  • Página 16

    xvii Read and Understa nd this Manual Please read and u ndersta nd this ma nual before using the produc t. Pleas e consu lt your OMRON represent ative if you hav e any questi ons or c omments. Warranty and L imitation s of Liability WARRANTY OMRON's exclusive warranty is tha t the prod ucts a re free fro m defects in m ater ials and workma nsh[...]

  • Página 17

    xviii Application Considerations SUITABILITY FOR USE OMRON shall no t be re sponsible for conformi ty with any s tandards, c odes, or reg ulations tha t apply to the combina tion of products in th e custome r's appl ication or use of the pr oducts. At the cu stomer 's reque st, OMRON wil l provide a pplicable thi rd par ty ce r tifi catio[...]

  • Página 18

    xix Disclaimers CHANGE IN SPECIFICATIONS Produc t specif ications and acc essor ies m a y be chan ged at a ny time based on im prov e ments and othe r reasons. It is our pra ctice to change model numbe rs when p ublished ratings or features are c hanged, or when signifi cant con stru ction ch anges are made. Howev e r , some s pecific ation s of th[...]

  • Página 19

    xx[...]

  • Página 20

    xxi PRECA UTIONS This section pro vides general precautions f or using the CS1W -ETN21 and CJ1W -ETN21 Ethernet Units (1 00Base-TX). The information contained in this s ection is impo rtant for the safe and reliable a pplication o f Ethernet Units. Y ou must read this section an d understand the information cont ained bef ore attempt ing to set up [...]

  • Página 21

    xxii Intend ed A udien ce 1 1 Intended Audience This manual is intend ed for the f ollowing person nel, who mus t also have knowledge of electr ic al syst ems (an electr ical engine er or the equivalent). • P erson nel in ch arge of instal ling F A sy stems. • P erson nel in charge of desi gning F A sys tems. • P erson nel in charge of manag [...]

  • Página 22

    xxiii Operating En vironmen t Precaution s 4 • Emergency sto p cir cuits, inter lock circui ts, limit circu its, and simil ar safety measu res must b e provided in exter nal con trol circui ts. !Caution Tighten the sc re ws o n the ter minal block of the AC P ower Supply Unit to the torque s pecified in the op eration manual. T he loose s crews m[...]

  • Página 23

    xxiv Application Pre cautions 5 • A l ways turn OFF th e power supply to th e CP U Uni t, Slaves , and Commu- nicatio ns Units be f o re attem pting any of the following. Not tu rn ing O FF the p ow er supp l y ma y resu lt in mal functi on or el ectric s hock. • Mounting or di smountin g I/O Units, CPU Unit s, Memor y P acks, or Maste r Units.[...]

  • Página 24

    xxv Conf ormance to EC Directi ves 6 • Check th e us er pr ogram for proper ex ecut io n be fore actually r unning it o n the Unit. No t checking th e program may result i n unexpected ope ration. • Obser ve the f ollowing precauti ons when wir ing the communic ations cable. • Separate the communicati ons cables from the power lines or high -[...]

  • Página 25

    xxvi Conf ormance to EC Directiv es 6 Low V oltage Directive Always ensure tha t devices operati ng at voltages o f 50 to 1,00 0 V AC and 75 to 1,500 V DC meet t he requi red safety standards f or the PLC (EN61131 -2).[...]

  • Página 26

    1 SECTION 1 F eatur es and System Conf iguration This section introd uces the features, describes the sy stem configu rati on and Unit parts, an d pro vid es Unit specifications. 1-1 Ethernet Unit Function Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1-1-1 Ov erall System Conf iguration Example . . . . . . . . .[...]

  • Página 27

    2 Etherne t Unit Function Guide Section 1-1 1-1 Eth ernet Unit Fu nction Guide 1-1-1 Overall System Configuration Exampl e The following d iagram shows a n example of an overall sys tem confi guratio n using E ther net Un its. 1-1-2 Determining the Objectives Connecting the CX-Pr ogrammer to PLCs Online via Ethernet Connecting within the Same S egm[...]

  • Página 28

    3 Etherne t Unit Function Guide Section 1-1 Connecting thr ough Multiple Segments Use the TCP/IP version of the FINS c ommunicati ons ser v ice (i.e., FINS/T CP). FINS/TCP i s a new function su ppor ted by these Ether ne t Units (C S1W - ETN21 an d CJ1W-ETN21). It provid es automat ic rec ov ery at the TCP /IP lay er from com municati ons er ror s [...]

  • Página 29

    4 Etherne t Unit Function Guide Section 1-1 Reference SECTION 6 FINS Commun ications Exchanging Data between OM R ON PLCs using Ethernet Connecting within the Same S egment Use the UDP/IP v ers ion of the FINS communications ser v ice (i.e., FINS/ UDP), and constr uct appl ications using the SEND( 090), RE CV(098) , and CMND(490) instr uction s in [...]

  • Página 30

    5 Etherne t Unit Function Guide Section 1-1 Reference SECTION 6 FINS Commun ications Monitoring PLC Changes and Sending Equipment Status to the Operator b y E-mail Operati on When the ma il sen d funct ion is us ed, au tomatic commun ications applic ations via the Inter net can be co nstr ucted r elatively easi ly . W ith this Ethe rn et Unit, the [...]

  • Página 31

    6 Etherne t Unit Function Guide Section 1-1 Reference SECTION 2 Mail Sen d Function i n the Ope ration Manual Cons truc tion of Applic ations Receiv ing E- m ail (D at a a nd Files) at the PLC Operati on Use th e mail receive functio n. When the mail rec eiv e fun ction is us ed, the PLC ca n be acces sed through a mail ad dress, enabling remote ap[...]

  • Página 32

    7 Etherne t Unit Function Guide Section 1-1 Reference SECTION 3 Mail Receive Function in the Operati on Manual Const ruc tion of Applic ations Exchanging Lar g e File s between a P ersonal Computer and PLC Operati on Use th e FTP ser v e r function. The FTP ser ver function makes i t possible to lo g in to the Ether net Un it from a compu ter (FT P[...]

  • Página 33

    8 Fe a t u r e s Section 1-2 A utomaticall y Adjusting the P L C's Internal Cloc k at Regular Interv als Operati on Use th e automa tic clock adjus tment funct ion. With the a utomati c clock adjustme nt functio n, the S NTP ser ver's clock is taken as the sta ndard for automati cally ad justing t he built-in clock of th e PLC conne cted [...]

  • Página 34

    9 Fe a t u r e s Section 1-2 Impr oved FINS Me ssage Com municati ons The following functions have been improved o ver pre viou s Ether ne t Unit mod- els. They allow the scale of the syste m to be increa sed, and can give greater flexibility to the sys tem co nfiguration incl uding the host c ompute r . • Expande d number of nodes ( to 254 max.,[...]

  • Página 35

    10 Fe a t u r e s Section 1-2 • In addi tion to using th e existing Ma il Send S witch , or having e- mail s ent at regular i nter vals, it is p ossible to s et tri ggers f or s ending e -mai l (for e xam- ple, b y havin g e-mail se nt when a P V in the CP U Unit's I/O mem or y reaches a cer tain value (s ize compari son), or when the bit at[...]

  • Página 36

    11 System Co nfiguration Section 1-3 1-3 System Configuration 1-3-1 System Configurat ion 1-3-2 Devi ces Required for Constructing a Netw ork The basi c config uration for a 100Base -TX Ethe r net Syste m consis ts of on e hub to whic h node s are at tached in st ar f orm us ing tw isted-p air cable. The devices shown in the follo wing table are re[...]

  • Página 37

    12 System Co nfiguration Section 1-3 Making Settings in the Routing T able Area (with CX-Integra tor) OMRON Communica tions Uni ts use OMRON's orig inal FIN S networ k sys tem. Make the settings for the FINS networ k and the relay path, a s req ui red, i n th e Routing T able Area al locat ed to the no n-volatile me mor y in th e CPU Unit. Use[...]

  • Página 38

    13 Specific ations Section 1-4 1-4 Specifications 1-4-1 General Specif ica tions CS-serie s Ethern et Unit P ersonal computer running Windo ws User-created software CX-Programmer FinsGatew ay Windows Ethernet Uni t CS/CJ-series CPU Unit Item Specific ations Model n umber CS1W -ETN21 T ype 100Base -TX (Can be used as 10Base-T) Applica ble PLCs CS-se[...]

  • Página 39

    14 Specific ations Section 1-4 CJ-series Et hernet Unit Ambient operating t emperat ure 0 to 55 ° C Ambient humidity 10% to 90% (with no conden sation) Atmosp here Must b e free o f corr osive gas. Ambient storage tem perature − 20 to 75 ° C W eight 200 g max. Dime nsio ns 35 × 130 × 101 m m (W × H × D) Item Specific ations Item Specific at[...]

  • Página 40

    15 Specific ations Section 1-4 1-4-2 Dimensi o ns CS1W -ET N21 101 35 130 (Unit: mm) NODE NO. 1 × 16 0 0 × 16 1 UNIT NO. 100BASE-TX 10BASE-T 0 ETN21 RUN ERC SD RD LNK 100M ERH TCP FTP HOST[...]

  • Página 41

    16 Specific ations Section 1-4 CJ1W -ETN21 1-4-3 Software Configuration The software su ppor ted by the Ether net Unit run s in the lay ers shown in the f oll owing diagram. Th e compone nts tha t f o rm the variou s lay ers a re def ined below the diagram. 1,2,3. .. 1. Ether ne t (V er . 2.0) The V ersion 2 .0 Ethe rn et frame f or mat i s used fo[...]

  • Página 42

    17 Ove rview of Commu nications Function s Section 1-5 5. UDP (Use r Datagram Proto col) P erfor ms data co mmunica tions. Data res ends, pri ori ty contro l, flow contr ol, and ot her meas ures t o ensur e communic ation s reliabi lity ar e not per- f or med for UDP communications, s o the transmitted da ta may not ar rive at the desti nation node[...]

  • Página 43

    18 Ove rview of Commu nications Function s Section 1-5 Executing, fro m the hos t computer, FINS comman ds with UD P/IP or T CP/IP headers enables various contr ol ope rations, suc h as the reading and wr itin g of I/O mem or y be tween PLCs, mo de change s, and file me mor y o perations. F or e xample, it is possible t o connect on line vi a Ether[...]

  • Página 44

    19 Ove rview of Commu nications Function s Section 1-5 A total of ei ght por ts (UDP and TCP c ombin ed) can be u sed for sock e t ser- vice s. Executing CM ND(490) Anothe r wa y to use socket ser vic es is to reques t a UDP or TCP so ck et ser- vice by sending a F INS comman d to the Ether n et Unit by e xecuting CMND(490) from the CP U Unit. When[...]

  • Página 45

    20 Ove rview of Commu nications Function s Section 1-5 1-5-3 FTP Server Fu nction The E ther net Unit h as a built-in FTP s er ver , so othe r comp uters o n the Ether- net ca n read or wri te individua l files on a Memory Card mounted to the CPU Unit or in E M File Memor y . This all ows files to be exchanged between the hos t compu ter and th e P[...]

  • Página 46

    21 Ove rview of Commu nications Function s Section 1-5 (2) An SM TP ser ver is requi red to us e the m ail send function . (3) Mail s er ver setting s require spe cialized kn owledge, so they should al- wa ys be handle d by the networ k admin istrator . (4) Be su re that you have a clear unders tanding of the ma il sys tem before us- ing th is func[...]

  • Página 47

    22 Ove rview of Commu nications Function s Section 1-5 1-5-6 A utomatic Clock Adjustment Function The Ethe rn et Unit c an acquir e clock informati on fro m the SNTP ser ver at a par tic ular time or when a dedica ted bit tur ns ON, and it can refr esh the i nter- nal clo ck inf or ma tion of the CPU Unit to w hich it i s mounted . Note (1) An SN T[...]

  • Página 48

    23 Nomenclature and Functions Section 1-6 1-6 Nomenclature and Functions This sect ion des cri bes Ether net Unit compon ent names, se ttings, and LED indica tor s. 1-6-1 Component Nam es CS-serie s Ethernet Units CS1W -ET N21 (1 00Base -TX) Each communicati ons device conne cted to the Ether net network is allocate d a unique Ether ne t address. F[...]

  • Página 49

    24 Nomenclature and Functions Section 1-6 Note The Eth ernet ad dress can also be checked using the FINS command , CON- TR OLLER DA T A READ . For d etails, ref er to 7-3-2 C ONTRO LLER D A T A READ on pa ge 160. CJ-serie s Ethernet Units CJ1W -ETN 21 (100 Base-TX) Note An IP addr ess label is prov i ded with the Unit. W riting the IP address a nd [...]

  • Página 50

    25 Nomenclature and Functions Section 1-6 Each communicati ons device conne cted to the Ether net network is allocate d a unique Ether ne t address. For the Ether net Unit, this Et her net addres s is shown on th e ri ght side o f the Uni t as a 12-digit hexadeci mal numb er . Note The Eth ernet ad dress can also be checked using the FINS command ,[...]

  • Página 51

    26 Nomenclature and Functions Section 1-6 Indicator Color Status Meaning R UN Green Not li t Ope ration stop ped Hardware error Lit Norma l operation 100M (T ransf er sp eed ) Green Not lit 10 Mbps (10Bas e-T) Lit 100 M bps (100Base-TX) ERC (Ethernet Unit error) Red Not li t Uni t normal Lit Nod e address no t between 1 and 254 A hardw are (e.g., i[...]

  • Página 52

    27 Comparison wit h Prev ious Models Section 1-7 1-7 Comparison wi th Previous Models Item Previou s models Ne w models Model n umber CS1W -ETN11 CJ1W -ETN11 CS1W -ETN21 CJ1W -ETN21 Ph ysical la yer 10Base-T 100Base -TX, 10Base-T Numbe r of nodes 126 254 PLC ma intenance v ia the Internet Not po ssible to send FIN S commands from a perso nal comput[...]

  • Página 53

    28 Unit V ersion Upgrade Information Section 1-8 1-8 Unit V ersion Upgrade Information The deta ils of the upgrade to the Eth er net Unit v e rsion are as follows: ■ Unit V e rsion 1.3 ■ Unit V e rsion 1.4 Upgrade Details W eb function added The unit settings and s tatus monito ri ng for the Ethernet Unit can be e asily perf ormed from a Web br[...]

  • Página 54

    29 SECTION 2 Installati on and Initi a l Se tup This section explains how to i nstall the Ethernet Unit and make the initial setti ngs required for operation. 2-1 Overvie w of Startup Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2-2 Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 55

    30 Overview of Startup Procedure Section 2-1 2-1 Overview of Star tup Procedure The follo w ing proc edure i s the sam e for the CS Ser ies and CJ Ser ies. Mount the Unit to the PLC. Set the unit number. Set the node number. Connect to the network using twisted-pair cable. Determine the local IP address and address conversion method. Create the I/O[...]

  • Página 56

    31 Switc h Settings Section 2-2 2-2 Switch Settings 2-2-1 CS-seri es Ether net Units Setting the Unit Numbe r The unit numb er is use d to i den tify in divi dua l CP U Bus Uni ts when m or e tha n one CPU Bus Un it is mou nted to th e same PL C . U se a smal l screwdri ver to make the set ting, taki ng care n ot to dam age the rotar y switch. The [...]

  • Página 57

    32 Switc h Settings Section 2-2 2-2-2 CJ-series Ether net Units Setting the Unit Numbe r The unit numb er is use d to i den tify in divi dua l CP U Bus Uni ts when m or e tha n one CPU Bus Un it is mou nted to th e same PL C . U se a smal l screwdri ver to make the set ting, taki ng care n ot to dam age the rotar y switch. The u nit num- ber is f a[...]

  • Página 58

    33 Mounting to a PLC Section 2-3 Unit Operating Mode Change Function If the node a ddres s is s et to 00, t he Unit o peratin g mode cha nge func tion wi ll star t. This function c hanges the for mat for t he Unit Setup (in the CPU Bus Unit Sy s- tem Setup Area) when conv er ti ng to a CS1W -ETN2 1 or CJ1W -ETN 21 Ether- net Unit fr om one of the p[...]

  • Página 59

    34 Netw ork Installation Section 2-4 The CJ1 W -ETN2 1 Ether net U nit’ s ma ximum curr ent consump tion i s 370 mA. Make sure that t he t otal c urre nt con sumpti on of all the Uni ts c onn ect ed t o th e same CP U Backplane or Expa nsion B ackplane doe s not e xcee d the o utput capaci ty of th e P ower S upply Uni t. 2-4 Netw ork Installatio[...]

  • Página 60

    35 Netw ork Installation Section 2-4 2-4-2 Recommended Pr oducts The following product s are r ecommend ed for use with the CS1W-ETN21 Ether ne t Unit. 2-4-3 Preca u tions Precautions on La ying T wisted-pair Cab le Basic Prec aution s • Press the c able co nne ct or in fi r mly u nti l i t l ocks in to p lac e at both the hu b and the Et her net[...]

  • Página 61

    36 Netw ork Installation Section 2-4 • Do not l ay the twisted -pair c able near devices that generate noise. • Do not lay the twiste d-pai r ca ble in loca tio ns subj ect to hi gh te mpe ratures or high humidity . • Do not l ay the twisted- pa ir cable in l ocati ons s ubjec t to excessive dir t an d dust or to oil mi st or othe r co ntamin[...]

  • Página 62

    37 Netw ork Installation Section 2-4 2-4-4 Using Co ntact Outputs (Com mon to Al l Units) Communicati on s err or s can oc cu r whe n Conta ct Outp ut Units ar e mo unte d to the same Rack or con nected to the sa me PLC as an Et her net Uni t due to noise gen erated by the conta ct outputs. Use o ne or more of the following measur es when install i[...]

  • Página 63

    38 Connectin g to the Network Section 2-5 2-5 Connecting to the Netw o rk 2-5-1 Ethernet Connectors The following standa rds and s pecif ications ap ply to t he conn ectors for the Ether ne t twisted- pair ca b le . • Electr ical specif ications : Conform ing to IEEE802. 3 stand ards. • Connec tor str ucture: RJ45 8-pin Modular Conn ector (conf[...]

  • Página 64

    39 Creating I/ O T ables Section 2-6 1,2,3. .. 1. Lay the twisted-pai r ca b le . 2. Connect the cable to the hub. Be sure to pr ess in the cable until it locks into place. Request c able insta llation fro m a qual ified professional. 3. Connect the ca ble to the connect or on the Ether net Uni t. Be sure to pre ss in the cable until i t locks into[...]

  • Página 65

    40 Creating I/ O T ables Section 2-6 Progr amming Console CX-Pro grammer (V ersion 3. 20 or Higher) and CX-Integrator The ope rations ar e explained he re usi ng a P rogrammi ng Cons ole. For details regarding the CX-Pro grammer and the CX-Integrator , refer to the CX-Pro- grammer User’ s Manual . Re f er to the CX-Integrator Operatio n Manual ( [...]

  • Página 66

    41 Unit Setup Procedure Section 2-7 2-7 Unit Setup Pr ocedu re Use the CX-P rogrammer (V er . 3.20 or higher) for the Ether ne t Unit S etup , and f ollow the proce dure d escri bed be low . Som e func tions ad ded wit h unit version 1.3 requi re CX-Programm er version 5.0 or h igher for setting. 1,2,3. .. 1. Connect th e CX-Programm er onlin e. Th[...]

  • Página 67

    42 Unit Setup Procedure Section 2-7 3. Read the I/O tables from the PLC and sele ct the Ra ck to which th e Ether- net Unit is moun ted. 4. Mov e the cursor to the Ether net Unit and r ight- click. Selec t Unit Setup from the popup me nu to displ a y th e window for making the Ethe r net Unit S etup. The default setting s are s hown below . At the [...]

  • Página 68

    43 Using the W eb Bro wser Setting Functi on Section 2-8 5. Make the requ ired se ttings (i.e., the IP addr ess in this ca se). 6. T ransfer the settin gs to the P LC. Click on Ye s i n the following dialog box. 7. In order for the Ethe r n et Un it S etu p to go i nto e ffect, the Uni t must be re- star ted. Click on Ye s i n the following dialog [...]

  • Página 69

    44 Using the W eb Bro wser Setting Functi on Section 2-8 1,2,3. .. 1. Connect to the Eth er net Unit fr om the W eb browser . In this example, the URL is s pecif ied as ht tp://192. 168.250 .1/0 usin g the Ether ne t Unit’ s de f aul t IP addre ss. 2. Selec t Settings from the menu on the left side of the window to disp lay the Settin gs Menu .[...]

  • Página 70

    45 Using the W eb Bro wser Setting Functi on Section 2-8 3. Selec t 1. IP addres s a n d Proto cols - Sy st em to displa y the Login Pass- word field on th e r ight of th e window . 4. Input th e def a ult password (“ETHERN ET” all in up per case) and click the Login Button. 5. The set tings in the Sy stem menu wi ll be dis play ed. The followi[...]

  • Página 71

    46 Basic Se ttings Section 2-9 7. After enter ing the c orrect values, click the Set Button f ollowed by the Reg- ist Butto n to registe r them. The Set Button is used to transfer the entered values from th e perso nal c om- puter , and temporar ily r egister them in t he Ethe r net Unit . The Regi st But ton store s the set values tha t have been [...]

  • Página 72

    47 Basic Se ttings Section 2-9 Default Setti ng The Eth er net Uni t operates u sing the d efault IP address w hen the Unit is mounted to the PL C and i nitially register ed in the I/O ta bles (i.e., when the Unit settin gs have not been made and the IP Addr ess Disp lay/Setting in th e CPU Bus Unit W ords Alloc ated in th e DM Area is s t ill all [...]

  • Página 73

    48 Basic Se ttings Section 2-9 Exampl e: Using th e CX-Programm er to Set the IP Add ress to 10.3.65.1 When an IP addr ess is set in the Unit Setup, that v al ue is display e d in the IP Addres s Display/Se tting Are a in the DM Ar ea words al loca ted for CPU Bus Units. When t he IP addr ess is se t by the CX-Programm er , and the defaults are use[...]

  • Página 74

    49 Basic Se ttings Section 2-9 ■ Baud Rate Set the ba ud rate. ■ TCP/IP Keep-alive Set ting Set the Li veness-Checking Inter val. (Thi s settin g is enabled onl y when FINS / TCP or TCP/IP s ock e t ser vic es are u sed.) When the keep-alive function is used with FINS /TCP or TCP/I P socket ser- vices, the keep-ali ve communicati ons frame is u[...]

  • Página 75

    50 Unit Setup for P articular Application s Section 2- 10 The default IP router i s sele cted wh en no Networ k ID exists i n the I P router table f or the des tination ne twor k number . T o set th e default IP router , set 0.0.0.0 for the IP address and s et the default IP router's IP add ress for the router addre ss. 2-10 Unit Setup for P a[...]

  • Página 76

    51 Unit Setup for P articular Application s Section 2- 10 F o r d etails, refer to SECTION 2 Mail Sen d Function in the Operation Manual Cons tructio n of Appl icati ons . Mail Reception For deta ils, re f er t o SECT ION 3 Mail Receive Function in the Operation M an- ual Const r uction of Applica tions . A utomatic Clock Adjustment SMTP Server spe[...]

  • Página 77

    52 Communic ations T est Section 2- 11 F or detail s, ref er to SECTION 5 Automatic Clock Adjustmen t Function in the Operation Manual Cons truc tion o f Applic ations . W eb Functions F or d etails, refer to Appendix G Ether n et Unit Web Funct ion . 2-11 Communications T est If the ba sic set tings (in par ticular the IP address and subn et mask [...]

  • Página 78

    53 Con verting from Previous Models Section 2- 12 2-11-3 Host Computer The PING comma nd ca n be ex ecute d from th e hos t compute r to sen d an echo requ est pack et to an Ether net Unit . The method for using the PIN G com- mand from a UNIX compu ter is g iven ne xt. Method Input th e following at the host compu ter prom pt ($): $ ping IP_add re[...]

  • Página 79

    54 Con verting from Previous Models Section 2- 12 If the forma t change is from ETN11 mode to ETN2 1 mode, then ther e will be no effect on previous appl ications. If the change is from ET N21 mode to ETN11 m ode, howe ver , then c er ta in limita tions wil l go into effect. The f o llowing table shows the limitati ons that apply when operating in [...]

  • Página 80

    55 Con verting from Previous Models Section 2- 12 Checking the CPU Bus Unit System Setup Area Format Checking with th e CX-Programmer's Softw are Switches - Status T ab Window Checking with the CX -Programmer's Unit Setup Window ■ Window Display in ET N21 Mode[...]

  • Página 81

    56 Con verting from Previous Models Section 2- 12 ■ Window Display in ET N11 Mode ■ Checking by Reading W ords Allocated in the CIO Area Changing the CPU Bus Unit Syst em Setup Are a Format The CPU Bus Unit Sy stem Setu p Ar ea format can b e change d in either o f the f ollowing t wo wa ys. Select the me thod th at ca n be u sed in t he sy ste[...]

  • Página 82

    57 Con verting from Previous Models Section 2- 12 ■ Using the CX-Programmer's Unit Setup 1. Selec t Change Ether net Unit Mod e from the Options Menu in the Unit Set- up. 2. The following confi rm ation m essage w ill be displayed. T o chang e the mode, click Ye s . 3. After the mode has be en chang ed, the f o llowing c onfir ma tion m essa[...]

  • Página 83

    58 Con verting from Previous Models Section 2- 12 ■ Manipulating the Rotary Switches f or the Node Address with a Precision Screwdriv er Con v erting from ETN11 Mode to ETN21 Mode 1. T ur n OFF the power to the PLC, and set the Ethe r net Uni t's rota r y switches f or the nod e addres s as follows: 2. T ur n O N the power to the PL C . The [...]

  • Página 84

    59 Con verting from Previous Models Section 2- 12 7. T ur n OF F the power to the PLC and retur n the Ether net Unit's rotar y s wi tches f or the nod e addres s to i ts or igina l sett ing. 8. T ur n ON the power to the PLC. Con v erting from ETN21 Mode to ETN11 Mode 1. T ur n OFF the power to the PLC, and set the Ethe r net Uni t's rota[...]

  • Página 85

    60 Con verting from Previous Models Section 2- 12 Note If an err or occurs in the m ode chang e , remove the Ether net Unit, create t he I/O tables, and c orrect th e settings using t he proce dures descr ibed i n this sectio n. 7. T ur n OF F the power to the PLC and retur n the Ether net Unit's rotar y s wi tches f or the nod e addres s to i[...]

  • Página 86

    61 SECTION 3 CX-Pr ogrammer Unit Setup This section describes how to install the Ethernet Unit and make the initial settings required for operation . 3-1 Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3-2 FINS/TCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 87

    62 Setup Sect ion 3-1 3-1 Setup Item Contents Defa ult Broadcas t Set the method f or specifying IP addresses f or broadcasting in FINS/ UDP . • All 1 (4.3 BSD): Broadcast with host num ber set to all ones. • All 0 (4.2 BSD): Broadcast with host number set to all zeros. Normally th e defa ult setting s hould be us ed. All 1 (4.3BSD) IP Address [...]

  • Página 88

    63 Setup Sect ion 3-1 Note (1) The setti ng to ena ble or disable dynami c chan ging of rem ote IP ad dress- es is available f o r Eth er net Units w ith Uni t V er . 1.3 or l ater . (2) Mak e settin gs usin g the uni t setti ngs func tion in th e CX-Pro gr ammer ( to be incl uded in version 5.0 and hi gher) o r using the Web function (refer to App[...]

  • Página 89

    64 FINS/T CP Section 3-2 3-2 FINS/TCP FINS/TCP Connection Setup Item Cont ents Default No . Sho ws the connec tion numbe r. This is a netw ork API used whe n TCP is used f or the FINS c ommunica- tions s er vice. It c orresponds to a so ck et in the soc ket services. Up to 16 can b e used at a ti me, a nd they are iden tified b y connectio n number[...]

  • Página 90

    65 FINS/T CP Section 3-2 The following settings can be m ade for each con nection numb er . F or details , ref er to SECTION 6 FINS Communications Serv ice in the Opera- tion Manual Constr uction of Network s. Item Contents Default FINS/TCP Mode F or each con nection numb er , this settin g specifies the Et her net Unit for us e as either a ser ver[...]

  • Página 91

    66 DNS Section 3-3 3-3 DNS DNS Server Setup Item Contents Default IP Address Set t he IP addres s for the DNS server . The D NS se r ver is req uir ed wh en spe cify ing the POP 3, SMTP , or SNTP se r v ers b y host n ame f or the mail send function or mail receiv e functi on. None P or t No . Set the port to be used f or connec ting to the DNS ser[...]

  • Página 92

    67 SMTP Section 3-4 3-4 SMTP SMTP Se r ver Setup F o r d etails, refer to SECTION 2 Mail Sen d Function in the Operation Manual Cons tructio n of Appl icati ons . Item Contents Default Server speci fi- cation typ e Select wh ether the SMTP s er ver us ed fo r send- ing ma il is to b e specified by IP ad dress or the host' s domain name (i.e., [...]

  • Página 93

    68 POP Section 3-5 3-5 POP POP Se r ve r Se tup For deta ils, re f er t o SECT ION 3 Mail Receive Function in the Operation M an- ual Const r uction of Applica tions . Item Contents Defau lt Server speci fi- cation typ e Selec t wheth er the PO P3 se rver used f or receivin g mail is to be spec ified by IP address o r the host's domain name (i[...]

  • Página 94

    69 Mail Address Section 3-6 3-6 Mail Address Destination M ail Address S etup F o r d etails, refer to SECTION 2 Mail Sen d Function in the Operation Manual Cons tructio n of Appl icati ons . Item Contents Default Mail Add ress 1 Set o ne of the addresses to which the Ethernet Un it is to s end mail. (Up t o two add ress can be se t.) Note: Mail c [...]

  • Página 95

    70 Send M ail Section 3-7 3-7 Send Mail Item Contents Defa ult T r igger No . Select a n umber as the trigg er condition for sen d- ing mail . Up to eigh t trigger num bers can be regis- tered. --- Send mai l upon trigger Sets w hether or not th e selected ma il trigger is to be enab led. No t c he cke d[...]

  • Página 96

    71 Send M ail Section 3-7 Mail trigger type (Select only one.) Soft- war e sw i t c h If this op tion is sel ected, ma il is sent whene ver the Mail Send Switch turns ON. The Mail Send Switch i s bit 03 of w ord n in the words allocated f or CPU Bus Units. (n = 1500 + 25 x un i t numb er) Ch ecke d Wor d val u e chang e If this opt ion is sele cted[...]

  • Página 97

    72 Rece ive Mai l Section 3-8 F o r d etails, refer to SECTION 2 Mail Sen d Function in the Operation Manual Cons tructio n of Appl icati ons . 3-8 Receive Mail P osting Mail Address Protection Se tting Interval t ime When “P eriodic timer” is set as the mail trigger type Set the t ime interval f or sending mail. 1 to 1,440 (10 to 14,400 m in),[...]

  • Página 98

    73 Rece ive Mai l Section 3-8 Recei ve Attac hed File Setti ng Receive Com mand Setting Item Content s Default Rece ive file w ith specif ied e xtension only If thi s option is se lected, only file attachm ents with spe cified e xtension s is accepted with mail. Use t he chec kbox es belo w to selec t which file e xtensions are to be acc epted. Mul[...]

  • Página 99

    74 A u to Adjust T ime Section 3-9 For deta ils, re f er t o SECT ION 3 Mail Receive Function in the Operation M an- ual Const r uction of Applica tions . 3-9 A ut o Adjust Tim e SNTP Server Se tup Item Contents Defaul t Get the time infor mat ion f rom the SNTP ser ver If this o ption is selected, the CPU Unit's c loc k is set to the time at [...]

  • Página 100

    75 HTTP Section 3- 10 F or d etails, refer to SECTION 5 Automatic Clock Adjustment Func tion in th e Operation Manual Cons truc tion o f Applic ations . 3-10 HTTP HTTP Server Setup F or d etails, refer to Appendix G Ether n et Unit Web Funct ion . Note (1) The HTTP Ser ver Setup is suppor te d by Ether net Units with Unit V er . 1.3 or later . (2) [...]

  • Página 101

    76 HTTP Section 3- 10[...]

  • Página 102

    77 SECTION 4 Ethernet Unit Memory Allocation s This section des cribes the words allocated in the CIO Area and the DM Area for Ethernet Units. 4-1 CIO Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4-2 DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 103

    78 CIO Area Alloca tions Section 4-1 4-1 CIO Area Allocations The various kinds of data are s tored in the offset po sitions sh own in the fol- lowing diagram, from the be ginnin g word in the area for each Unit. The begi nning word n is cal culat ed by the following equation : Begin ning word n = CIO 150 0 + ( 25 × unit number) The f o ll owing i[...]

  • Página 104

    79 CIO Area Alloca tions Section 4-1 Unit Control Bits (CPU Unit to Etherne t Unit) Socket For ce -close Switch (Bit 2) All UDP and TC P sockets use d for sock et s er vi ces ca n be force-cl osed by tur ning ON thi s switch. Th is can be u sed for operatio ns suc h as error proces s- ing. Be caref ul not to force-close s ock et s duri ng communic [...]

  • Página 105

    80 CIO Area Alloca tions Section 4-1 Status of UDP/TCP Sockets 1 to 8 (Ethernet Unit to CPU Unit) Note The sta tus of these flag s can also be check ed usi ng the software switch set- tings on the CX-P rogrammer . Opening Flag (Bit 0) T ur ns ON when an o pen re que st i s re ce ived eith er by control bi t man ip ula tio n or the CMND(49 0) instru[...]

  • Página 106

    81 CIO Area Alloca tions Section 4-1 Receiving Flag (Bit 1) T ur ns ON when a rece ive request is r eceived either by co ntrol bi t manip ulatio n or the CMN D(490) i nstr uction, a nd tur ns OFF again wh en the r eceive pro- cessi ng has bee n comp leted. Whe n CMND( 490) is us ed, the Re sults S torage Error Flag (bit 14) wi ll tur n ON at the sa[...]

  • Página 107

    82 CIO Area Alloca tions Section 4-1 Servic e Status (Etherne t Unit to CPU Uni t) FTP Status (Bit 0) T ur ns O N while connec ted to an FTP client , and OFF while not con nected . With the F TP se r ver function onl y o ne FT P cl ie nt can be con nec ted at a tim e, so while this bit is O N no oth er clie nts can c onnect to the se r ver . The FT[...]

  • Página 108

    83 CIO Area Alloca tions Section 4-1 Accessing Memor y (Rece iving Mail) (B it 2) This bit tur n s ON wh ile CP U Unit memor y is b eing access ed to store a n attached fi le using the mail receive function , and it tur ns OFF after the file has been stor ed. System S etup Format (Bits 8 to 11) These bits show the for mat classi fication i n the CP[...]

  • Página 109

    84 CIO Area Alloca tions Section 4-1 Soc ket Service Re quest Switches 1 to 8 (CPU Unit to Ether net Unit) When a socket ser vice r equest is ex ecuted by contr ol bit manipu latio n, it is th e f oll owing bits tha t are m anipulate d. F o r details, refer to Operation M anual, Constru ction of A pplicat ions, SECTION 6 . 11 SNTP ser ver error ON [...]

  • Página 110

    85 CIO Area Alloca tions Section 4-1 FINS/TCP Connection Status Bit Switc h Status Manipulated by Unit operation Reference 8 0 UDP Op en Request Switch ON User UDP soc ke t opened wh en swi tch is turned ON. Opera tion Man- ual, Cons truc- tion of Appl ica tio ns, SECTION 6 OFF Uni t Unit tu r ns OFF s witch w hen open proce ssing has bee n complet[...]

  • Página 111

    86 DM Area Alloc ations Section 4-2 These bits show the sta tus of FIN S/TCP conn ections. 4-2 DM Area Allocations The various kinds of data are s tored in the offset po sitions sh own in the fol- lowing diagram, from the be ginnin g word in the area for each Unit. The begi nning word m is cal culat ed by the following equatio n: Beginni ng word m [...]

  • Página 112

    87 DM Area Alloc ations Section 4-2 The meani ngs of the it ems shown in the a bov e dia gram are e xplai ned on the f oll owing pages. For details regardi ng the rela ted com munications ser v ices shown in t he diagram, r efer to the indic ated sect ions. Send Mail Status 1, 2 (Etherne t Unit to CPU Unit) Send Mail Statu s 1 Send Mail Statu s 2 T[...]

  • Página 113

    88 DM Area Alloc ations Section 4-2 TCP Socket No. (1 to 8): Numbe r of Bytes Rec eived (Etherne t Unit to CPU U nit) F o r each TC P socket, the number of bytes of data in the recepti on buff er is stored i n one word. A m aximum o f 4,096 bytes of da ta can b e held in th e reception buffer , but a value of o nly up to the maximum value (1,984 by[...]

  • Página 114

    89 DM Area Alloc ations Section 4-2 IP Address Dis play/Setting Area IP address: (1)(2).(3)(4).( 5)(6).(7)(8) (He x) If the loc al IP a ddress in the CPU Bu s Unit System Setup i s set to a value other tha n 0.0.0.0 , this area ( words m+ 98 and m+9 9) will act as an IP Addre ss Display Area and the local IP addres s set in the CPU Bus Unit Sy stem[...]

  • Página 115

    90 A uxiliary Area Data Section 4-3 4-3 A ux iliary Area D ata The following table and descr iptions cover the words and bit s in the A u xiliar y Area of PLC mem or y th at are rela ted to th e Ether ne t Unit. Read-only Bit s/W ords W ord(s) Bit(s) Name Function Setti ngs A202 A20200 to A20207 C ommuni cations P or t Enable d Fl ags Bits A 20200 [...]

  • Página 116

    91 A uxiliary Area Data Section 4-3 Read/Writ e Bits (User Settings) A417 A41700 to A41715 CPU Bus Unit Error , Unit Number Flags When an error occurs in a data e xchange be tween the CPU Unit and a CPU Bus Unit, the CPU Bus Unit Erro r Flag (A402 07) and the correspondi ng flag in A417 a re turn ed ON. Bits 00 to 15 correspond to unit numbe rs 0 t[...]

  • Página 117

    92 A uxiliary Area Data Section 4-3[...]

  • Página 118

    93 SECTION 5 Determining IP Addresses This section e xplains how to manage and use IP addresses . 5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5-1-1 IP Addres s Configuratio n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5-1-2 Allocating IP Addr esses[...]

  • Página 119

    94 IP Addresses Section 5-1 5-1 IP Addresses Ether net ne tworks use IP add resses for commun ications. IP a ddresses iden- tify both the E ther net n etwork and the node (h ost comp uter , Ethe r net Unit, etc.). IP addresses must be set and c ontroll ed so that they are not du plicated . 5-1-1 IP Address Configurati o n IP addre sses ar e made up[...]

  • Página 120

    95 IP Addresses Section 5-1 5-1-3 Ethernet Unit IP Addres s Settings An IP add ress mus t be se t ev e n for the Ether ne t Unit be f ore Ether ne t commu- nicatio ns can p roceed. Eith er use the de f au lt f or the Ether net Uni t's IP address, o r else use a P er ipheral Device to set it in the DM Area words allo- cated to the Unit as a CPU[...]

  • Página 121

    96 IP Addresses in FI NS Communications Section 5-2 5-2 IP Addresses in FINS Communications 5-2-1 Specifying Nodes in FI NS Communicati ons Services With FINS communications ser vices on an Eth er net networ k, IP add resses, UDP por t numbers, and TCP por t numb ers are p aired wi th FINS node address es to sp ecify no des o n the ne twork. Note U[...]

  • Página 122

    97 IP Addresses in FI NS Communications Section 5-2 P airing IP Addresses w ith FINS Node Addresse s at Local No des A par t icular IP address is allo cated to eac h communi cations nod e, includin g Ether ne t Units. The IP ad dress must b e paire d with the FINS node a ddress ( 1 to 254) by one of t he following method s. A utomatic Generation Me[...]

  • Página 123

    98 IP Addresses in FI NS Communications Section 5-2 5-2-2 P airing Addresses in Intern al T ables FINS/UDP Comm unications Met hods A utomatic Gener ation (Dynamic) Wh en the Ethe rn et Unit is tur ned O N or restar ted, the following v alues are set f or addresses in the in ter nal ta ble. • Remote IP a ddress : Loc al IP addres s networ k numbe[...]

  • Página 124

    99 IP Addresses in FI NS Communications Section 5-2 IP Address T able M ethod With this metho d, FINS node ad dresse s are co nv er t ed to IP addr esses ba sed on a cor respondenc e table (IP ad dress t able) that is pr eset in th e Unit set up . The IP addres s table is set using the CX -Programmer in IP A ddress T able under Settin gs in t he Un[...]

  • Página 125

    100 IP Addresses in FI NS Communications Section 5-2 • Connectio n metho d: FINS /UDP • FINS Node Addres s Not Re gistere d to IP Ad dress T able The following addres s is re gistere d to the inter nal table. • Remote IP addr ess : Local IP add re ss ne twor k numbe r + F INS node addr ess • Remote UDP por t number : UDP por t number set f [...]

  • Página 126

    101 IP Addresses in FI NS Communications Section 5-2 Using the ETN11- compatible Mode F or Eth er net Unit wit h unit version 1.4 or la ter , operating spec ificati ons can be made co mpa tible with the CS1W-ETN11/CJ1 W-ETN11 for all meth ods (au to- matic gen eration (d ynamic), I/O addres s table, or combin ed). (Dy namic chang es, howe ver , are[...]

  • Página 127

    102 IP Addresses in FI NS Communications Section 5-2 FINS/TCP Comm unications Method P airing in th e FINS/TCP Method With the F INS/TCP me thod, c ommunicati ons ar e first es tablished for each conne ction, and then rem ote FIN S node ad dresse s are mutuall y conver ted. (See note.) Th en FINS mes sage co mmunica tions a re ex ecuted. In th is w[...]

  • Página 128

    103 IP Addresses in FI NS Communications Section 5-2 Setting FINS/TCP Connections The procedur e f or setting FINS/T CP connecti ons inv olves the items desc ribe d below . The s ettings ar e made in dividua lly for each connec tion (numbers 1 to 16) unde r FINS/TCP settings in the Un it Setu p . Local Device Is Server 1,2,3. .. 1. Set the s er ver[...]

  • Página 129

    104 IP Addresses in FI NS Communications Section 5-2 5-2-3 Application Examples Responding to Computers with Changed IP Addresses FINS/UDP Communic ations Method With FINS/U DP , whether using th e automa tic conversion metho d (dyna mic), the IP addr ess table method, or the combi ned meth od, remote F INS node address es and r emote IP ad dresse [...]

  • Página 130

    105 IP Addresses in FI NS Communications Section 5-2 applica tio ns, such as mai l ser vers, are no r ma lly allo cated fi xed IP addresses. Ether ne t Units in PLC s ystems a re al so allo cated f ixed IP address es. Sim ultaneou sl y Running Multiple App lications on a P ersonal Computer In communic ati ons involving previous mod els, multi pl e [...]

  • Página 131

    106 IP Addresses in FI NS Communications Section 5-2 Models Supporting Au tomatic Generation Method (Static) Models Supporting IP Address T able Method Models that Can Use the Combined Method Pro duct Model/Series/ Ve r s i o n Supports automatic ge ner ati on me th o d (static)? CS-series Ethernet Unit 100BASE-TX CS1W -ETN21 Y es 10BASE-5 CS1W -ET[...]

  • Página 132

    107 Private and Global Addresses Section 5-3 5-2-5 P airing I P Addresses and FINS Node Ad dresses The following table shows the m etho ds for pairin g IP ad dress and F INS nod e address es, and the relati on between fixed and variable address, for both FINS/UDP and FINS /TCP . 5-3 Priv ate and Global A ddresses 5-3-1 Priv ate and Global Addres se[...]

  • Página 133

    108 Private and Global Addresses Section 5-3 Communic ations Services That Require Global Addresses for Eth ernet Units A global ad dress i s required f or the Ether net Unit's IP addres s when the fol- lowing co mmunicatio ns se r vices are u sed over the Inter net. • FINS communi catio ns se r vic es • File tra nsfers • Sock et se r vi[...]

  • Página 134

    109 Private and Global Addresses Section 5-3 5-3-2 Using a Priv ate Address f or the Ethernet Unit Conditions f or Using Communic ations Applications When the Ether net Unit has a pr ivate address, c ommunicati ons ap plicati ons can b e used und er the f oll owing cond itions: 1,2,3. .. 1. FINS Comm unications Servic e • FINS c ommunicati ons se[...]

  • Página 135

    110 Private and Global Addresses Section 5-3 • With F INS/UDP , when th e IP addr ess (pr ivate addres s) of a compu ter ser v ing as a DHCP clien t is ch ang ed, th e Ether net Unit's IP add re ss con- v e rsion metho d will b e the autom atic gene ration me thod (dyn amic), th e combine d method, or the IP address table method. Whe n FINS/[...]

  • Página 136

    111 Private and Global Addresses Section 5-3 5-3-3 Ethernet Unit with a Global Addr ess Conditions f or Using Communic ations Applications Communicati ons appli cations ca n be used ov e r the Inter net unde r the follow- ing cond itions : 1,2,3. .. 1. FINS Comm unications Servic e • A device such as a person al computer (with a FI NS applicatio [...]

  • Página 137

    112 Private and Global Addresses Section 5-3 3. Sendi ng Mail • The PL C can send th e Eth er net Unit's IP addr ess to the S MTP s er ver by mail vi a the i ntranet, ev en if i t as a pri v at e addres s. • The TCP por t number (d efault: 25) to be used f or SMTP ca nnot be used if prohibited by a fire wall in the c ommunic atio ns path. [...]

  • Página 138

    113 SECTION 6 FINS Communications This section provides information on communicating on Et hernet Systems and interconnected networks us ing FINS commands. The information provided in the section deals only with F INS communications in reference to Ethe rnet Units. FINS commands issued from a PLC are sent via the SEND(0 90 ), RE CV(09 8), and CMND([...]

  • Página 139

    114 Overview of FINS Comm unicatio ns Section 6-1 6-1 Overview of FINS Communications 6-1-1 Comm unications On an E thernet Netw ork Data is se nt and r eceived as U DP/I P packets or TCP /IP pa ckets on an E ther - net net work. In the FINS com munication s ser vic e, both an IP addr ess f o r IP (the Inter ne t lay er) and a FINS nod e addres s f[...]

  • Página 140

    115 Overview of FINS Comm unicatio ns Section 6-1 • When FINS node s are c onnected o n the s ame Et her net segm ent: Use the FINS /UDP method between tho se nodes. Note FINS/UDP offers a sli ght advantage in performa nce. • When FINS node s ar e connec ted over multiple IP n etwor k lay ers : Use the FINS /TCP meth od between those nod es. No[...]

  • Página 141

    116 FINS/UDP Method Section 6-2 6-2 FINS/UDP Method 6-2-1 Overvie w FINS/UDP Features The FINS/ UDP method is a FINS co mmunication s method that uses the UDP/ IP protocol . UDP/IP is a conn ectionle ss co mmunicatio ns proto col. When a message is se nt from one node to a nother , the two nodes h av e an equ al rela- tionshi p and there is no clea[...]

  • Página 142

    117 FINS/UDP Method Section 6-2 UDP P or t Numbers for FINS/UDP The UD P por t number is the num ber f or UDP t o identify the a pplication layer (i.e., the FINS com municat ions ser v ice in thi s case). Wh en commun ications are ex ec uted by UDP/IP , this por t number must b e allocat ed to the communi- catio ns ser v ice. The default setting fo[...]

  • Página 143

    118 FINS/TCP Method Section 6-3 6-3 FINS/TCP Method 6-3-1 Overvie w FINS/TCP Features The FINS/TCP me thod is a FINS com municat ions meth od that u ses the TCP / IP protocol . TCP/IP is a conn ectio n-type c ommunicati ons pro tocol. Be f o re a message is se nt from one n ode to an other , it is necess ar y to esta blish a vir- tual circ uit, i.e[...]

  • Página 144

    119 FINS/TCP Method Section 6-3 • Once a FI NS/TCP con nection ( connect ion number , rem ote IP ad dress) has been set in the Unit Set up , it can be dynamica lly chang ed from the ladder program using a FINS command (i.e., FINS/TCP CONNECTIO N REMO TE NODE CHANGE RE QUEST). FINS/TCP Frame Format The following diagram shows the stru cture of a T[...]

  • Página 145

    120 FINS/TCP Method Section 6-3 FINS/TCP Connection Status (W or d n+23) While a c onnectio n with a re mote nod e is established, the bit cor respond ing to the FINS/TCP connecti on status tur ns ON in the sectio n of the CPU Bu s Unit words allo cated i n the CIO Are a. The bit tur ns O FF if the connec tion is te rm i- nated by a communica tions[...]

  • Página 146

    121 FINS/TCP Method Section 6-3 Even if the c onnection is clos ed at the FINS/TCP c lient, req uests c ontinue to be made to the FI NS/TCP ser ver ev er y f e w s econds to open a c onnectio n. Note After the Eth er ne t Unit is powered up or re st ar ted, the IP addr es s for the con- nection us ed as the FI NS/TCP clie nt is the remote IP add re[...]

  • Página 147

    122 Creating Routin g T ables Section 6-4 6-4 Creating Routing T ables When th e FINS commun ications ser vice is used, rout ing tables must be cre- ated in ad vance. Routing tables are req uired in the following circ umsta nces. • When com municating with a P LC or comp uter on an other netwo rk (e.g., remote pr ogramming o r monitor ing using F[...]

  • Página 148

    123 Creating Routin g T ables Section 6-4 The following e xample shows rout ing tables for sending data from P LC #1 (the loca l node: ne twork addres s 1, n ode add ress 1 ) to PLC #4 (th e dest inatio n node: ne twork address 3, nod e addres s 2). Note In the abov e e xampl e, the routing tables requir ed for a me ssage to rea ch PLC #4 from PLC [...]

  • Página 149

    124 Creating Routin g T ables Section 6-4 6-4-3 Routing T able Setting Ex amples ■ Example 1: Local N etwork T able for a PLC With Multiple Units Mo unted This example shows t he l oc al n etwor k table set tin gs for a PLC to wh ic h mult i- ple CPU B us Units are mount ed. ■ Example 2: Three Interconnected Ne tworks This example sh ows the re[...]

  • Página 150

    125 Creating Routin g T ables Section 6-4 ■ Example 3: All Node s This example uses the following configu ration to show the routing tables for all nodes. PLC 5 PLC 1 E T N PLC 2 C L K E T N PLC 3 E T N S L K C PLC 4 C PLC 6 PLC 7 L K L K S L K S L K Unit #5 Node #6 Network #10 Unit #4 Node #5 Network #30 Unit #0 Node #1 Unit #1 Node #2 Unit #5 N[...]

  • Página 151

    126 Using FINS Applicatio ns Section 6-5 6-5 Using FINS App lications 6-5-1 CX-Pr o grammer (CX-S er ver) The following e xampl es sh ow how to connect onli ne from a C X-Programmer on an Ethe r net networ k to a PLC on the Eth er net networ k. ■ System Configuration Example 1: No Routing In this example, an on line conn ection i s made by FINS/U[...]

  • Página 152

    127 Using FINS Applicatio ns Section 6-5 CX-Programmer's Unit Setup Setup T ab Example: Inputs to the CX-P rogrammer's Se tup Window Example: Change PLC Settings Item Setting Broadcas t All ones (4.3BSD) FINS/UD P por t Def ault (9600) IP addres s 0.0.0. 0 (Use def ault IP addre ss.) Subnet m ask 0.0.0. 0 IP addres s conv ersion A utomati[...]

  • Página 153

    128 Using FINS Applicatio ns Section 6-5 Example: Ne twork Settin gs (Network T ab) Note When Fi nsGatewa y is sel ected a s the networ k type, make sure th at the frame length is set t o 2,000 bytes max. Example: Ne twork Settin gs (Dri ver T ab)[...]

  • Página 154

    129 Using FINS Applicatio ns Section 6-5 ■ System Configuration Example 2: Using Routing T ables In this example, an onl ine conne ct ion is mad e via the Ethe r net to a PLC on a Controll er Link ne tw or k (PLC 3 below) from a CX-Pr ogrammer/CX-In tegrator conne cted to the Ether net networ k. Condit ion s • FINS/UDP met hod • IP add ress c[...]

  • Página 155

    130 Using FINS Applicatio ns Section 6-5 • Local Net work T able • R e l ay N e t wo r k T a bl e None Exampl e: PLC 2 and PLC 3 R outing T able Setting s • Local Net work T able • R e l ay N e t wo r k T a bl e In order to relay from PLC2/3 to the fina l networ k number 1, i t is neces sar y to relay via node address 1 (i.e., the Control l[...]

  • Página 156

    131 Using FINS Applicatio ns Section 6-5 • Network T ab • Com m unication Unit T ab • Ne twor k num ber S et the net wor k number for the p erson al c ompu ter (Ethernet por t). • Local n ode address Set the persona l computer (Eth er net port) node addr ess (1 to 254) on the Ethernet netwo rk. • Co mmunic ati on uni t num ber Set th e un[...]

  • Página 157

    132 Using FINS Applicatio ns Section 6-5 • UDP Nodes T ab: A uto matic G eneration M ethod (Dy namic or P ass ive) • UDP No des T ab : IP Addr ess T a ble Method or C ombine d Method Click the Add Button, and the n set th e IP addres s table in the following Ether- net Node Def inition Di alog Box.[...]

  • Página 158

    133 Using FINS Applicatio ns Section 6-5 • TCP Nodes T ab Click the Add Button, and the n set th e IP addres s table in the following Ether- net Node Def inition Di alog Box. • Node addre ss: Set the remote FIN S node addre ss. • I P addre ss: Set th e remo te I P addre ss.[...]

  • Página 159

    134 Using FINS Applicatio ns Section 6-5 3. Starting FinsGate wa y ETN_UNIT Service Select ET N_UNIT from Se r vic es under the Basic T a b in the FinsGa tew ay Setup Wi ndow , and then c lick the St art Button. ■ System Configuration Example 3 : Connec ting the CX-Pr ogrammer Online Using the FINS/TCP Method In this example, an online connec tio[...]

  • Página 160

    135 Communica ting between OMR ON PLCs Section 6-6 CX-Programmer's Unit Setup Setup T ab FINS/TCP T ab Not set. (Al l defaults are used.) FinsGate way ETN_UNIT Setup TCP Nodes T a b: Ethernet Node Definition Dialog Bo x 6-6 Communicating between OMRON PLCs FINS co mmands c an be sen t from the user ’ s la dder-di agram program in th e PLC by[...]

  • Página 161

    136 Communica ting between OMR ON PLCs Section 6-6 Note 1. The maximum data length is li mited to 512 bytes f o r data e xc hange be- tween the PLC and SYS MAC LINK Systems or the PLC and SY SMAC BUS/2 Remote I/O Sys tems. 2. When broadcas ting, do n ot req uire a res ponse. Use the FINS /UDP me thod for broadcasti ng. 6-6-2 PLC Communica tions Dat[...]

  • Página 162

    137 Communica ting between OMR ON PLCs Section 6-6 6-6-3 Using SEND(090), RECV(098), and CMND(490) Make the setting s shown bel ow when using the S EN D (090) , RECV (0 98), an d CMND(490) instr uctio ns in the user ’ s ladder- diagram program in the PC. SEND(09 0) The SEN D(090) i nstr uctio n sends the dat a in n numbe r of words, star ting f r[...]

  • Página 163

    138 Communica ting between OMR ON PLCs Section 6-6 RECV(098) With t he RE CV (098) i nstr uctio n, th e da ta in m num ber of words, st ar ting fro m the begi nni ng word S a t th e re mote n ode ( nod e add re ss M) i s rec eived at th e words star ting from the begi nning word D at the l ocal no de. Note The mes sage ser vic es functi on does not[...]

  • Página 164

    139 Communica ting between OMR ON PLCs Section 6-6 CMND(490) The CMND(4 90) ins truc tion se nds n bytes of com mand d ata, star ting from th e beginnin g word S at the local node, to the node a t node addres s N. t he data in m number of word s, star ting fro m the begi nning word S at the remote node (node a ddress M) is r eceived at th e words s[...]

  • Página 165

    140 Communica ting between OMR ON PLCs Section 6-6 Commands Addressed to CS/CJ-se ries CPU Units The f o llowing table provides a li st of FINS comm ands that can be processe d by a C S/CJ-ser ies CPU Unit. For details, ref e r to the CS/CJ -ser ies Program- mable Controller s Communic ations C ommand s Reference Manual (W342) . F or details on F I[...]

  • Página 166

    141 Communica ting between OMR ON PLCs Section 6-6 6-6-4 Writing Programs Programs inc or porating the S END(090 ), RECV(09 8), and CMND(4 90) instr uct ions are g enerally c reated us ing the Co mmunicatio ns P or t Enabled Flag an d the Com municat ions P or t Erro r Flag as input condi tions. CS/C J- ser ies CPU U nits hav e eig ht communica tio[...]

  • Página 167

    142 Communica ting between OMR ON PLCs Section 6-6 The ex ecution sta tus of the SEND (090), R ECV(098), and CM ND(490) ins tru c- tions is alwa ys refl ected by the com munication s flags ( i.e., the Communica- tions P or t Enabled Flag and the Communi cations P or t Error Flag). T he CS/ CJ- series CPU Unit’ s commun ica tions flag s are a lloc[...]

  • Página 168

    143 Communica ting between OMR ON PLCs Section 6-6 Communic ations Port Completion Codes T he status of a SEND(090), RECV (098), an d CMND(490) ins tru ction a fter ex ec ution is refle cted as a commun ications por t comp letion cod e, in one word (two bytes) of data a s shown in the following table. (The v al ue is 0000 dur ing instr uct ion ex e[...]

  • Página 169

    144 Communica ting between OMR ON PLCs Section 6-6 1 0 1 0 0000 0000 0000 Example Communications P or t Enabled Flag Communications instruction: SEND(090), RECV(098), CMND(490) Communications P or t Error Flag Communications P or t Completion Code Instruction 1 being ex ecuted. Instruction 2 being ex ecuted. Instruction 3 being ex ecuted. 0000 (Nor[...]

  • Página 170

    145 Communica ting between OMR ON PLCs Section 6-6 6-6-5 Pr ogram Example When the Communications P or t Enabled Flag f or por t 7 is ON, and RECV(098) is not being ex ecuted, the send ex ecution program will star t when ex ecution condition CIO 000000 turns ON. Input CIO 120000 remains ON from the star t of SEND(090) ex ecution until completion. C[...]

  • Página 171

    146 Communica ting between OMR ON PLCs Section 6-6 Note 1. With CS/CJ -ser ies PLC s, the Communic ations P or t Enabled Flag s at bits 0 to 7 in word A202 t ur n OFF ev en when the PCMR(260 ) instr ucti on is be- ing ex ecuted u sing t he por ts corre sponding to thos e flags. 2. Before using th e samp le program a s is, confi rm that th e memo r [...]

  • Página 172

    147 Communica ting between OMR ON PLCs Section 6-6 6-6-6 T ransmission Dela ys The me thods of computin g the maximum time required from ex ecut ion of th e SEND(09 0), RECV(09 8), a nd CMND(49 0) in str uction s until proces sing is comp leted ar e describ ed in this sectio n. SEND(09 0) The transmis sion de lay f or the SE ND(090) inst ruc tion c[...]

  • Página 173

    148 Communica ting between OMR ON PLCs Section 6-6 CPU Bus Unit Service Processing Time (L ocal Node) The proces sing time wi ll be as f o llows, depending on the CP U processin g mode sett ings at th e CPU Unit: F or d etails, refer to the CPU Unit operation m anual. T ransmission Processing Time Number of words sent x 0.00 2 + 0.550 ms T ransm is[...]

  • Página 174

    149 Communica ting between OMR ON PLCs Section 6-6 CPU Bus Unit S ervice Processing Time (Remote Node) The proces sing time wi ll be as f o llows, depending on the CP U processin g mode sett ings at th e CPU Unit. F or d etails, refer to the CPU Unit operation m anual. Note The ac tual operating environme nt can caus e transmissio n dela ys larger [...]

  • Página 175

    150 Communica ting between OMR ON PLCs Section 6-6 RECV(098) The transmis sion de lay for the REC V(098) instr uc tion can be c alcu lated us ing the equati on illus trated in th e follo wing diagram. CPU Bus Unit Serv ice Cycle (Local Node 1) The proces sing time wi ll be as f o llows, depending on the CP U processin g mode sett ings at th e CPU U[...]

  • Página 176

    151 Communica ting between OMR ON PLCs Section 6-6 CPU Bus Unit Service Processing Time (L ocal Node 1) The proces sing time wi ll be as f o llows, depending on the CP U processin g mode sett ings at th e CPU Unit: F or d etails, refer to the CPU Unit operation m anual. T ransmission processing time (command) T ransmission Delay (Command) The trans[...]

  • Página 177

    152 Communica ting between OMR ON PLCs Section 6-6 CPU Bus Unit service processing time (remote node) The proces sing time wi ll be as f o llows, depending on the CP U processin g mode sett ings at th e CPU Unit. F or d etails, refer to the CPU Unit operation m anual. CPU Bus Unit Serv ice Cycle (Local Node 2) The proces sing time wi ll be as f o l[...]

  • Página 178

    153 Precautions on High T raf fic in FINS Communications Section 6-7 nodes, traffic throug h the E ther net Unit (e.g. , sock e t ser vicing, FT P ser ver communica tions, etc .), and th e system confi guration. Example Calcul at ions The following ex am ple shows calc ulations f or r eceiv ing 256 word s between two PLC nod es using RECV(098 ). Ca[...]

  • Página 179

    154 Precautions on High T raf fic in FINS Communications Section 6-7 F or example, suppose t hat appr oximately 20 ms are re quired to proces s a sin- gle FINS frame (i .e., 20 ms from the tim e that the co mma nd is re ce ived at the Ether ne t Unit until a respo nse is sen t). If 100 o r more F INS frames (com- mands) are received at once from mu[...]

  • Página 180

    155 SECTION 7 FINS Commands Addressed to Ethernet Units This section desc r ibes th e FINS comm ands th at can be sent to an Ethernet Unit and the responses that ar e returned by the Ethernet Unit. 7-1 Command Codes and Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 7-1-1 Comman d Code List . . . . . . . . . . . . . [...]

  • Página 181

    156 Command Codes and R esponse Codes Section 7-1 7-1 Command C odes and Response Cod es 7-1-1 Command Code List The co mmand codes l isted in the following table can be sen t to an Ether net Unit. 7-1-2 Response Code List Response cod es ar e 2-byte c odes whi ch in dica te the re sults of com man d ex ec ution. T he y are retur ned i n the r espo[...]

  • Página 182

    157 Sock et Applications Sect ion 7-2 The MRES codes are sh own in the following table along with t he results th e y ind icate . Ref er to 8- 5 T roub lesho oting wit h Respon se Code s f or deta ils on respons e codes incl uding the SRES. 7-2 Socket Applications The format of the following FI NS comm ands pa r tia lly di ffers when the s ockets a[...]

  • Página 183

    158 Sock et Applications Sect ion 7-2 Pa r a m e t e r s Specifi es the parameter s f or the co mmand c ode. P ara meters dep end on the command being e xecuted; for details, refer to the following page s. 7-2-2 PLC Memory Areas The memo r y areas of th e PLC that ca n be specifi ed f or re sults storag e when ex ec uting comm ands from the PC are [...]

  • Página 184

    159 Command/Re sponse Referen ce Section 7-3 7-3 Command/R esponse Reference This se ction descr ibes the F INS command s that can be sent to Eth er net Units and the r esponses to each comma nd. The com mand, res ponse, and (wher e applic able) the res ults s torage blocks are given with the comma nds i n graphic form as shown in the following dia[...]

  • Página 185

    160 Command/Re sponse Referen ce Section 7-3 7-3-2 CONTROLLER D A T A READ Reads th e follo wi ng data from the Ether net model, version, IP a ddress, sub- net mask , FINS UDP po r t numbe r, mod e setting s, Ether net addre ss. Command Block Response Block P a rameter s Model, V ersion (Response) The Ether net Unit mode and version are r eturned a[...]

  • Página 186

    161 Command/Re sponse Referen ce Section 7-3 F FIN S/TCP P ort Nu mber S e ttin g 0: Default (9600) 1: Unit Setup value Baud Rate setting 0: A u tomatic d etection 1: 10Base- T SNTP Server Specification Met hod 0: IP addr ess 1: Host nam e SMTP S erv er Spec ification Method 0: IP addr ess 1: Host nam e POP Ser ver Specification Method 0: IP addr e[...]

  • Página 187

    162 Command/Re sponse Referen ce Section 7-3 P a rameter s Err or Flags (Response) Indicates t he operating status a nd erro rs that o ccurred w hen the Ether net Unit was st ar ted . The ca use of ea ch erro r is list ed belo w . IP Address Error All bits for the network number or ho st number are s et to 0 o r 1. IP Address T able Error More than[...]

  • Página 188

    163 Command/Re sponse Referen ce Section 7-3 Address Disagreeme nt The addre ss conversion method was set f or aut omatic generation, but the node addr ess and t he last byte of the l ocal IP ad dress do not agree, or other host secti ons are 0. EEPROM E rror An err or occurre d in the EEPROM memo r y in the Eth er net Uni t. T ot al Number of Pa c[...]

  • Página 189

    164 Command/Re sponse Referen ce Section 7-3 P a rameter s T est Data (Command, Response) This comm and sp ecifies the d ata to be s ent to th e specifi ed node s. Up to 1,998 bytes can be sp ecifi ed. The respon se send s back data identic al to the data sp ecified i n the co mmand. An a bnor m ality is assumed if the dat a retur ned i n the respo[...]

  • Página 190

    165 Command/Re sponse Referen ce Section 7-3 Command Block P a rameter s T est Data (Command) This command spec ifies the d ata to be sen t to the sp ecified n odes. Up to 1,460 bytes can b e speci fied. Precautions No response is m ade to this comman d. When usi ng this co mmand, set the F INS heade r parameter s (or th e control data for the CMND[...]

  • Página 191

    166 Command/Re sponse Referen ce Section 7-3 Err or Log Data (Response) The spec ified number of error log r ecords from th e beginning record number is retur ne d sequ entially . The tota l number of bytes in the error log is calcul ated as the number o f records x 10 b yte s/record. Ea ch error lo g record thus c om- pri ses 10 bytes, co nfigured[...]

  • Página 192

    167 Command/Re sponse Referen ce Section 7-3 7-3-9 UDP OPEN REQUEST Requests processi ng to o pen a socket. Command Block Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. UDP Socket Number (Command) The UDP s ock et numb[...]

  • Página 193

    168 Command/Re sponse Referen ce Section 7-3 Results Storage Ar ea Response Codes 7-3-10 UDP RECEIVE REQUEST Requests that dat a be sent f rom a UDP socket. Command Block Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. [...]

  • Página 194

    169 Command/Re sponse Referen ce Section 7-3 Number of Reception Bytes (Co mmand, Result s Storag e Area) The ma ximum number of bytes o f data to be received is given in the com- mand. Th e number o f bytes of dat a received wil l be s tored in th e res ults stor - age area . Up to 1, 984 bytes can be specifie d. Timeout V alue (Command) The maxim[...]

  • Página 195

    170 Command/Re sponse Referen ce Section 7-3 Command Block Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. UDP Socket Number (Command) The UDP s oc ket numbe r to send the data speci fied as 1 byte betwe en 1 and 8. Res[...]

  • Página 196

    171 Command/Re sponse Referen ce Section 7-3 Results Storage Ar ea Response Codes 7-3-12 UDP CLOSE REQUEST Requests processi ng to clo se a socket. Command Block Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. UDP Socke[...]

  • Página 197

    172 Command/Re sponse Referen ce Section 7-3 Results St orage Ar ea (Command) The area in whi c h th e r e sults of the command e xecution a r e stor ed. The first byte specifie s the me mor y are a and data type ( variable type ). Th e 2nd to 4t h bytes specif y the beg inning address of the results storage a rea. Re f er t o page 158 for details [...]

  • Página 198

    173 Command/Re sponse Referen ce Section 7-3 TCP Socket Number (Command) The TCP s ock et number to be opened specifi ed as 1 byte be tween 1 and 8. Results St orage Ar ea (Command) The area in whi c h th e r e sults of the command e xecution a r e stor ed. The first byte specifie s the me mor y are a and data type ( variable type ). Th e 2nd to 4t[...]

  • Página 199

    174 Command/Re sponse Referen ce Section 7-3 Response Codes Results Storage Ar ea Response Codes Note These e rrors oc cur onl y in la rge mult ilay ere d networ ks. 7-3-14 A C TIVE TCP OPEN REQ UEST Requests processing to op en a TCP socket. The socket will be conn ected to another n ode. Command Block Response c ode Description 0000 Normal 0105 L[...]

  • Página 200

    175 Command/Re sponse Referen ce Section 7-3 Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et op tion i s specifie d in on e byte. TCP Socket Number (Command) The TCP s ock et number to be opened specifi ed as 1 byte be tween 1 and 8. Results St orage Ar ea (Command) The area in whi c h th e r e sults of t[...]

  • Página 201

    176 Command/Re sponse Referen ce Section 7-3 Response Codes Results Storage Ar ea Response Codes Note These e rrors oc cur onl y in la rge mult ilay ere d networ ks. Response c ode Description 0000 Normal 0105 Local I P address set ting error 0302 CPU Uni t error ; e xec ution not pos sible . 1001 Command too large 1002 Command too small 1100 TCP s[...]

  • Página 202

    177 Command/Re sponse Referen ce Section 7-3 7-3-15 TCP RECEIVE REQUEST Requests that data be sent f rom a TC P sock e t. Command Block Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. TCP Socket Number (Command) The TCP[...]

  • Página 203

    178 Command/Re sponse Referen ce Section 7-3 Response Codes Results Storage Ar ea Response Codes Note These e rrors oc cur onl y in la rge mult ilay ere d networ ks. 7-3-16 TCP SEND REQUEST Requests that dat a be rec eived at a TCP sock et. Command Block Response c ode Description 0000 Normal 0105 Local I P address set ting error 0302 CPU Uni t err[...]

  • Página 204

    179 Command/Re sponse Referen ce Section 7-3 Response Block Result s Storage For mat P a rameter s Sock et Option (Command) The s ock et o ption sp ecified a s 1 byte. The setting is not valid f or this com- mand. Set to 0. TCP Socket Number (Command) The TCP socket number to sen d the data specifie d as 1 b yte be tw ee n 1 and 8. Results St orage[...]

  • Página 205

    180 Command/Re sponse Referen ce Section 7-3 Results Storage Ar ea Response Codes Note These e rrors oc cur onl y in la rge mult ilay ere d networ ks. 7-3-17 TCP CLOSE REQUEST Requests processi ng to close a TCP socket. Other process ing being c arr ied out is forcibly ended and a c ode is r ecorded in the results storage a rea. Command Block Respo[...]

  • Página 206

    181 Command/Re sponse Referen ce Section 7-3 Results St orage Ar ea (Command) The area in whi c h th e r e sults of the command e xecution a r e stor ed. The first byte specifie s the me mor y are a and data type ( variable type ). Th e 2nd to 4t h bytes specif y the beg inning address of the results storage a rea. Re f er t o page 158 for details [...]

  • Página 207

    182 Command/Re sponse Referen ce Section 7-3 Remarks PING Command The PING c ommand r uns the echoback test u s ing the ICMP protocol. W hen the PING comman d is ex e cuted, an ech o reque st pa ck et is sen t to t he remot e node I CMP . Co rrect co mmunica tions ar e confi r med whe n the retur ne d response p ac ket is rece iv ed nor mally . T h[...]

  • Página 208

    183 Command/Re sponse Referen ce Section 7-3 Response Codes 7-3-20 FINS/TCP CONNECTION ST A TUS READ Reads the FINS/TC P connec tion statu s. Command Block Response Block P a rameter s FIFINS/TCP Connection No. (Command, Response) Command: Sp ecifi es, in two b ytes, the FINS /TCP conn ection number (1 to 16) for which the s tatus is to be rea d. R[...]

  • Página 209

    184 Command/Re sponse Referen ce Section 7-3 Remote TCP P or t Number (Response) Specifies the TCP por t number for the remo te node. TCP T ransitions (Response) Specifies the TC P connec tion sta tus us ing th e follo wing numbers. F o r details on TCP st atus cha nges, refer to App endix C TCP Sta tus T ransi- tions . Response Codes 7-3-21 IP ADD[...]

  • Página 210

    185 Command/Re sponse Referen ce Section 7-3 IP Address T able R ecords (Command) Specify the IP addre ss table records. The numbe r of recor ds spec ified must be provided. The total number of bytes in the IP addre ss table records is cal- cula ted as the numb er of rec ords × 6 bytes/reco rd. The config uration of th e 6 bytes of data in each r [...]

  • Página 211

    186 Command/Re sponse Referen ce Section 7-3 P a rameter s IP Addre ss (Command) Specify the local IP addres s of the Ether n et Unit usin g 4 pa irs of hexadecimal numbers in t he range 00 .00.00.0 0 to FF . FF .FF .FF (0 .0.0.0. to 255.25 5.255.255 dec imal ). If 0.0.0.0 is sp ecified, the local IP add ress set in the alloc ated words in the DM A[...]

  • Página 212

    187 Command/Re sponse Referen ce Section 7-3 Maximum Number of Stored Records (Response) The max imum number of reco rds t hat ca n be st ored in the IP addres s table is retur ned. The max imum number of stored records is fixed at 00 20 (32 records) . Number of Stored Records (Response) The numbe r of IP address table records st ored at the tim e [...]

  • Página 213

    188 Command/Re sponse Referen ce Section 7-3 Response Block P a rameter s Number of Records (Command, Response) The numbe r of record s to read is speci fied between 000 0 and 0008 (0 to 8 decimal) i n the comman d. If this value is set to 0, the numbe r of store d records will be ret ur ned but the IP rou ter table re cords will no t be retur ned.[...]

  • Página 214

    189 Command/Re sponse Referen ce Section 7-3 7-3-25 PR O T OCOL ST A TUS READ Reads the Ether net Unit proto col stat us. Command Block Response Block P a rameter s IP Status (Response) T welve types of IP status informat ion occupying 4 bytes each are retur ned in the following seque nce. Each v al ue is retur ned as an 8- digit hexadeci mal v a l[...]

  • Página 215

    190 Command/Re sponse Referen ce Section 7-3 ICMP Status (Response) T en types (46 items) of ICMP statu s inf o rm ation oc cupying 4 b ytes each are retur ned in the following sequenc e. Each value is retur ne d as an 8- di git hexa- decimal v a lue. 1,2,3. .. 1. The number of times the ICMP err or routine wa s called. T he ICMP er ror routine use[...]

  • Página 216

    191 Command/Re sponse Referen ce Section 7-3 TCP Status (Response) Thr ee type s (46 items ) of TCP s tatus informa tion oc cupying 4 bytes each are retur ned in the following sequenc e. Each value is retur ne d as an 8- di git hexa- decimal v a lue. 1) Connect ion Information (60 Byt es) Fifteen ite ms are retur ned in the following sequence: 1,2,[...]

  • Página 217

    192 Command/Re sponse Referen ce Section 7-3 12. The number of times no window ad v e r tis ement is received with in the time set on th e duratio n timer. (The duration tim er se ts th e ma xi mum tim e limi t f or a wind ow adver tisemen t to be received if the transm ission window is smaller than necessar y and the re send timer is not s et. If [...]

  • Página 218

    193 Command/Re sponse Referen ce Section 7-3 18. The number of ACK pack ets received with no data se t. 19. The number of ACK pack ets received. 20. The number of A C K pack ets re ceived f or recei v ed transm ission acknowl- edgements (ACK). 21. The number of window adver ti sement packets rece ived. UDP Status (Response) T hree items of UDP info[...]

  • Página 219

    194 Command/Re sponse Referen ce Section 7-3 P a rameter s Memor y Status (Response) A total of 23 d ata items in si x areas are re turned in the f oll o win g order . Each item consis ts of 4 b ytes. 1,2,3. .. 1. Shor t Buffer Applicat ion: T wo items are retu r ned (8 bytes) . a. The number of shor t buffers currentl y being u sed. b . The number[...]

  • Página 220

    195 Command/Re sponse Referen ce Section 7-3 Response Codes 7-3-27 SOCK ET ST A TUS READ Reads the Ether net Unit ne twork socket status. Command Block Response Block P a rameter s Socket Statu s (Respon se) Retu r ns eight types of infor ma tio n in re co rd s of 32 bytes each. A ma xi mum of 62 reco rds can be retur ned. The format of e ach re co[...]

  • Página 221

    196 Command/Re sponse Referen ce Section 7-3 TCP T ransitions (4 bytes) The TCP con nection s tatus is retu rn ed as one of the numbers shown in th e foll owi ng ta ble. Re fer t o App endix C TCP S tatus T ransitio ns f o r a diagram of transitio ns. Precautions All the abov e v al ues are set t o 0 if Eth er net com municat ions func tions ar e s[...]

  • Página 222

    197 Command/Re sponse Referen ce Section 7-3 FINS Node Address Node ad dress set on the E ther net Unit (h ex a decimal) . IP Address IP addre ss set on th e Ether n et Unit (hexadecimal) . Response Codes 7-3-29 IP ADDRESS READ Reads the loca l IP address and subne t mask i n the CPU Bu s Uni t Syste m Setup and the F INS nod e ad dr ess. Th e valu[...]

  • Página 223

    198 Command/Re sponse Referen ce Section 7-3 Subnet Mask (Response ) The su bnet m ask se t in the C PU Bu s Uni t System Setup for the Ether net Unit is retu rn ed in o rder star ting from the l eftmos t bytes in hexadecim al. Response Codes Response c ode Description 0000 Normal 1001 Command too large[...]

  • Página 224

    199 SECTION 8 T roubleshooting This section describes inf ormation and procedures that can be u sed to troubleshoot problems that sometime s occur with Ethernet Unit and Eth ernet communications. The Ethernet Unit mak es up par t of a networ k. Repair a def ectiv e Ethernet Unit as soon as possible as it can hav e a ne gati ve ef fect on the entire[...]

  • Página 225

    200 T roubleshooting with Indicato rs Section 8-1 8-1 T r oubleshooting with Indicators The indica tors on the E ther net Uni t can be used to troubleshoot so me error . The probable c ause and correc tion for errors th at can be d eter min ed fro m the LINK, HOS T , RUN, ERC , and E RH indica tors ar e listed in the following table. RUN ERC ERH LN[...]

  • Página 226

    201 Error Status Section 8-2 8-2 Err or Status The Ethe rn et Unit will output err or status to the following word in the CIO Area of the C PU Unit. T his infor mation can be us ed in troubleshooti ng err ors. W ord = CIO 1 500 + (25 x unit num ber) +1 8 Err or Status (Et hernet Unit to CPU Unit) The sta tus of erro rs that oc cur at t he Ethe r ne[...]

  • Página 227

    202 Error Log Section 8-3 8-3 Err or Log The Ethe rn et Unit provid es an error log that rec ords error s that have occurred duri ng Ether n et Unit operation . The co ntents of the err or log ca n be read or cleare d from a Programming Device, such as t he CX-Programmer , or it can be read or cleare d using F INS comman ds from a wor ksta tion or [...]

  • Página 228

    203 Error Log Section 8-3 Err or Log T able Each error is recorde d as one record in an error log tab le. Up t o 6 4 record s can be saved. If more than 64 errors oc cur , the old est errors w ill be deleted from the e rror log and the most recen t error will be record ed. The following inform ation is recor ded in the error log table. • Main err[...]

  • Página 229

    204 Error Log Section 8-3 0103 Resend count e xceeded (send f ailed) Comm ands Bit 15: OFF Bits 08 t o 14: SNA Bits 00 t o 07: SA1 Respon ses Bit 15: ON Bits 08 t o 14: DNA Bits 00 t o 07: D A1 Chec k trans ce iv er at remote n ode . --- 0105 Node address setting erro r (send f ailed) Set the IP address correctl y . --- 0107 Remote node not in netw[...]

  • Página 230

    205 Error Log Section 8-3 0300 Pa ra meter error; packe t discarded Commands Bit 15: OFF Bits 08 t o 14: SNA Bits 00 t o 07: SA1 Respon ses Bit 15: ON Bits 08 t o 14: DNA Bits 00 t o 07: D A1 Chec k the command f o r mat and set the c orrect co mmand data. --- 03C0 FINS/TCP setting error 01 to 10: Conn ect ion numbe r 01: A utomati- cally al lo- ca[...]

  • Página 231

    206 Error Log Section 8-3 03C2 F IN S/T CP pa cket disca rded 01 to 10 : Conn ect ion numbe r 02: Reopen ed beca use remote n ode closed 03: Reopen ed beca use of receptio n error 04: Reopen ed beca use of tran smission error 05: Reopen ed beca use RST receiv ed from remote n ode 06: Reopen ed beca use of no k eep-aliv e response Hav e the FINS/TCP[...]

  • Página 232

    207 Error Log Section 8-3 03C4 Ser v er connection e rror 00: DNS 01: S MTP 02: POP3 03: S NTP 01: Spec ified host does not ex i s t 02: N o ser - vice at spec i - fied host 03: T imeo ut 04: C los ed unilater ally b y hos t 05: C ann ot connec t beca use accoun t info r- mation doe s not match 06: H o st name r eso lu - tion error 07: T ran smi s-[...]

  • Página 233

    208 Error Log Section 8-3 Note (1) The t ime infor mation in the CPU Unit is used in the CPU Bu s Units. (2) If the time infor mation ca nnot be read fr om the CPU Uni t, the time stam p in the erro r log will be all zeros. This can occur due to CPU Unit star tup error , uni t number errors, CPU erro r , and model number errors. If the tim e is rea[...]

  • Página 234

    209 T roubleshooting Procedures Section 8-4 8-4 T r oubleshooting Procedures The following pro cedures c an be used t o troubleshoot var ious problems in system operation. 8-4-1 Startup Prob lems RUN indicator lit? Replace the Ethernet Unit. Y N ERH indicator lit? Y N ERC indicator lit? N Y Power supplied to CPU Unit? Y N Ethernet Unit loose on Rac[...]

  • Página 235

    210 T roubleshooting Procedures Section 8-4 8-4-2 FINS Comm u nications Pr oblems (SEND(090)/RECV(098)/ CMND(490)) Go to Network Connection Problems N Y Y N N Y N Y Set both nodes to the same FINS network address. N N N Y Y Y N Y Y FINS Communications Problems occurred. Is the control data for the instruction set incorrectly? Make sure that the FIN[...]

  • Página 236

    211 T roubleshooting Procedures Section 8-4 8-4-3 UDP Socket Prob lems General Pr oblems Opening and Closing Problems Refer to General Problems above. Y N Y N General Problems Is the response code a value other than 0000? Is the response code in the results storage area a value other than 0000? Go to Network Connection Problems. END Go through the [...]

  • Página 237

    212 T roubleshooting Procedures Section 8-4 Reception Pr oblems Y N N N N N Y Y Y Y Reception Problems occurred. Is reception processing finishing? Is the remote node not processing to send data? Adjust the remote node to process send data. Read controller status using the FINS command READ CONTROLLER ST A TUS. Read memory status using the FINS com[...]

  • Página 238

    213 T roubleshooting Procedures Section 8-4 T ransmiss ion Pr oblems N Y N Y Y N Is send processing not finishing? Return to the procedure for general problems. Transmission Problems occurred. Read protocol status using the FINS command READ PROTOCOL STATUS. Have any failures to reach the destination been counted in the ICMP status? The UDP socket [...]

  • Página 239

    214 T roubleshooting Procedures Section 8-4 8-4-4 TCP Soc ket Prob lems General Pr oblems Y N N Y N Y General Problems Is the response code in the results storage area a value other than 0000? Read controller status using the FINS command READ CONTROLLER STATUS. Is the response code a value other than 0000? Have any send collisions occurred? There [...]

  • Página 240

    215 T roubleshooting Procedures Section 8-4 Opening Pr oblems Closing Prob lems Refe r to General Problem s on page 214. Y Y N N N Y Y N Opening Problems occurred. Are you attempting an active open? Is the passive open not finishing? Use an active open at the remote node. Is the response code in the results storage area a value other than 0049? Rea[...]

  • Página 241

    216 T roubleshooting Procedures Section 8-4 Reception Pr oblems T ransmiss ion Pr oblems N Y N Y N Y Y Y N N Reception problems occurred. Is reception processing not finishing? Is the remote node not processing to send data? Adjust the remote node to process send data. Read memory status using the FINS command READ MEMORY STATUS. Is the network mem[...]

  • Página 242

    217 T roubleshooting Procedures Section 8-4 8-4-5 FTP Service Pr ob lems Connection Pr oblems Y N N Y N N Y END N N Y Y Y Y What type of Memory Card is it? Memory Card N Convert to EM File Memory in the PLC System Setup. N Y END N Y Y Connection problem occurred. Are you unable to connect to the Ethernet Unit's FTP server? Is the FTP indicator[...]

  • Página 243

    218 T roubleshooting Procedures Section 8-4 File T ransfer Prob lems Y N N Y END Y N N Y N N 1 1 N Y Y Y File transfer problem occurred. Are you not connected to the FTP server? Return to the previous procedure. Is the current directory MEMCARD or EM? Make MEMCARD or EM the current directory (execute cd /MEMCARD or cd /EM ). Can you execute get ? I[...]

  • Página 244

    219 T roubleshooting Procedures Section 8-4 8-4-6 Netw ork Connection P robl ems Is the LNK indicator lit? Did all nodes fail to respond to ping command? Is the twisted-pair cable secured? END • Firmly secure the cable. • Power may not be being supplied to the hub. Y N Y N N Did a particular node fail to respond to ping command? • The remote [...]

  • Página 245

    220 T roubleshooting Procedures Section 8-4 Mail Not being Sent START N Y Is the ERH indicator flashing? Y N Y N N Is the HOST indicator lit? Is the user mail transmission status "7"? Y Is the user mail transmission status "0"? Y N N Does destination mail address exist? N Y Is required information missing from the mail? Y N Did [...]

  • Página 246

    221 T roubleshooting Procedures Section 8-4 Mail Not being Received START N Y Is the ERH indicator flashing? Y N Y N N Is the HOST indicator lit? Are there responses to remote mail commands? Y Is the user mail transmission status "0"? Y N The mail reception function (and response mail transmission) cannot be used because no IP address or [...]

  • Página 247

    222 T roubleshooting Procedures Section 8-4 Clock Not being Automatically Adjusted START N Y Is the SNTP error status bit ON? Is the ERH indicator flashing? Y N Y N N Is the HOST indicator lit? Is 03C6 stored in the Ethernet Unit's error log? Y N The automatic clock adjustment function cannot be used because no IP address or host name is set f[...]

  • Página 248

    223 T roubleshooting with Response Codes S ection 8-5 8-5 T r oubleshooting with Resp onse Codes Y ou c an troublesho ot the error s in FINS com munication s from the r espons e codes wh en the SEND(090 ), RECV(098 ), or CM ND(490) ins tructi ons have been used . For the storage areas o f the resp onse cod es ref er to i nformatio n on page 141 und[...]

  • Página 249

    224 T roubleshooting with Response Codes S ection 8-5 03: Co mmuni- cations con- troller error 01: Co mmunica - tions c ontroller error ERC indicator on the Cont roller Error occ urred in the comm uni- catio ns controlle r , ERC in dica- tor is lit. T ake correcti ve actio n, refe rring to troub l eshooting proc edures in this se ction. 02: CPU Uni[...]

  • Página 250

    225 T roubleshooting with Response Codes S ection 8-5 11: Param e- ter error 00: P arameter error P arameters in command data The para meters in th e com- mand dat a are inco rrect. The UDP/TCP sock et number was no t within the pro per ran ge. The l ocal UDP por t num ber might be set to 0. Chec k the parame ters . Be sure th e sock et nu mber is [...]

  • Página 251

    226 T roubleshooting with Response Codes S ection 8-5 22: Status error (oper at- ing mo de di s- agr eement) 0F: S er vi ce in prog ress, cann ot perfor m ope ratio n Sock et st atus area The sa me soc ket se r vice is alread y in progre ss at the specifi ed sock et nu mber . Use the s ock et status flag in PC memory to be sure tha t sock et servic[...]

  • Página 252

    227 Results Storage Area Respons e Codes Section 8-6 Network Relay Err ors For network r ela y errors usi ng SEND(090) or RECV(0 98), check the path of the com mand using t he routi ng ta bles and the natu re of t he err or using the response code to elim inate th e cause of the error. F or network rela y errors using CMND( 490), the location o f t[...]

  • Página 253

    228 Results Storage Area Respons e Codes Section 8-6 003F EISCONN Sock et is already c onnected (co n- nection attempted to open soc ket) C los e the l ocal socket and tr y r eope nin g it . 0040 ENO TCONN Sock et is not con nected (send attempte d to closed sock et) 0041 EALREAD Y Operatio n already in prog ress (con- nec ti on a tte mp te d to ex[...]

  • Página 254

    229 Results Storage Area Respons e Codes Section 8-6 0081 (None) Closed b y clos e command duri ng so cket s er v i c i n g No act ion is ne cessarily cal led f or . 0082 (None) Connection wi th remote nod e not achie v ed fo r passive TCP open request The remo te IP address and TCP port number settings diff er from those of th e remote soc ke t (a[...]

  • Página 255

    230 Results Storage Area Respons e Codes Section 8-6[...]

  • Página 256

    231 Appendix A Etherne t Netw ork P arameter s P a rame te r V alu e Desc rip tion TCP se nd buff er 4,096 b ytes Maximum capacity of the TCP send b uff er TCP rec eive b uff er 4,096 bytes Max imum cap acity of the TC P receive buff er UDP send b uff er 9,000 b ytes Maximu m capacity of the UDP send b uffe r UDP r ecei ve buff e r 9,016 byte s Ma [...]

  • Página 257

    [...]

  • Página 258

    233 Appendix B Buffer Configuration Network memor y (248K bytes) Communications controller IP pack et output queue (50 max. x 1,500 bytes) UDP sock et send request buff ers (8 x 9,000 max.) TCP sock et send request buff ers (8 x 4,096 max.) FTP service send buff er (4,096 bytes) FINS send buff er (9,000 bytes max.) FINS reception buff er (16,383 by[...]

  • Página 259

    234 Buf fer Configur ation Appendix B Netw or k Memor y Most of the buffers used for communicatio ns se r vicin g by the Ethe rn et Unit a re ad minister ed in a buffer config- uration call ed net work m emor y . Networ k memor y con sists of 248K bytes of memor y div ided in to sho r t a nd long buff ers. The use of sho r t an d long buffers is de[...]

  • Página 260

    235 Appendix C TCP Status T ransition s The TCP so cket status can be confi r med us ing the sock et st atus da ta retur ned for the FI NS comman d SOCKET ST A TUS READ (2764). Status Meaning CLOS ED C onnec tio n c los ed. LISTEN W a iti ng f o r conne cti on. SYN SENT SYN sen t in activ e status . SYN RECEIVED SYN receiv ed and se nt. EST ABLISHE[...]

  • Página 261

    [...]

  • Página 262

    237 Appendix D ASCII Characters Bits 1 to 4 Bits 5 t o 7 Binary 0000 0001 001 0 0011 010 0 0101 0110 011 1 H e x 012 34567 0000 0 NUL DLE Space 0 @ P p 0001 1 SOH D C1 ! 1 A Q a q 0010 2 STX DC2 ” 2 B R b r 0011 3 ETX DC3 # 3 C S c s 0100 4 E O T D C 4 $4 D T dt 0101 5 ENQ NAK % 5 E U e u 0110 6 AC K S YN & 6 F V f v 0111 7 BEL ET B ’ 7 G W[...]

  • Página 263

    [...]

  • Página 264

    239 Appendi x E Maintenance The Ethe rnet Uni t makes up par t of a network. Repair a defective Ether net Unit a s soon as possible as it can hav e a neg ative eff ect on the enti re networ k. We recommend tha t custo mers keep one o r more sp are Ether ne t Units to a llow immedia te recovery of t he networ k. Replacing an Ethernet Uni t Obser ve [...]

  • Página 265

    [...]

  • Página 266

    241 Appendi x F Inspections Carr y ou t regular inspecti ons to ensure t he Ether net U nit is funct ioning pe rfectly . Items Most of the pa r ts th at make up an Ethe r n et Uni t a re s em icond uc tor com pon ents. N one of the p ar ts i n the Uni t will wear out after a specif ic li fetime , but so me par ts m ay deteriora te due t o e x treme[...]

  • Página 267

    [...]

  • Página 268

    243 Appendix G Ether net Un it W eb Funct ion W eb Fu nction Ether net Uni ts with Un it V e r . 1.3 or later can use a Web browse r from a per sonal com puter or other device to easily ma ke the Ether ne t Unit’ s syste m settings and moni tor statu ses. W eb Fu nction Li st The informa tion di splay ed on the window from the Web browser for the[...]

  • Página 269

    244 Ethern et Unit W eb Fu nction Appendix G POP Unit Setup window - POP T ab IP Addres s (or Ho st name) Unit Setup wind ow - POP T ab - IP Ad dress or Host name P or t No. Unit Setup wind ow - POP T ab - Po r t N o . Mail account Unit Setup wind ow - POP T ab - Account Nam e Mail passw o rd Unit Setup window - POP T ab - Mail pass wo rd Server ac[...]

  • Página 270

    245 Ethernet Unit W eb Func tion Appendix G Status Monito r W eb Fu nction P ass wor d T o p re v ent unauthor ized acces s to the Ether ne t Unit f rom a W eb browser , pass w ord entr y is requ ired to enable display and set ting of the p ar ame ters. Ev en i f the password has not been s et, the default password “ETHER- NET” must b e entered[...]

  • Página 271

    246 Ethern et Unit W eb Fu nction Appendix G 1. Connect to the Eth er net Uni t from the W eb browser . In this example, the UR L is spe cified as http://192 .168.250 .1/0 us ing the E ther net Uni t’ s def ault IP add ress. 2. Selec t Settings from the menu on th e left si de of the window to di splay the Settings Menu . 3. Selec t 1. IP address[...]

  • Página 272

    247 Ethernet Unit W eb Func tion Appendix G 4. Input th e default password (“ETHERNET ” all in upper case) and cl ick the Login Button. When log in is succes sful, the following setting window w ill be di splayed. 5. Select H TTP fr om the menu to disp lay the HTTP sett ing it ems. The following window shows t he default setti ngs.[...]

  • Página 273

    248 Ethern et Unit W eb Fu nction Appendix G 6. Make the requ ired set tings (i.e., the pas s word in this example ). T o pre v ent inco rrect pas sw ord ent r y , set th e same pass wo rd in the WEB P a ss word field and WEB Pass word (Confir m) field. 7. After ent er ing th e correct password, click the Set Butto n foll owe d by th e Regist Butt [...]

  • Página 274

    249 Index Numerics 100M i ndicat or , 26 A Account Name field , 68 applica tio ns pre cau tio ns , xxiii ARP communica tions , 16 ASCII characters , 237 Attach ed file name field , 71 Auto Adjust Time Tab , 51 , 74 Auto alloca te d FINS no de fi eld , 65 automa tic , 8 automati c clock ad justment , 8 , 10 , 22 , 51 Auxil iary Are a , 136 B baud ra[...]

  • Página 275

    250 Index precaut ions , 37 CONTROLLER DATA READ , 16 0 Controller Link , 10 CONTROLLER STATUS READ , 16 1 Conversion field , 62 Counter Area , 136 CPU Bus Unit Error Flag , 90 CPU Bus Unit Error, Unit Number Flags , 91 CPU Bus Unit Initializing Flags , 90 CPU Bus Unit Number Duplication Flags , 90 CPU Bus Unit Restart Bits , 91 CPU Bus Unit Settin[...]

  • Página 276

    Index 251 controller stat us , 161 error codes , 203 error log , 202 clearing , 16 6 reading , 165 error status , 201 flags FINS commu ni cations , 16 2 response co des , 223 short pac kets , 163 status , 83 , 20 1 unit numb e r s , 91 UNIX error messages , 227 Ethe r n et commu nicati ons , 16 addresses reading from Unit , 160 exchang ing dat a be[...]

  • Página 277

    252 Index Results Storage Error Flag , 80 Sending Fla g , 80 TCP/UDP Open Flag , 80 FTP comm un icati on s , 17 FTP in dic a to r , 26 FTP s erve r , 7 , 9 , 20 , 50 trou bleshoo tin g , 217 FTP St atu s Fla g , 82 H Holding Area , 136 HOST indicator , 26 Host name field , 67 , 68 , 74 HTTP Tab , 75 hub , 11 , 35 connect ions cascade , 36 stack , 3[...]

  • Página 278

    Index 253 MailLog C lear comman d , 6 , 73 MailLog Read com mand , 6 , 73 main res ponse co de , 156 See also MRES maintenan ce , 239 media acce ss met hod CJ-series , 14 CS-series , 13 memory areas See also d ata area s Memory Card , 7 MEMORY STATUS READ , 193 mode se ttings reading from Unit , 16 0 modu lation metho d CJ-series , 14 CS-series , 1[...]

  • Página 279

    254 Index TCP/IP , 8 UDP , 17 UDP/IP , 8 R Racks mounting Ethernet Units , 33 radioactiv ity , xxiii RD in dica tor , 26 Receive file with specified extension only field , 73 Receive Ma il Tab , 51 , 72 Receive Request Switch , 85 Receiving F lag , 80 RECV(098) instructio n , 17 , 138 relay table s , 122 RESET , 159 response cod es , 223 FINS comma[...]

  • Página 280

    Index 255 testing co mmunications , 181 UDP sockets troublesho oting , 211 software configura tion , 16 Software switch field , 71 specifications Ethernet Un its CJ-series , 14 CS-series , 13 FINS commu ni cations , 135 SRES , 157 stack c onnections , 36 startup procedure , 30 static electri ci t y , xxiii precaut ions , xxv status reading memory s[...]

  • Página 281

    256 Index UDP Node s Tab , 132 UDP OPEN REQUEST , 167 UDP Open Req uest Switch , 85 UDP RECEIVE REQUEST , 16 8 UDP SEND REQUEST , 169 UDP/IP , 2 , 8 , 115 creating co mmunica tions appli cations , 7 UDP/TCP socket s status bits , 80 UMBackup co mmand , 6 , 73 Unit Number Switch , 23 unit nu mbers setting , 31 , 32 UNIX error messages , 22 7 Use I P[...]

  • Página 282

    257 Revision History A manual r e visi on cod e appea rs as a s uffix t o the catal og number o n the fron t cover of the manual. The following table outlines the changes made t o the manual duri ng each revision. Page numbers refer to the previous version. Revision code Date Revised content 1 July 2003 Original produ ction 02 March 2004 Inf or m a[...]

  • Página 283

    258 Revision Histor y 03 June 2005 Information was added f or new v ersions of the Ether net Unit and minor corrections were also made, including the follo wi ng cha nges. Page v : Added inf ormation on general pre cautions notation. Pa ge vii: Remove d t a ble. Pa ge xiii : A dded information on warranty and liability . Pa ge 28: Added table. Pa g[...]

  • Página 284

    OMRON Corporat ion Cont rol D evice s Di vi sion H.Q . Shiok o ji H orika w a, Shimog yo-ku, K yoto , 600-8530 J apan T el: (81)75-34 4-7109/F ax: (81)75-344 -7149 Regional Hea dquarters OMRON EUR OPE B.V . W egalaan 6 7-69, NL-2132 J D Hoofddorp The Ne ther lands T el: (31)2356 -81-300/F ax: (31)2356-8 1-388 OMRON ELECTR O NICS LLC 1 East Comm erc[...]

  • Página 285

    Authorized Distributor: Cat. No. W420-E1-04 Note: Specificat ions subject t o change without notice P rinted in Japan This manual is printed on 100% recycled paper.[...]