GE GFK-1541B 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

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones GE GFK-1541B. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica GE GFK-1541B o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual GE GFK-1541B se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales GE GFK-1541B, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones GE GFK-1541B debe contener:
- información acerca de las especificaciones técnicas del dispositivo GE GFK-1541B
- nombre de fabricante y año de fabricación del dispositivo GE GFK-1541B
- condiciones de uso, configuración y mantenimiento del dispositivo GE GFK-1541B
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de GE GFK-1541B no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de GE GFK-1541B y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico GE en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de GE GFK-1541B, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo GE GFK-1541B, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual GE GFK-1541B. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    GE Fanuc Automati on Progr ammable Co ntrol Prod ucts TCP/IP Ethern et Communications for the Series 90™ PL C User's M anual GFK-1541B May 2002[...]

  • Página 2

    GFL-002 Warnings, Cautions, and Notes as Used in this Pub lication Warni ng Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other conditions that could caus e personal injury exist in this equipment or may be associated with its use. In situations where inattention could cause either per[...]

  • Página 3

    Conte nts GFK-15 41B iii Chapter 1 Introduction ......................................................................................................... 1-1 The Ethernet I nterface ....................................................................................................... 1- 2 Ethernet I nterface Po rts.................................[...]

  • Página 4

    Contents iv TCP/IP Et hernet C ommunic ations f or the Serie s 90™ PLC User 's Manual– M ay 2002 GFK-15 41B Chapter 7 Troubleshooting ................................................................................................... 7-1 Diagnostic Tools Availab le for Troub leshooting.......................................................[...]

  • Página 5

    Contents GFK-15 41B Contents v[...]

  • Página 6

    GFK-15 41B 1-1 Introdu ction This manu al describes the following Ethernet Interfaces for th e Series 90 PLC:  Series 90- 30 PLC TCP/IP Ethern et Interface (IC693C MM321)  Series 90- 30 PLC CPU364 w ith embedded TCP/ IP Ethernet In terface (IC693C PU364)  Series 90- 30 PLC CPU374 w ith embedded TCP/ IP Ethernet In terface (IC693C PU374) ?[...]

  • Página 7

    1-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 1 The Ethernet Interface The Ethernet Interface en ables Series 90 PLCs to communi cate with other Series 90 PLCs, w ith with G E Fanuc PLC programm ing software, an d with applicati ons dev eloped using the SRTP protocol, such as CIMPLICIT[...]

  • Página 8

    GFK-15 41B Chapter 1 Intro ducti on 1-3 1 Capabili ties of th e Ethernet Interface The Ethernet Interface brings to your PLC a great deal of capabilit y. It will allow you to:  Become operational quickly. The Ethernet Interface is made operational with very little effort. You need on ly install the Interface in the PLC rack or baseplate and us e[...]

  • Página 9

    1-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 1 Ethernet Interface Ports The Ethernet Interfaces prov ide ports for conn ection to the Ethernet netw ork as listed below. IC693CMM321 S eries 90- 30 TCP/I P Ethernet Interface  AAUI Port  10Base-T Port (R J-45) (Module ve rsion FG o[...]

  • Página 10

    GFK-15 41B Chapter 1 Intro ducti on 1-5 1 Ethernet Me dia Various Ethe rnet baseband media (10Base...) can be interconn ected by appropriate hubs or repeaters. Capabilities an d limitations are defined in IEEE 802.3 C hapter 13, “S ystem Considerations for Multi-Segment Networks”. T his document is published b y the Institute of Electrical an d[...]

  • Página 11

    1-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 1 Special Consideration s for Ethern et Interfaces with Embedded Switch es Ethern et Interfaces th at incorporate em bedded switches (only the Seri es 90-30 CPU374) prov ide some additional con nection options and ha ve some additio nal ins[...]

  • Página 12

    GFK-15 41B Chapter 1 Intro ducti on 1-7 1 The Station Manager Software The built-in Station Manager soft ware provides on-line supervisory access to the Ethernet Interface, throu gh either the Station Manager port or ov er the Ethernet cable. The Station Manager services on the Ethern et Interface include:  An interactive set of commands for int[...]

  • Página 13

    1-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 1[...]

  • Página 14

    GFK-15 41B 2-1 Installation This chapter contains installation instructions f or each Series 90 module th at includes an Ethernet Interface.  Section 1: IC 693CMM321 Series 90- 30 TCP/IP Ethern et Interface (10Bas e-T type)  Section 2: IC693CPU 364 Series 9 0-30 CPU w ith Em bedded TCP/IP Ethern et Inte rface  Section 3: IC693CPU 374 Serie[...]

  • Página 15

    2-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 2 Installing an IC693CMM321 E thernet Interface Module The IC693CMM321Eth ernet Interface mounts in a Series 90-30 PLC bas eplate. It connects to an Ethern et network eith er directly throug h its 10Bas e-T port (10Bas e-T Type on ly), or t[...]

  • Página 16

    GFK-15 41B Chapter 2 Inst allati on 2-3 2 LEDs There are four L EDs on the C MM321 module. Each of these LEDs can be ON, OFF, or BLINKING. LED Indication Functio n OK State of the Ethern et Interface LAN Traf fic on the network port FDX Configuration o f Full Duplex mode. STAT An exception event has occurred All LEDs are briefly turned ON whenever [...]

  • Página 17

    2-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 2 Restart and Enter Software Load State: Pressing and hold ing the Restart pus hbutton until the bottom LED (STAT) turns ON (between 5 and 10 secon ds) forces a rest art and requests entrance to the Software Load state. A reload is u sed to[...]

  • Página 18

    GFK-15 41B Chapter 2 Inst allati on 2-5 2 Ports on the CM M321 RS-232, RJ- 11 Port (Stat ion Manager Port) The RS-232, 6- pin, R J-11 “phone jack” port is us ed to connect a t erminal or termi nal emulator t o access the Station Manager softw are on the Ethernet Interf ace. A cable is needed to conn ect the terminal or emu lator to the Ethernet[...]

  • Página 19

    2-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 2 Installin g the CMM321 in the PLC For gen eral inf ormation abou t module an d system installa tion, refe r to GFK- 0356, Series 90-30 Programm able Contr oller Ins tallat ion Manual . Equipment Required to Perform the Installation Proced[...]

  • Página 20

    GFK-15 41B Chapter 2 Inst allati on 2-7 2 CMM321 Inst allation Use the following instructions as a guide when inserting a modu le into a slot in a baseplate. These instructions assume that th e power supply on the bas eplate is to your left. Warni ng Do not insert o r remove modules wit h power applied. This coul d cause the PLC to Stop, d amage th[...]

  • Página 21

    2-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 2 CMM321 Configuratio n Before you can use the Eth ernet Interface you must configure the module using the PLC programm ing software. The PL C program ming sof tware allows y ou to specify t he modules an d I/O that will reside in your Seri[...]

  • Página 22

    GFK-15 41B Chapter 2 Inst allati on 2-9 2 Configuring the Interface Using the Logicmaster 9 0-30 Configuration Software To configure th e CMM321, access the I/O Configu ration rack screen in the L ogicmaster 90-30 Configu ration Package, and do the following: 1. Move th e cursor to the des ired rack and s lot location . The slot m ay be either unco[...]

  • Página 23

    2-10 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 10.0.0.1 First PLC 10.0.0.2 Second PL C 10.0.0.3 Third PL C .. .. 10.0.0.25 5 PLC Prog rammer TCP or host Also, in this cas e, set the subnet mask, gateway IP address, and n ame serv er IP address to 0.0.0.0. Note If the is olated netw [...]

  • Página 24

    GFK-15 41B Chapter 2 Inst allati on 2-11 2 Configuring Full-Duplex Operation Before setting the module to Full -Duplex operation, be cer tain that it is connected directly to a manage d hub or swi tch that is manually configured for fu ll-duple x operation on the port connected t o the IC693C MM321. The default setting for the module is Half-Duplex[...]

  • Página 25

    2-12 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Verifying Proper Power-Up of the CMM321 Powering-up the Ethernet Interface After conf iguring th e CMM321, follow the procedu re below to be sure i t is operating correctly. 1. Turn pow er OFF to the PLC for 3–5 seconds, then tu rn th[...]

  • Página 26

    GFK-15 41B Chapter 2 Inst allati on 2-13 2 States of t he Series 9 0-30 CM M321 Ethern et Interface Et hernet Inte rf ac e Ini tializing (approx . 2-10 sec o nds)     Th e E th ern et In ter fac e i s ini t i alize d by - Pow eri ng- up the PLC - S to r i n g a ne w c on f ig u r at i on t o t h e P LC wi t h c h an ge s f or t h e Et h[...]

  • Página 27

    2-14 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 LED Pattern Where Stoppe d Possible Cause Corrective A ctions ❍ OK (OFF) ❍ LAN (OFF) ❍ FDX (OFF) ❍ STAT (OFF) A Hardw are Failure Fatal Hardware Error.  Make sure the PLC ha s powe r.  Examine PLC Fau lt Table for clues. *[...]

  • Página 28

    GFK-15 41B Chapter 2 Inst allati on 2-15 2 Pinging TCP/IP Ethernet Interfaces on the Network PING (Packet InterNet G rouper) is t he name of a prog ram used on TCP/IP netw orks to test reachability of destinations b y sending them an ICMP echo request message and waiting for a reply . Most nodes on TCP/IP netw orks, including the C MM321, implem en[...]

  • Página 29

    2-16 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Installing an IC693CP U364 with Embedded TCP/I P Ethernet Interface The CPU364 with Embedded Ethern et Interface is mounted on the Series 90-30 PLC baseplate. It is connected to an Ethernet network via a 10Base-T port or a user- provide[...]

  • Página 30

    GFK-15 41B Chapter 2 Inst allati on 2-17 2 LEDs There are four L EDs on th e CPU364: EOK, L AN, STAT, and PS PORT (on s ome early models of th e CPU364, th e PS PORT LED is label ed “SN P”). The PS (Pow er Supply) POR T LED is not Ethernet related; it indicates the pres ence of serial traffic throug h the serial port of th e PLC’s power suppl[...]

  • Página 31

    2-18 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Restart and Enter Software Load State: Pressing and holding the Restart pus hbutton until the bottom LED (STAT) turns ON (between 5 and 10 secon ds) forces a rest art and requests entrance to the Software Load state. A reload is u sed t[...]

  • Página 32

    GFK-15 41B Chapter 2 Inst allati on 2-19 2 Ports on the CPU3 64 RS-232, RJ- 11 Port (St ation Manager Port) The Station Manager port uses a 6-pin, RJ-11 “ phone jack” connector. This port is used to connect a terminal or term inal emulator to access the Station Manager software on the Ethernet Interface. It is als o used to connect to the PC So[...]

  • Página 33

    2-20 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 CPU364 L abels Default Station Address Label The Default Station Addres s label lists the MAC address to be us ed by this In terface. Serial Number Label The Serial Number Label indicates the serial number of this Interface. Replaceable[...]

  • Página 34

    GFK-15 41B Chapter 2 Inst allati on 2-21 2 Installing the CPU 364 in th e PLC For gen eral inf ormation abou t module an d system installa tion, refe r to GFK- 0356, Series 90-30 Programm able Contr oller Ins tallat ion Manual . Equipment Required to Perform the Installation Procedures Make s ure you ha ve the ite ms li sted b elo w befo re you be [...]

  • Página 35

    2-22 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 CPU364 Configuration Before you can use the Eth ernet Interface with the Series 90-30 PLC, y ou must configure the Interface using the PLC programming software. The PLC programm ing software allows you to specify the modules an d I/O th[...]

  • Página 36

    GFK-15 41B Chapter 2 Inst allati on 2-23 2 Configuring the Interface Using the Logicmaster 90-30 Configuration Software To configure th e Ethernet Interface, access the I/O Conf iguration rack screen in the Logicmaster 90-30 Con figu ration Package, an d do the fol lowing: 1 . Move the cursor to the CPU slo t (slot1) and pr ess Zoo m ( F10 ) to acc[...]

  • Página 37

    2-24 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Status Length: This is the sum of the LIS bits and the Channel Statu s bits. This value is automa tically set to eit her 80 bits (f or %I and % Q Status address locations) or 5 w ords (f or %R, %AI, and %AQ Status addres s locations). I[...]

  • Página 38

    GFK-15 41B Chapter 2 Inst allati on 2-25 2 Serial Port Param eters These param eters are for th e RS-232, RJ- 11 serial port on the CPU364 m odule. This port is u sed for b oth t he Statio n M ana ger co nnec tion and for connecting to the Software Loader. The Software Loader settings take effect automatically when the Ethernet Interface enters the[...]

  • Página 39

    2-26 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Verifying Proper Power-Up of the CPU36 4 Ethernet Interface After configu ring the Ethernet Interface, follow the procedu re below to verify that th e Ethernet Interface is operating correctly. 1. Turn pow er OFF to the PLC for 3–5 se[...]

  • Página 40

    GFK-15 41B Chapter 2 Inst allati on 2-27 2 States of the Series 90-30 CPU36 4 with Embedded TCP/IP Ethern et Interface Et hernet Inte rf ac e Initia liz ing (approx . 2-6 s econ ds)    Th e E th ern et I n ter fac e is i ni t iali zed by - Pow er i n g-up the PLC - S to r i n g a n e w c on f ig ur at i on t o t h e P L C w i th c h an ge [...]

  • Página 41

    2-28 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 LED Pattern Where Stopped Possible C ause Corrective A ctions ❍ EOK (OFF) ❍ LAN (OFF) ❍ STAT (OFF) A Hardw are Failure Fatal H ardwa re Erro r.  Make sure the PLC ha s powe r.  Exam ine PLC Fault Ta ble for clues.  Rechec[...]

  • Página 42

    GFK-15 41B Chapter 2 Inst allati on 2-29 2 Pinging TCP/IP Ethernet Interfaces on the Network PING (Packet InterNet G rouper) is t he name of a prog ram used on TCP/IP netw orks to test reachability of destinations b y sending them an ICMP echo request message and waiting for a reply . Most nodes on TCP/IP netw orks, including the S eries 90- 30 CPU[...]

  • Página 43

    2-30 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Installing an IC693 CPU374 with E mbedded TCP/IP Ethernet Interface The CPU374 with Embedded Ethern et Interface is mounted on the Series 90-30 PLC baseplate. It is conne cted to an Ethernet network via either or both of its auto-sensin[...]

  • Página 44

    GFK-15 41B Chapter 2 Inst allati on 2-31 2 The seven Ethern et LEDs are briefly turn ed ON whenever a restart is perf ormed in the Operational state by pres sing and releasing the Rest art pushbutton (des cribed below). This allows you to verify that the Ethernet LEDs are operation al. Each RJ- 45 port has tw o green LED indicat ors on it . The upp[...]

  • Página 45

    2-32 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Installing the CPU 374 in th e PLC For gen eral inf ormation abou t module an d system installa tion, refe r to GFK- 0356, Series 90-30 Programm able Contr oller Ins tallat ion Manual . Equipment Required to Perform the Installation Pro[...]

  • Página 46

    GFK-15 41B Chapter 2 Inst allati on 2-33 2 CPU374 Configuration Before you can use the Eth ernet Interface with the Series 90-30 PLC, y ou must configure the Interface using the PLC programming software. The PLC programm ing software allows you to specify the modules an d I/O that will reside in your Series 90-30 PLC rack(s). The Hand Held Pr ogra [...]

  • Página 47

    2-34 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 CPU374 Configuration P arameters Ethernet Par ameters Configuration Mode: This is fixed as TCP/IP. Adapter Name: This field is set to 0.1 (the rack and slot of the Ethernet Interf ace) and cannot be changed. Status Address: The Status R[...]

  • Página 48

    GFK-15 41B Chapter 2 Inst allati on 2-35 2 Also, in this case, set t he subnet mask , and gateway IP addres s to 0.0.0. 0. Note If the is olated netw ork is ever con nected to anoth er networ k, the IP addres ses 10.0.0.1 th rough 10. 0.0.255 mus t not be us ed and th e subnet mask,and gateway IP addr ess must be as signed by t he netw ork adminis [...]

  • Página 49

    2-36 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Advanced User P arameters Advanced User Parameters may be set for the Ethernet Interf ace by creating an AUP file and putting it into the folder for the PLC applicatio n. The AUP file is a text file, created by any convenient te xt edit[...]

  • Página 50

    GFK-15 41B Chapter 2 Inst allati on 2-37 2 Verifying Proper Power-Up of the CPU37 4 Ethernet Interface After configu ring the Interface, f ollow the procedure below to verify that the Ethernet Interface is operating correctly . 1. Turn pow er OFF to the PLC for 3–5 seconds, then tu rn the power back ON. This will initiate a series o f diagno stic[...]

  • Página 51

    2-38 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 States of the Series 90-30 CPU37 4 with Embedded TCP/IP Ethern et Interface Ethernet I nterface Initial izing 1 (approx. 2-6 secon ds)    The Ether net Interface is initialize d by  Powering up th e PLC  Storing a new c o[...]

  • Página 52

    GFK-15 41B Chapter 2 Inst allati on 2-39 2 LED Pattern Where Stopped Possible C ause Corrective A ctions ❍ EOK (OFF) ❍ LAN (OFF) ❍ STAT (OFF) A Hardw are Failure Fatal H ardwa re Erro r.  Make su re th e PL C has powe r.  Exam ine PLC Fau lt Table for clu es.  Recheck PLC Progr ammer confi gurat ion.  Powe r off basepl ate, ins pe[...]

  • Página 53

    2-40 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Pinging TCP/IP Ethernet Interfaces on the Network PING (Packet InterNet G rouper) is t he name of a prog ram used on TCP/IP netw orks to test reachability of destinations b y sending them an ICMP echo request message and waiting for a r[...]

  • Página 54

    GFK-15 41B Chapter 2 Inst allati on 2-41 2 Installing the IC697CMM742 Ethernet I nterface The IC697CMM742 Eth ernet Interface is m ounted in a Series 90-70 PL C rack. It is conn ected to an Ethernet netw ork via a 10Base-T port, a 10Base2 port, or a user-prov ided transceiver cable an d transceiver vi a an AUI port. IC697CMM74 2 Ethernet Int erface[...]

  • Página 55

    2-42 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 All LEDs are briefly turned ON whenever a restart is perf ormed in the Operational s tate by pressing an d releasing the Restart push button (described below). This allows you to verify that all LEDs are operational. See “Verifying Pr[...]

  • Página 56

    GFK-15 41B Chapter 2 Inst allati on 2-43 2 Restart and Enter Maintenance State: Pressing and holdi ng the Restart pus hbutton until the bottom tw o LEDs turn ON (approxim ately 10 secon ds) forces a restart and requ ests entrance to the Maintenance state. Maintenance state must be inv oked to change Advanced Parameters . While in Maintenance state,[...]

  • Página 57

    2-44 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Ethernet Ports There are three Ethernet ports on the Ethernet Interface. On ly one Ethernet port may be used at a time. The Ethernet Interf ace automatically detects the Ethernet port in us e; special configuration is not required. (See[...]

  • Página 58

    GFK-15 41B Chapter 2 Inst allati on 2-45 2 Installing the CMM742 in the PLC For gen eral inf ormation abou t module an d system installa tion, refe r to GFK- 0262, Series 90-70 Programm able Contr oller Ins tallat ion Manual . Equipment Required to Perform the Installation Procedures Make s ure you ha ve the ite ms li sted b elo w befo re you be gi[...]

  • Página 59

    2-46 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 CMM742 Inst allation This section desc ribes the physical moun ting of the Ethern et Interface into the Series 90- 70 PLC rack. For inf ormation on the installation procedu res for the rack , Series 90-70 CPU, Power Supply , and oth er [...]

  • Página 60

    GFK-15 41B Chapter 2 Inst allati on 2-47 2 CMM742 Configurat ion Before you can use the Eth ernet Interface with the Series 90-70 PLC , you must configure the Interface using the PLC programming softw are. The PLC configuration sof tware allo ws y ou to specify the modules an d I/O that will reside in your Series 90- 70 PLC rack (s). For the Ethern[...]

  • Página 61

    2-48 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Configuring the Interface Using Logicmaster 90-70 Configuration Software To configure th e Ethernet Interface, access the I/O Conf iguration rack screen in the Logicmaster 90-70 Con figu ration Package, an d do the fol lowing: 1. Move t[...]

  • Página 62

    GFK-15 41B Chapter 2 Inst allati on 2-49 2 CMM742 Configurat ion Parameters Ethernet Par ameters Configuration Mode: This is fixed as TCP/IP. Adapter Name: A symbolic name represen tation of the associated IP Address. The ch aracter set is lis ted in Chapte r 6, “Network Administrat ion Support”. The A dapter Nam e i s associated w ith the IP a[...]

  • Página 63

    2-50 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Status Length: This is the sum of the LIS bits and the Channel Statu s bits. This value is automa tically set to eit her 80 bits (f or %I and % Q Status address locations) or 5 w ords (f or %R, %AI, and %AQ Status addres s locations). N[...]

  • Página 64

    GFK-15 41B Chapter 2 Inst allati on 2-51 2 Verifying Proper Power-Up of the CMM742 After configu ring the Interface, f ollow the procedure below to verify that the Ethernet Interface is operating correctly . 1. Turn pow er OFF to th e PLC for 3–5 secon ds, th en turn the pow er back ON. This w ill initiate a series of diagnostic te sts. The MODUL[...]

  • Página 65

    2-52 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 States of th e Series 90- 70 CMM742 TC P/IP Ethe rnet Interface Ethernet Interface Initializing (approx.10-20 seconds)     The Ethernet Interface is initialized by - Powering-up the PLC - Storing a new configuration to the P[...]

  • Página 66

    GFK-15 41B Chapter 2 Inst allati on 2-53 2 LED Pat tern Where St opped Possible Ca use Correct ive Act ions ❍ MODULE OK OFF) ❍ LAN ONLINE (OFF) ❍ SERIAL ACTIVE (OFF) ❍ STATUS (OFF) A Hardw are Failure Fatal H ardwa re Erro r.  Make sure the PLC ha s powe r.  Exam ine PLC Fault Ta ble for clues. *  Recheck PLC P rogrammer config ura[...]

  • Página 67

    2-54 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 2 Pinging TCP/IP Ethernet Interfaces on the Network PING (Packet InterNet G rouper) is t he name of a prog ram used on TCP/IP netw orks to test reachability of destinations b y sending them an ICMP echo request message and waiting for a r[...]

  • Página 68

    GFK-15 41B 3-1 Programming SRTP Channe l Commands This chapter describes h ow to program PLC to PLC communications over the Eth ernet network using S RTP Channel comm ands. To program Modbus/TCP Channel commands, see ch apter 4.  The Comm unications R equest  The CO MMRE Q Fu nctio n Blo ck a nd Co mma nd B lock  SRTP Channel Co mma nds ?[...]

  • Página 69

    3-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 3 The Communications Request This section describes the elements of the Communications R equest. No programm ing of C ommunications Requests is required for PL Cs acting as servers which are merely targets of other s ystems’ reque sts but[...]

  • Página 70

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-3 3 COMMREQ Function Block The COMMREQ Function B lock is the ladder instructio n that triggers the execution of the Channel command. In the C OMMREQ Function Block, you specify the rack and sl ot location of the Ethernet Interface, a task value, an d the address of a location in memory that c[...]

  • Página 71

    3-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 3 Status Data There are several types o f status data available to the client P LC logic progra m. LAN Interface Status Bits (LIS Bits): The LIS bit s compris e bits 1–16 of the 80-bi t status area. The location of this 80-bit stat us are[...]

  • Página 72

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-5 3 Operation of the Communications Request The figure an d text below explains how a C ommunications Request is executed. The f igure specifically illustrates the successful operation of an Establish R ead Channel command. Client Series 90-70 PLC CPU Backplane Ethernet Interface Server Ethern[...]

  • Página 73

    3-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 3 COMMREQ Function Bl ock and Command Block This section describ es the progra mming structures co mmon to all Communicatio ns Requests: t he COMM REQ F uncti on B loc k and t he Co mma nd Bl ock. The COMMREQ Function Block The Comm unicati[...]

  • Página 74

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-7 3 TASK: For the Se ries 90-30 C PU364, this mu st always be s et to 21 decim al (0015H). For the Series 90-30 Ethe rnet Interface and the Series 90- 70 Ethernet Interface (Type2), th is must always be set to zero. Caution Entering an i ncorrect TASK value may cause t he Ethernet I nterface t[...]

  • Página 75

    3-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 3 COMMREQ Status Word: The Ethernet In terface updates the CRS word to show success or failure of th e command. Comm and words 3 and 4 specify the PLC memory location of the CRS wor d. (Word 3) COMMREQ Status Word Memory Type: This word spe[...]

  • Página 76

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-9 3 Channel Commands There are five Ch annel co mmands:  Establish Read Channel  Establish Write Cha nnel  Send In for matio n Repo rt  Abort Channel  Retrieve Detailed Channel Stat us Establishing a Channel The Ethernet Interface tran sfers data to or from another PLC using a c[...]

  • Página 77

    3-10 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Establish R ead Channel ( 2003) The Establish Read Channel command requests that a ch annel be associated with a remote PLC and that data from the remote PLC be tr ansferred (perio dically) to the local PLC. The Co mmand Block speci fie[...]

  • Página 78

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-11 3 (Word 7) Channel Command Number: Word 7 requests th at a read channel be set up. If th e command is processed successfully, it will result in attempting t he specified number of transfer s from the server to th e client. (Word 8) Channel Number: Word 8 specif ies the channel to be u sed f[...]

  • Página 79

    3-12 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Word 12) Timeout for Each Read: Word 12 specifies th e time (in hundredths of a secon d) the Ethernet Interface wi ll wait for a read transfer to com plete before setting the Channel Error bit and Detailed Channel Status w ords to indi[...]

  • Página 80

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-13 3 (Word 14) Local PLC - Memory Starting Address: Word 14 determines the starting address i n the local PLC in which the data from the remote PLC is to be stor ed. The value entered is the offset (1- based) from t he beginn ing of PLC memory for t he memory ty pe and mode specif ied in Word [...]

  • Página 81

    3-14 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Words 20 – 23) Remote PLC - IP Address: Wor ds 20–23 specify the four integ ers, one intege r per w ord, of the dotted-decim al IP address of the rem ote PLC to be access ed. (Words 24–27) Remote PLC - Program Name: Words 2 4–2[...]

  • Página 82

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-15 3 Example 2 Comm and Block–Ex ample using a Network A ddress Name This example is the sam e as Example 1 except that the Network Address name of the Remote PLC (“PLC_1aa”) is used instead of its IP address. For m ore information on Network Address names, s ee the chapter: “Network A[...]

  • Página 83

    3-16 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Words 7 –17): See the descriptions in Example 1. (Word 18) Remote PLC - Network Address Type: Word 18 specifies the format of the rem ote PLC addres s. Cu rrently, Word 18 m ust contain the va lue 1 or 3. A v alue of 1 in dicates a d[...]

  • Página 84

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-17 3 Establish Write Channel (2 004) The Establish Write Channel command reques ts that a channel be connected to a rem ote PLC and that data from the local PLC be tr ansferred (periodically) to the remote P LC. The Command Block specif ies the peri od, the num ber of writ es to the server (re[...]

  • Página 85

    3-18 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Status word. If the ch annel number is the same as a chann el already in use, the channel will be re-task ed to perform this new command. (Word 9) Number of Write Repetitions: Wo rd 9 specif ies the num ber of writ es to be perform ed b[...]

  • Página 86

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-19 3 transferred is specified b y the number of memory units of the data written to the re mote PLC (Word 17). (Word 14) Local PLC - Memory Starting Address: Word 14 det ermi nes the starting address in the local PLC from which the data is to b e written. The value entered is the offset (1-ba [...]

  • Página 87

    3-20 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Word 18) Remote PLC - Network Address Type: Word 18 specifies the format of the remote PLC addres s. Cu rrently, Word 18 m ust contain the v alue 1 or 3. A v alue of 1 i ndicates a dotted- decimal IP address ex pressed using a separate[...]

  • Página 88

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-21 3 Example 2 Command Block –Example using a Network Address name This example is the sam e as Example 1 except that the Network Address name of the Remote PLC (“PLC_1aa”) is used instead of its IP address. For m ore information on Network Address names, s ee the chapter: “ Network Ad[...]

  • Página 89

    3-22 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Words 7 –17): See the descriptions in Example 1. (Word 18) Remote PLC - Network Address Type: Word 18 specifies the format of the rem ote PLC addres s. Cu rrently, Word 18 m ust contain the va lue 1 or 3. A v alue of 1 in dicates a d[...]

  • Página 90

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-23 3 Send Information Report (2010) The Send Inf ormation Re port COMMREQ request s that a particu lar block of memory within the PLC CPU reference tables be tran sferred periodically f rom an Ethernet Interface (SRTP Client) to a Host Application SRT P Server. The Co mmand Block specifies the[...]

  • Página 91

    3-24 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 If this value is set to 1, only a single transfer will be issued. If t his value is set to 0, transfers will be issued on the requested p eriod until the channel is abo rted. (Word 10) Time Unit for Send Period: Words 10-11 t ogeth er d[...]

  • Página 92

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-25 3 (Word 14) Local PLC - Memory Starting Address: W ord 14 determ ines the starting address in the local PLC from which the data is to b e sent. The value entered is the off set (1-based) from the beginn ing of PLC memory for th e memory ty pe and mode specifi ed in Word 13. This of fset wil[...]

  • Página 93

    3-26 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Example 2 Command Block –Example using a Network Address name This example is the sam e as Example 1 except that the Network Address name of the rem ote host (“PLC_1aa”) is u sed instead of its IP address. For m ore information on[...]

  • Página 94

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-27 3 (Words 7–17): See the descriptions in Example 1. (Word 18) Remote Host - Network A ddress Type: Word 18 s pecifies the format of the remote host’s address. Curren tly, Word 18 m ust cont ain the valu e 1 or 3. A va lue of 1 in dicates a dotted-decima l IP address expressed u sing a se[...]

  • Página 95

    3-28 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Abort Channel (2001) The Abort Chann el command immediately disconnects an active channel from its remote PLC and renders the channel idle. The Channel T ransfer bit, the Channel Error bit, and the Detailed Channel Status words for the [...]

  • Página 96

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-29 3 Retrieve D etailed Channel Status ( 2002) The Retrieve Detailed Cha nnel Status command requests t hat the current Detailed Cha nnel Status words be return ed for a channel. The Detailed Channel Status words con tain an active/inactive channel indicator an d the last channel error codes s[...]

  • Página 97

    3-30 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Word 8) Channel Number: The chan nel number in Word 8 specifi es the channel whos e status is to be read. Thi s value mu st be a channel number in t he range of 1–32 f or Series 90- 70 PL Cs and 1–16 for Seri es 90- 30 PLC s. (Word[...]

  • Página 98

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-31 3 Status Data This section describe s all the status data that is a vailable to the ladder pr ogram to determine the state of the Eth ernet Interface and its channels. Types of Status Data There are four m ai n types of status data av ailable to y our ladder prog ram: 1. OK Output of the CO[...]

  • Página 99

    3-32 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 The COMMREQ Status word (CRS w ord) is returned f rom the Ethernet Interface to the PLC CPU immediately if the Command Block con tains a syntax error or if the com mand is local. For remote commands with no syntax error, it is returned [...]

  • Página 100

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-33 3 LAN Interface St atus (LIS) Bits The status bits normally occupy a single block of memory. The location of this block is specified during conf iguration of the Ethern et Interface. The first 16 bits of the block (see Table 5-3) are the LAN Interface Status (LIS) bits. The nex t 64 bits ar[...]

  • Página 101

    3-34 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 (Status Bit 7) RS-485 Port Fuse Blo wn (Series 90-30 Ethernet Interface and Series 90-70 Ethernet Interface (Type 2) only): Thi s bit is set to 1 w hen t he RS-485 Port f use i s blown. Otherwise it is set to 0. Operation is affected on[...]

  • Página 102

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-35 3 Each SRTP chann el has a dedicated pair of bits as follows: (Status Bits 17, 19, 21 ... 79) Data Transfer Bit: This bit is normall y set to 0. It is pulsed to 1 and back to 0 on successive PLC s cans each time a transfer completes successful ly. Do not assume t hat when the Dat a Transf e[...]

  • Página 103

    3-36 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Communications Status Words The COMMREQ Status word (CRS word) and the fi rst word of the tw o Detailed Channel Status words (DCS words) report status and errors in the same form at, as shown below. The second word of th e DCS words ind[...]

  • Página 104

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-37 3 3. A status code of 1 i n the l ow byte and 0 in the high byte indicat es that the requ est was successful. All other n on-zero values indicate errors. Refer to th e tables below for a compl ete listing of major and m inor error codes. The following tables list the error codes th at are r[...]

  • Página 105

    3-38 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Minor Error Codes The meaning of each Minor Error Code depen ds upon th e Major Error Code for w h ich it is defin ed. Consult t he appropriate Mi nor Error C ode table for th e indicat ed Major Error Code. Minor Error Codes for Major E[...]

  • Página 106

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-39 3 Minor Error Codes for Major Error Codes 5H and 85H (Continued) Error Status Service Request Error Description (Hexad ecimal) F705H/F785H Require d to log in to a task for service. F805H/F885H Invalid task nam e refe renced. F905H/F 985H Task addre ss out of ra nge. FC05H/F C85H I/O conf i[...]

  • Página 107

    3-40 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Minor Error Codes for Major Error Code 11H ( at Remote Server PLC) - Continued 2E11H The maximum nu mber of transfers o f this tran sfer type is alread y taking pl ace. 2F11H Cannot obtain a back plane tra nsfe r buffe r. 3011H Cannot o[...]

  • Página 108

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-41 3 Minor Error Codes for Major Error Code 11H ( at Remote Server PLC) - Continued 3111 H Failu re to register with b ackplane d river becau se the request ed task is alread y registered. 3211H Unable t o find resource n ecessary for backp lane dr iver to process a servi ce request. 3311H Bad[...]

  • Página 109

    3-42 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Section 1: Section 2: Minor Error Codes for Major Error Code 9 0H (at Client PLC) - Continued 9690H Underl ying TCP con nection a borte d (res et) by ser ver e nd point. 9790H Underl ying TCP con nection a borte d by c lient end point. [...]

  • Página 110

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-43 3 Controlling Communications in the Ladder Program This section provides tip s on how to contro l communications in your ladder program. Only segments of actual ladder logic are included. Topics discusse d are:  Essent ial Elemen ts of the La dder Program  Troubles hooti ng Your L add[...]

  • Página 111

    3-44 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3[...]

  • Página 112

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-45 3 Rung # 1 : Input LANIFOK (bit 16 of the LA N Interface Status bits) monitors the health of the Ethernet Interface. If it is OK to send a COMMREQ, the LAN_OK coil is ON. LAN_OK is used as an inte rlock for Run gs 3–6. Rung # 2 : Input BE GREAD triggers RE ADREQ, which enables exec ution [...]

  • Página 113

    3-46 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 FT Output is ON If after ex ecuting a COMMREQ Function, the FT Output is ON, then there is a programmi ng error in one or m o re of the following areas.  Invalid rack /slot specified. The modu le at this rack/slot is unable to receiv[...]

  • Página 114

    GFK-15 41B Chapte r 3 Progr amming Chan nel Com mands 3-47 3 Monitoring the Channel Error Bit This bit (norm ally 0) is the primary indicator f or an error on a chann el. It indicates any chann el error, fatal or non-fatal. It doe s not necessarily indicate that the channel is do wn (idle). If this bit indicates an error:  Initiate the Abort com[...]

  • Página 115

    3-48 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 3 Managing Channels and TCP Connections In Certain Conditions TCP Connections Can Be Totally Consumed When you issue a COMMREQ to establish a read or w rite channel, a TCP connection is created, the transfer(s ) are made, then upon comple[...]

  • Página 116

    GFK-15 41B 4-1 Programming Modbus /TCP Channel Comma nds This chapt er describes h ow to program communicat ions over the Eth ernet network us ing Modbus/ TCP ® Channel co mmands. Details of the Communicatio ns Request (COMMREQ) funct ion and the Modbus /TCP Chann el commands are presented h ere. To program SRT P Channel commands, see chapter 3. T[...]

  • Página 117

    4-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 4 The Communications Request “Communications Request” is a term used to describe all the user elemen ts required for correctly initiating Channel commands f rom a Series 90 PLC. This section describes the elements of the Communicatio ns[...]

  • Página 118

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-3 4 COMMREQ Command Block The COMMREQ Command Block is a structure that contains information abou t the Channel command to be execu ted. The Command Block con sists of two parts: Common Area - includes the addres s of the COMMREQ Status w ord (CRS word). Data Block Area - describe[...]

  • Página 119

    4-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 4 Operation of the Communications Request The figure an d text below explains how Communications Requ ests are executed to com plete a data read from the remote Modbus/ TCP device. The figure s pecifically illustrates the successful operati[...]

  • Página 120

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-5 4 COMMREQ Function Bl ock and Command Block This section describ es the progra mming structures co mmon to all Communicatio ns Requests: t he COMM REQ F uncti on B loc k and t he Co mma nd Bl ock. The COMMREQ Function Block The Comm unications R equest is trigg ered when th e lo[...]

  • Página 121

    4-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 4 TASK: For the Series 90-30 Eth ernet Interface this must always be set to zero. Caution Entering an i ncorrect TASK value may cause t he Ethernet I nterface to fai l. FT Output: The FT outpu t is set if the PLC CPU (rather than the Ethern[...]

  • Página 122

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-7 4 COMMREQ Status Word: The Ethernet In terface updates the CRS word to show success or failure of th e command. Comm and words 3 and 4 specify the PLC memory location of the CRS wor d. (Word 3) COMMREQ Status Word Memory Type: This word specifi es the memory type for the CRS wor[...]

  • Página 123

    4-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 4 Modbus TCP Channel Commands This section describ es the oper ation of the Channel co mmands. A detailed descr iption and example of each Chann el co mm and is included. There are four Chann el commands:  Open a Modbu s/TCP Conn ection [...]

  • Página 124

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-9 4 Command 3000 E xample Establi sh a channel (Channel 5) to a rem o te Modbus /TCP device at IP a ddress 10. 0.0.1. R eturn the COMMREQ Status word to % R10. Dec (Hex) Word 1 00008 (000 8) Length of Channel comm and Data Bl ock Word 2 00000 ( 0000) Always 0 (n o-wai t mode reque[...]

  • Página 125

    4-10 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Close a Modbus/TCP Client Connection (3001) The application program closes a Modbus/TCP Cl ient C onnection by issuing th e Close Modbus/TCP C lient C onnection COMMREQ. The C lose COMMREQ closes the underly ing TCP connection and frees[...]

  • Página 126

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-11 4 Read Data from a Modbus/TCP Device (3003) The Read Data f rom a Modbus/ TCP Device COMMREQ requ ests a data tran sfer from a Modbus/TCP dev ice to the PL C. The Read Dat a COMMREQ mus t reference an activ e Modbus/TCP ch anne l previously establish ed with the O pen Modbus/ T[...]

  • Página 127

    4-12 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Command 3003 E xample 1 Read fou r Input Regi sters from Address 30200 in the rem ote Modbus /TCP device. St ore the registers at location %R20. Return the COMMREQ Status word to %R10. Dec (Hex) Word 1 00008 (000 8) Length of Channel co[...]

  • Página 128

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-13 4 (Word 10) Local PLC Memory Type: Words 10-11 specify the location in the local PLC where the Ethernet Interface will store data received from the remote device Valid values for Word 10 are listed belo w. Type Value (Decimal) Description %R 8 Register mem ory (word m ode) %AI [...]

  • Página 129

    4-14 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Command 3003, Example 2 Read nine (9) Input D iscretesf rom Addres s 10005 in t he remot e Modbus/ TCP server. St ore the registers at locatio n %T3(b it mode). Return the COMMREQ Stat us word to %R1 0. Dec (Hex) Word 1 00008 (000 8) Le[...]

  • Página 130

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-15 4 Command 3003, Example 3 – R ead Exc eption Status Read the Ex ception Status from the remote Modbu s/TCP serv er. Store the Ex ceptionData at location %Q4(bit mode). Return the COMM REQ Status word to %R10. Dec (Hex) Word 1 00008 (000 8) Length of Channel comm and Data Bl o[...]

  • Página 131

    4-16 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Write Data to a Modbus/TCP Device (3004) The Write Data to a Modbus /TCP Devi ce COMMREQ requ ests a data t ransfer f rom the PL C to a Modbus/TCP s erver. The Writ e Data CO MMREQ must ref erence an active Modbu s/TCP chann el previous[...]

  • Página 132

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-17 4 Command 3004, Example 1 – Set S ingle Register Write one reg ist er from %AI10 t o address 40200 in t he remot e Modbus/TCP s erver. Re turn the COMMREQ Status word to %R10. Use chann el 6, a channel previously open ed with the Open Modbus/TCP C lien t Connecti on COMMREQ. [...]

  • Página 133

    4-18 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Command 3004, Example 2 – Force Single C oil Set coil 1050 1 ON in the rem ote Modbus/TCP dev ice using the value at % Q4. Return th e COMMREQ Status word to %R10. Use chann el 6, a channel previously open ed with the Open Modbus/TCP [...]

  • Página 134

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-19 4 Command 3004, Example 3 – Set M ultiple Reg isters Write the four registers from Discrete Input Memor y (%I40 to) add ress 40200 in the remote Modbus/TCP s erver. Ret urn the C OMMREQ Status w ord to %R10. Use ch annel 6, a ch annel previous ly opened wi th the Open Modbus/[...]

  • Página 135

    4-20 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Status Data This section describe s all the status data that is a vailable to the ladder pr ogram to determine the state of the Eth ernet Interface and its Modbus/TCP chan nels. Types of Status Data There are three m ain types of status[...]

  • Página 136

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-21 4 Description of the St atus Data The errors and s tatus reported in each type of s tatus data are described below . FT Output of the COMMREQ Function Block The FT Outpu t passes pow er upon the following errors :  Invalid rack /slot specified. The module at this rack /slot [...]

  • Página 137

    4-22 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 (Status Bit 8) AAUI (90-30) Fuse Blown: This bit is set to 1 when a network port fuse is blo wn. Otherwise, it is set to zero. This failure is also repo rted to the PLC Fault Tab le as “LAN interface hardware failure; sw itched off ne[...]

  • Página 138

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-23 4 Communications Status Words The COMMREQ Status word (CRS word) reports status in the format shown below. The CR S word location is speci fied in Words 3 and 4 o f the Command Block. Hex Format Hig h Low 00 00 Minor Error Codes (high byte) Success and Major Er ror Codes (low b[...]

  • Página 139

    4-24 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Minor Error Codes The meaning of each Minor Error Code depen ds upon th e Major Error Code for w h ich it is defin ed. Consult t he appropriate Mi nor Error C ode table for th e indicat ed Major Error Code. Minor Error Codes for Major E[...]

  • Página 140

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-25 4 Minor Error Codes for Major Error Code 9 1H (Remote Server Device Error Codes) Error Stat us (Hexadeci mal) Error Description 0191H Illegal Function. The function code received in th e quer y is not an allowable action for the s erver. This may be because the fun ction code i[...]

  • Página 141

    4-26 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Controlling Communications in the Ladder Program This section provides tip s on how to contro l communications in your ladder program. Only segments of actual ladder logic are included. Topics discusse d are:  Essent ial Elemen ts of[...]

  • Página 142

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-27 4 COMMREQ Ex ample The input values for th e Block Move Functions in this example are tak en from the Open Modbus/ TCP Connect ion (3000), Mo dbus/TCP R ead (3003), an d Clos e Modbus/TCP C onnect ion (3001) Exam ple s in this chapter. Nicknames are us ed in this example to mak[...]

  • Página 143

    4-28 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Rung # 4 : T he BLK MV IN T func tio ns set up t he COMM REQ Co mmand Blo ck co ntent s. W hen this rung is activated, the con stant operands are mov ed into the memory beginning at the addres s indicated in the instru ction. The consta[...]

  • Página 144

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-29 4 7 8 9 Rung # 7 : W hen OPEN_SUCCESS is set it triggers RE AD_REQ, which enable s execution of the BLKMOV , MOVE and COMMREQ functions for the Modbu s/TCP Read C ommreq. READ_REQ is a one-shot (Po sitive Transition) coil, activating o nce when OPEN_SUCCESS transitions fro m OF[...]

  • Página 145

    4-30 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 10 11 12 13 Rung # 10 : The COMMREQ Fu nction Block has three inp ut parameters and one output paramet er.  The IN fiel d points to the s tarting location of the C ommand Block param eters (%R 00301 in this example).  The SYSID f [...]

  • Página 146

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-31 4 Commreq. CLOSE_REQ i s a one-shot (Positive Tr ansition) coil, activating once when READ_SU CCESS transitio ns from OFF to ON. Rung # 13 : The MOVE WORD function moves a zero to the CRS w ord referenced in the Command Block (see rung #9). This clears th e CRS word. This rung [...]

  • Página 147

    4-32 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4  The IN fiel d points to the s tarting location of the C ommand Block param eters (%R 00301 in this example).  The SYSID f ield of th e COMMREQ Funct ion Block defi nes the t arget rack and slot of the Ethernet Interface to receiv[...]

  • Página 148

    GFK-15 41B Chapte r 4 Progr amming Mod bus/TC P Chan nel Comm ands 4-33 4 Troubleshooting a Ladder Program As ment ioned, there are sev eral forms of status dat a which can be u sed in y our ladder program . The use of th e LAN Interface OK bit in the LAN Interface Status Word was described in the ladder prog ram fragm ent above. Som e of the st at[...]

  • Página 149

    4-34 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 4 Monitoring the Communications Channel Once you ha ve a worki ng lad der pr ogra m, you c an u se the statu s da ta to moni tor yo ur communications activity and take the desired action upon certain events. Monitoring the COMMREQ Status [...]

  • Página 150

    GFK-15 41B 5-1 Ethernet Glo bal Data This chapter discu sses how to plan and conf igure an Ethernet Global Data (EGD) sy stem.  Overview of EGD  Confi guri ng EG D  Adapter Na mes, Aliases, and Groups  Exchange Status Word  Sim ple Netw ork Time Protocol (SNT P) 5 Chapter[...]

  • Página 151

    5-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 5 Overview of EGD This section describe s Ethernet Global Data i n general terms. It also pr ovides key information you need to plan an d configure your Ethern et Global Data system. Ethernet Global Data allows one device (the pro ducer) to[...]

  • Página 152

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-3 5 Producer The producer is the device that will perio dically produce new samples o f data from its local intern al memory. The produ cer is un iquely ident ified by the Producer ID. The Producer ID i s a dott ed-decim al number (f or exampl e, 0.0.0.1). A lthough this number i s in IP address for m,[...]

  • Página 153

    5-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 5 Asynchronous Operation of EGD The product ion and con sumption of EGD is asyn chronous. The period t im ers for the produ cer and consumer are independent of each other. In addition, the initiatio n of the production and consumption of EG[...]

  • Página 154

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-5 5 Effect of PLC Modes and Actions on EGD Op erations The table below indicates what happens to t he configu ration and operation of EGD when in different PLC m odes and when certain PLC actions take place. For example, the normal PLC mode for EGD opera tion is RUN with Outputs enabled. In this PLC mo[...]

  • Página 155

    5-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 5 Configuration Planning Producer and Consumer Periods for PLCs Follow these guidelines f or the producer and con sumer periods .  Set the producer period and the consumer period to the same value. This makes the system easier to trou bl[...]

  • Página 156

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-7 5 Allowable Data Types in Exchanges Boolean type variables are not allowed; neither are Boolean-A rray variables. If discrete point references such as %I or %Q are used to def ine a variable, you m u st define them as Byte-Array, Word-A rray, or Dw ord-Array variables. This impli es that a variabl e [...]

  • Página 157

    5-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 5 General PLC Timing Considerations when using EGD When designing applications us ing EGD, it is important to understa nd that the Ethernet Interface and PLC CPU share internal m emory for EGD operations. This shared memory interface is rep[...]

  • Página 158

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-9 5 Naming Conventions If you follow consiste nt naming conventions for your Ethernet Global Data syste m, it will be much easier to configu re EGD. These naming conventions include the following items:  Equipment F older Name – This is the name of the program folder that y ou assign when creating[...]

  • Página 159

    5-10 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Before You Configure EGD Exch anges Befo re yo u begi n co nfig uri ng EGD e xc hange s you will need to co llec t a co nside rab le a mount o f informat ion about th e PLCs in your sy stem. It is a good idea to record t his data so tha[...]

  • Página 160

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-11 5 Recording Exchange Inf ormation The produced/ consume d exchanges tables below were designe d with columns that match up wi th the fields in the Ethern et Global Dat a dialog box . These tables contain a defin ition of ALL the exchanges in the entire EGD system. The L ocal Producer ID column indic[...]

  • Página 161

    5-12 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Configuring EG D This section describes ho w to configure EGD using the Ethernet G lobal Data rack operatio n in the Window s  -based PL C programm ing software (i f support ed). The main topics covered are:  Excha nge Defi nit io[...]

  • Página 162

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-13 5 Producer Period A value with the pos sible rang e of 10–3,600, 000 (10 m illiseconds to 1 hour) representi ng the scheduled repetitio n period at which the data is to be produced on th e network. In the PLC, the Ethernet Interface w ill produce the dat a at this interval indepen dent of when the[...]

  • Página 163

    5-14 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Consumed Data Exchange Definition The information to be receiv ed by the con sumer and the exchang e details are defined in the Consumed Ex changes t ab of the Eth ernet Global D ata dialog box. The consumed data exchange definition con[...]

  • Página 164

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-15 5 Status Word A variable that identifies the memory location where the status value f or the consumed ex change will be placed. Valid m emory types are listed later in this chapter. Time Sta mp A variable that identifies the memory location where the timestamp of the last data packet will be placed.[...]

  • Página 165

    5-16 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Configuring Ethernet Global Data Once you have collected all the essential information for your EGD system , connect to each PLC and conf igure the exchanges. For each PLC: 1. With the PLC progra mming software, open t he Equipment fold[...]

  • Página 166

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-17 5 Example 1: EGD Configuration Using IP Addr esses to Identify Consumer s There are two PLCs in this simple EGD system. PLC1 is the produ cer and PLC2 is the con sumer of a sing le Ethernet Global Data exchange. The consumer in this example is identifi ed by IP address. Network-synchronized ti me st[...]

  • Página 167

    5-18 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Example 2: EGD Configuration Using a Group ID to Identify Consumers There are three PLC s in this EGD system using the Grou p ID feature. PLC1 is the producer and PLC2 and PLC 3 are the consumers of a s ingle Ethernet Global Data exch a[...]

  • Página 168

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-19 5 Example 3: EGD Configuration Using a Symbolic Name to Identify Consum ers There are three PLCs in this more complex EGD system using three Ethern et Global Data exchanges. PL C1 contains two Eth ernet Interfaces (design ated A and B), one of which is both a producer and a con sum er. PLC2 i s a co[...]

  • Página 169

    5-20 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Consumed Exchanges Infor mation – EXAMPLE 3 Local Producer ID Exchan ge ID Local A dapt er Nam e Rem ote Producer ID Group ID Consumer Period Update Tim eout Status Wor d Tim e Stamp 0.0.0. 1 2 PLC1_A 0.0.0. 3 0 1000 2000 Stat2 n/a 0.[...]

  • Página 170

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-21 5 Adapter Names, Aliases, and Groups Setting Adapter Names and Alias es in the Windows-Based Program ming Software This section does n ot apply to the S eries 90-30 CPU374, becaus e it uses the rack an d slot as its adapter nam e and does n ot support al iases for remot e network adapters. Configuri[...]

  • Página 171

    5-22 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Group Usage The group concept in Ethernet Global Data exchanges allows many EGD dev ices to simultaneously consume the sa me data produced by one producing EGD device. T his capability is valuable for efficient band width utilization in[...]

  • Página 172

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-23 5 Exchange Status Word The Exchange Status w ord allows an Ethernet Global Data user to obtain the operating status of a given exchange definitio n. The PLC will write stat us codes into the Exchan ge Status word. The Exchange Status word is changed u pon exchange config uration* and when a producer[...]

  • Página 173

    5-24 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Exchange Status W ord Error Codes The following table shows the error codes th at can be written to th e Exchange Status word. Value (Dec.) Produced / Consumed Error Description 0P / C No new status event has occurred. Produced: Init ia[...]

  • Página 174

    GFK-15 41B Chapter 5 Ether net Gl obal D ata 5-25 5 Simple Network Time Protocol (SNTP) SNTP is a method of syn chronizing the internal clocks in a network's Eth ernet Interfaces to an external source. In an SNTP system, a computer on th e network (called an SNTP server), se nds out a periodic tim ing message to all of the SNTP-capable Etherne[...]

  • Página 175

    5-26 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 5 Multiple SNTP Servers To guard against loss of SNT P timing message s, multiple SNTP time servers can be tracked on a network. An Ethernet Interface can maintain timing inform ation fro m u p to four total SNTP time servers at a time. E[...]

  • Página 176

    GFK-15 41B 6-1 Netw ork Administ rati on Suppo rt This chapter discusses i nformation related to how host computers are identi fied on the network and how data is rou ted to a host com puter. The main topics covered are: • IP Addres sing • Gateways • Subnets and Multiple Gate ways • Configuring Multiple Gate ways • Netw ork Address Naming[...]

  • Página 177

    6-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 6 IP Addressing Each TCP/IP node on a net work mu st have a uni que IP address . The TC P/IP Ethernet Interface is such a node, as is a PC running TCP/IP. There may be oth er nodes on the n etwork that are not involved with communi cations [...]

  • Página 178

    GFK-15 41B Chapter 6 Netw ork Admi nistratio n Sup port 6-3 6 IP Addresses Reserved f or Private N etworks RFC 1918 reserv es IP addres ses in the foll owing ranges to be u sed for pri vate netw orks. 10.0.0.0 – 10.255.25 5.255 (Clas s A) 172.16.0. 0 – 172.31. 255.25 5 (C lass B) 192.168. 0.0 – 192.168.255. 255 (Class C) Multicast IP A ddress[...]

  • Página 179

    6-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 6 Gateways Gateways (also kn own as rou ters) connect individu al physical networks into a system of networks . When a n ode needs to communi cate with a node on another phy sical ne twork, a gateway transfers the data be tween the two netw[...]

  • Página 180

    GFK-15 41B Chapter 6 Netw ork Admi nistratio n Sup port 6-5 6 Subnets and Multiple Gateways For a site re quiri ng a lar ge net wor k (suc h as a C lass A net work) t he n umber of entr ies i n the routing tables of a site’s internal gateways could number in the millions if no internal network structure is superi mposed on the address d efinition[...]

  • Página 181

    6-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 6 Example: Network Divided into Two Subn ets The new network conf iguration divi ding Netw ork 2 into Su bnets 2.1 an d 2.2 is sh ow n below. 172.16. 0.1 A Networ k 1 172.17. 64.1 B 172.17. 64.2 C 172.17. 64.3 G1 (Sub)N etwor k 2.1 172.17. [...]

  • Página 182

    GFK-15 41B Chapter 6 Netw ork Admi nistratio n Sup port 6-7 6 Configuring Multiple Gateways Multiple Gateways are supported on th e Series 90-70 Eth ernet Interface (Type 2) an d the Series 90-30 CPU36 4 and CPU374 only . An Ethernet Interface with the Multiple Gateways feature has the ability to route packets not only through a single default gate[...]

  • Página 183

    6-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 6 However, i f you conf igure a rout ing table for PL Cs B an d C, their data may be forw arded to othe r gate ways. If Gate way G1 has b een c onfi gure d as t he d efaul t ga tewa y, the routi ng t able coul d have an entry for Subn et 2.[...]

  • Página 184

    GFK-15 41B Chapter 6 Netw ork Admi nistratio n Sup port 6-9 6 Network Address Naming Architecture Naming architecture provides users the abilit y to refer to their Ethernet Interfaces in terms of a symbolic name rath er than a numerical address. This n ame, commonly referred to as th e network address name , can be cons tructed from the following c[...]

  • Página 185

    6-10 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 6 Local Name Table Name A ssignment The second aspect inv olves building a name table th at contains a mapping of sym bolic names to associated IP addresses. A name assigned in this table is also known as an alias . A network address nam [...]

  • Página 186

    GFK-15 41B Chapter 6 Netw ork Admi nistratio n Sup port 6-11 6 DDP Name Resolution If local n ame table name resolution f ails, DDP (a GE Fanu c naming prot ocol) is us ed to dynamically resolve the symbolic na me. DDP name resolution involve s the client node broadcasting a m essage on the n etwork asking if any node recogn izes the symbolic name.[...]

  • Página 187

    6-12 TCP/IP Ethe rnet C ommunic ations f or the Series 90™ PLC U ser's M anual – M a y 200 2 GFK-1541B 6 MAC Addresses Note It is hi ghl y rec omme nd ed tha t yo u use the un iq ue defa ult MAC sup plie d wit hin the Ethernet Interface. However, y ou may override that default with a MAC add ress o f your o wn cho osin g wit h the St atio [...]

  • Página 188

    GFK-15 41B 7-1 Troubles hooti ng This chapt er is a gui de to troubles hooting and probl em i solation f or the Series 90- 30 Ethern et Interface, the S eries 90-30 CPU364, th e Series 90-30 C PU374, and the S eries 90-70 Eth ernet Interface (Ty pe 2).  Diagnos tic Tools A vailable f or Troublesh ooting  What to do i f you Cannot Sol ve the P[...]

  • Página 189

    7-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 7 Diagnostic Tools Available for Troubleshootin g There are several tools to ass ist you in diagn osing problems w ith the Series 90 Ethernet Interface and the n etwork.  Use the Ethernet Interface LEDs to troubl eshoot a probl em on pow[...]

  • Página 190

    GFK-15 41B Chapte r 7 Trou blesh ooting 7-3 7 What to do if you Cannot Solve the Problem If, after using the troubleshooting guide, you still cannot solve your pr oblem, call GE Fanuc Automation - NA. Please have the follo wing information available when you call.  The Name and C atalog Number marked on the produ ct.  Descri ption of symptoms[...]

  • Página 191

    7-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 7 PLC Fault Table The PLC Fault Table can be accesse d in PLC programming software. If y ou are experiencing a problem with th e Ethernet Interface, check the PLC Fault Table for a fault m essage, then refer to the table that follows in thi[...]

  • Página 192

    GFK-15 41B Chapte r 7 Trou blesh ooting 7-5 7 PLC Fault Table Descriptions PLC Fault User Action Backplane co mmunicatio ns with P LC fault; lost request User Action: C heck to m ake sure y ou are not sendi ng COMMREQs faster than the Ethern et Interface can proces s them . If proble m pe rsists, c ontact G E Fanuc Automa tion - NA. Bad local appli[...]

  • Página 193

    7-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC User's M anual – M a y 200 2 GFK-1541B 7 PLC Fault Table Descriptions (Continued) PLC Fault User Action LAN I /F can’t init - check parm s; running soft Sw utl Internal system error. User Action: If problem persists , contact G E Fanuc Autom ation - NA . LAN I/F capacit y exce[...]

  • Página 194

    GFK-15 41B A-1 Glossary This appendix contains a list o f conventional communications ter ms. Adapter Name A name ass igned to locally identify a module (e.g., an Ethernet Interface) in the local station. (See also Network Address Name.) Address Administration The assi gnme nt of L AN addre sses loca lly or on a univer sal b asis. Address Field The[...]

  • Página 195

    A-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B A Carrier Sense In a Local Area Network, an ong oing activit y of a network n ode to detect whether another node is tr ansmitting. Carrier Sense M ultiple Access with Collisio n Detection (CSM A/CD) A bus network in whi ch the medium access[...]

  • Página 196

    GFK-15 41B Appendix A Gloss ary A-3 A CSMA/CD See Carrier Sense Multiple Access with Collisio n Detection. Data Communications Eq uipment (DCE) Examples: Modems an d transceivers. Dist inct from DTE, Data Terminal Equipment. Data Link Laye r In Open Systems Interconn ection architecture, the layer (Layer 2) th at provides s ervices t o transfer dat[...]

  • Página 197

    A-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B A Frame A data st ructure that consists of f ields, predetermined by a protocol, f or the transm ission of us er data and con trol data. Gateway A special purpose, dedicated com puter that attaches to two or more (s ub)networks and routes p[...]

  • Página 198

    GFK-15 41B Appendix A Gloss ary A-5 A Internet G roup Managem ent Protocol (IG MP) The Intern et standard prot ocol th at handles multi cas t gro up mana geme nt mes sa ges. Internet Protocol (I P) The In ternet s tandard protocol th at defin es the Inte rnet datagram and provides the bas is for the Internet pack et delivery service. (See also Tran[...]

  • Página 199

    A-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B A called “transceiver”. The MAU may be built into the DTE or it may be a separate unit that attaches to the DTE through an AUI. Modbus A data tran sfer protocol . Called Modbus/TCP when Ethernet media is used, called Modbus/R TU (or sim[...]

  • Página 200

    GFK-15 41B Appendix A Gloss ary A-7 A Protocol A set of rules for exchanging messag es between tw o communicating processes. Protocol Data Un it (PDU) Inf ormation that is delivered as a unit bet ween peer entities of a Local Area Network (LAN) an d that contains control inf ormation, address information, an d may contain data. Remote Station A sta[...]

  • Página 201

    A-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B A supervisory access to the Ethernet Interface. The Station Manager may be accessed locally via the serial port, or rem otely over the LAN. Stratum The number prov ided by an SNTP server that in dicates the server’s relation to a “ true[...]

  • Página 202

    GFK-15 41B B-1 Commun ications Port Cha racteristics This appendix cont ains a description of each of the ports for th e Ethernet Interfaces. The ports for each Ethernet Interface are listed below from top to bottom as they appear on th e module. IC693CMM32 1 (10Base- T Type) Seri es 90-3 0 Ethernet Interface, Port s  RS-232, R J-11 Serial Port [...]

  • Página 203

    B-2 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B B RS-232, R J-11 Serial Port The 6-pin , RJ-11 “m odular phon e jack”, RS-232 port i s used f or the foll owing purpos es: Products Purposes of Port  IC693CMM321(A AU I-only Ty pe)  IC693CPU 374  IC697CMM742 Loca l Stati on M a[...]

  • Página 204

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-3 B Station Manager Serial Cabl e (IC693CBL 316A) Use th e serial cable (IC693C BL316A ) to connect y our PC to th e Station Manager port. a45485 RJ-11 CONNECTOR 9-PIN FEMALE CONNECTOR If your terminal or PC is u nable to communicate with the Ethern et Interface through the RS- 232 por[...]

  • Página 205

    B-4 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B B RS-485, 15- Pin, D- Type Port The 15-pin , D-ty pe, RS-485 port is us ed on th e IC693CMM321 (AAU I-only Type) of the S eries 90-30 Ethern et Interface and on the Series 90-70 Eth ernet Interface module CMM742. It is used to connect to th[...]

  • Página 206

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-5 B Part Numbers for GE Fanuc Cable s and Converters It is recommended that y ou use cables available from GE Fanuc Automation to conn ect your PC to this port. Refer to the table belo w for part numbers. Cables for Connecting the 15-Pin, D-Type, RS-4 85 Port to the RS-232 Port on a PC[...]

  • Página 207

    B-6 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B B 10Base-T Port The Series 90-30 C PU364 Embedded Eth ernet Interface, th e IC693CMM321- FG and later versions, an d the Series 90-70 Eth ernet Interface (Type 2) are equ ipped w ith a 10Base-T port for direct connection to a 10Base-T (twis[...]

  • Página 208

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-7 B Connection to a 10B ase T Network Connection of the Ethernet Interface to a 10Base- T network is shown below: 10BaseT 10B aseT Twist ed P air Cable 10Base T Hub/S witc h/Router et c. a45628 To Other Netw ork Device s Ethe rnet Interf ace[...]

  • Página 209

    B-8 TCP/IP Et hernet C ommunic ations f or the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B B 10Base-T/100Base Tx P ort The Series 90-30 CPU374 Em bedded Ethernet Interface has an em bedded switch that provides two extern al ports, each of w hich supports both 10Base- T and 100Base Tx operation u sing either full duplex or half du[...]

  • Página 210

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-9 B 10Base-T/100Bas e Tx Port Pinouts The 10Base-T/100Base Tx port is located on th e front of the Eth ernet Interface. This port is an 8- pin RJ-45 “m odular phone jack” conn ector. It is used to con nect the Ethernet Interf ace to a hub, repeater, switch, or othe r Ethernet devi [...]

  • Página 211

    B-10 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B Connection to a 10B ase-T / 100Base Tx N e twork Connection of the Ethernet Interface to a 10Base- T network is shown below: 10/100 10Base T/ 100Ba se Tx Twisted P air Ca ble Hub/S witch/ Repea ter To Other Netw or k Devi ces Eth erne t I[...]

  • Página 212

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-11 B 10Base2 Port The IC697CMM742 S eries 90-70 Eth ernet Interf ace (Type 2) is equi pped with a 10Bas e2 port for direct connection to a 10Base2 ( thin wire) coaxial cable network, without addition of an external transceiver. The 10Base 2 port on the Eth ernet Interface is connected [...]

  • Página 213

    B-12 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B Connecting the CMM742 Ethernet Interface to a 10Base2 Network with “T” Connector a45629 10Base2 Cable 10Base2 Cable Terminator or to Other Network Devices To Other Network Devices 10Base2 Connector Ethernet Interface Connecting the CM[...]

  • Página 214

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-13 B AAUI Port The IC693CMM321 S eries 90-30 Eth ernet Interf ace and the Series 90- 30 CPU364 Embedded Ethernet Interface are equ ipped with an Apple A ttachment Unit Interface (AAUI) port for connecting t o the netw ork. Compatible trans ceivers can be pu rchased that support 10Base5[...]

  • Página 215

    B-14 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B AAUI Transceiver Information Depending on your particu lar applicati on, any of several ty pes of user-s upplied tran sceivers may be used. Inf ormation on GE Fanuc transceivers as well as typical connection drawings f or 10Base2 (thin wi[...]

  • Página 216

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-15 B IC649AEA 102 Ethernet 1 0Base–T Tr ansceiver • Compli ant with the IEEE 802.3 Et hernet s pecification for 10BA SE–T. • Connect or on trans ceiver body is standard RJ–45 ty pe for connection to unshielded tw isted pair (UTP) Eth ernet cable. . • This un it has an att a[...]

  • Página 217

    B-16 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B IC649AEA102 T ransceiver Conne ction Note Transceivers must be com patible with th e IEEE 802.3 stan dard and must have the SQE option Enabled. Caution PLC power must be OFF when connecting or disconnecting the transceiver. Tran sc eiv er[...]

  • Página 218

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-17 B IC649AEA 103 Ethernet 1 0Base2 Tr anscei ver Note: This transceiver replaces catalog num ber IC649AEA101 • Compliant with the IEEE 802.3 Eth ernet speci fication for 10Base2. • A stan dard BNC con nector is m ounted on the body of the transceiv er for conn ection to th in coax[...]

  • Página 219

    B-18 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B IC649AEA103 T ransceiver Conne ction Note Transceivers must be com patible with th e IEEE 802.3 stan dard and must have the SQE option Enabled. Caution PLC power must be OFF when connecting or disconnecting the transceiver. a45488 Transce[...]

  • Página 220

    GFK-15 41B Appendix B Commu nications Port C harac teristic s B-19 B AUI Port The IC697CMM742 S eries 90-70 Eth ernet Interf ace (Type 2) is equi pped with an AUI port f or connecting to the n etwork. The IEEE 802.3 A UI (Attachment Unit In terface) is standard across a variety of different physical media. Com patible transcei vers can be purch ase[...]

  • Página 221

    B-20 TCP/IP Ether net Com municatio ns for the Ser ies 90™ PLC Use r's Manual – May 200 2 GFK -1541B B AUI (Transceiver C able) Connection The figure belo w shows a typical cable co nfiguration to connect the AUI port o f the Ethernet Interface to an external transceiver. a44668c Ethernet Interface PIN 15- Pin Male Transceiver PIN 15- Pin [...]

  • Página 222

    GFK-15 41B C-1 PC Software Load er Note For the IC 693CPU374, operatin g firmwa re for both t he PLC C PU and the Embedded Et hernet Interface are u pgraded via the powe r supply serial port. This appen dix does not apply to the CPU374. See <referen ce CPU manual ? here>for CPU374 upg rade instru ctions . The GE Fanuc Series 90 Ethernet In te[...]

  • Página 223

    C-2 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – May 200 2 GFK -1541B C Updating Firmware Under Wi ndows You will need an IBM compatible PC ru nning Windows 95, W indows 98, or Windo ws NT 4.0, equipped w ith a 3.5 i nch high- density di skette dri ve and an RS -232 seri al port. The f irmwa re update process[...]

  • Página 224

    GFK-15 41B Appendix C PC Softw are Lo ader C-3 C mode rather than firmware load mode. To return to operational mode, press and hold the restart button briefly (less tha n 5 seconds). T hen re-execute the instructions in this step.) If all LEDs are not blink ing after this step, but you r Interface seems to operate normally when first pow ered on, t[...]

  • Página 225

    C-4 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – May 200 2 GFK -1541B C Updating Firmware Under DOS and Wi ndows 3.xx You will need an IBM PC/AT compatible PC ru nning MS-DOS (Revisio n 3.3 or later), Windows 3.11, or Wi ndows NT 3.51, equipped w ith at least 640K free R AM, a 3.5 inch high- density disket te[...]

  • Página 226

    GFK-15 41B Appendix C PC Softw are Lo ader C-5 C With your Ethern et Interface installed in a PLC, powered on and functioning, pres s the restart button n ear the top of your In terface and hold it down for f ive seconds. When the bu tton is first pressed, all LED indicators will go out. After five seco nds, the bottom LED will go on, indicating th[...]

  • Página 227

    C-6 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – May 200 2 GFK -1541B C 8. When the >> BOOT MODE ACTIVE << message appears , you can press the F2 fu nction key to change th e baud rate on both ends of the connect ion. Press the Tab key on ce to change f rom 19,200 to 38,4 00 baud. Sel ect a lower [...]

  • Página 228

    GFK-15 41B D-1 Using t he IC 697C MM7 42 wi th PLC CP U Versions 4. 12 - 5.50 The IC697CMM742 Eth ernet Interface (Ty pe 2) is design ed for high- performance operation and conveni ent install ation with IC 697 PLC C PU versi ons 6.00 and late r. These PLC CPUs recogn ize and support th e Ethernet Interface (Type 2), an d provide the h igh through [...]

  • Página 229

    D-2 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – M ay 200 2 GFK -1541B D Alternate Pro cedure for Configuring th e Ethernet Interfac e (with PLC CPU versions 4.12 through 5.50) IC697 PLC C PU firmware versions prior to version 6.00 d o not accept conf iguration data f or the Ethernet Interface (Ty pe 2). Thus[...]

  • Página 230

    GFK-15 41B Appendix D Usi ng the IC 697CMM 742 wi th PLC C PU Vers ions 4 .12 - 5 .50 D-3 D 6. Connect a st andard ASCII terminal or PC-bas ed terminal emulator to the Station Manager (RS-232) s erial port on the Ethern et Interface. Use the NODE Station Manager command to verify that the terminal or emulator is properly communi cating with the Sta[...]

  • Página 231

    D-4 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – M ay 200 2 GFK -1541B D 9. Use the CHSOS W Station Manager co mmands to enter the configuratio n data for this Ethernet Interface. The IP addres sing param eters ( ip_addres s , subnet_m ask , gat eway , and name_server ) mu st be set to values su pplied by the[...]

  • Página 232

    GFK-15 41B Appendix D Usi ng the IC 697CMM 742 wi th PLC C PU Vers ions 4 .12 - 5 .50 D-5 D 10. Use the SOSW Stati on M ana ger co mmand to ve ri fy that a ll c onfi gura tion p ara mete rs ha ve been set to the proper values. A typical SOSW command is sho wn below: * sosw <<< Soft Switch Data >>> IP Address = 10.0.0.1 (TCP/IP val[...]

  • Página 233

    D-6 TCP/IP Ethe rnet C ommunic ations f or the Se ries 90™ PLC User's Man ual – M ay 200 2 GFK -1541B D Ethernet Interface Operational Restrictions The Ethernet Interface (Ty pe 2) operates w ith some restrictions w hen used with IC697 PLC CPU versions 4.12 throu gh 5.50. These Operat ional R estrictions , together wi th differen ces in St[...]

  • Página 234

    GFK-15 41B E-1 Translating PLC CPU Reference A ddresses to Modbus Register A ddresses for t he IC693C MM321 The Modbus/TCP prot ocol defines operati ons on a set of refe rence tables (Register, Inpu t Register, In put Discret e, and Coil); these Modbus t ables differ f rom the PLC ref erence tables within the PLC CPU (% I, %AI, %Q , %AQ, %M, and %R[...]

  • Página 235

    E-2 TCP/IP Et hernet C ommunic ations for the Series 90™ PLC U ser's M anual – M ay 200 2 GFK-1541B E[...]

  • Página 236

    Index GFK-15 41B Index-1 1 10Base2, 1-4 Ethernet transceiver, B-17 10Base2 port, B-11 Series 90-70 Eth ernet Interface (Type 2), 2-44 10Base5, 1-5 10Base-F , 1-5 10Base-T, 1-4 Ethernet transceiver, B-15 port inf ormation, B-6 , B-8 10Base-T port Series 90-70 Eth ernet Interface (Type 2), 2-44 Series 90-70 Eth ernet Interface (Type 2), 2-44 new styl[...]

  • Página 237

    Index Index-2 T CP/IP Ethe rnet C ommunic ations f or the Serie s 90™ PLC User 's Manual– M a y 20 02 G FK-1541B Consum er, 5-3 Control software, 2- 22, 2-33 Convert er (RS-232 t o RS- 485 adapter), B- 5 CRS w ord, 3-4, 3-46, 4- 3, 4-34 D Data Block , 3-3, 3- 8, 4-3, 4- 7 Lengt h, 3 - 7, 4-6 Data Transf er bit, 3- 35, 3-47, 4-22 Data Trans[...]

  • Página 238

    Index GFK-15 41B Index Index-3 IC693C PU364, 2-21, 2-32 new style IC693CMM3 21, 2- 6 Series 90 -70 Ethern et Interface (Type 2), 2-45 IP address , 2-9, 2-24, 2-34, 2- 49 Config uration, 2-24, 2-34, 2-49 Determining if it has be en used, 2-15, 2-29, 2- 40, 2-54 Isolate d netw ork, 2- 24, 2- 34, 2- 49 IP Add resses Re ser ved for Priva te Net works, [...]

  • Página 239

    Index Index-4 T CP/IP Ethe rnet C ommunic ations f or the Serie s 90™ PLC User 's Manual– M a y 20 02 G FK-1541B new style Series 90- 30 Ethernet Interface, 2-5 Series 90-30 C PU364 w ith Embe dded Ethe rnet Interface, 2-19 Pow ering -up new style IC693CMM3 21, 2- 12 Pow er–up problem s, 2- 12, 2-26, 2- 37, 2-51 Pow er- up s tat es new s[...]

  • Página 240

    Index GFK-15 41B Index Index-5 Simpl e isolated netw ork confi guration, 2- 24, 2- 34, 2-49 Sim ple Network Tim e Protocol, 5-25 SNTP, 5- 25 Softw are Loader, 2-14, 2-28, 2-39, 2-53 Software L oader Port RS-485, B-4 Series 9 0-30 CPU364 , 2-19 , 2-31 Series 90 -30 CPU364 E thernet Interface, B-2 Series 90 -70 Ethern et Interface (Type 2), 2-43 SQE,[...]