Manuel d'utilisation / d'entretien du produit GFK-1541B du fabricant GE
Aller à la page of 240
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.
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.
Conte nts GFK-15 41B iii Chapter 1 Introduction ......................................................................................................... 1-1 The Ethernet I nterface .....................................................................
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.
Contents GFK-15 41B Contents v.
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 CPU3.
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 wi.
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.
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.
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”.
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 Inter.
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.
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.
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 .
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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 t.
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.
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 .
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.
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”).
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.
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.
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.
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 .
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.
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 .
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).
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.
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.
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-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.
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 .
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.
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.
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 .
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).
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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 .
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.
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).
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.
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”.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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 Tot.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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).
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).
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.
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.
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, a.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 ro.
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.
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 .
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.
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.
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.
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.
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.
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).
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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- F.
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.
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.
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.
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.
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.
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 a45.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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-.
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 ad.
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-.
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 Emb.
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 P.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté GE GFK-1541B c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du GE GFK-1541B - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation GE GFK-1541B, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le GE GFK-1541B va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le GE GFK-1541B, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du GE GFK-1541B.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le GE GFK-1541B. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei GE GFK-1541B ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.