Home
View / the Complete Manual
Contents
1. wn 25 V40603 VC60 c77 cre C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 EG E oS De The following Write routines are all equivalent DirectSOFT gives you the flexibility ae to identify the responding PLC s memory area in three different ways as shown 48 below rs LD LD LD K114 K114 K114 LD LD LD K8 K8 K8 LDA LDA LDA 040600 040600 040600 WX WX WX C c10 gt VC100 V40605 Ethernet Communications Modules 3rd Edition Rev C 06 11 DirectSOFT is Flexible DLO5 CPU DLO6 CPU RLL Programming for Communications 4 7 You can address the different data types by any available convention shown in the tables that follow The largest block of data that can be sent ina single Read or Write operation is 128 bytes The smallest block of data is one byte for Bit Memory types and two bytes or one word for Word Memory types The octal numbering system is used for all addresses in these tables DLO5 CPU Data Types Timer Current Values Bit Memory None Word Memory VO V177 TAO TA177 Counter Current Values None V1000 V1177 CTAO CTA177 User Data Words None V1200 V7377 None Input Points See note 1 X0 X377 V40400 V40417 VX0 VX360 Output Points See note 1 YO Y377 V40500 V40517 VYO VY360
2. C51 RST Buiwwepoid TIH C51 is also RESET which allows the C51 contact to close in preparation for repeating the first communication rung on the next CPU scan page 4 18 s fe e 3 3 Cc 2 O sed ie J n Returning to the At the end of the third RX WX instruction we cycle back to the top row of the truth First RX WX table on page 4 18 Both C50 and C51 are off and the next CPU scan executes the Instruction first RX WX instruction Ethernet Communications Modules 3rd Edition Rev C 06 11 4 20 RLL Programming for Communications Shift Register ep oc 9 EG Eo SE oe I e a ro Store If Equal The Shift Register can be used for creating interlocks as an alternative to using control relays For a complete explanation of the function of the Shift Register see the User Manual for your PLC If you have more than a few RX WX instructions using control relays can become cumbersome The Shift Register allows a single contact to be used in each communication rung as an interlock place zeros When that condition is true the The data input to the Shift Register SP1 SR Cao SR is Special Relay SP1 SP1 is the always on bit Combined with a SP122 C77 normally closed c
3. A T WARNING Using duplicate Module IDs on a single network will cause 4 on unreliable PLC to PLC communications 22 0 je The ECOM s DIP switches contain eight individual slide switches but not all of these ao are active The individual slide switches are labeled 1 through 8 on the body of the a gt DIP switch upside down in the following figures You will find that the printed circuit board is labeled 0 zero through 7 We use the labeling on the printed circuit board in describing how to set the switch The numbers on the printed circuit board indicate the power of 2 represented by each slide switch For example switch 0 represents 20 or 1 switch 1 is 2 or 2 switch 2 is 22 or 4 and so on The following figures show the binary value of each switch in parentheses HO H2 Series If using the ECOM ECOM100 module with Dataworx software or the ECOM100 ECOM DIP Switch with IBox Communication instructions then Dipswitch 7 must be set to ON Ignore these numbers 2 2 F amp es q L 5 4 3 2 1 0 Only used for 5 54 3 52 1 50 Dataworx or IBox T N 2 2 2 2 2 2 Communications 32 16 8 4 2 1 Instructions Used Binary Value The numbers 0 7 printed on the circuit board indicate the power of 2 represented by each slide switch The Module ID equals the sum of the binary values of the slide switches set in the ON position For example if you set slid
4. First RX WX Instruction C60 is the interlocking contact It is 5P122 C60 turned on by the Store If Equal rung 1 K114 preceding this one LD K2 LDA 040600 WX VC100 Second RX WX Instruction C61 is the interlocking contact It is 5P122 C61 t LD urned on by the sequencing steps of 17 K109 the Shift Register in a preceding rung LD K2 LDA 040601 WX VCO Third RX WX Instruction SP122 C62 Buiwwepoid TIH Z fe fe 3 Z gt O S fe 5 D C62 is the interlocking contact It is turned on by the sequencing steps of rath the Shift Register in a preceding rung LD K2 LDA 040602 RX VC20 After this rung is executed the Shift Register shifts the high bit from C62 to C63 on the next CPU scan C63 resets the Shift Register to zeros the Store If Equal sets the C60 bit and the CPU executes the first RX WX instruction Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP for HO H2 H4 ECOM100 In This Chapter MODBUS TCP Supported MODBUS Function Codes Network Server Operation Network Client Operation H0 H2 H4 ECOM100 System Memory 5 2 MODBUS TCP for H0 H2 H4 ECOM100 ou op faa a H0 H2 ECOM100 MODBUS TCP MODBUS TCP is essentially the serial MODBUS RTU protocol encapsulated in a T
5. Modbus Addressing Words Word Descriptions Access Range Decimal 16 bit Module Version 317501 317506 6 1 OS Major Version Read Information 417501 417506 2 OS Minor Version only 3 OS Build Version 4 Booter Major Version 5 Booter Minor Version 6 Booter Build Version 317507 317510 Reserved 417507 417510 Device Data 317511 317600 90 1 Version of Device Read 417511 417600 2 Family only 3 Processor 4 Module Type 5 Status Code 6 8 Ethernet Address 9 RAM Size 10 Flash Size 11 Batt RAM Size 12 DIP Settings 13 Media Type 14 15 EPF Count if supported 16 Run Relay State if supported 17 Batt Low if supported 18 Model Number 19 Ethernet Speed 20 90 Reserved 317601 318500 Reserved 417601 418500 Dynamic 418001 418020 20 1 3 Reserved Read Module Data 4 Flags Write Bit 0 If 1 module has rebooted since this bit was cleared a write to the Flags word with this bit set will clear this reboot bit Bit 1 7 Reserved 5 Reboot Count LSW Read Only 6 Reboot Count MSW Read Only 7 20 Reserved 418021 419250 Reserved For clients that only support function code 3 to read word data Ethernet Communications Modules 3rd Edition Rev C 06 11 H0O H2 H4 ECOM100 DHCP amp HTML Configuration H0O H2 H4 ECOM100 DHCP Disabling DHCP and Ass
6. TXCok D Lost Pkts 0 Unknown Tx Errors Reset Stats 0 0 c 0 When the ECOM Settings tab is selected the selected module s Configuration Utilities and Firmware tools can be This box is in the lower middle section of the NetE Module Info ECOM Settings ECOM Help General Help accessed dit3 screen Utis Test CPU Access Configuration Advanced Peer to Peer Config m Firmware Update Firmware Restore Factory Settings 3 7 Ethernet Communications Modules 3rd Edition Rev C 06 11 Ec m 2 QJ Q ee Using NetEdit3 ECOM Settings gt Configuration gt General Clicking the General button in the ECOM Settings gt Configuration box brings up the General Settings window below Module Info ECOM Settings Configuration General Settings Module ID E a Obtain an IP address automatically Use the following IP settings Name 02 260 PLC System ipti IP Address 10 1 3 79 Description Machine Control Oo 0 0 0 Subnet mask 0 8 0 0 Gateway Cancel The General Settings box allows you to assign a Module ID Module IDs must be unique for each ECOM but they do not have to be in sequence The module s DIP switches must be set to zero to allow NetEdit3 to set a Module ID Do not use address zero for communications The Name field and Description field are option
7. Ethernet Communications Modules 3rd Edition Rev C 06 11 4 14 RLL Programming for Communications cp DC 9 Ew 9 S5 SE oe 18 sO ro 2 Rung 1 Rung 2 Rung 3 Rung 4 Program for the Responding PLC In our example the normally open contact labeled CO is an internal control relay When CO is on discrete output YO is energized The second rung uses a Special Relay to identify a communication error In the example SP123 is on if a communication error is present for slot one Use different Special Relays if your ECOM module is ina different slot see page 4 11 and 4 12 We use SP123 to turn on an indicator light connected to a discrete output The Special Relay labeled SP122 is on when slot 1 is busy transmitting or receiving The Read instruction may take longer than one PLC scan to complete Use this Special Relay to prevent overwriting the previous Read instruction with each PLC scan Upper Byte Lower Byte J Initiating PLC Responding PLC Master Ko lt Ta Slave Base Number ECOM Slot Number ECOM Module ID BCD Number of bytes to be transferred Max 128 bytes Beginning address in the initiating PLC expressed as an octal number Beginning address in the responding PLC All DirectLOGIC PLCs use an END statement to identify the final rung of the main body of the program This two rung program resides in the responding PLC s CPU Its fu
8. 1 3 Conventions Used Vey When you see the light bulb icon in the left hand margin the paragraph to its if immediate right will give you a special tip The word TIP in boldface will mark the beginning of the text gt x je Q E Q ER e pataa When you see the notepad icon in the left hand margin the paragraph to its R immediate right will be a special note The word NOTE in boldface will mark the beginning of the text When you see the exclamation mark icon in the left hand margin the paragraph to yJ Z its immediate right will be a warning This information could prevent injury loss of fon property or even death in extreme cases The word WARNING in boldface will mark the beginning of boldface text Key Topics for The beginning of each chapter will list the Each Chapter key topics that can be found in that Ao onon chapter Ethernet Communications Modules 3rd Edition Rev C 06 11 1 4 Introduction c fe 2 a 5 3 fe i ECOM Module Introduction Several Ethernet Communication ECOM modules are currently available for use with DLO5 06 DL205 and DL405 PLC systems The ECOM modules are shown below These modules provide a low cost high speed Ethernet link for PLC systems The modules are easy to set up and install on 10 100BaseT twisted pair copper wire or 10BaseFL fiber optic Ethernet networks LEDs on the
9. Control Relays CO C777 V40600 V40677 VCO VC760 Special Relays SPO SP777 V41200 V41237 VSPO VSP760 Timer Status Bits TO T177 V41100 V41107 VTO VT160 Counter Status Bits CTO CT177 V41140 V41147 VCTO VCT160 Stages SO S377 V41000 V41017 VSO VS360 1 The DLO5 systems are limited to 8 discrete inputs and 6 discrete outputs with the present available hardware but 256 point addresses exist DLO6 CPU Data Types Timer Current Values Bit Memory Word Memory VO V377 TAO TA377 Counter Current Values V1000 V1177 CTAO CTA177 User Data Words V400 V677 V1200 V7377 V10000 V17777 None Input Points See note 1 XO X777 V40400 V40437 VX0 VX760 Output Points See note 1 YO Y777 V40500 V40537 VYO VY760 SUOIJEOIUNWWWOD JO Bulwwesbolg TIH Control Relays CO C1777 V40600 V40677 VCO VC1760 Special Relays SPO SP777 V41200 V41237 VSPO VSP760 Timer Status Bits TO T377 V41100 V41117 VTO VT160 Counter Status Bits CTO CT177 V41140 V41147 VCTO VCT160 Stages SO S1777 V41000 V41077 VSO VS1760 Remote I O GX0 GX3777 GYO GY3777 V40000 V40177 V40200 V40377 VGX0 VGX3760 VGY0 VGY3760 1 The DLO6 systems are limited to 20 discrete inputs a
10. Specify Master Memory Area Step 4 Specify Slave Memory Area MODBUS TCP IP for H0 H2 H4 ECOM100 5 19 The second Load LD instruction determines the number of bytes which will be transferred between the master and slave in the subsequent WX or RX instruction The value to be loaded is in BCD format decimal from 1 to 128 bytes The third instruction in the RX or WX sequence is a Load Address LDA instruction Its purpose is to load the starting address of the memory area to be transferred Entered as an octal number the LDA instruction converts it to hex and places the result in the accumulator For a WX instruction the CPU sends the number of bytes previously specified from its memory area beginning at the LDA address specified For an RX instruction the CPU reads the number of bytes previously specified from the server placing the received data into its memory area beginning at the LDA address specified 2 amp BCD L of bytes to transfer LD K128 4 O 6 0 0 octal ia Starting address of client transfer area LDA 040600 MSB V40600 LSB 15 0 MSB V40601 LSB 15 0 NOTE Since V memory words are always 16 bits you may not always use the whole word For example if you only specify to read 3 bytes you will only get 24 bits of data
11. ainsi area cats paces ees Sows ha sek eke a swe eu ds 1 2 Quality Technical Manuals and Technical Support 0 00 cece eee ee 1 2 CONnVentionS Used iier iai beeline venereal dak a ad tee eek be tha a ea ae 1 3 ECOM Module Introduction 5 5 00 00 tots Pacers adetods oe oe noises eheds Seee ise ed et 1 4 ECOM Communication Possibilities 0 0 eee etn eee 1 4 Your Network PO phapa anner o REM eaor eA saw Past oa ete EEE awa sss 1 5 Frequently Asked Questions 0cc cece e eee ee eee eee eee e eee eens 1 6 Chapter 2 Setup and Installation ECOM Network Identifiers 000 cece eee eee eee eee eee eee eee 2 2 Mod le NDS rese sna a Wicks ors a E geet a E ae Ys Ree erie EE ge erty ace eats 2 3 INCITS ce EAA eects Sn NIV Sloe See lay airtel tee ARS aden a ER CEA ae RRS eee 2 3 I ACCISSS coats teeta hee ideal be tude AGUS E Bees ee eet ey Bee Cee bee 2 4 Ethernet MAC Address cc wivavoeeaty ada cea tb pete aA Ro ea ee aA ee eee 2 4 Using Multiple Network Identifiers 0 0 cect 2 4 Setting the Module ID with the DIP Switch 0 cc cece eee eee eee eee eee 2 5 HO H2 Series ECOM DIP Switch ss srisiaay ecg heehee aks eee s heb da Re eee 2 5 The H4 Series ECOM DIP Switch cis eis are tae eek Pee eB oe ed Daa Be oe ee 2 6 Inserting the ECOM Module in the PLC Base cee ee ee cece eee eee eens 2 7 HO Series ECOM Module Installation 0 0 c ccc cee eee e eens 2 7 DLZ05 Slot Choi
12. ms Resp Timeout 250 S Retries E m fi KSequence Settings Cancel Retries d Bunooyussjqnoly pug soueuslule Record the Module Settings If you are replacing an existing module record the existing network identifier settings in the Configuration box Set up the replacement module by linking to it with NetEdit3 and inserting the same network identifiers in the Configuration box Click on Update Module to store the settings in the ECOM module s flash memory Each module on the network must have a unique network identifier General Settings x Module ID E 4 Obtain an IP address automatically Name 02 260 PLC System Descnption hMachine Control Use the following IP settings IP Address 10 1 73 Subnet mask 0 0 0 0 Gateway o 0o0 d0 0 Cancel Ethernet Communications Modules 3rd Edition Rev C 06 11 7 10 Maintenence amp Troubleshooting Replacing the ECOM Module If you are experiencing a communication problem and you think the ECOM may be defective try replacing the ECOM module with a new one or one that you know is working properly If that corrects the problem then the original module is probably defective assuming the replacement module was set up the same as the original and no changes have been made to the communication program or other network components The diagnostic LEDs will help you determine which applies in this case If replacing
13. Information description later in this section Right clicking on an ECOM module listed on the NetEdit3 screen will display the window to the right This is an alternative to using the Module Info or ECOM settings tabs shown below to access the module s configuration settings The settings are discussed later in this section Module Info ECOM Settings Ethernet Communications Modules 3rd Edition Rev C 06 11 General Advanced RX wWX Node Map Test CPU Access Update Firmware Update Booter Restore Factory Settings Module Info gt General Information Module Info gt Ethernet Stats ECOM Settings When the Module Info tab is selected the General selected module s Firmware Revision Booter Rev Using NetEdit3 Info box lists the ision DIP Switch Setting PWB Revision PLD Revision and CPU Revision This box is in the lower left section of the NetEdit3 screen Module Info ECOM Settings ECOM Help Gener r General Info Firmware Rev 40312 PWBRev 5A Booter Rev 40141 PLDRew ga Switch Setting goo00000 CPU Rew O05 When the Module Info tab is selected the Ethernet Stats box displays statistics related to the selected module s communication errors Click on the Reset Stats button to reset all categories to O zero This box is in the lower middle section of the NetEdit3 screen Ethernet Stats Missed Fr 0 Bad Pkts
14. The MAC address is burned into ROM on the module and is set just before it leaves the factory There is no logical way for any protocol to change this address Host Engineering s range for Ethernet MAC addresses is 00 E0 62 xx xx xx Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation In This Chapter ECOM Network Identifiers Setting the Module ID with the DIP Switch Inserting the ECOM Module in the PLC Base ECOM Network Layouts Network Cabling Maximum Cable Length Maximum Number of ECOM Modules on the Network Setup and Installation ECOM Network Identifiers This section describes network identifiers that can be assigned to the ECOM module Each module must be assigned at least one unique identifier to make it possible for PCs or other ECOMs to recognize it on the network Four methods of identifying the ECOM module give it the flexibility to fit most networking schemes The four ECOM identifiers are e Module ID e Name e IP Internet Protocol Address e Ethernet MAC Address The first three are user selectable The last one is set at the factory Each of the vS identifiers is discussed in this chapter If you have more than a few ECOMs on your ox network consider making a chart or spreadsheet of network IDs as shown below So Ethernet MAC Address Module ID Name IP Address ow oF 00 E0 62 20 01 20 3 PumpStationTwo 192 1
15. 11 Example 4 54 gotta wrteeaias dies ta cee eae tena A T laa a keane E 5 11 If the Host Software or Client Requires an Address ONLY 0 0 cee eee eee eee ee 5 12 Example V200 gta cesta tess Suite Was tale etree es alco erat tne Gone Meh a eas se A Sleek es ae Re 5 14 EXeniple 2 YOO Taian Mie oe ee ee eid ee E otal eel et on ek eae a ee 5 14 Example 3 Cbdu aen ia oe ala Ais eae eas Ah Sa ae ee eh as Bae ea eS 5 14 Network Client master Operation 000 eee e eee eee eee eee eee 5 15 MODBUS Function Codes Supported 0 0 0 c cece eee eens 5 15 PLC Memory Supported for Client Operation 0 0 c eee 5 16 Example 1 Calculating Word PLC Address 00 0 0 cece cette ens 5 17 Example 2 Calculating Discrete Input PLC Address 0 0 cece cece eee eee 5 17 Building the Read RX or Write WX Routine 6 tee 5 18 Step 1 Identify ECOM Slot Location and Server Node 0 00 c cece eee eee ee 5 18 Step 2 Load Number of Bytes to Transfer 0 00 cece eee eee 5 19 Step 3 Specify Master Memory Area 060 c cece eee eee 5 19 Step 4 Specify Slave Memory Area 0 0 cece eae 5 19 Communications from a Ladder Program 0 cece eee eee eee eee 5 20 Ethernet Communications Modules 3rd Edition Rev C 04 11 A Table of Contents Multiple Read and Write Interlocks 0 0 000 cece eee ees 5 20 HO H2 ECOM100 System Memory 00 cece cee
16. 5 4 MODBUS TCP for HO H2 H4 ECOM100 NOTE ModScan32 is a Windows based application program that can be used as a MODBUS master to access and change data points in a connected device HO H2 H4 ECOM100 The utility is ideally suited for quick and easy testing of MODBUS TCP network slave devices Visit www win tech com to download a free ModScan32 trial demo and for more information on ModScan32 Supported MODBUS Function Codes ou op fan im H0 H2 ECOM100 The following MODBUS function codes are supported by the HO H2 H4 ECOM100 Not all function codes are supported when the ECOM100 serves as a network client The Network Client Operation section later in this chapter lists the function codes that are supported in client mode MODBUS Function Server Client Function Code Mode _ Mode 01 Read Output Table yes yes 02 Read Input Table yes yes 03 Read Holding Registers when addressing yes yes mode is 584 984 this function is used to ac cess analog output registers 04 Read Input Registers when addressing mode yes yes is 584 984 this function is used to access analog input registers 05 Force Single Output yes no 06 Preset Single Registers yes no 08 Loop back Maintenance yes no 15 Force Multiple Outputs yes yes 16 Preset Multiple Registers yes yes Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for H0
17. H2 H4 ECOM100 5 5 Network Server slave Operation This section describes how other MODBUS TCP clients on a network can communicate with an HO H2 H4 ECOM100 that you have configured for MODBUS TCP protocol A network client must send a MODBUS function code and MODBUS address to specify a PLC memory location the DLO5 06 205 405 CPU No CPU ladder logic is required to support MODBUS TCP server operation MODBUS Function The HO H2 H4 ECOM100 supports the following MODBUS function codes when Codes Supported acting as a MODBUS TCP server MODBUS Function DLO5 06 205 405 Function Code Data Types Available 01 Read Output Table Y C T CT 02 Read Input Table X SP 03 Read Holding Registers when addressing V mode is 584 984 this function is used to ac cess analog output registers 04 Read Input Registers when addressing mode V is 584 984 this function is used to access analog input registers 05 Force Single Output Y C T CT 06 Preset Single Registers V 08 Loop back Maintenance 15 Force Multiple Outputs Y C T CT 16 Preset Multiple Registers V Determining the There are typically two ways that most MODBUS addressing conventions allow you MODBUS Address to specify a PLC memory location These are e By specifying the MODBUS data type and address e By specifying a MODBUS address only Ethernet Communications Modules 3rd Edition Rev C 06 11 5 6 MODBUS TCP for HO H2 H4 ECOM100 If Yo
18. ID ranging from 1 to 999 999 999 Theoretically you could have this many Ethernet modules coexisting on a single network Other network limitations would restrict the network size before reaching this limit For the majority of network PLC applications there is practically no limit to the number of ECOM modules you can access from the NetEdit3 DirectSOFT Programming Software or the KEPDirect for PLCs software There is a node limit for PLC to PLC communications The network Read and Write instructions performed by the initiating master PLC are only capable of accessing PLCs with Module IDs of 1 through 90 This effectively sets the maximum number of nodes available for PLC to PLC communications at 90 WARNING We recommend against connecting Ethernet modules to the same network that serves as your primary office network While Ethernet networks can handle a very large number of data transmissions and normally handle them very quickly heavy Ethernet traffic can adversely affect the reliability and speed of the network VA mn Ethernet Communications Modules 3rd Edition Rev C 06 11 Configuring ECOMs Using NetEdit3 In This Chapter NetEdit3 Software Using NetEdit3 Locating the MAC Address Label 3 2 Using NetEdit3 NetEdit3 Software od D NetEdit3 Installing NetEdit3 NetEdit3 is a software utility which can be used to set network identifiers Module ID or IP Address perf
19. In this case only the 8 least significant bits of the last word location will be modified The remaining 8 bits are not affected The last instruction in our sequence is the WX or RX instruction itself Use WX to write to the server and RX to read from the server All four of our instructions are shown to the right In the last instruction you must specify the starting address and a valid data type for the server SP122 LD v K114 LD K128 LDA 040600 RX Vo Ethernet Communications Modules 3rd Edition Rev C 06 11 5 20 MODBUS TCP for H0 H2 H4 ECOM100 ai op faa a H0 H2 ECOM100 Communications froma Ladder Program Multiple Read and Write Interlocks Typically network communications will last longer than 1 scan The program must wait for the communications to finish before starting the next transaction ECOM Communication Error SP123 v1 SET SP122 LD K114 N LD ECOM Port Busy K3 LDA 040600 RX Vo Depending on which slot the ECOM is in it has two Special Relay contacts associated with it see page 4 11 to 4 12 for special relays One indicates Port busy and the other indicates Port Communication Error The example above shows the use of these contacts for an ECOM that is in slot 1 The Port Busy bit is on while the PLC communicates wit
20. PLC power budget You can also use your PC s DOS Ping command to verify communications with a network server The PC s NIC must have the TCP IP protocol enabled and the server must have a valid IP address Visit www microsoft com for information on the Ping command Tb Cc Can o S Cc oO o S E oO Troubleshooting Diagnostic Tools Several available tools and techniques can help you isolate a communication and Techniques problem e The LEDs on the face of the module indicate the status of the link the module and the network communications e NetEdit3 displays a list of the active modules on the network and their protocol and configuration settings e Cable testing devices can pinpoint short or open circuits or diagnose attenuation problems and other cabling problems Troubleshooting Chart The following chart summarizes the different types of communication failures you could experience In each case the CPU PWR LED must be on and you must be attempting to communicate with the ECOM in question You must be attempting to send or receive RX WX instructions or you must be attempting to link to the ECOM using our KEPDirect for PLCs or other software driver The meaning of the diagnostic LEDs is explained begining on page 7 4 Troubleshooting Chart Legend Off EE On Flash ECOM
21. T377 V41100 V41117 VTO VT360 Counter Status Bits CTO CT177 V41140 V41147 VCTO VCT160 Stages SO S1777 V41000 V41077 VSO VS1760 D4 450 CPU Remote I O GXO GX1777 V40000 V40077 D4 450 CPU VGXO VGX1760 Data Registers Timer Current Values Bit Memory None Word Memory VO V377 TAO TA377 Counter Current Values None V1000 V1377 CTAO CTA377 User Data Words None V1400 V7377 V10000 V37777 None Input Points XO X1777 V40400 V40477 VXO VX1760 Output Points YO Y1777 V40500 V40577 VYO VY1760 Control Relays CO C3777 V40600 V40777 VCO VC3760 Special Relays SPO SP137 SP320 SP717 V41200 V41205 V41215 V41234 VSPO VSP120 VSP320 VSP700 Timer Status Bits TO T377 V41100 V41117 VTO VT360 Counter Status Bits CTO CT377 V41140 V41157 VCTO VCT360 Stages SO 1777 V41000 V41077 VSO VS1760 i oc 9 EG Eo ae 2E E I e ale ro 2 Remote I O GX0 GX3777 GYO GY3777 Ethernet Communications Modules 3rd Edition Rev C 06 11 V40000 V40177 V40200 V40377 VGXO VGX3760 VGY0 VGY3760 RLL Programming for Communications 4 11 Special Relays for Communications The DirectLOGIC PLCs provide internal contacts bits for monitoring the status of communi
22. address in the initiating PLC expressed as an octal number Beginning address in the responding PLC All DirectLOGIC PLCs use an END statement to identify the final rung of the main body of the program This two rung program resides in the responding PLC s CPU Its function is simply to take the C100 contact and convert it to a real output YO Ethernet Communications Modules 3rd Edition Rev C 06 11 WX VC100 CEND CuD CEND RLL Programming for Communications 4 17 Integrating Multiple Read and Write Instructions Multiple Read and Write instructions require interlocks for sequencing because only one RX WX instruction can be processed per CPU scan Using interlocks one RX WX instruction is processed in each scan until all RX WX instructions have been executed After the last instruction the sequence then begins again at the first RX WX instruction Without interlocks the RX WX instructions would be executed in an unpredictable order and some might be executed many times before others are executed once The interlocks serve to open disconnect the ladder circuits for all Read and Write instructions except the one that should be processed on the current CPU scan We show two methods of creating the interlocks necessary for sequencing multiple Read and Write instructions e Sequenced Internal Control Relays e Shift Register We will step you through the development of the in
23. ale oe teins sea ERO sea we Malach Whe NGtEGIS Screen setie cea a tie ses heel ye oes ee alem pes Hee AONE AREE a ee Bs Adding Network Protocol Support to the NetEdit8 PC 0 cee ee SiG NCTE GUS iras eee oS tare eden rere ea nen Bene mag ade a a ea aie wed aA Ethernet Communication Protocol ssaa cece cece eee eee ens Ethernet AGCIeSS i4 seco dts hewn s Ran A E See Seay SLR et he cies At Y Module Type IP Address and ID 0 00 c ccc eens Module Info gt General Information 00 cee eee eee eens Module Info gt Ethernet Stats 0 00 cece eens ECOM Settings 3 026522 ean Rhee ektbberoie whee te E Bi gested ECOM Settings gt Configuration gt General 0 eect ees ECOM Settings gt Configuration gt Advanced cece cette ECOM Settings gt Configuration gt Peer to Peer 00 cece ECOM Settings gt Utils gt Test CPU ACCESS nunna cect teens ECOM Settingss Firmware se0 ci Gu esii erie w d Sees haere d BE be be a ead OE EG FileMenu gt Live Update ais ic s ior cates ch ee seolagh vine eisle oa peas Pee eee eee eaele pases Relea FYB C Col mns odiana a Re telecakh lt dticaks Matec omecnka at mein anise on kee Chapter 4 RLL Programming for Communications PLC to PLC Communications 00 cece eee eee eee e ee eee ee eens How RLL is Used for Communications 2 0 cece eee ences Network Instructions iscacir cutee oranda Gar UY a etic cai are are a ee
24. eee eee eee eee eee eee eens 5 21 Chapter 6 HO H2 H4 ECOM100 DHCP amp HTML Configuration HO H2 H4 ECOM100 DHCP 0 22 eee ee ce eee eee eee nen e eee ee eeeeeene 6 2 DHCP ISSUES 25 fobs hon deariahe eed be eey a tete shee lt ee acne Bee eee E 6 2 Disabling DHCP and Assigning a Static IP Address 20 ce eee ee eee eee eee 6 2 Using HTML Configuration oc xec8 nace ced rine ewe eat lew Cee ara eis ere hee 6 3 Connecting to the HO H2 H4 ECOM100 0 cee eet eens 6 3 H0 H2 H4 ECOM100 Client Peer to Peer Configuration 0 0 cece eee eee 6 5 Chapter 7 Maintenance and Troubleshooting Isolating a Communication Problem 00 cece eee eee eee eee eee ee eens 7 2 Diagnostic Tools and Techniques 0 cece eet 7 2 Troubleshooting Chart c vi 2cseriew eae y ie eee ee Saas Bebe eG eee eae ewe 7 2 ECOM Module Diagnostic LEDS 24 12 05 ss 0tesssei cepeda seater Sen dseee sae aeesaonias 7 4 HO Series Indicators is areas tne ie ihn Re acide G he wae ale Ra he CaN nee Ramee ae ae 7 4 H24 ECOM F Indicators csc cee eves ca wedecaGhky lee soa ebedsc lee hee a eee ad ked 7 5 H2 H4 ECOM100 Indicators 0 0 eect eee eee 7 6 Using NetEdit3 for Troubleshooting 0 c cece eee e eee eee eee eee eee eee eeeee 7 7 Selecta Mod le hoe cx rest Aen id Sedans Seale a aoa amet ee Aion wen alien Seats aa 7 7 Module Information 2354227 2 4 6 248 ck rok aby co gad sage aby te Pk eo eee ody debe ead 2S 7 7 C
25. fe So ON or FLASHING RED Active network data CO ACT 52 OFF Network idle 2a E ae ON or FLASHING RED A fatal error has occurred SF OFF No error present 100 ON GREEN Ethernet data is detected at 100MBit HO ECOM100 only OFF with ACT LED ON Ethernet data is detected at 10MBit OK Indicator The green OK LED on the HO ECOM module is on steady after a successful powerup If the LED fails to turn on the module failed to powerup It may not be properly installed or it may be defective The green LINK link good LED is on steady when the ECOM module is correctly connected to an active device on the network and is receiving 5VDC operating voltage from the PLC power supply The LINK LED verifies that the proper cables are connected and the ECOM module is functioning correctly If a mismatch with the 10 100BaseT connections occurs this LED will not be illuminated The red ACT activity LED flashes to indicate that the module sees data travelling on the network If any network device is sending or receiving data the ACT LED will be illuminated In idle mode no network traffic this LED is OFF During heavy communication loads this LED will be steady on If the ECOM module s red ERROR indicator is flashing or steady on a fatal error has occurred The error may be in the ECOM module itself or a network problem may be causing this symptom The ERROR indication can be caused by a faulty ground an electrical spike or other types of electric
26. is a software utility which came with this manual To review the procedures for running and using NetEdit3 see pages 3 5 through 3 12 NetEdit3 allows you to e See active modules on the network e Examine and change the modules configuration settings e See the firmware revision number e Review statistical information about communication errors by type If you can see the ECOM module on the list in the Module box described below you are linking to the module from your PC If you are linking to the module but failing to communicate with the module you can conclude that e The module is working e The cabling is satisfactory from the PC to the hub and from the hub to the ECOM module e The hub is working e The problem is in one of the other components of the communication link Bunoousejqnoly pug soueuslule Select a Module The Module box shows the Ethernet MAC Addresses of all modules which are currently linked to the NetEdit3 utility If your ECOM module is not on this list try the ees File Network View Help following Scan TCPAP Network Ethernet Address lF B e Change Protocol selection and click on Scan Network See Change Protocol on the next page 00 E0 62 40 00 02 e Confirm that your PC has IPX or OO FN KB end nA TCP IP protocol loaded e Confirm that the ECOM module s LINKGD LED is on NOTE The Ethernet MAC Address is permanently assigned atthe factory and iti
27. only one of these protocols Read the documentation for your software to be sure the protocol you select is supported Ethernet Communications Modules 3rd Edition Rev C 06 11 3 6 Using NetEdit3 The upper left section of the NetEdit3 screen displays the Ethernet Address of the modules currently on the network Ethernet Address File Network vcw iinan If modules are added or removed from the network click on the Scan Network button to update the list Notice that the MAC Address is the M factory assigned address that is on the OO EQ 62 40 00 02 permanent label on the module 00 E0 62 20 01 06 00 E0 62 20 01 OF Ethernet Address Select a specific module here by clicking on the MAC Address or by using the arrow keys The selected module is highlighted NOTE The Module window may list the MAC Addresses of devices not covered by this manual Module Type IP Address and ID IP Address of Iiii Name Description 10 1 37 79 O 2 260 PLE System Module Type H2 ECOM1o0 NetEdit3 od D Machine Contral The upper mid section of the NetEdit3 screen displays the Module Type IP Address module ID Name and Description of the modules currently on the network Anew ECOM will have an IP Address of 0 0 0 0 a Module ID of 0 Zero and no Module Name or Description To assign or change a module an IP address ID name or description refer to the EBC Settings gt General
28. repeaters connected together extend the total range to 6 000 meters 10BaseFL Distance Limitations A meters 2 000 meters lt A 6 560 feet 6 560 feet fae Ga _ esse ane 2 000 meters Re oe 2 000 meters 6 560 feet 2 000 meters 6 560 feet 6 560 feet Between a Repeaters o 8 p O Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation 2 15 Maximum Number of ECOM Modules on the Network The maximum number of nodes that can be connected to a 10 100BaseT or 10BaseFL network is a function of the topology used in constructing the network Therefore it is not possible to state an absolute maximum number of nodes that would apply in all cases The IEEE 802 3 specification defines the maximum node limit for an Ethernet segment in terms of the ability to detect and avoid data collisions A legal network can have any number of devices provided that they can e detect all data collisions that may occur during the communication process and e respond to these collisions appropriately 59 You must take into consideration the network limitations imposed by all cabling and 25 network devices Consider the limitations imposed on your network if your network p uses oa e a combination of cabling standards such as 10 100 BaseT and 10Base2 or e intermediate devices such as switches or routers Each ECOM module can be assigned a Module
29. sections applicables du Code national de pr vention des incendies du Code national de lectricit et des codes de la National Electrical Manufacturer s Association NEMA Des organismes de r glementation ou des services gouvernementaux locaux peuvent galement vous aider a d terminer les codes ainsi que les normes a respecter pour assurer une installation et un fonctionnement s rs L omission de respecter la totalit des codes et des normes applicables peut entra ner des dommages al quipement ou causer de graves blessures au personnel Nous ne garantissons pas que les produits d crits dans cette publication conviennent a votre application particuli re et nous n assumons aucune responsabilit a l gard de la conception de linstallation ou du fonctionnement de votre produit Nos produits ne sont pas insensibles aux d faillances et ne sont ni con us ni fabriqu s pour l utilisation ou la revente entant qu quipement de commande en ligne dans des environnements dangereux n cessitant une s curit absolue par exemple l exploitation d installations nucl aires les syst mes de navigation a rienne ou de communication le contr le de la circulation a rienne les quipements de survie ou les syst mes d armes pour lesquels la d faillance du produit peut provoquer la mort des blessures corporelles ou de graves dommages mat riels ou environnementaux activit s a risque lev La soci t AutomationDirect
30. the module does not correct the problem then the problem is probably not in the module If you are replacing an existing ECOM module with a new one you need to set up the new module with the same network identifiers as the module you are replacing If you used the DIP switch to set the Module ID you will need to set the DIP switch on the replacement module to the same Module ID See pages 2 5 or 2 6 to review the procedure for setting the Module ID using the DIP switch If you set up your original ECOM module using one of the software utilities you will need to refer to your record of the module s network identifiers see page 2 2 and duplicate the settings in the new module using the same procedures See page 3 5 through 3 12 to review the procedures for using the software utilities To replace the ECOM module disconnect power from the PLC and remove the original module Insert the replacement ECOM module connect the module to your network and apply power to the PLC Links to other network devices will automatically be reestablished and communications between devices will resume Ze Cc Can o S oO oO S E ao gt Troubleshooting WARNING Your system can be damaged if you install or remove system components before disconnecting the system power To minimize the risk of equipment damage electrical shock or personal injury always disconnect the system power before installing or removing any system compo
31. trademarked and are the sole property of their respective owners AutomationDirect disclaims any proprietary interest in the marks and names of others Copyright 2011 Automationdirect com Incorporated All Rights Reserved No part of this manual shall be copied reproduced or transmitted in any way without the prior written consent of Automationdirect com Incorporated AutomationDirect retains the exclusive rights to all information included in this document AVERTISSEMENT Nous vous remercions d avoir achet l quipement d automatisation de Automationdirect com en faisant des affaires comme AutomationDirect Nous tenons ce que votre nouvel quipement d automatisation fonctionne en toute s curit Toute personne qui installe ou utilise cet quipement doit lire la pr sente publication et toutes les autres publications pertinentes avant de l installer ou de l utiliser Afin de r duire au minimum le risque d ventuels problemes de s curit vous devez respecter tous les codes locaux et nationaux applicables r gissant l installation et le fonctionnement de votre quipement Ces codes diff rent d une r gion l autre et habituellement voluent au fil du temps II vous incombe de d terminer les codes a respecter et de vous assurer que l quipement l installation et le fonctionnement sont conformes aux exigences de la version la plus r cente de ces codes Vous devez tout le moins respecter toutes les
32. 00 5 17 NOTE Your PC s Windows calculator can be used for number conversions i e decimal to octal The Windows calculator must be in Calculator gt View gt Scientific mode to enable number conversions capability Example 1 Calculating Word PLC Address Example 2 Calculating Discrete Input PLC Address Find the PLC address to use to target MODBUS address 41025 in a server device A Subtract the begining of the MODBUS word address range 40001 from the desired MODBUS address to target Convert decimal result into octal Add octal result to begining PLC range Input Output or Word Find the PLC address to use to target MODBUS address 12060 in a server device 1 Subtract the begining of the MODBUS Input address range 12049 from the desired MODBUS address to target Convert decimal result into octal Add octal result to begining PLC range Input Output or Word 1 41025 40001 1024 decimal 2 1024 decimal 2000 octal 3 VO octal 2000 octal V2000 octal 1 12060 12049 11 decimal 2 11 decimal 13 octal 3 XO octal 13 octal X13 octal Ethernet Communications Modules 3rd Edition Rev C 06 11 5 18 MODBUS TCP for H0 H2 H4 ECOM100 Building the For network communications you build the LD Read RX or Read RX or Write WX instructions into a Aaaa Write WX routine which requires the four instruc
33. 68 100 005 00 E0 62 20 01 58 8 Effluent 255 255 255 255 00 EO 62 20 01 8D 17 BldgThree 192 168 100 001 00 E0 62 20 01 94 2 PumpStationOne_ 192 168 100 002 00 E0 62 20 01 DE 61 192 168 100 003 00 E0 62 20 01 F1 33 192 168 100 004 00 EO 62 20 01 FB 1 Control Room 255 255 255 255 00 EO 62 20 01 FO 5 Mixer 192 168 100 006 The decision about which type of identifier to use is an important one Much of the decision depends on the requirements of your particular application PC to PLC communications are generally better accommodated with one type of identifier while PLC to PLC communications require a different type Ease of maintenance and troubleshooting also must be considered before deciding which type to use The identifiers are used to link your PC to your PLC or one PLC to another PLC The flexible design of the module allows you to use different identifiers for different links to the same module This is particularly important if you require both PC to PLC and PLC to PLC communications on the same network The following table summarizes Network Identifiers and their uses How to Set Communication Restrictions Notes Module ID DIP Switch Number 1 63 PLC to PLC or Disables Module ID in PC to PLC NetEdit3 NetEdit3 Number 1 90 PLC to PLC or DIP Switch must be set to 0 PC to PLC NetEdit3 Number 1 999 999 999 PC to PLC Only gt 90 Not for PLC to PLC Name NetEdit3 32 Alphanumeric Char PC to PLC Only H
34. B 1 0 1 2 3 4 5 0 1 2 3 4 5 D4 08B 1 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 You must use the 1 base for the CPU base and all local expansion bases NOTE Before installing the ECOM module confirm that your power budget will accommodate the added module See the DL205 or DL405 User Manual for your PLC for more information about calculating the power budget See Appendix A for the power consumption of the ECOM modules Ethernet Communications Modules 3rd Edition Rev C 06 11 2 10 Setup and Installation H4 Series ECOM To insert the ECOM module in a DL405 base place the bottom tab of the module into Module Installation the notch at the bottom of the base Pivot the module toward the base as shown below Ensure that each module is tightly seated and secured with the captive screw at the top of the module DL405 Base A and j l l J Cc 2 w Q oO 35 ep Setu Disconnect power before installing module ECOM Network Layouts The ECOM Ethernet network is a peer to peer network Using Read RX or Write WX instructions any PLC on the network can initiate communications with any other PLC on the network A PC running our KEPDirect for PLCs software can also initiate communications with any ECOM that is on the same network but a PLC cannot initiate communication with the PC A PLC cannot literally broadcast t
35. CP packets to serial RTU communications The Unit ID field is used to direct the TCP packet to the correct serially connected RTU slave device e Some MODUS TCP slave devices require this It may be a holdover from an old serial device driver that was converted to Ethernet The slave device usually requires the Unit ID to be set to 255 but in some instances the slave requires the Unit ID to be set to 0 The Modicon specification states to use Unit ID set to 255 If communications are unsuccessful it is recommended to try Unit ID of O It is possible you may need to get the actual Unit ID setting from the slave device documentation or manufacturer Ethernet Communications Modules 3rd Edition Rev C 06 11 Maintenance and Troubleshooting In This Chapter Isolating a Communication Problem Troubleshooting Chart ECOM Module Diagnostic LEDs Using NetEdit3 for Troubleshooting Replacing the ECOM Module 7 2 Maintenence amp Troubleshooting Isolating a Communication Problem If you are experiencing a problem communicating with an ECOM module the problem can usually be isolated to one of four components of the communication link e the ECOM module itself hardware or firmware e the communication program or the setup of the ECOM module e the cabling and connections e other external influences such as electrical noise heavy communication traffic on the network or exceeding the
36. CP IP wrapper MODBUS RTU is used for serial communications between a master and slave s devices MODBUS TCP is used for TCP IP communications between client and server devices on an Ethernet network The TCP version of MODBUS follows the OSI Network Reference Model Client Server The MODBUS messaging service provides a Client Server communication Model between devices connected on an Ethernet TCP IP network This client server model is based on four type of messages MODBUS Request the message sent on the network by the Client to initiate a transaction MODBUS Confirmation the Response Message received on the Client side MODBUS Indication the Request message received on the Server side MODBUS Response the Response message sent by the Server Client Server Model Request Indication Client ooo The HO H2 ECOM100 can oe Server act as a Client or Server Confirmation Response O Protocol A typical MODBUS TOP frame consists of the following fields Description TCP HEADER MBAP HEADER FUNCTION DATA The MBAP header MODBUS Application Protocol header is seven bytes long It consists of the following fields Transaction Identifier It is used for transaction pairing the MODBUS server copies in the response the transaction identifier of the request 2 bytes Protocol Identifier It is used for intra system multiplexing The MODBUS protocol is identified by the value 0 2 bytes Length The length field is
37. Client Peer to Peer Configuration DHCP amp HTML Configuration 6 5 Peer to Peer The following are reasons or conditions of when to configure the H0 H2 H4 ECOM100 for peer to peer communications with a TCP IP server device e To eliminate network broadcast traffic when the ECOM100 is a client executing RX WX network instructions e When an ECOM100 is an ECOM protocol client and needs to access other server ECOMs through a router e When an ECOM100 needs to serve as MODBUS TCP client uoiesnByuod g L U Qo I z m The default configuration window is shown below Peer to peer Configuration Device 1 looo ECOM C Modbus TCP Port Eo Unit ID 25 Device 2 0 0 0 0 CECOM C Modbus TCP Port 502 Unit ID 255 Device 3 0 000 ECOM Modbus TCP Port 502 Unit ID 255 Device 4 0000 ECOM C Modbus TCP Port 502 Unit ID 255 Device 5 0 000 CECOM Modbus TCP Port 502 Unit ID 255 Device 6 0000 ECOM Modbus TCP Port 502 Unit ID 255 Device 7 0 000 CECOM Modbus TCP Port 502 Unit ID 255 Back Reset Device Number This is a RX WX node number that is associated with the server s IP address that is entered in the field beside the Device number This node or server slave number is used in the RX WxX instruction LD This is the first LD box of the a KO1 61 RX WX instruction It specifies the E ECOM slot number and the server slave no
38. Cs the DL105 and DL305 series are the only PLCs that cannot be programmed over Ethernet Chapter 2 will indicate the CPUs which can be used with the ECOM modules NOTE We recommend using a dedicated network for your PLC control applications For more information see Chapter 2 Setup and Installation Ethernet Communications Modules 3rd Edition Rev C 06 11 Introduction 1 5 PCs running our KEPDirect for PLCs software can establish Ethernet links for exchanging information with DirectLOGIC 05 06 205 405 PLCs Your Network PC You can use a personal computer equipped with a 10 100BaseT or 10BaseFL network adapter card and NetEdit3 software to configure the ECOM module over the network You can also use NetEdit3 for troubleshooting certain communication problems The NetEdits utility is included with this manual and is available for download at http www automationdirect com i je Q Cc Q ER e Ethernet Communications Modules 3rd Edition Rev C 06 11 1 6 Introduction 2 O 5 D fe Frequently Asked Questions Q How can I speed up my ECOM communications A Try shortening the scan time of the PLC the PLC allows only one ECOM transaction per scan Q What causes Task code error response with extended E353 error A Error is from the PLC and means timeout in the background communications Error is due to a backplane communication problem ECOM DCM etc Q C
39. Holding Register DL260 Memory Type QTY PLC Range MODBUS MODBUS Dec Octal Address Range Data Type For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type Special Relays SP 512 SPO SP137 3072 3167 Input SP320 SP717 3280 3535 Control Relays C Co C3777 3072 5119 Timer Contacts T TO T377 6144 6399 Counter Contacts CT CTO CT377 6400 6655 Stage Status Bits S SO S1777 5120 6143 Global pus GN o GKOTTT Global Outputs GY evo over For Word Data daa Convert PLC Addr to Dec Data Type Counter Current a sre V1377 512 767 Input Register V Memory user data V V400 V777 256 511 Holding Register V1400 V7377 768 3839 V10000 35777 4096 15359 V Memory system V 256 V7600 V7777 3968 4095 Holding Register V36000 V37777 15360 16383 Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for H0 H2 H4 ECOM100 DL430 Memory Type PLC Range MODBUS MODBUS Octal Address Range Data Type Decimal For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type pus 2048 2867 Special Relays SP 288 SPO SP137 3072 3167 Input SP320 SP617 3280 3471 Oups T 20e 267 Control Relays CR Co C737 3072 3583 Timer Contacts T TO T177 6144 6271 Counter Contacts CT CTO CT177 6400 6527 Stage Status Bits S SO 577 5120 5503 Global I O GX GXO GX777 0 511 For Word Data Types Convert PLC Add
40. M Specifications H2 ECOM and H4 ECOM Specifications HO ECOM100 Specifications H2 ECOM100 and H4 ECOM100 Specifications H2 ECOM F and H4 ECOM F Specifications Ethernet Standards General Specifications General Specifications ECOM Specifications Module Type Intelligent Data Communications Module Quantity of Modules Per Base Defined by CPU and base configuration Diagnostics LEDs Network Monitoring Software NetEdit3 Communications 10BaseT Ethernet lt x D 2 2 lt Data Transfer 10 Million bits per second Extension Port RJ45 OK Indicator OK Green LED Link Good Indicator LINK Green LED Activity Indicator ACT Red LED Error Indicator ERR Red LED Power Consumption 250mA Supplied by DL05 DLO6 base Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 30 95 RH non condensing Environmental Air No corrosive gases permitted Networking Protocols Supported TCP IP IPX Manufacturer Host Automation Products Link Distance 100 meters 328 feet H2 ECOM H4 ECOM Module Type Intelligent Data Communications Module Quantity of Modules Per Base Defined by CPU and base configuration Diagnostics LEDs Network Monitoring Software NetEdit3 Communications 10BaseT Ethernet Data Transfer 10 Million bits per second Extension Port RJ45 Link Good Indicator LINKGD Gree
41. MI Software may have re acters strictions IP Address NetEdit3 4 Three digit Numbers PC to PLC PLC See Your Network Adminis XXX XXX XXX XXX to PLC Client trator for IP address See Page 2 4 Server using TCP refer to pages 3 10 to 3 11 IP or MODBUS chapters 5 and 6 TCP protocol Ethernet MAC Set at Factory 12 Hex digits PC to PLC Only Factory assigned for IPX Address Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation 2 3 Module ID A Module ID is required for PLC to PLC communications and it can be set either of two ways You can assign the Module ID e using the DIP switches on the module e using the configuration tools in NetEdit3 e HTML Configuration after IP address is assigned to module using NetEdit3 described in Chapter 5 HO H2 H4 ECOM100 only Use the DIP switch if you want the ability to install or change modules without using a PC to set the Module ID Set the module s DIP switch insert the module in the base and connect the network cable Your Module ID is set on powerup and your ECOM is ready to communicate on the network We step through setting the DIP switch on pages 2 5 and 2 6 DEN gt n a BE D a pue 76543210 If you prefer to be able to set or change all Module IDs on your network from a single PC use the tools in NetEdit3 discu
42. Module LEDs Corrective Action PERMET ECOMCE 1 Cycl to the PLC This will cl LINK LINKGD LINK LINKGD ERO DOWGT 10 ME TES LNS WIT C Qar ACT OR ACT the error if it was due to a transient ERROR ERR WE ERROR ERR condition 2 Replace ECOM module ECOM100 ECOM100 OK STATUS il OK STATUS B LINKGD LINK OR HNKGD LINK ACTIVE ACT ACTIVE ACT ERROR ERR E ERROR ERR Ethernet Communications Modules 3rd Edition Rev C 06 11 7 3 Maintenance and Troubleshooting Troubleshooting Chart Continued Legend Off EE On Flash ECOM Module LEDs Corrective Action ECOM100 ECOM F 1 Try another cable that you know works OK STATUS E LINK LINKGD Check pinouts See page 2 12 LINKGD LINK ACT 2 Try another port on the hub or ACTIVE ACT ERROR ERR another hub ERROR ERR 3 Replace ECOM module 1 Are PLCs in RUN mode Some commu nications require initiating and responding PLCs to be in RUN mode 2 Try another cable between PC and hub ECOM100 ECOM F or the other communicating ECOM and OK STATUS BE LINK LINKGD WE nib LINKGD LINK E ACT 3 Try another port on the hub or another ACTIVE ACT ERROR ERR hub ERROR ERR 4 Make sure you have not exceeded the recommended cable length for your network cable The link signal could arrive with sufficient strength even though the data transmissio
43. OM F DL260 D2 06B 1 D2 06BDC1 1 D2 06BDC2 1 1 2 3 4 D2 09B 1 D2 O09BDC1 1 D2 09BDC2 1 1 2 3 4 5 6 7 H2 Series ECOM CR n 7 B Module Installation 205 Ee Ep ae eo A Retaining Clips i To install the ECOM module line up the module s printed circuit board with the grooves in the base and push the module until it is flush with face of the DL205 base power supply If you feel more than moderate resistance when you push the module into the base the circuit board may not be aligned with the grooves in the base When the module is firmly seated in the slot depress the top and bottom retaining clips to lock the module in place li ihi eeel o l and Uy sfaisieisial Cc 2 w Q oO 35 ep Setu NOTE When adding modules to your PLC always confirm that your power budget will accommodate the added module See the User Manual for your PLC for more information about calculating the power budget See Appendix A for the power consumption of the ECOM modules Ethernet Communications Modules 3rd Edition Rev C 06 11 DL405 Slot Choices wee a TNR Setup and Installation Ee For PLC systems with D4 430 and D4 440 CPUs the ECOM modules can reside in any I O slot but only in
44. SPO SP137 3072 3167 Input SP320 SP717 3280 3535 Control GLAN CR 3072 5119 For Word Data on Convert PLC Addr to Dec Data Type Timer Current Values V V377 0 255 Input Register Counter Ses ze vio V1377 512 767 Input Register V Memory user data V 3072 V1400 V7377 768 3839 Holding Register 12288 V10000 V37777 4096 16383 V Memory system V V700 V777 448 768 Holding Register V7400 V7777 3840 4095 aii op fan im H0 H2 ECOM100 Ethernet Communications Modules 3rd Edition Rev C 06 11 Example 1 V2100 Example 2 Y20 Example 3 T10 Current Value Example 4 C54 MODBUS TCP IP for HO H2 H4 ECOM100 The following examples show how to generate the MODBUS address and data type for hosts which require this format Find the MODBUS address for User V PLC Address Dec Data Type pester vee V2100 1088 decimal gt AEG v Memo INE able 1088 Hold Reg Holding Reg 1089 2 Convert V2100 into decimal 1089 3 Use the MODBUS data type from the table Timer Current Yalues M 128 VO Y177 0 12 WES Register Counter Current Walues w 128 w1000 Y11777 512 639 Input Register Y Memory user data Ah 1024 2000 v3777 1024 2047 Holding Register Find the MODBUS address for output Y20 PLC Addr Dec Start Addr Data Type 1 Find Y outputs in the table Y20 16 decimal 2 Convert Y20 into decimal 16 16 2049 Co
45. TCP DHCP HTML Configuration Host Automation Products Link Distance 100 meters 328 feet H2 ECOM100 H4 ECOM100 Module Type Intelligent Data Communications Module Quantity of Modules Per Base Defined by CPU and base configuration Diagnostics LEDs Network Monitoring Software NetEdit3 Communications 10 100BaseT Ethernet Data Transfer 100 Million bits per second Extension Port RJ45 Status Indicator STATUS H2 ECOM100 only Green LED Link Good Indicator LINKGD Green LED Activity Indicator ACTIVE Green LED Error Indicator ERROR Red LED 100MB Transfer Rate 100MBIT Green LED Power Consumption 300mA Supplied by DL base Operating Temperature Storage Temperature 32 to 140 F 0 to 60 C 4 to 158 F 20 to 70 C Relative Humidity 30 95 RH non condensing Environmental Air No corrosive gases permitted Networking Protocols Supported Manufacturer TCP IP IPX MODBUS TCP DHCP HTML Configuration Host Automation Products Link Distance 100 meters 328 feet Ethernet Communications Modules 3rd Edition Rev C 03 11 A 4 General Specifications lt x a D 2 2 lt H2 ECOM F H4 ECOM F Module Type Intelligent Data Communications Module Quantity of Modules Per Base Defined by CPU and base configuration Diagnostics LEDs Network Monitoring So
46. The function code field of amessage contains 8 bits Valid function codes are in the range of 1 255 decimal The function code instructs the slave what kind of action to take Some examples are to read the status of a group of discrete inputs to read the data in a group of registers to write to an output coil or a group of registers or to read the diagnostic status of a slave When aslave responds to the master it uses the function code field to indicate either anormal response or that some type of error has occurred For a normal response the slave echoes the original function code In an error condition the slave echoes the original function code with its MSB set to a logic 1 The data field is constructed using sets of two hexadecimal digits in the range of 00 to FF According to the network s serial transmission mode these digits can be made of a pair of ASCII characters or from one RTU character The data field also contains additional information that the slave uses to execute the action defined by the function code This can include internal addresses quantity of items to be handled etc The data field of a response from a slave to a master contains the data requested if no error occurs If an error occurs the field contains an exception code that the master uses to determine the next action to be taken The data field can be nonexistent in certain types of messages Ethernet Communications Modules 3rd Edition Rev C 06 11
47. WAUTOMATIONDIRECT Ethernet Communications Modules Manual Number HX ECOM M WARNING Thank you for purchasing automation equipment from Automationdirect com doing business as AutomationDirect We want your new automation equipment to operate safely Anyone who installs or uses this equipment should read this publication and any other relevant publications before installing or operating the equipment To minimize the risk of potential safety problems you should follow all applicable local and national codes that regulate the installation and operation of your equipment These codes vary from area to area and usually change with time It is your responsibility to determine which codes should be followed and to verify that the equipment installation and operation are in compliance with the latest revision of these codes At a minimum you should follow all applicable sections of the National Fire Code National Electrical Code and the codes of the National Electrical Manufacturer s Association NEMA There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards We do not guarantee the products described in this publication are suitable for your particular application nor do we assume any responsibility for your p
48. a byte count of the following fields including the Unit Identifier and data fields 2 bytes Unit Identifier This field is used for intra system routing purpose It is typically used to communicate to a MODBUS or a MODBUS serial line slave through a gateway between an Ethernet TCP IP network and a MODBUS serial line This field is set by the MODBUS Client in the request and must be returned with the same value in the response by the server 1 byte This header provides some differences compared to the MODBUS RTU application data unit used on serial line Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for HO H2 H4 ECOM100 5 3 e The MODBUS slave address field usually used on MODBUS Serial Line is replaced by a single byte Unit Identifier within the MBAP Header The Unit Identifier is used to communicate via devices such as bridges routers and gateways that use a single IP address to support multiple independent MODBUS end units e All MODBUS requests and responses are designed in such a way that the recipient can verify that a message is finished For function codes where the MODBUS PDU has a fixed length the function code alone is sufficient For function codes carrying a variable amount of data in the request or response the data field includes a byte count e Protocol Identifier It is used for intra system multiplexing The MODBUS protocol is identified by the value 0 2 bytes
49. al To set an IP Address highlight the number in each of the four boxes and overwrite the number Use the twelve digit number assigned to the ECOM module by your network administrator If you change the IP Address do not use od D NetEdit3 Module ID Name the number 255 in any field Doing so will cause communication problems The OK button sends all the entries to the module s flash memory The following table summarizes NetEdit3 s Network Identifiers and their uses How to Set DIP Switch Number 1 63 NetEdit3 Number 1 90 Communication PLC to PLC or PC to PLC PLC to PLC or PC to PLC Restrictions Notes Disables Module ID in NetEdit3 DIP Switch must be set to 0 NetEdit3 NetEdit3 Number 1 999 999 999 32 Alphanumeric Char acters PC to PLC Only PC to PLC Only gt 90 Not for PLC to PLC HMI Software may have re strictions IP Address Ethernet MAC Address NetEdit3 4 Three digit Numbers XXX XXX XXX XXX See Page 2 4 Set at Factory 12 Hex digits Ethernet Communications Modules 3rd Edition Rev C 06 11 PC to PLC PLC to PLC Client Server using TCP IP or MODBUS TCP protocol PC to PLC Only See Your Network Adminis trator for IP address refer to pages 3 10 to 3 11 chapters 5 and 6 Factory assigned for IPX Using NetEdit3 Ea anro BOOM Settuiy ECOM Settings gt Clicking the Advanced button in t
50. al disturbances Cycle power to the system to attempt clearing the error The green 100 100MB LED is on steady when Ethernet data is detected at 100BaseT frequency HO ECOM100 only LINK indicator ACT Indicator ERR Indicator 100MBIT Indicator Ethernet Communications Modules 3rd Edition Rev C 06 11 7 5 Maintenance and Troubleshooting H24 ECOM F The table below describes the three status indicators on the H24 ECOM modules Indicators Status Indicator Description ON GREEN Properly connected to network LINKGD OFF No connected to network or incorrect configuration FLASHES RED Active network data OFF Network idle ON or FLASHING RED A fatal error has occurred OFF No error present ACT LINKGD indicator ThegreenLINKGD link good LED is on steady when the H24 ECOM F module is correctly connected to an active device on the network and is receiving 5VDC operating voltage from the PLC power supply The LINKGD LED verifies that the proper cables are connected and the H24 ECOM F module is functioning correctly If a mismatch with the 10BaseT or 10BaseFL connections occurs this LED will not be illuminated ACT Indicator The red ACT activity LED flashes to indicate that the module sees data travelling on the network If any network device is sending or receiving data the ACT LED will be illuminated In idle mode no network traffic this LED is OFF During heavy communication loa
51. an an ECOM be configured to talk through a gateway A Yes You configure the gateway to reroute traffic to and from the ECOM via port 7070 hex Q When using a DL205 with an ECOM is there a way to turn on the PLC outputs from a computer using a non Windows operating system A Host Engineering has what is called an Ethernet SDK software developers kit which can normally be downloaded free from their website However this will be useless for your system but to accommodate your operating system you can fill out a form located on the Host Engineering website and request the source code for the Ethernet SDK This is necessary so that Host Engineering will know who is using their source code The source code can then be recompiled to work on your system With the SDK recompiled for your system you can use CCM i e DirectNET protocol to turn on PLC outputs by simply knowing the memory types and ranges as required for syntax The request form and details about the SDK can be found on the Host Engineering homepage www hosteng com Once there click on EBC ECOM EDRV under S W Developer Kits in the left hand column Q What is the fastest way to get data from PLC to PLC A Install ECOM in both PLCs and use the RX WX commands is the quickest way to do this It is much faster that using serial communication Q Can the ECOM do a broadcast message to multiple slave devices A No Q Can the MAC address be changed A
52. beside any device whose EU62 2002 34 H2 ECOM 00 E0 62 60 01 31 E firmware is older than its firmware file in your Images folder The B column will display an asterick beside any device whose boot loader is older than its boot loader file in your Images folder The C column will display an asterick beside any device that has a configuration conflict with another device on the network Duplicate module IDs that are non zero and duplicate IP Addresses that are not 255 255 255 255 will report as conflicts Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications In This Chapter PLC to PLC Communications How RLL is Used for Communications Network Instructions Addressing the Different Memory Types Special Relays for Communications Example Program with One Read Instruction Example Program with One Write Instruction Integrating Multiple Read and Write Instructions 4 2 RLL Programming for Communications rp Oc 9 Ew 9 S5 SE oe 18 sO ro 2 PLC to PLC Communications This chapter steps you through the development of a Relay Ladder Logic RLL program to enable one PLC to communicate with another PLC For the experienced programmer of DirectLOGIC PLCs the communication programs presented in this chapter will be simple to follow If you have never programmed a DirectLOGIC PLC you may want to refer to the Direc
53. cations The internal contacts are called Special Relays there are other Special Relays used for other purposes There are two Special Relays for each slot in the base that will accept the ECOM module The two relays perform the following functions e Communication Busy This bit is on when the communication module is busy transmitting or receiving You must use this bit or relay contact to prevent overwriting your Read or Write RX WX instructions Communication Error This bit is on when an error occurred in the last RX or WX communication This error automatically clears the bit resets to zero when another RX or WX instruction executes For example Special Relays SP124 and SP125 correspond to an ECOM module eee in slot 3 of the PLC base S araa aa a SET The Special Relay SP125 is used in the example to energize the output Y50 indicating a communication error has LD occurred This Special Relay must 3 K204 appear earlier in the program than your D ARNA A RX or WX instruction because it is turned off reset to zero when a subsequent See oa i Read or Write instruction is executed i ae ciel The Special Relay SP124 indicates the es LDA ECOM is busy When SP124 is on the oS oi normally closed contact opens to prevent E executing another RX or WX instruction i RX until the last one is completed The A appropriate busy bit must be used as a NC contact on every RX WX instruction rung in the prog
54. ces itive hapa eh wee hea ekki hens ek ahd hades 2 7 H2 Series ECOM Module Installation 0 c ccc eee tee teen eens 2 8 PLAS SOP CROCE S ie n e iar a AY hee Maree Rh ET E E EA Lhe A hed 2 9 H4 Series ECOM Module Installation nunnana anaana 2 10 ECOM Network Layouts sssssnunnnnnnnnnnnrnnnnnnnnnnnrrnnnnnnnunnnnnnnnnnnnn 2 10 Network Cabling esere a a ea ins A A oe ne eee aaa E Aa A a a D ai S 2 12 ECOM Supports Two Standards sessen cnand cee Pans deve nsee ebeees Saag ecauss 2 12 10 100BaseT NetWorkS errre cee tw tak Beh Pa a ee A Bd ede ee Re oe E 2 12 10 1 00Base F CONNES 5 26 2 kde teak ooh eee 8 eng min a ac Valen Pan bar ea au hg doe dang 2 13 MI TPA AG sit i ete i es eels eas Gee ct te deg E en ne set a etc Gg anton ee fe lle EN 2 13 1OBASErL CONNGCHONS siriana eho bats ah see keke Dice aq edn hae Pace ee ate nae bee 2 13 Fiber Optic Cable ceca cect ead foci a e dal aries se E owe Sie he Bean ee dee 2 13 Fiber Optic Module ST Connector 00 cece eee eens 2 13 Maximum Cable Length waite atetatepiecce eis piwde ts ieee deledieuee tee deeeee eens 2 14 Maximum Number of ECOM Modules on the Network 00ceeee eee eee eeeeee eens 2 15 tt Table of Contents Chapter 3 Configuring ECOMs Using NetEdit3 NetEdit3 Software viii nes tole i ea cee Gea me ees Vinee eee eae eee Installing NetECNS eriein eke Hees a e won ey kite ee Merch ey s Reinet Mees La nching NetEdit3 messie taneet slate eee
55. com Click on Install NetEdit3 A series of windows will step you through the installation process Fill inthe necessary information as the installation wizard prompts through the install In the Setup Type window select Typical setup This setup type is recommended for most users The installation process places NetEdit3 in the C HAPTools directory default Ethernet Communications Modules 3rd Edition Rev C 06 11 Launching There are three methods to launch NetEdit3 Using NetEdit3 Ea NetEdit3 The three methods are e using the Windows Start menu Programs gt AutomationDirect Tools gt NetEdit3 as shown below e launching DirectSoft if installed from the programming window select PLC gt Tools gt NetEdit3 e launching DirectSoft if installed then select Utilities gt NetEdit3 Zz The NetEdit3 Starting NetEdit3 brings up the screen below All NetEdit3 functions are accessed pia Screen from this screen aS ra Module Info ECOM Settings ECOM Help General Help Configuration Utils Firmware Advanced Update Booter Peer to Peer Config Restore Factory Settings num Ready Ethernet Communications Modules 3rd Edition Rev C 06 11 3 4 Using NetEdit3 od D NetEdit3 Adding Network Protocol Support to the NetEdit3 PC You may have already set up your PC with selected networking protocols for Ethernet comm
56. cting to the your browsers Address field File Edit view Favorites Tools Help H0 H2 H4 Connecting to the module s HTML A ECOM100 Configuration utility brings up the Bac Forward stop Refresh window below Ader _10 1 97 79 gt Favor X eae SS ae eee mjo Jes y E x H2 ECOM100 by Automation Direct com Module ID 0 0x0 Module Name H2 ECOM100 Dini H2 ECOM100 Ethernet Communications Module Ethemet Address 00 E0 62 20 41 88 IP Setup Address 10 1 37 79 Subnet 0 0 0 0 Gateway 0 0 0 0 Booter Version 4 0 1583 OS Version 4 0 806 feet be Peed es 15 16 23 24 31 32 39 40 47 48 85 56 63 64 71 72 F CPU Rev 1 0 1 PWB PLD Rev 2A 1A Firmware Updates Hosteng com ecececeecesesececeeccocese F FEPSHORSPSFTS HSE P TFET IS A 3 a reoat To configure the module click on the desired parameter field A new window will open which are all described below and on the following page Clicking the Back button will take you back to the main configuration screen shown above Clicking the Send button writes the entry or change to the module s flash memory and clicking the Reset button reads the module s flash memory Module ID Module IDs must be unique for each ECOM butthey do not have to be in sequence The module s DIP switches must both be set to allow the HTML configuration tool to set a Module ID Do not use address zero for communications Module Name field and Module Description fi
57. d initiate communication with any one of the others Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications 4 3 Network Instructions Read RX and The Read RX and Write WX instructions are used by the initiating PLC to Reada Write WX block of data from another PLC or Write a block of data to another PLC To perform Instructions their functions the RX and WX boxes must be preceded in the ladder logic program by two Load instructions and one Load Address instruction The Load and Load Address instructions load communication parameters into the accumulator and the first and second level of the accumulator stack The RX or WX instruction takes these parameters from the stack and the accumulator and prepares the data to be sent over the network If you need to know more about the function of the accumulator and the accumulator stack refer to the User Manual for your PLC Building the For network communications you build LD Read RX or the Read RX or Write WX instructions Adaa Write WX into a routine which requires the four Routine instructions you see to the right The D function of each of these instructions is explained below or on the next page They Aaaa must be used in the sequence shown LDA O aaa RX or WX A aaa The first Load LD instruction accepts either a constant or a variable Use a K to designate the number as a consta
58. ddress for normal communications It only serves as a default setting which can be changed using NetEdit3 The valid settings are 1 through 254 You do not have to change the default IP Address unless you are using the IP Address to link to your ECOM module The default setting does not cause conflicts with other network gS communications Ja If you change the default IP Address for linking to other network devices you must 35m change all four 0 fields If any field contains the number 255 and other fields have De been changed the module will not be recognized on the network Example Client PC ECOM Subnet Mask 255 255 0 0 Valid Client PC ECOM IP Address 192 168 50 2 1 254 Valid Server ECOM IP Address 192 168 55 5 Valid settings for Bold number fields Valid Server ECOM IP Address 192 168 70 15 Do not duplicate WARNING It is extremely important not to have duplicate IP Addresses on your network If you are using the IP Address to link the ECOM to any network devices PCs or PLCs the ECOM must have a unique number wrt mo Ethernet MAC A unique Ethernet MAC Address is assigned to each module at the factory and will Address not change It is printed on a label attached to each ECOM module The Ethernet MAC Address is recognized by NetEdit3 The Ethernet MAC Address is a twelve digit number with no deliberate relationship to your network or functional areas of your plant It does not usually serve as a con
59. de number Use the Device number here IP Address Enter the server s IP address in the field beside the Device Number Again this associates the Device Number to the the entered IP address Peer to peer Configuration ECOM C Modbus TCP Port 502 Unit ID 255 CECOM Modbus TCP Port 502 Unit ID 255 Device 2 10 7 4051 IP Protocol Select the protocol that the client HO H2 H4 ECOM100 will be using to communicate with the server device Select the ECOM radio button if the target device is another ECOM module Select the MODBUS TCP button if the target device is a MODBUS TCP server Ethernet Communications Modules 3rd Edition Rev C 06 11 6 6 DHCP amp HTML Configuration The Port Number and Unit ID are only used if the HO H2 H4 ECOM100 client is S trying to communicate with a MODBUS TOP server device through a firewall or an E Ethernet to serial converter 5 OE Peer to peer SOME Oo 5O Device 1 10 1 39 80 ECOM C ModbuS TCP Port 502 Unit ID 255 Device 2 i0 1 4081 CECOM Modbus TCP Porr foz Umit Di5 Port Number The MODBUS TCP specification states that all MODBUS TCP devices respond to server and send client on port 502 This will allow a MODBUS TCP server device to communicate with an HO H2 H4 ECOM100 MODBUS TCP client through a firewall Unit ID The Unit ID may be required for the following applications e MODUS TCP to MODUS RTU converters These devices convert Ethernet T
60. ds this LED will be steady on ERROR Indicator If the H24 ECOM F module s red ERROR indicator is flashing or steady on a fatal error has occurred The error may be in the H24 ECOM F module itself or a network problem may be causing this symptom The ERROR indication can be caused by a faulty ground an electrical spike or other types of electrical disturbances Cycle power to the system to attempt clearing the error Bunooyussjqnoly pug soueuelule Ethernet Communications Modules 3rd Edition Rev C 06 11 7 6 Maintenence amp Troubleshooting H2 H4 ECOM100 The H2 H4 ECOM100 module has several status indicators The table below Indicators explains the status for each indicator Indicator Status Description STATUS ON GREEN Module is powered up and functional H2 ECOM100 only OFF Module powerup failed ON GREEN Properly connected to network LINKGD OFF Not connected to network or incorrect configuration ON or FLASHING RED Active network data OFF Network idle ON or FLASHING RED A fatal error has occurred OFF No error present ON Ethernet data is detected at 100MBit 100MBIT OFF with Active LED ON Ethernet data is detected at 10MBit ACTIVE ERROR Tb Cc Can o S Cc oO o S E oO Troubleshooting STATUS Indicator The green OK LED on the H2 ECOM100 module is on steady after a successful powerup If the LED fails to turn on the module failed to po
61. e latest firmware and boot loader files from the Host Engineering E ecwvor lew web site and place them in the NetEdit3 Images folder that was created during the install of NetEdit8 The feature requires that you have a functional Internet connection dial up or broadband If the Images folder does not exist on your PC it will be created as part of the retrieval process Live Update Export Exit a Live Update i Whe n yo u cl i ck th e G o butto n This utility will check for the latest firmware for most Hx and T1H products and on th e L ive U p d ate wi n d ow download them to the images directory N et Ed it3 wi com p are the Prior to continuing please make sure your internet connection is active version information of the files iyi You ate readk press Gol on the Host Engineering web pannel site against the files you have locally on your PC and it will download any newer files Once this process is complete NetEdit3 will rescan the devices on your network and refresh the F and B columns next to the listed devices Stop Update complete Buisn o m 2 co F B C Columns The F B and C columns are provided to signify potential issues with devices on the network Ethernet Address F B Module Type 00 E062 00 0E F5 o K H2 EBC 00 0 62 40 19 40 TLHEBC100 The F column will display an 00 E0 62 20 23 5E HO ECOM asterick
62. e oe wee oe Bite e a ete abe Ss Beare aes SAGs 5 Beak a d ae ee 4 19 Returning to the First RX WX Instruction nnns nunana 4 19 Shift RGGISIGN au Bice chee tw E EE coh thee Re NA oon E nm Skat oametagee eke 4 20 Store It QUAL sorier aeae dans ud sae esti Ashe Asahi al habe Sons E E Anda ey Sabie eid ae ed ore 4 20 First RX WX Instruction 245 2 Satea Moe in Cee Sen Pak R ee Aes Pete ei ue eae tee cena 4 21 Second AX WX Instruction s2 2sseceds Sat eee a ee os Bee ee yA See oe 4 21 Third RX WX INSHUCHON si it cee and ee Soe eek oebs E saree eter eewenay ed 4 21 Chapter 5 MODBUS TCP for H0 H2 H4 ECOM100 MODBUS TOP reskin ae cet a Eaa laa hee E aE Seen we ee rs le ocr aie a E EAE one 5 2 Client Server Model 3c euitele it ables out Met tae Sauk ate ee awa latte 5 2 Protocol DEScriplOn s daris see sks et ee OM EN ore ede ea okt So ee ee eee ke 5 2 Supported MODBUS Function Codes 2 cece eee eee eee eee eee eens 5 4 Network Server Slave Operation 00 00 cece eect eee eee eee 5 5 MODBUS Function Codes Supported nnana cece 5 5 Determining the MODBUS Address 000 cece eee teens 5 5 If Your Host Software or Client Requires the Data Type and Address 0 5 6 Example 1V2 T00 Sie ct elem ds nee etd ed eel eee awn Wien Ge ee deat ae 5 11 Example 22 V20 i nra ou Sten T E Bea oe aa a aA PEA or E EE E 5 11 Example 3 T10 Current Value ns g Biter a d Meditate peace en Shine be aoe ad BEES 5
63. e switches 1 2 and 3 to the ON position the Module ID will be 14 This is found by adding 8 4 2 14 The maximum value you can set on the DIP switch is 32 16 8 4 2 1 63 This is achieved by setting switches 0 through 5 to the ON position Ethernet Communications Modules 3rd Edition Rev C 06 11 2 6 Setup and Installation Ignore these numbers H4 ECOM F eal pa ON O A a LA Not Used in a jol_ A gt I oS i Sy o jo m o2 2s v jo I pe 7 m mj 25 24 93 92 91 20 32 16 8 4 2 0 The numbers 0 7 printed on the circuit board indicate the power of 2 represented by each slide switch Binary Value The Module ID equals the sum of the binary values of the slide switch set in the ON position For example if you set slide switches 0 1 and 3 to the ON position the Module ID will be 11 This is found by adding 8 2 1 11 The maximum value you can set on the DIP switch is 32 16 8 4 2 1 63 This is achieved by setting switches 0 through 5 to the ON position aes NOTE When all the switches are set to OFF Module ID 0 the Module ID can be R set using the software utilities in NetEdit and DirectSOFT Do not use Module ID 0 for normal communications Itis okay to leave the Module ID set at zero if you are using the Name
64. eans an address alone can actually describe the type of data and location This is often referred to as adding the offset The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X GX SP Y CR S T C contacts e Word V Memory Timer current value Counter current value In either case you basically convert the PLC octal address to decimal and add the appropriate MODBUS starting address as required The following tables show the exact range used for each group of data NOTE For an automated MODBUS Koyo address conversion utility download the file modbus_conversion xls from the www automationdirect com website Discrete Data Types PLC Memory Type PLC Range MODBUS Address QTY Dec Octal Range Global Inputs GX Inputs GX 2048 GX0 GX1746 10001 10999 Read GX1747 GX3777 11000 12048 oniy a cs E Read Outputs a C a A C 00 Refer to your PLC user manual for the correct memory mapping size of your PLC Some of the addresses shown above might not pertain to your particular CPU Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for H0 H2 H4 ECOM100 Word Data Types Read ie V Memory 128 V40000 V40177 416385 416512 316385 316512 Read Remote Inputs only V Memory 128 V40200 V40377 416513 416640 316513 316640 Read Remote Outpu
65. elds are optional to Module Name 02 260 PLC System identify the module Click the Send button to write to the Beck Send Reset module s flash memory Module Description Machine Control Back Reset Ethernet Communications Modules 3rd Edition Rev C 06 11 6 4 DHCP amp HTML Configuration Configuration pam I o aii I a Ethernet Address this is the MAC Address It is a factory assigned address that is on the permanent label on the module IP Configuration Set IP Address Subnet Mask and Gateway addresses Click the Send button to write to the module s flash memory TP Configuration Mo del C Obtain an IP address automatically Use the following IP address TP Address 10 1 37 79 Subnet Mask 0 0 0 0 Gateway 00 0 0 Back Reset The module s current Booter Version and OS Version are listed The latest versions can be found by clicking Hosteng com in the Firmware Updates field The module s current CPU Rev and PWB PLD Rev are listed The latest versions can be found by clicking Hosteng com in the Firmware Updates field Firmware Updates If your PC is connected to the internet clicking on Hosteng com will take you to Host Engineering s web site where the most current firmware files are available for downloading to your PC You must use NetEdit3 5 or later to upgrade the module Ethernet Communications Modules 3rd Edition Rev C 06 11 H0 H2 H4 ECOM100
66. ess that was assigned to it by a DHCP server Disabling DHCP and Assigning a Static IP Address You can use NetEdit3 5 or the HO H2 H4 ECOM100 s HTML Configuration page to disable DHCP and assign a static IP address to the module Click on the Use the following IP Address button and enter a valid IP address for your network application l Kk I o ai L m Configuration NetEdit3 5 refer to chapter 3 xi Module ID E Obtain an IP address automatically Use the Following IP settings Name D2 2610 PLC System IP Address mo 1 7 8 Description Machine Control Subnet mask o 0 9 0 Gateway a 0 EERS Cancel HTML Configuration IP Configuration Obtain an IP address automatically Use the following IP address IP Address 10 1 37 100 Subnet Mask 0 0 0 0 Gateway 0 0 0 0 Back Reset Mode Ethernet Communications Modules 3rd Edition Rev C 06 11 DHCP amp HTML Configuration 6 3 Using HTML Configuration The HO H2 H4 ECOM100 can be configured by using your PC s internet browser to oF access the module s HTML configuration page This method of configuration uses SO the TCP protocol so you must know the HO H2 H4 ECOM100 s IP address to al establish communications The IP address may have been assigned by a DHCP ce server default or may have been set by using NetEdit3 5 or later os Enter the module s IP address in Conne
67. f these example programs both the initiating PLC and the responding PLC must be in RUN Mode Ethernet Communications Modules 3rd Edition Rev C 06 11 i oc 9 EG E O SE oe I e ae xo 4 16 RLL Programming for Communications Rung 1 Rung 2 Rung 3 Rung 4 Program for the Responding PLC In our example the normally open contact labeled XO is a toggle switch input to a discrete input module When XO is on Control Relay CO is energized The second rung uses a Special Relay to identify a communication error In the example SP123 is on if there is a communication error present in slot one Use different Special Relays if your ECOM module is in a different slot see page 4 11 and 4 12 We use SP123 to turn on an indicator light connected to a discrete output The Special Relay labeled SP122 is on when slot 1 is busy transmitting or receiving The Write instruction may take longer than one PLC scan to complete Use this Special Relay to prevent overwriting the previous Write instruction with each PLC scan Eppes Byie Lower Byte Initiating PLC Responding PLC Master KO 114 Slave Base Number 3 ECOM Slot Number ECOM Module ID BCD XO co m i OUT SP123 v1 K SET SP122 LD K0114 LD K2 LDA 040600 Number of bytes to be transferred Max 128 bytes Beginning
68. face of each module give vital information about the status of the module and the communication link The 10 100BaseT modules use standard RJ45 modular connectors and the 10BaseFL modules use ST style bayonet connectors DLO5 06 ECOM Modules DL205 ECOM Modules DL405 ECOM Modules ECOM Communication Possibilities HO ECOM H2 ECOM H4 ECOM HO ECOM100 H2 ECOM100 H4 ECOM100 H2 ECOM F H4 ECOM F H0 H2 H4 ECOM100 modules shown NOTE If you are using a DO O6LCD in your DLO6 PLC the date code for the display unit must be 032A_ or later to be compatible with the HO series ECOM modules You can use the ECOM modules to share data between two or more DirectLOGIC PLCs or between DirectLOGIC PLCs and personal computers The H0O H2 H4 ECOM100 additionally allows client server communications with other Ethernet devices using the MODBUS TCP protocol Communication between PLCs MODBUS TCP devices is accomplished by using the Read Write RX WX instructions which are available in the DirectSOFT Programming Software Users Manual Chapters 4 and 5 explain the use of the RX WX instructions You can also use a personal computer running DirectSOFT Programming Software to program your PLCs over the Ethernet network It is just like programming through the programming port on the CPU but with the convenience of doing it from a single location Use catalog number PC DSOFT5 to program the complete DirectLOGIC family of PL
69. figuration il allow you specify a Node Et Device Number as the slave Dase identifer in the range of 1 87 Dette at The Peer to Peer Configuration information is stored in the ECOM 100 module s flash ox memory This basically Caneel _ associates a Device Number that is used by the RX WX instructions with a server s IP address Clicking on the Add button in the Peer to Peer Configuration window will display the Add Device Address window shown FXAWX Device Number 1 to the right Enter the necessary server s 3 Device Configuration network information i e Device Number server s IP address and protocol You 9 Eo me can manually enter the information or you IP Address T can click on the Find Hx ECOM button to display all local ECOMs currently on the Becso EE network MODBUS TCP device s rience network information will have to be entered manually Refer to page 6 6 for IP Address information on Port and Unit ID Numbers Clicking the OK button adds the Device Ra aE Configuration to the main peer to peer Unit ID configuration screen Be certain not to J duplicate Device Numbers Cancel Ethernet Communications Modules 3rd Edition Rev C 06 11 Clicking on the Find Hx ECOM button in the Add Device Address window will display the Select ECOM window shown to the right Highlight the server ECOM that you intend to communicate with peer to peer via the clien
70. ftware NetEdit3 Communications 10BaseFL Ethernet fiber optic Data Transfer 10 Million bits per second Extension Port ST style fiber optic connector Link Good Indicator LINKGD Green LED Activity Indicator ACT Red LED Error Indicator ERROR Red LED Power Consumption H2 640mA H4 670mA Supplied by base Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 30 95 RH non condensing Environmental Air No corrosive gases permitted Networking Protocols Supported TCP IP IPX Manufacturer Host Automation Products Link Distance Up to 2 000 meters 2Km 6 560ft 1 2 miles Ethernet Standards Various institutes and committees have been involved in establishing Ethernet data communication standards These specification standards assure Ethernet network compatibility for products from a broad variety of manufacturers The ECOM module complies with American National Standards Institute ANSI and Institute of Electrical and Electronic Engineers standard ANSI IEEE 802 3 Carrier Sense Multiple Access with Collision Detection CSMA CD Access Methods and Physical Layer Specifications This standard has been adopted by the International Organization for Standardization ISO as document ISO IEC 8802 3 The Electronic Industries Association EIA and Telecommunications Industries Commercial Building Telecommunica
71. h the slave When the bit is off the program can initiate the next network request The Port Communication Error bit turns on when the PLC has detected an error Use of this bit is optional When used it should be ahead of any network instruction boxes since the error bit is reset when an RX or WX instruction is executed If you are using multiple reads and writes in the RLL program you have to interlock the routines to make sure all the routines are executed If you don t use the interlocks then the CPU will only execute the first routine This is because each port can only handle one transaction at a time In the example to the right after the RX instruction is executed CO is set When the port has finished the communication task the second routine is executed and CO is reset If youre using RLLP LUS Stage Programing you can put each routine in a separate program stage to ensure proper execution and switch from stage to stage allowing only one of them to be active at a time Ethernet Communications Modules 3rd Edition Rev C 06 11 interlocking Relay SP122 C100 I A Ki14 LD K3 LDA 040600 RX Interlocking Vo Relay C100 sE SP122 C100 LD 1 K114 LD K3 LDA 040400 WX vo C100 R87 MODBUS TCP IP for H0 H2 H4 ECOM100 H0O H2 H4 ECOM100 System Memory HO H2 H4 ECOM100
72. hange Protocol nsc lt aes wave iw ous Rice ene ae foes See adn ee ea ee Be PEs eS 7 8 Ethernet Stats dc mohccuethnche a nit asbeee teas be eed be kitkiaade eee teabeeheeaa ds 7 8 RX WX Settings S accu iis Orc yeas E ES E wa Neen aint Rates wide mest bie ies a 7 9 Record the bc co ede Posse ih reve ede Path oh etd eee a ae Piss g Ret ahd a a Pace a Petes auereee 7 9 Mod le Settings soda erates eee a2 the E E ten aol tas Ne tests Le eae Bad tet E E gee 7 9 Replacing the ECOM Module 2 056 ciciene ci devi ei elise inet sages ee i eee we 7 10 Diagnosing Network Cable Problems 02c cece eee ee eee eee eee eee eee eens 7 11 Appendix A General Specifications General SpeciticaOnsS lt 2 songs Ses odes ook ak wares eater de oa ERE Sea eet A 2 Ethernet StanGards ineen Ses aes oe ae he ace ae ate a ee wa eae sie See eae A 4 Ethernet Communications Modules 3rd Edition Rev C 04 11 Introduction In This Chapter Manual Overview ECOM Module Introduction Frequently Asked Questions 1 2 Introduction Manual Overview The Purpose of This manual describes how to use the this Manual Ethernet Communication ECOM Modules You will find information about e Setting up the ECOM module e Network layouts e PC to PLC communications e PLC to PLC communications e RLL programming examples e Maintenance and troubleshooting 2 O 5 D fe Other Reference Other DirectLOGIC manuals may be usef
73. he ECOM F Sa SEIS _ Configuration gt Settings gt Configuration box brings up the Advanced ECOM Advanced Settings window below General Advanced RX WX Settings box in this window provides a place to make changes that affect PLC to PLC xj communications RAW Settings ACK Timeout sets the time limit for receiving SEA the acknowledge ACK response to an RX or WX PiE Minaa m instruction The ECOM sends a message across a 00 the LAN The acknowledge response comes back pre Lanes i directly from the ECOM module receiving the Renes fi i KSequence Settings S S E transmission This timeout is the maximum for transmission and acknowledgement from ECOM to ECOM across the LAN It is not dependent on the PLC scan time Retries 2 2 Resp Timeout sets the maximum time for the receiving PLC CPU to respond to the ECOM that Cancel initiated the communication The instruction has travelled from the initiating PLC CPU to the initiating ECOM across the Ethernet LAN to the receiving ECOM then to the receiving PLC CPU and back again to the initiating ECOM Multiple PLC scans may be required to execute an RX WX instruction so the Resp Timeout should allow for multiple scans Also communication errors may result in retries which require more time Your response timeout setting must accommodate retries as well The WX RX Retries field shows the number of times the ECOM will retry tran
74. he Ethernet MAC Address in the Module box To begin a new statistical record click the Clear Stats button ge an o S Cc oO oO S E ao gt Troubleshooting The diagnostic information available in the Ethernet Stats box is e Missed Frames frames lost due to unavailability of buffer space e TX Collisions detected when RXD and RXD become active during a data transmission Two devices are trying to communicate at the same time e Lost Packets packets that overflow the queue e Bad Packets packets that fit the Ethernet standard but are not in the right format for the ECOM module e Unknown Type a foreign command was received and could not be interpreted This will probably happen only during software driver development e Send Errors the Ethernet standard number of retries were attempted for a transmission Ethernet Stats Reset Stats H Missed Fr 0 B ad Pkts 0 TX Coll 0 Unknown 0 Lost Pkts 0 TX Errors 0 Ethernet Communications Modules 3rd Edition Rev C 06 11 7 9 Maintenance and Troubleshooting RX WX Settings The RX WX Settings box in this window provides a place to make changes that affect PLC to PLC communications only ECOM Advanced Settings x Change these settings only if e The LINK LINKGD LED is on p RKA E e The ACT LED is flashing e You have explored the module configuration and RLL programming for possible errors S ACK Timeout
75. ic Cable The H2 ECOM F and H4 ECOM F modules accept 62 5 125 multimode fiber optic MMF cable The glass core diameter is 62 5 micrometers and the glass cladding is 125 micrometers The fiber optic cable is highly immune to noise and permits communications over much greater distances than 10BaseT Fiber Optic Module Multimode Fiber Optic MMF Cable Fiber cross section ST Connector Transmit Sheathing Receive 62 5 125 MMF cable with f bayonet ST style connectors Cladding Connecting Two Transmit Fiber Optic ECOMs Transmit Gm 5 Receive Receive NOTE See page 2 14 for 10BaseFL distance limitations Ethernet Communications Modules 3rd Edition Rev C 06 11 2 14 Setup and Installation Maximum Cable Length The maximum distance per 10 100BaseT cable segment is 100 meters or 328 feet Repeaters extend the distance Each cable segment attached to a repeater can be 100 meters Two repeaters connected together extend the total range to 300 meters 10 100BaseT Distance Limitations 100 meters 100 meters os 328 feet 328 feet ZO oT 2 a O2 OS 5 100 meters yr 100 meters 328 feet 100 meters 328 feet 328 feet Between Repeaters The maximum distance per 10BaseFL cable segment is 2 000 meters or 6 560 feet Repeaters extend the distance Each cable segment attached to a repeater can be 2 000 meters Two
76. igning a Static IP Address Using HTML Configuration 6 2 DHCP amp HTML Configuration H0 H2 H4 ECOM100 DHCP DHCP Issues The HO H2 H4 ECOM100 is configured at the factory to look for a DHCP Dynamic Host Configuration Protocol server at power up DHCP provides a way to allocate IP address dynamically to devices on a local area network LAN A system or network administrator configures a DHCP server with a range of IP addresses that can be assigned to DHCP enabled clients servers i e HO H2 H4 ECOM100 In addition to an IP address a DHCP server can provide other information such as DNS domain or a gateway IP address DHCP uses the concept of a lease or amount of time that an assigned IP address will be valid for a client The lease time can vary depending on how long a user is likely to require the network connection at a particular location Since the TCP IP configuration is leased to the client that is its nota permanent configuration This information can change from one power up session to the next While this is an acceptable solution for the initial testing and setup of your HO H2 H4 ECOM100 device we do not recommend that you use DHCP to assign IP addresses for your runtime operation Use NetEdit3 5 or the HO0 H2 H4 ECOM100 s HTML Configuration page to assign a static IP address to the module shown below NetEdit3 5 can be used to connect to a HO H2 H4 ECOM100 using the IPX protocol regardless of the IP addr
77. il Coil 2065 3 Add the starting address for the range 2049 4 Usethe MODBUS data type from the table Control Relays CF CoO C7 3072 3551 Find the MODBUS address to obtain the PLC Address Dec Data Type current value from Timer T10 TA10 8 decimal 1 Find Timer Current Values in the table 8 Input Reg Input Reg 8 2 Convert T10 into decimal 8 3 Usethe MODBUS data type from the table Timer Current Values 0 YO w177 0 127 Input Register Counter Current Values tv i280 1000 1177 512 639 Input Register Find the MODBUS address for Control Relay PLC Addr Dec Start Addr Data Type Got C54 44 decimal 1 Find Control Relays in the table 44 3072 Coil Coil 3117 coin 3117 2 Convert C54 into decimal 44 3 Add the starting address for the range 3072 4 Use the MODBUS data type from the table A a Control Raye C jee 0 Garr awe Xa eh Ethernet Communications Modules 3rd Edition Rev C 06 11 ou ip faa im H0O H2 ECOM100 MODBUS TCP for HO H2 H4 ECOM100 If the Host Software Some MODBUS TCP clients do not allow you to specify the MODBUS datatype and address or Client Requires an Instead you specify an address only This method requires another step to determine the Address ONLY address but it is not difficult Basically MODBUS also separates the data types by address ranges as well This m
78. ind Y outputs in the table 2 Convert Y20 into decimal 16 3 Add the starting address for the range 2048 4 Add the MODBUS address for the mode 1 Outputs r Control Relays CR 256 CO C3 3072 imer Contacts Th Example 3 C54 C54 1 Find Control Relays in the table 2 Convert C54 into decimal 44 3 Add the starting address for the range 3072 4 Add the MODBUS address for the mode pays eer fT 1 ww PLC Addr Dec Start Address Mode Y20 16 decimal 16 2048 1 2065 CENA COE E TO T177 6144 6271 Find the MODBUS address for Control Relay PLC Addr Dec Start Address Mode C54 44 decimal 44 3072 1 3117 1 1 i control Rape C 268 co er or seat Cea To_ tir era ear ou op faa a H0 H2 ECOM100 Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for H0 H2 H4 ECOM100 5 15 Network Client master Operation This section describes how the DL05 06 205 405 CPU can serve as a client on a MODBUS TCP network using the HO H2 H4 ECOM100 This section discusses how to design the required ladder logic for network client operation Client MODBUS TCP Servers Slave 1 Slave 2 Slave 3 MODBUS TCP Protocol When using the ECOM100 as a client on the network you use simple RLL instructions to initiate the requests The WX ins
79. ion Rev C 06 11 5 7 MODBUS TCP IP for H0 H2 H4 ECOM100 Dec Octal Address Range Data Type For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type me For Word Data Ta Convert PLC Addr to Dec Data Type Courier Curent Values a Cre EEE Memory user data V 256 V400 V677 256 511 Holding Register 3072 V1400 V7377 768 3839 4096 V10000 V17777 4096 8191 DL240 Memory Type QTY PLC Range MODBUS MODBUS Dec Octal Address Range Data Type For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type Special Relays SP 144 SPO SP137 3072 3167 Input For Word Data i Convert PLC Addr to Dec Data Type V Memory user data V 256 V4000 V4377 2048 2303 Holding Register non volatile V Memory system V 106 V7620 V7737 3984 4063 Holding Register V7746 V7777 4070 4095 Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP H0O H2 ECOM100 MODBUS TCP for HO H2 H4 ECOM100 DL250 1 Memory Type QTY PLC Range MODBUS MODBUS Dec Octal Address Range Data Type For Discrete Data ee se PLC Addr to Dec Start of Range Data Type SPO SP137 3072 3167 Input SP320 SP777 3280 3583 Control GLA o 3072 4095 For Word Data i Convert PLC Addr to Dec Data Type eet ee ee a E a Memory user data V EN V1400 V7377 768 3839 Holding Register 4096 V10000 V17777 4096 8191 V Memory system V 256 V7400 V7777 3840 4095
80. ion error i oc 9 EG E O SE oe I e ae xo Expansion Base 2 Communication busy Communication error Expansion Base 3 Communication busy Communication error Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications 4 13 Program with One Read Instruction The Ladder View screen below is the program development screen in DirectSOFT Programming Software This four rung program is explained in detail on page 4 14 This is a complete program although its function is very limited There is also a two rung program that runs in the responding PLC and itis also explained on page 4 14 Program for the inix Initiating PLC LDA 040600 RK c100 Program for the EE for c100 A Responding PLC a E z END When the toggle switch input to the responding PLC is turned on transitions from O to 1 the CO bit in the initiating PLC transitions from O to 1 The program in the initiating PLC causes YO to turn on in response to the CO bit Module ID 3 se Module ID 14 mk fe fe Z gt O S fe 5 D Bulwwesbolg TIH Responding PLC Hub slave Initiating PLC master For the purpose of these example programs both the initiating PLC and the responding PLC must be in RUN Mode
81. iple of two bytes between 2 and 128 For Bit Memory data you can use any multiple of one byte between 1 and 128 For more information about addressing Word and Bit Memory see page 4 6 PLC Memory The Load Address LDA instruction specifies the V memory address of the beginning memory register in the initiating or master PLC The data block to be transmitted will begin at this address and extend the number of bytes specified in the preceding LD instruction The leading O indicates this is an octal number Simply substitute the letter O for the V in the V memory designation For example V40600 becomes 040600 Read instructions copy the data block from the responding PLC memory into the initiating PLC memory Write instructions copy the data block from the initiating PLC memory into the responding PLC memory Initiating PLC Ethernet Communications Modules 3rd Edition Rev C 06 11 K114 LD 4 words 8 bytes V40577 V40600 V40601 V40602 V40603 V40604 K114 K8 LDA 040600 RLL Programming for Communications 4 5 The Read RX instruction specifies the LD memory location to be read from the K114 responding PLC A block of data is read that begins at the LD specified memory location a
82. ire the use of a crossover cable Ethernet Communications Modules 3rd Edition Rev C 06 11 2 12 Setup and Installation Network Cabling ECOM Supports Two types of ECOMs are available One type supports the 10 100BaseT cabling Two Standards standard and the other supports the 10BaseFL connection standard The 10 100BaseT standard uses twisted pairs of copper wire conductors and the 10BaseFL standard is for fiber optic cabling 10 100BaseT 10BaseFL oe Unshielded 62 5 125 MMF Se Twisted Pair fiber optics cable os cable with RJ45 with ST style 2s connectors connectors Ns 10 100BaseT The cable used to connect a PLC or PC to a hub or repeater is called a patch Networks straight through cable The cable used to connect together two PLCs or a PC and a PLC or two hubs is a crossover cable We recommend that you purchase cables pre assembled with connectors for convenient and reliable networking Patch Straight through Cable TD 7 OBMHT ORMHT y FD Tp 2 QR a gt 7p Rp 3 GRNMWHT GRNIWHT 5 ap 4 BLU BLU 3 10 100BaseT 5 BLUWHT BLU WHT 5 RD 6 GRN GRN pp gt LBRN WHT BRN WHT 8 BRN BRN 8 RJ45 RJ45 Crossover Cable 12345678 Dr 4 GRN WHT 8 pin RJ45 Connector TD 2 TD 2 8P8C RD 3 RD 3 4 4 5 5 0 RD 8 BRNWHT BRNWHT RO 8 3 BRN BRN 8 RJ45 RJ45 This diagram illustrates the
83. it3 We will describe the individual segments of the NetEdit3 screen and the function of each NOTE Your PC based Control software may be capable of configuring the EBC module If so please refer to the appropriate documentation for that software product to determine the best method to configure the EBC Depending on which software you are using it may not be necessary to use NetEdit3 Ethernet In the upper left corner of the NetEdit3 screen you will find buttons labeled PX and Communication TCP IP The ECOM module understands these protocols Both protocols are Protocol permanently resident in the firmware of the module When you click on one of these buttons you are selecting the protocol you want your PC to use to communicate with the ECOM module You are not telling the module which protocol to use because it is using both protocols all the time IPX is a Novell standard in widespread use and UDP IP is a popular protocol supported by the TCP IP suite of protocols in your PC The figure to the right shows the NetEdt3 Protocol selection buttons in the upper left corner of the NetEdit3 screen The File Network View Help choice you make here tells your PC which protocol to send to the ECOM to link NetEdit3 to the module Buisn Scan TCPAP Network Ethernet Address lF B 00 E0 62 40 00 02 JU Ue OO FN A end ns o m 2 ee Some PC based control software products may support
84. lues None VO V177 TAO TA177 Counter Current Values User Data Words None None V1000 V1177 V1400 V7377 CTAO CTA177 None Input Points Output Points XO X477 YO Y477 V40400 V40423 V40500 V40523 VXO VX460 VYO VY460 Control Relays Special Relays CO C737 SPO 137 SP320 SP617 V40600 V40635 V41200 V41205 V41215 V41230 VCO VC720 VSPO VSP120 VSP320 VSP600 Timer Status Bits Counter Status Bits Stages TO T177 CTO CT177 SO S577 V41100 V41107 V41140 V41147 V41000 V41027 VTO VT160 VCTO VCT160 VSO VS560 Remote I O GX0 GX777 V40000 V40037 VGX0 VGX760 SUOI EOIUNWIWWOD JO Bulwwesbolg TIH Ethernet Communications Modules 3rd Edition Rev C 06 11 D4 440 CPU RLL Programming for Communications D4 440 CPU Data Registers Timer Current Values Bit Memory None Word Memory VO V377 TAO TA377 Counter Current Values None V1000 V1177 CTAO CTA177 User Data Words None V1400 V7377 V10000 V17777 None Input Points XO X477 V40400 V40423 VXO VX460 Output Points YO Y477 V40500 V40523 VYO VY460 Control Relays CO C1777 V40600 V40677 VCO VC1760 Special Relays SPO 137 SP320 SP717 V41200 V41205 V41215 V41234 VSPO VSP120 VSP320 VSP700 Timer Status Bits TO
85. m for the Initiating PLC co veceey ened same s sedate cued sees SEG eked sae eres Program for the Responding PLC cc cece eee eee teens Ethernet Communications Modules 3rd Edition Rev C 04 11 Table of Contents iio RUNG Aare oe ENE KRA A E hed ee EE A EE A EE Med E A 4 14 Program for the Responding PLC cece eee eee tenes 4 14 Example Program with One Write Instruction 0 0c cece e ee eee eee eee 4 15 Program for the Initiating PLC 2 25 bss cq enel waa ee eh ead eee sere eas were Len eee ates 4 15 Program for the Responding PLC 0 cece eee eee eens 4 15 RUNG lth aia hee bl e abet belt el batt id tay ei cated et ooh tee Eea 4 16 FUNG 2o 205 e sede totes a eet Bae late My eek i ee Re ee eS ea OR oe ee ee ea eS 4 16 RUNG SA i aac ot Feng Papeete aed e Gig Meee eae i te bing eee ae Dee iris Pare Sut eddie Seared 4 16 RUNG A cs cia reg cheat ac teal a eae Bd tte cre aaa a EA at ESAE ae Sad iMate ds EEE AN E 4 16 Program for the Responding PLC 0 cece cece teen ees 4 16 Integrating Multiple Read and Write Instructions 0c cece eee eee eee 4 17 Interlocking Relays aiite cybee ve Ried Sets apc baie Beech ty hale tts elie delle Sore shed tee elie aE a i 4 17 First RX WX InStr ctioN eiacss eee ts is ak a er EN ee lish ee eR SG a actin te a eral Ae 4 18 Second AX WX Instruction Suc cecs perce secs Pee aaeeeeeaeses EEE ESERE soot dares 4 19 Third RX WX INISEPUIGHON cec
86. n LED Activity Indicator ACT Red LED Error Indicator ERROR Red LED Power Consumption H2 450mA H4 530mA Supplied by base Operating Temperature 32 to 140 F 0 to 60 C Storage Temperature 4 to 158 F 20 to 70 C Relative Humidity 30 95 RH non condensing Environmental Air No corrosive gases permitted Networking Protocols Supported TCP IP IPX Manufacturer Host Automation Products Link Distance 100 meters 328 feet Ethernet Communications Modules 3rd Edition Rev C 03 11 HO ECOM100 Module Type General Specifications Intelligent Data Communications Module Quantity of Modules Per Base Defined by CPU and base configuration Diagnostics LEDs Network Monitoring Software NetEdit3 Communications 10 100BaseT Ethernet gt xe ke fo J 2 x gt Data Transfer Extension Port 100 Million bits per second RJ45 Link Good Indicator LINK Green LED Activity Indicator ACT Green LED Error Indicator ERR Red LED 100MB Transfer Rate 100M Green LED Power Consumption 300mA Supplied by DLO5 06 base Operating Temperature Storage Temperature 32 to 140 F 0 to 60 C 4 to 158 F 20 to 70 C Relative Humidity 30 95 RH non condensing Environmental Air No corrosive gases permitted Networking Protocols Supported Manufacturer TCP IP IPX MODBUS
87. n does not 5 Could be related to Windows configura tion Consult Windows documentation Note This is also the indication of proper operation Troubleshoot only if you are failing to exchange data ECOM F LINK LINKGD EE ACT ERROR ERR ECOM100 OK STATUS EE LINKGD LINK ACTIVE ACT ERROR ERR ECOM F LINK LINKGD BE OR ACT E ERROR ERR ECOM100 OK STATUS Hii LINKGD LINK W ACTIVE ACT ERROR ERR 1 Try another cable between PC and hub or other ECOM and hub 2 Try another port on the hub or another hub 3 Confirm that ECOM module is in a usable slot in the PLC base see pages 2 7 to 2 9 and that the CPU and CPU firmware sup port the ECOM module 4 Look for errors in the setup of the ECOM module or in the communication program Ethernet Communications Modules 3rd Edition Rev C 06 11 Bunooyussjqnoly pug soueuelule 7 4 Maintenence amp Troubleshooting ECOM Module Diagnostic LEDs HO Series The HO series ECOM module has four status indicators The table below explains Indicators the status for each indicator Indicator Status Description OK ON GREEN Module is powered up and functional HO ECOM only OFF Module powerup failed ON GREEN Properly connected to network TD LINK Not connected to network or incorrect cg OFF y 4 6 5 configuration
88. nction is simply to use the XO contact to turn on the internal control relay C100 Co YO E OUT SP123 y1 H SET SP122 LD K0114 LD K2 LDA 040600 RX VC100 END XO C100 OUT CEND Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications 4 15 Example Program with One Write Instruction The Ladder View screen below is the program development screen in DirectSOFT Programming Software This four rung program is explained in detail on page 4 16 This is a complete program although its function is very limited There is also a two rung program that runs in the responding PLC It is also explained on page 4 16 Program for the tedderview io Initiating PLC LD K2 LDA 040600 C100 Program for the Hill Ladder View Responding PLC a our 2 When the toggle switch input to the initiating PLC is turned on transitions from 0 to 1 the C100 bit in the responding PLC also transitions from 0 to 1 The program in the responding PLC causes YO to turn on in response to the C100 bit fe fe Z gt O S fe 5 D Bulwwesbolg TIH Lee Module ID 14 Module ID 3 ra Responding PLC Hub slave Initiating PLC master For the purpose o
89. nd 16 discrete outputs with the present available hardware but 512 point addresses exist Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications i oc 9 EG Eo SE oe I e a ro D2 240 CPU D2 250 1 CPU NOTE The D2 230 CPU does not support the ECOM modules D2 240 CPU Data Types Timer Current Values Bit Memory None Word Memory VO V177 TAO TA177 Counter Current Values None V1000 V1177 CTAO CTA177 User Data Words None V2000 V3777 V4000 V4377 None Input Points XO X477 V40400 V40423 VXO VX460 Output Points YO Y477 V40500 V40523 VYO VY460 Control Relays CO C377 V40600 V40617 VCO VC360 Special Relays SPO SP137 SP540 SP617 V41200 V41205 V41226 V41230 VSPO VSP120 VSP540 VSP600 Timer Status Bits TO T177 V41100 V41107 VTO VT160 Counter Status Bits CTO CT177 V41040 V41147 VCTO VCT160 Stages Data Types Timer Current Values Counter Current Values User Data Words Input Points SO S777 V41000 V41037 D2 250 1 CPU Bit Memory None None None XO X777 Word Memory VO V377 V1000 V1377 V1400 V7377 V10000 V17777 V40400 V40437 VSO VS760 Alias TAO TA377 CTAO CTA377 None VX0 VX760 Output Points Contr
90. nd extends the K8 number of bytes specified in the second LD instruction T In this example the eight byte block of data 040600 beginning at C100 and ending at C177 in the responding or slave PLC is read RX copied into the initiating PLC s memory C100 beginning at V40600 Initiating PLC Responding PLC V40577 V40603 V40600 V40604 Vv40601 V40605 Vv40602 V40606 V40603 V40607 40604 V40610 Y Y byte byte Ga Y word 4 words 8 bytes Write WX The Write WX instruction specifies the LD Instruction memory location to be written to in the K114 responding PLC A block of data is written that begins at the LD specified memory location and extends the K8 number of bytes specified in the second LD instruction SD LDA OF In the example the 8 byte block of data 040600 Ov beginning at V40600 and ending at V40603 33 in the initiating or master PLC is written Wx ZS copied into the responding PLC s memory C100 53 beginning at C100 and ending at C177 a3 Sa Initiating PLC Responding PLC V40577 V40603 V40600 V40604 Vv40601 V40605 Vv40602 V40606 V40603 V40607 V40604 V40610 J j CA Y y byte byte Ce J Vv word 4 words 8 bytes Ethernet Communications Modules 3rd Edition Rev C 06 11 4 6 RLL Programming for Communications Addressing the Different Memory Types Some data types are inherently 16 bits long for example timer and counter current values Other data types are 1 bit long for example discrete inputs a
91. nd outputs Word length and bit length data are mapped into Word Memory also known as V memory which allows you to address any of the different memory types as 16 bit words Bit Memory Bit memory can be addressed in Read and Write instructions by the name of the first bit of any byte If your second LD instruction contains the constant K8 eight bytes will be transmitted If you use CO in your RX or WX instruction you will transmit the eight bytes from CO through C77 Word Memory In the example below V40600 is the V memory designation for the sixteen bits from and Aliases CO through C17 Aliases are a convenient substitute for V memory designations and can be used interchangeably in Read and Write instructions VCO is the alias for V40600 Either nomenclature addresses the same 16 bits The alias is simply the name ofthe first bit in a group of sixteen bits with V added as a prefix For example VCO represents the 16 bits beginning with CO Word Memory Bit Memory and Aliases all use the octal numbering system Word Memory Address V40600 VCO Alias C17 C16 C15 C14 C13 C12 C11 C10 C7 C6 C5 C4 C3 C2 C1 CO V40601 VC20 C37 cs C35 C34 C33 C32 C31 C30 C27 C26 C25 C24 C23 C22 C21 C20 V40602 VC40 C57 ose C55 C54 C53 C52 C51 C50 C47 C46 C45 C44 C43 C42 C41 C40
92. nent A TANN Ethernet Communications Modules 3rd Edition Rev C 06 11 7 11 Maintenance and Troubleshooting Diagnosing Network Cable Problems If you are experiencing communication problems swapping cables is one of the simplest diagnostic procedures you can perform If the network operates correctly with a different cable you have isolated and cured the problem If possible use a short run of cable to test the network because problems with longer cable runs can be more difficult to diagnose and are more often intermittent If you are unable to swap cables verify the proper operation of all other network components You probably have a cable problem if you have verified that your e ECOM module is working correctly e ECOM module configuration is correct e RLL program or PC program is correct e hubs are working correctly e Windows configuration is correct e network adapter card is the correct type and it is working correctly Bunoousejqnoly pug soueuslule It is a good maintenance practice to test network cables periodically and maintain a permanent record of cable characteristics A number of cable test instruments are available to test 10 100BaseT and 10BaseFL networks These instruments will check the electrical or optical characteristics of your cabling including e Continuity This is a check to make sure the communication pairs are wired correctly and that the wires are continuous fr
93. nie toute garantie expresse ou implicite d aptitude l emploi en ce quia trait aux activit s a risque lev Pour des renseignements additionnels touchant la garantie et la s curit veuillez consulter la section Modalit s et conditions de notre documentation Si vous avez des questions au sujet de l installation ou du fonctionnement de cet quipement ou encore si vous avez besoin de renseignements suppl mentaires n h sitez pas a nous t l phoner au 770 844 4200 Cette publication s appuie sur l information qui tait disponible au moment de l impression A la soci t AutomationDirect nous nous efforgons constamment d am liorer nos produits et services C est pourquoi nous nous r servons le droit d apporter des modifications aux produits ou aux publications en tout temps sans pr avis ni quelque obligation que ce soit La pr sente publication peut aussi porter sur des caract ristiques susceptibles de ne pas tre offertes dans certaines versions r vis es du produit Marques de commerce La pr sente publication peut contenir des r f rences a des produits fabriqu s ou offerts par d autres entreprises Les d signations des produits et des entreprises peuvent tre des marques de commerce et appartiennent exclusivement leurs propri taires respectifs AutomationDirect nie tout int r t dans les autres marques et d signations Copyright 2011 Automationdirect com Incorporated Tous droits r serv s Nulle
94. nt Use a V if you are entering the address of a register The contents of that register perform the same function as the constant shown below For example you could use V2000 in place of K0114 Ifthe contents of V2000 is the number 114 the function would be the same Using a variable allows oxy changing parameters while the program is running It is recommended however to oF use a constant when possible S y 38 The First LD e i O Instruction LD a5 Upper Byte Lower Byte Ee Sz aa Z ee Initiating PLC J Responding PLC ae Master KO 1 1 4 Slave Base Number ECOM Slot Number ECOM Module ID CPU Base 0 Initiating PLC Responding PLC Expansion Base 1 or g See page 2 7 and 2 8 about See page 2 3 and 3 8 about See page 2 7 and 2 9 about us slot numbers setting the Module ID ing ECOMs in local expansion or in remote I O bases Ethernet Communications Modules 3rd Edition Rev C 06 11 4 4 RLL Programming for Communications i oc ae EG E O SE oe I e a ro The Second LD Instruction The LDA Instruction The second Load LD instruction determines the length of the data block to be transmitted during the Read or Write communication This instruction will also accept two data types Use a K to designate the number as aconstant Usea V if you are entering the address of a register For Word Memory data you must use a mult
95. nt of the module is flush with the front of the PLC Check the DLO6 power budget to be sure that it remains within the power supply limits before installing more modules DL205 Slot The DL205 system supports placement of the ECOM module in the CPU base only Choices not in local expansion bases or remote I O bases The number of usable slots depends on how many slots your base has The module does not work in slot 0 of the DL205 series PLCs the slot next to the CPU The D2 240 D2 250 1 and D2 260 CPUs support the ECOM modules The D2 230 CPU does not support the ECOM modules N Sn i a O sOe os 205 CPU AX 3 F Sioto Slot2 Siot3 Slot 4 S 0 oO 0 ot No e h Ge oe n WARNING Your system can be damaged if you install or remove system components before disconnecting the system power To minimize the risk of equipment damage electrical shock or personal injury always disconnect the system power before installing or removing any system component A O mon Ethernet Communications Modules 3rd Edition Rev C 06 11 2 8 Setup and Installation Module Type CPU CPU Base Usable Slots H2 ECOM DL240 D2 03B 1 D2 03BDC1 1 D2 03BDC 2 1 H2 ECOM100 DL250 1 D2 04B 1 D2 04BDC1 1 D2 04BDGC 2 1 2 H2 EC
96. ntacts in this truth table Eighth RX WX will accommodate as many as eight Read or Write instructions Our program only has three RX WX instructions so we only need to use two contacts see why on page 4 18 We will use C50 and C51 One additional contact C53 would give us 32 combinations since the number of combinations expands as the power of 2 Ethernet Communications Modules 3rd Edition Rev C 06 11 4 18 RLL Programming for Communications Our three RX WX instructions can be sequenced by the two contacts C50 Truth Table C52 and C51 Two contacts provide four First RX WX 0 0 different binary states Second RX WX 6 5 e both off Third RX WX 0 1 e C50 on and C51 off Fourth RX WX 0 7 e C50 off and C51 on Fifth RX WX 1 0 0 pomon Sixth RX WX i o 4 We only need to use three of the four Seventh RX WX 1 1 0 binary states circled since we only have three RX WX instructions to Elon l sequence First RX WX contacts They are normally closed in 7 17 1 K114 this rung to permit power flow to the first WX instruction Both bits are off a a corresponding to the first row of the LD truth table After the WX instruction is executed arin C50 is SET turned on which opens the contact in this rung and closes the C50 contact in the next rung WX VC100 C51 is RESET turned off which C50 leaves the C51 contact cl
97. o all other PLCs at the same time but a PLC can sequence through communication connections with each other PLC on the network one at a time The ECOM products inherently support two network layouts point to point and star The point to point layout can be used to link together two PLCs or a PC anda PLC A hub or repeater connects multiple networkable devices into a star topology Multiple hubs or repeaters are used to modify the star topology so that it becomes a star bus star topology See the figures below and on the next page Point to Point Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation 2 11 aAA Hub or Repeater 10 100BaseT or Star Topology Pa 10BaseFL sn iy iiy iij i iij ii B BO 25 SE Tp o 23 8 Hubs or repeaters can connect together to make it possible to connect more devices to the network or to extend the range of the network 10BaseT Any Backbone N on 2 m ase 10BaseFL a 10Base5 Hub or Repeater 10BaseT 100BaseT 10BaseFL Star Bus Star Topology o o mo a NOTE Hubs or repeaters often designate one port for uplink to another hub This port may not be able to be used to connect to a PLC If the uplink port is used to connect to another hub it may disable the adjacent port Use of the uplink port may requ
98. ol Relays YO Y777 CO C1777 V40500 V40537 V40600 V40677 VYO VY760 VCO VC1760 Special Relays Timer Status Bits SPO SP777 TO T377 V41200 V41237 V41100 V41117 VSPO VSP760 VTO VT360 Counter Status Bits Stages CTO CT177 SO S1777 Ethernet Communications Modules 3rd Edition Rev C 06 11 V41140 V41147 V41000 V41077 VCTO VCT160 VSO VS1760 D2 260 CPU D4 430 CPU RLL Programming for Communications D2 260 CPU Data Registers Timer Current Values Bit Memory Word Memory VO V377 TAO TA377 Counter Current Values V1000 V1377 CTAO CTA377 User Data Words V400 V777 V1400 V7377 V10000 V37777 None Input Points XO X1777 V40400 V40477 VX0 VX1760 Output Points YO Y1777 V40500 V40577 VYO VY1760 Control Relays CO C3777 V40600 V40777 VCO VC3760 Special Relays SPO SP137 SP320 SP717 V41200 V41205 V41215 V41234 VSPO VSP120 VSP320 VSP700 Timer Status Bits TO T377 V41100 V41117 VTO VT360 Counter Status Bits CTO CT377 V41140 V41157 VCTO VCT360 Stages SO S1777 V41000 V41077 VSO VS1760 Remote I O GX0 GX3777 GYO GY3777 V40000 V40177 V40200 V40377 VGXO0 VGX3760 VGY0 VGY3760 D4 430 CPU Data Registers Bit Memory Word Memory Alias Timer Current Va
99. om end to end In the case of fiber optic network this is a test to be sure light is transmitted from one end of the cable to the other e Attenuation This refers to the amount of signal loss over the cable segment at the signal frequency of interest The 10 100BaseT specification allows for a maximum signal loss of 11 5 decibels dB for the entire link at the signal frequency used by 10Mbps Ethernet The 10BaseFL specification calls for the optical loss in link segment to be no greater than 12 5 dB e Crosstalk Crosstalk occurs when a signal in one pair of wires is electromagnetically coupled to an adjacent pair This is critical for10BaseT networks which are susceptible to noise interference 10BaseFL networks are virtually immune to noise interference iE NOTE Any significant difference between the cable characteristics of the transmitter and receiver can cause communication errors Ethernet devices continually monitor the receive data path for activity as a means of verifying their link is working correctly When the network is idle each network device including the ECOM module sends a periodic link test signal to verify that the network is working If the link test signal or other network activity is not received periodically the LINK LINKGD LED on the ECOM module is turned off Ethernet Communications Modules 3rd Edition Rev C 06 11 Appendix A General Specifications In This Appendix HO ECO
100. ontact it sends zeros j to the Shift Register data input The clock input to the Shift Register is er SP122 the communication busy bit Each time one of the RX WX instructions executes the Shift Register moves the set bit over one C63 is used in this example to reset the Shift Register to all zeros C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after first scan C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after second scan C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after first RX WX C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after second RX WX C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after third RX WX C77 C76 C75 C74 C73 C72 C71 C70 C67 C66 C65 C64 C63 C62 C61 C60 Shift Register after third RX WX plus one scan The Store If Equal instruction detects v40603 KO c60 when the Shift Register is reset to SET C60 bitis SET by this rung The C60 bit becomes the high bit shifted by the Shift Register until each RX WX instruction is executed in turn Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications 4 21
101. or IP Address for communications Ethernet Communications Modules 3rd Edition Rev C 06 11 2 7 Setup and Installation Inserting the ECOM Module in the PLC Base HO Series ECOM Before installing the option module in the DLO5 option slot or any of the DLO6 option Module Installation slots set the Module ID dip switch if your application requires this on the HO Series ECOM module The next step is to remove the protective option slot cover Remove the cover by squeezing the pinch tabs and lifting the cover off o a 5N neur apur DD Xt XE XS X4 38 X8 XP 00000000 000000 Direct e Pinch Tabs 50 nO oc o ew oJ a paa 5a He psa EBA ii Gm TERM ee eem PORT1 PORT2 RUN STOP o Now insert the module into the open slot on the DLO5 or into any one of the four slots in the DLO6 Locate the module so the printed information is oriented in the same direction as the markings on the PLC Be careful to align the female connector on the printed circuit board of the module with the male connector on the PLC mother board Press the module into the slot until the fro
102. orm diagnostic and troubleshooting tasks and upgrade the firmware in the ECOM module if necessary The HO H2 H4 ECOM100 requires NetEdit 3 5 or later You can install NetEdit3 on Windows98 ME 2000 XP or Windows NT4 NetEdit3 is included with this manual on the AutomationDirect Software Product Showcase CD also available online at www automationdirect com After inserting the CD into the drive the following window will appear 4 ocrumedia Hash Payer 6 b Install Purchased f Software Demo Software Browse Catalog Contact Information CTRIO Workbench insta Use this utility to configure all of your Hx CTRIO Counter 1 0 modules The Hx CTRIO modules are general purpose timing counting pulsing modules that can solve a variety of high speed counting precision timing stepper pulse control applications ERM Workbench install ERM Workbench is an essential tool for configuring the Hx ERM Ethernet Remote Master modules on your Ethernet Remote I O Network NetEdit3 Ethernet Setup Utility instal NetEdit3 is the utility that s used to configure and firmware upgrade most of our Ethernet devices EBCs ECOMs EDRVs amp ERMs Adobe Acrobat Reader insta Adobe Acrobat Reader enables you to view PDF files Some of our DirectSOFT32 products provide OnLine Documentation using the POF file format Adobe Acrobat Reader is a registered trademark of Adobe Systems Incorporated www adobe
103. osed for the i aes CET next rung C51 RST cp DC 9 Ew 9 S5 SE oe 18 sO ro 2 Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications 4 19 Paie Sea i C50 is normally open and C51 is SP122 C51 C50 normally closed For this rung to be 7 17 ia executed the C50 bit must be on and the C51 bit must be off corresponding to the second row of the truth table LD C50 was turned on in the previous K2 rung C51 was turned off in the previous rung LD A After the WX instruction is executed C50 is RESET turned off which Wx opens the C50 contact in this rung and VCO closes it in the next rung C50 RST C51 is SET turned on which closes Tn the normally open C51 contact in the C51 next rung QET Third RX WX i SP122 Instruction In this last rung C50 is normally C51 C50 7 this rung to be executed the C50 bit closed and C51 is normally open For 7 K114 must be off and the C51 bitmustbeon LD corresponding to the third row of the ko truth table C51 was turned on in the previous rung LDA 040602 After the RX instruction is executed C50 is RESET which opens the C50 contact in this rung and allows it to pom close in preparation for repeating the first communication rung on the next c50 CPU scan page 4 18 RSD
104. partie de ce manuel ne doit tre copi e reproduite ou transmise de quelque fa on que ce soit sans le consentement pr alable crit de la soci t Automationdirect com Incorporated AutomationDirect conserve les droits exclusifs a l gard de tous les renseignements contenus dans le pr sent document Manual Revisions If you contact us in reference to this manual be sure and include the revision number Title Ethernet Communication Modules Manual Number HX ECOM M Original Original Issue 1st Edition 8 02 Added DL250 1 and DL260 references Rev A Removed DL250 references Minor changes Note DL250 has the same functionality as the DL250 1 except for local expansion capability 2nd Edition 6 03 Added HO ECOM module changed manual part number 2nd Edition 6 03 Corrected Special Purpose Communication Re RevA lays 3rd Edition 04 05 Added HO ECOM100 module RevA 3rd Edition 04 06 Added H4 ECOM100 module Rev B 3rd Edition 06 11 Updated manual and made change to Module ID Rev C DIP switch and corrected tables in Ch 5 3rd Edition 11 04 Added H2 ECOM100 module Updates for NetEdit3 Table of Contents Chapter 1 Introduction Manual Overview 6065 ete os ian Wala we ek a ee ed WE ee ee a ee ea ee eee EG 1 2 The Purpose of this Manual tea secu Sick ations Selene tg Ried OPS vie Wau ey sg Ed enews og 1 2 Other Reference Materials 00 ccc cece teen e ete eee ene e eens 1 2 Who Should Read this Manual
105. r to Dec Data Type Timer Current Values 128 VO V177 Input Register Counter Current Values V V1000 V1177 512 639 Input Register V V Memory user data V V1400 V7377 768 3839 Holding Register V Memory system V V7400 V7777 3840 4095 Holding Register DL440 Memory Type QTY PLC Range MODBUS MODBUS Dec Octal Address Range Data Type Decimal For Discrete Data Types Convert PLC Addr to Dec Start of Range Data Type Inputs X 320 XO X477 2048 2367 Input 320 Special Relays SP 352 SPO SP137 3072 3167 Input SP320 SP717 3280 3535 320 256 56 To arr aia a0 fear Counter Contacts CT Coil S0 0 Outputs Y SP Control Relays CR T Timer Contacts Stage Status Bis S Col Global I O GX GX GX1777 Input For Word Data Types Convert PLC Addr to Dec Data Type Timer Current Values V VO V377 0 255 Input Register 88 Counter Current Values V V1000 V1177 512 639 Input Register V Memory user data V 3072 V1400 V7377 768 3839 Holding Register 4096 V10000 V17777 4096 8191 V Memory system V 2 V700 V737 448 479 Holding Register V7400 V7777 3840 4095 Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP for HO H2 H4 ECOM100 DL450 Memory Type QTY PLC Range MODBUS MODBUS Dec Octal Address Range Data Type Decimal For Discrete Data men a PLC Addr to Dec Start of Range Data Type
106. ram Buiwwepoid TIH DLO5 Special Purpose Commu nication Relays CPU Base Option Slot Communication busy SP120 Z fe Q Z gt O S fe 5 D Communication error SP121 DLO6 Special Purpose Communication Relays CPU Base Slot1 Slot2 Slot3 Slot 4 Communication busy SP120 SP122 SP124 SP126 Communication error SP121 SP123 SP125 SP127 Ethernet Communications Modules 3rd Edition Rev C 06 11 RLL Programming for Communications DL240 DL250 1 and DL260 Special Purpose Communication Relays CPU Base Slot 1 Slot2 Slot3 Slot4 Slot5 Slot6 Slot7 Communication busy SP122 SP124 SP126 SP130 SP132 SP134 SP136 Communication error SP123 SP135 SP137 D2 240 D2 250 1 D2 260 D4 430 and D4 440 Special Purpose Communication Relays CPU Base SlotO Slot1 Slot2 Slot3 Slot4 Slot5 Slot6 Communication busy SP120 SP122 SP124 SP126 SP130 SP132 SP134 Communication error SP121 SP123 SP125 SP127 SP131 SP133 SP135 DL405 Slot D4 450 Special Purpose Communication Relays SlotO Slot1 Slot2 Slot3 Slot4 Slot5 Communication busy Communication error Expansion Base 1 Communication busy Communicat
107. roduct design installation or operation Our products are not fault tolerant and are not designed manufactured or intended for use or resale as on line control equipment in hazardous environments requiring fail safe performance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of the product could lead directly to death personal injury or severe physical or environmental damage High Risk Activities AutomationDirect specifically disclaims any expressed or implied warranty of fitness for High Risk Activities For additional warranty and safety information see the Terms and Conditions section of our Desk Reference If you have any questions concerning the installation or operation of this equipment or if you need additional information please call us at 770 844 4200 This publication is based on information that was available at the time it was printed At AutomationDirect we constantly strive to improve our products and services so we reserve the right to make changes to the products and or publications at any time without notice and without any obligation This publication may also discuss features that may not be available in certain revisions of the product TRADEMARKS This publication may contain references to products produced and or offered by other companies The product and company names may be
108. s recorded on a label on the side of the ECOM module See page 2 4 if you need help locating the label Module Information The Module Information box gives the ECOM Module info ECOM settinas ECOM Help Gener module Type firmware Version Booter firmware version and the address DIP switch setting Verify that al modules FmeasRe 4osi2 FwBRev S5 r General Info of the same type have the same firmware Booter Rev 4 0 141 PLD Rev OA version Switch Setting 00000000 CPU Rev 0 05 Ethernet Communications Modules 3rd Edition Rev C 06 11 7 8 Maintenence amp Troubleshooting Change Protocol If you are experiencing a problem Ps NetEdit3 O O communicating from your PC to a module that does not appear on the list of active Ha kaen Ws ae modules try changing the protocol and Teeae p gcenn clicking on Scan Network You may be able TE F B to link to your module with the other protocol _ 00 0 62 40 00 02 E ON FN A PNN NA If you are not sure which protocol you have loaded on your PC refer to pages 3 4 and 3 5 as well as your Windows documentation This protocol selection is only for PC to PLC communications and has no effect on PLC to PLC communications Ethernet Stats If you are able to see the problem module on the list of modules currently active on the network you can select the module to see the Ethernet Stats for that module Select the module by clicking on t
109. s and the backplane side which the ECOM uses to communicate with the PLC CPU It is possible that only one side could be operating correctly while the other side is not The Test CPU Access function will test the connection from your PC to the ECOM module through the network side across the backplane to the PLC CPU and back to your PC ECOM Settings gt Firmware The functions in the Firmware box are used n ae to update the selected module s Firmware and Booter versions The Restore Factory Update Firmware Settings buttons resets the selected module s IP address ID Name and Description to factory defaults Refer the sections on the next page to determine if Restore Factory Settings updates are necessary Update Booter i Clicking on the either of the Update 2ixi buttons opens the appropriate ECOM Lookin H2 ecom each folder within the Images folder which is created during the install of NetEdit3 The Images folder is located in the same folder as NetEdit3 exe Each module folder contains the module s firmware and boot loader ia boot_3_0_121 bin a hZecom_1_0_211 bin File name fi2ecom1_O 21bin CS Oren fi les The next section discusses Files of type Ethernet Firmware Files bin ima Cancel keeping the firmware files up to date 4 Ethernet Communications Modules 3rd Edition Rev C 06 11 Using NetEdit3 3 13 FileMenu gt Live Update The Live Update will retrieve th
110. s eeieaa a cie Read RX and Write WX Instructions 0 0 ett Building the Read RX or Write WX Routine 2 ee THe First LD IASHUCHION asin se aE ian AR Soe MUM ae PEE Reed AN ta Re Chad Was The Second LD Inswuctioniras tcc ssreut ene ahh ane uaa ew Sut aS a gee aon ae hha Bene The LDA INStruCtion aiiis at taar A aie wed beak eee bee E Write WX Instruction c07 ad Aer a h eee eae ee wan eae Se ee eS Addressing the Different Memory Types 00 cece eee eee e eee een eee eens Bit MEMO ionas ae tere hea a repent a ee Mae onda oe EA Word Memory and Aliases 2 2 6 0 cece ee ee beeen eee DEQ CPUS pasetan aa a al ota Bi ete ay Ae Bi eae ees Rag See an DOB CP ce sg Fuel ee ta Pace edison clic te a lode ay a Ot deca Acta Pil te Apsley ue aati pee et D2 BAO SPW tices Bree leach rhe ea A i rhe EE arate ate alae Oe a US E UE e 524250 OPW m x Bic gacies yeh ba aa ache Bh wpe eth en gan Die aaa a e a PA aes Whe ambled 2 OOP Oh ssia es Se Benger on teens aiiey E ia OEE Seaye tae itaans Abe Gaetan ee eee D4430 CPW repede a Rte saki ale u a eh oneal ea Ge eaals wale She D4s440CPU s rese a OEE be EEE EE EEE EE cue eeu bee be eu eee eee oes D4 450 GRU sxe cur eet ae cir tndin oh yeas Radin E EEA oan eet satin iran neat Sad a aan ee ead Sdn ie let ee Sheed one ee Special Relays for Communications 0 0c cece eee eee eee e eee eee Program with One Read Instruction 00 0c cece eee ee eee eee eee eens Progra
111. s purpose e Discrete X GX SP e Discrete Y CR S T C e Word Timer current value Counter current value Data Words In either case you basically take the MODBUS address you are trying to target subtract the starting MODBUS of that range convert the result to octal and add the octal number to the begining PLC address in the appropriate PLC range See the conversion examples on the following page The following tables show the exact range used for each group of data NOTE For an automated MODBUS Koyo address conversion utility download the file modbus_conversion xls from the www automationdirect com website Discrete Data Types O o Discrete Data Types OO O irae areae rent Range gt noooss QTY Dec Octal Range Global Inputs GX 2048 Read Special Relays SP SP0 SP777 13073 13584 Global Outputs GY GY0 GY3777 1 2048 Write Reserved A T0000 Word Data Types poor Datatypest O OOOO O Wows orvoney oean Range o accoss QTY Dec Octal Range V Memory Timers 256 vo verr 40001 40256 Read ra Camex wine V Memory Data Words eae Refer to your PLC user manual for the correct memory mapping size of your PLC Some of the addresses shown above might not pertain to your particular CPU ou ip faa im H0 H2 ECOM100 Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP IP for H0 H2 H4 ECOM1
112. smissions to the network The K Sequence Retries field shows the number of times the backplane transmission between ECOM and CPU is to be retried The OK button loads the communication settings in the ECOM module s flash memory Buisn o m 2 ee Ethernet Communications Modules 3rd Edition Rev C 06 11 3 10 Using NetEdit3 od D NetEdit3 ECOM Settings gt Configuration gt Peer to Peer This function allows you to configure the client HO H2 H4 ECOM 100 module to use an IP protocol packet to perform the RX WxX instruction as opposed to a broadcast packet to locate the slave ECOM or MODBUS TCP server Chosing Peer to Peer The following are reasons or conditions of when to configure the HO H2 H4 ECOM 100 for peer to peer communications with a TCP IP server device e To eliminate network broadcast traffic when the ECOM 100 is a client executing RX WX network instructions e When an ECOM 100 is an ECOM protocol client and needs to access other server ECOMs through a router e When an ECOM100 needs to serve as MODBUS TCP client Clicking the Peer to Peer Config button in the ECOM Settings gt Configuration box brings up Peer to Peet Contig the Peer to Peer Configuration window shown se below Any previous peer to peer configurations will be listed in the table The RX and WX ladder logic instructions used by the PLC Peer to Peer Configuration a Device Protocol Con
113. ssed in chapter 3 Name AName makes it easy to recognize the PLC by its function An example of a Name is PumpStationOne The Name can be up to 32 alphanumeric characters in length A Name can be assigned using NetEdit3 g Pump Station One PUMP STATION ONE NOTE Some HMI software products will not accept Names with numbers as the first character spaces or certain other non alphanumeric ASCII characters Also your HMI product may not accept Names longer than 16 characters Consult your HMI product documentation about its naming conventions Ethernet Communications Modules 3rd Edition Rev C 06 11 2 4 Setup and Installation IP Address An IP Address can be assigned to the ECOM module if your network requires one Usually the IP Address is required in cases where PLCs are sharing the same network with PCs and some of the PCs are carrying out functions unrelated to PLC control Normally a network administrator will assign an IP Address to each device on the network If you have a separate dedicated network for your PLCs you can use the Module ID or a Name for each communication link You must use an IP Address if you are using the UDP IP or MODBUS TCP protocol Use NetEdit3 to assign an IP address to the ECOM refer to chapter 3 The module ships from the factory with an IP Address of 0 0 0 0 This is not a usable IP A
114. standard wire positions in the RJ45 connector We recommend all ECOM 10 100BaseT cables to be Category 5 UTP cable Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation 2 13 10 100BaseT Most 10 100BaseT hubs or repeaters use a patch straight through cable for Connections connecting the network devices PLCs or PCs For hub to hub connections a crossover type cable is commonly required The figures on the previous page show pin assignments and insulation color codes for patch straight through and crossover type Ethernet cables UTP Cable The ECOM has an eight pin modular port that accepts RJ45 type connectors UTP Unshielded Twisted Pair cable is rated according to its data carrying ability bandwidth and is given a category number We strongly recommend using a category 5 cable for all ECOM connections NOTE See page 2 14 for 10 100BaseT distance limitations so 10BaseFL Each module has two bayonet ST style connectors The ST style connector uses a ae Connections quick release coupling which requires a quarter turn to engage or disengage The DO connectors provide mechanical and optical alignment of fibers oo Each cable segment requires two strands of fiber one to transmit data and one to receive data The ST style connectors are used to connect the H2 ECOM F or H4 ECOM F module to another H2 ECOM F or H4 ECOM F module or a fiber optic hub or repeater Fiber Opt
115. t ECOM 100 module Then click the OK button This will add the ECOM s Device Configuration information to the previous Add Device Address window Using NetEdit3 3 11 Select ECOM x Local ECOMs RAWX Device Number IP Address Ethemet Address 10 1 37 79 QUEU 62 20 00 28 8 10 1 37 69 00 EQ 62 20 43 74 Cancel Once the module s network information is in the Add Device Address window previous page click the OK button to add the information to the main Peer to Peer Configuration window Repeat the steps to add other ECOMs to the configuration Clicking the OK button on the main screen window writes the module s network information to the ECOM 100 s flash memory Peer to Peer Configuration Device Protocol Configuration 1 Modbus TCP IP 10 1 37 18 Port 502 Unit ID 255 15 ECOM IP 10 1 37 79 MAC 00 E0 62 20 43 7F Edit 63 ECOM IP 10 1 37 69 MAC 00 E 0 62 20 00 28 ix Add Buisn Delete o m 2 ee Delete All Ethernet Communications Modules 3rd Edition Rev C 06 11 3 12 Using NetEdit3 od D NetEdit3 gt Clicking the Test CPU Access button in the ECOM Help General Help TE z ECOM Settings gt Utilities box brings up the ae window shown below Access Test CPU Access a Scanned for CPU and found a DL 260 The ECOM has two distinct sides the network side which contains the network configuration setting
116. tSOFT Programming Software User Manual and the User Manual for your PLC for additional information NOTE The programs described in this chapter are not used for communication between a PC and a PLC For PC to PLC communications please see the product documentation for the PC software you are using If you are using our DSData Server software the manual you will need is the KEPDirect for PLCs User Manual How RLL is Used for Communications DirectSOFT Programming Software provides Read and Write instructions RX WX for PLC to PLC communication over a network The Read and Write instructions are part of the ladder logic program running in the CPU of the initiating or master PLC These instructions tell the initiating CPU to send a message over the Ethernet network to a responding or slave PLC The ECOM module is the connecting point to the network for each PLC The initiating PLC s Read or Write communication finds its destination by the Module ID of the responding PLC s ECOM module See Chapter 2 and 3 for information about assigning Module IDs Module ID 14 Module ID 3 A y Initiating PLC pa Hub Responding PLC Module ID 9 Module ID 20 In the figure above the initiating PLC sends a Read or Write message to the responding PLC s ECOM module which is designated as Module ID 14 The responding PLC processes the message Any one of the PLCs coul
117. terlocks using both methods The two examples shown perform the same function Only the interlocks are different NOTE To fully understand the material in this section you will first need to understand the Example Programs on pages 4 13 and 4 15 as well as the material in the Network Instructions section beginning on page 4 3 The following program segment sequences through three RX WxX instructions two Write instructions and one Read instruction You can develop your own program incorporating either of the two interlocking control strategies and expanding the number of interlocks to accommodate the number of RX WxX instructions in your program Interlocking It is easy to see the function of the interlocking relays if we construct a truth table first i Relays lt D f Across the top of the truth table we n ok OF show internal control relays that we Truth Table C52 051 C50 37 are considering using for our be 38 sequencing strategy We have used First RX WX 0 0 0 59 C50 through C52 for our chart but Second RX WX 83 any contacts that are not used for os other purposes in your program will hird RX WX Ze work just as well Fourth RX WX Fifth RX WX Down the left side of the chart we list the number of RX WX instructions we _ Sixth RX WX may want to use in our RLL program Seventh RX WX O O O O O O O O The three co
118. the CPU base The D4 450 CPU allows the installation of the ECOM module in the CPU base or in local expansion bases If the ECOM module is used in a local expansion base all bases in the system must be the 1 type bases The valid part numbers for these bases are D4 04B 1 D4 06B 1 and D4 08B 1 The 1 onthe end of the part number indicates that the base supports specialty modules including the ECOM The 1 bases can be connected as local expansion bases or remote bases They are not the same thing Remote bases do not support the ECOM modules A N SS 405 n s CPU 5 n a BE D ad je pue Slot O Slot 1 Slot 2 Slot3 i ett A WARNING Your system can be damaged if you install or remove system components before disconnecting the system power To minimize the risk of equipment damage electrical shock or personal injury always disconnect the system power before installing or removing any system component Module Type CPU Base Usable CPU Base Usable Expansion Slots Base Slots H4 ECOM H4 ECOM100 H4 ECOM F D4 430 440 D4 04B D4 04B 1 0 1 2 3 N A D4 06B D4 06B 1 0 1 2 3 4 5 N A D4 08B D4 08B 1 0 1 2 3 4 5 6 7 N A D4 450 D4 04B 0 1 2 3 N A D4 06B 0 1 2 3 4 5 N A D4 08B 0 1 2 3 4 5 6 7 N A D4 450 D4 04B 1 0 1 2 3 0 1 2 3 D4 06
119. tions Routine you see to the right They must be used in the LD sequence shown The following step by step Aaaa procedure will provide you the information necessary to set up your ladder program to LDA receive data from a network server O aaa RX or WX Aaaa Step 1 Identify ECOM Slot The first Load LD instruction accepts either a constant or a variable Location and Use a K to designate the number as a constant Use a V if you are Server Node entering the address of a register The contents of that register perform the same function as the constant shown below For example you could use V2000 in place of K0114 If the contents of V2000 is the number 114 the function would be the same Using a variable allows changing parameters while the program is running Upper Byte Lower Byte LD et Fei K114 Initiating PLC ECOM Responding Client KO 1 1 4 device Server ee Se Base Number ECOM Slot Number Server Node midis Base 0 Initiating PLC Responding Device on Network pansion Base 1 2 or 3 See page 2 7 and 2 8 about See page 3 10 or 6 4 about See page 2 7 and 2 9 about us slot numbers assigning a node number to a ing ECOMs in local expansion or server s IP address in remote I O bases ou E 09 faa im H0 H2 ECOM100 Ethernet Communications Modules 3rd Edition Rev C 06 11 Step 2 Load Number of Bytes to Transfer Step 3
120. tions Wiring Standard designated EIA TIA 568A defines implementation of 10BaseT twisted pair and 10BaseF fiber optics for Ethernet communications The same two organizations produced EIA TIA TSB40 Additional Transmission Specifications for Unshielded Twisted Pair Connecting Hardware The purpose of this document is to specify transmission performance requirements and connecting hardware requirements Ethernet Communications Modules 3rd Edition Rev C 03 11
121. truction initiates network write operations and the RX instruction initiates network read operations Before executing either the WX or RX poses commands we need to load data related to E the read or write operation onto the CPU s accumulator stack When the WX or RX WX write gt instruction executes it uses the information RX read on the stack combined with data in the Te instruction box to completely define the task Network Client MODBUS Function The H0 H2 H4 ECOM100 supports the following MODBUS function codes when Codes Supported acting as a MODBUS TOP client MODBUS Function DL05 06 205 405 Function Code Data Types Available 01 Read Output Table Y C T CT 02 Read Input Table X SP 03 Read Holding Registers when addressing V mode is 584 984 this function is used to ac cess analog output registers 15 Force Multiple Outputs Y C T CT 16 Preset Multiple Registers V j NOTE The H0O H2 H4 ECOM100 as a client master does not support function code 4 Thus 30001 address ranges cannot be read from a server slave device Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP for HO H2 H4 ECOM100 PLC Memory Supported for p The actual equation used to calculate the address depends on the type of PLC data you are Client Operation using The PLC memory types are split into three categories for thi
122. ts Write V Memory 64 V40400 V40477 416641 416704 316641 316704 Read Input Points only V Memory 64 V40500 V40577 416705 416768 316705 316768 Read Output Points Write V Memory 128 V40600 V40777 416769 416896 316769 316896 Control Relays V Memory 16 V41100 V41117 416961 416976 316961 316976 Timers Status Bits V Memory 16 V41140 V41157 416993 417008 316993 317008 Counter Status Bits V Memory 32 V41200 V41237 417025 417056 317025 317056 Read Special Relays only Refer to your PLC user manual for the correct memory mapping size of your PLC Some of the addresses shown above might not pertain to your particular CPU Ethernet Communications Modules 3rd Edition Rev C 06 11 MODBUS TCP for HO H2 H4 ECOM100 Find the MODBUS address for User V location V2100 1 Find V Memory in the table 2 Convert V2100 into decimal 1088 3 Addthe MODBUS starting address forthe mode 40001 For Word Data Types Example 1 V2100 PLC Address Dec PLC Address Dec Mode Address V2100 1088 decimal 1088 40001 41089 Appropriate hiode Address Timer Current Values V4 YO V7 0 127 3001 30007 Input Reg Counter Current Values V 128 1000 1177 512 639 3001 30001 Input Reg Y Memory user data 0 1024 v2000 3777 1024 2047 4001 40001 Hold Reg Example 2 Y20 Find the MODBUS address for output Y20 1 F
123. ul for your application Materials User Manuals e DLO5 User Manual part number DO USER M e DLO6 User Manual part number DO O6USER M e DL205 User Manual part number D2 USER M e DL405 User Manual part number D4 USER M e DirectSOFT User Manual with part number PC PGMSW v2 3 or later e KEPDirect for PLCs with part number DA KEPPLC M Who Should Read If you need a high speed communications link between your DirectLOGIC PLC and this Manual PCs or other DirectLOGIC PLCs and you understand the basics of installing and programming PLCs this is the right manual for you This manual gives you the information you need to set up and install a communication link to an ECOM module Quality Technical We strive to make our manuals the best in the industry We rely on your feedback to Manuals and let us know if we are reaching our goal If you cannot find the solution to your Technical Support particular application or if for any reason you need additional assistance please call us at 770 844 4200 Our technical support group is glad to work with you in answering your questions They are available weekdays from 9 00 a m to 6 00 p m Eastern Time You can also contact us on the web at http www automationdirect com If you have a comment or question about any of our products services or manuals please fill out and return the Suggestions card that came with this manual Ethernet Communications Modules 3rd Edition Rev C 06 11 Introduction
124. unications If not you will need to select the protocols now for communication with the Ethernet modules We strongly recommend that you include the IPX protocol For Windows 2000 go from My Computer on your Windows desktop to Control Panel Double click on Network and Dial up Connections then double click on the desired Network Device to see the installed Protocols If IPX is not listed among the protocols already loaded add it now by clicking on the Install button For Windows XP go from Start gt Settings gt Control Panel The steps are the same as Windows 2000 from this point Add the TCP IP protocol if it is necessary for your application The TCP IP selection will give you support for the UDP IP protocol Also add the IPX protocol if it is not already active nctwork Properties OOO OOOO Oooo 2j xj Gentil Shaina Connect usng BD Readeh ATLOT IAAP based PO Fast Ehanet Adapter Configure Components checked ae used by this Connection gt 7 NOTE We strongly recommend you load IPX protocol on your PC for the connection from your PC to the ethernet modules Use UDP IP in your application if required but also add IPX to your list of active protocols Having IPX loaded on your PC gives you a backup for troubleshooting communication problems Ethernet Communications Modules 3rd Edition Rev C 06 11 Using NetEdit3 Ea Using NetEdit3 This section steps through the features and uses of NetEd
125. ur Host Software Many MODBUS TCP clients allow you to specify the MODBUS data type and the or Client Requires MODBUS address that corresponds to the PLC memory location This is the easiest ns Type and method but not all packages allow you to do it this way a The actual equation used to calculate the address depends on the type of PLC data you are using The PLC memory types are split into two categories for this purpose e Discrete X SP Y C S T contacts CT contacts e Word V memory Timer current value Counter current value In either case you basically convert the PLC octal address to decimal and add the appropriate MODBUS starting address as required The following tables show the exact range used for each group of data NOTE For an automated MODBUS Koyo address conversion utility download the file modbus_conversion xls from the www automationdirect com technical support website Dec Octal Address Range Data Type For Discrete Data Types Convert PLC Addr to Dec StartofRange Data Type inputs ipa Special Relays SP np Outputs TY Coi 56 Timer Contacts S Control Relays C 3072 3583 Coil T Coil Counter Contacts CT Coil Stage Status Bis Cai For Word Data Types Convert PLC Addr to Dec Data Type Courter Curent Values WV V Memory user data V ou ip faa im H0O H2 ECOM100 Ethernet Communications Modules 3rd Edit
126. venient and easily remembered identifier for your ECOM Factory assigned Ethernet MAC Address HO ECOM 00 E0 62 20 20 36 Host Auto Prod H4 ECOM 00 EO 62 20 00 85 Host Auto Prod H2 ECOM 00 EO 62 20 00 84 Using Multiple You can use the IP Address to satisfy network requirements a Name for PCs Network Identifiers running HMI software and the Module ID for PLCs to share data among themselves Using one type of identifier does not limit your use of the other identifier types Ethernet Communications Modules 3rd Edition Rev C 06 11 Setup and Installation 2 5 Setting the Module ID with the DIP Switch You can use the DIP switch on the ECOM module to set the Module ID toa number from one to sixty three Each module on a given network must be assigned a unique Module ID if the Module ID is to be used for communications Do not use Module ID 0 for communications Ifthe DIP switch is setto anumber greater than 0 the software tools are disabled from setting the Module ID The software tools will only allow changes to the Module ID if the DIP switch setting is O zero all switches OFF The DIP switch settings are read at powerup You can use the software tools to set the Name and IP Address even if you use the DIP switch for setting the Module ID
127. werup It may not be properly installed or it may be defective LINKGD indicator The green LINK link good LED is on steady when the H2 H4 ECOM100 module is correctly connected to an active device on the network and is receiving 5VDC operating voltage from the PLC power supply The LINK LED verifies that the proper cables are connected and the H2 H4 ECOM100 module is functioning correctly If a mismatch with the 10 100BaseT or 10BaseFL connections occurs this LED will not be illuminated ACTIVE Indicator The red ACTIVE activity LED flashes to indicate that the module sees data travelling on the network If any network device is sending or receiving data the ACT LED will be illuminated In idle mode no network traffic this LED is OFF During heavy communication loads this LED will be steady on ERROR Indicator Ifthe H2 H4 ECOM100 module s red ERROR indicator is flashing or steady on a fatal error has occurred The error may be in the H2 ECOM100 module itself or a network problem may be causing this symptom The ERROR indication can be caused by a faulty ground an electrical spike or other types of electrical disturbances Cycle power to the system to attempt clearing the error 100MBIT The green 100M 100MB LED is on steady when Ethernet data is detected at Indicator 100BaseT frequency Ethernet Communications Modules 3rd Edition Rev C 06 11 l 7 Maintenance and Troubleshooting Using NetEdit3 for Troubleshooting NetEdit3
Download Pdf Manuals
Related Search
Related Contents
Guide d`utilisation 280D Série Paragon Boot Camp Backup Benutzeranwendung Manual de referencia - e-Archivo Principal FUStart資料 - Services SG 12.1 AUMA NORM Suivre à la trace l`activité de deux co-acteurs : Le cas - LIRIS Manuel d`utilisation de la machine Controllo OSD - Oracle Documentation 31-860型 31-861型 31-862型 31 Copyright © All rights reserved.
Failed to retrieve file