Setup and Installation 12 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 2--2 Setup and Installation ECOM Network Identifiers Installation and Safety Guidelines Setup and Installation 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: • Module ID • Name • IP (Internet Protocol) Address • Ethernet (MAC) Address The first three are user-selectable. The last one is set at the factory. Each of the identifiers is discussed in this chapter. If you have more than a few ECOMs on your network, consider making a chart or spreadsheet of network IDs, as shown below: Ethernet (MAC) Address Module ID 00 E0 62 20 01 20 00 E0 62 20 01 58 00 E0 62 20 01 8D 00 E0 62 20 01 94 00 E0 62 20 01 DE 00 E0 62 20 01 F1 00 E0 62 20 01 FB 00 E0 62 20 01 F0 3 8 17 2 61 33 1 5 Name IP Address PumpStationTwo Effluent BldgThree PumpStationOne 192.168.100.005 255.255.255.255 192.168.100.001 192.168.100.002 192.168.100.003 192.168.100.004 255.255.255.255 192.168.100.006 Control Room Mixer 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 Format Communication Restrictions/Notes DIP Switch Number 1-63 PLC-to-PLC or PC-to-PLC Disables Module ID in NetEdit3 NetEdit3 Number 1-90 PLC-to-PLC or PC-to-PLC DIP Switch must be set to “0” NetEdit3 Number 1-999,999,999 PC-to-PLC Only > 90 (Not for PLC-to-PLC ) Name NetEdit3 32 Alphanumeric Characters PC-to-PLC Only HMI Software may have restrictions IP Address NetEdit3 4 Three-digit Numbers xxx.xxx.xxx.xxx (See Page 2-4) PC-to-PLC; (PLC to PLC--Client/ Server using TCP/ IP or MODBUS TCP protocol) See Your Network Administrator for IP address; (refer to pages 3--10 to 3--11, chapters 5 and 6) Ethernet (MAC) Address Set at Factory 12 Hex digits PC-to-PLC Only Factory-assigned, for IPX Module ID Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Setup and Installation Module ID 2--3 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: • using the DIP switches on the module. • using the configuration tools in NetEdit3 • HTML Configuration (after IP address is assigned to module using NetEdit3; described in Chapter 5; H0/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. Setup and Installation 1 2 3 4 5 6 7 8 ON 7 6 5 4 3 2 1 0 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, discussed in chapter 3. Name A Name 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. Installation and Safety Guidelines P L C E C O M 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 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 Address 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 communications. If you change the default IP Address for linking to other network devices, you must change all four “0” fields. If any field contains the number 255 and other fields have been changed, the module will not be recognized on the network. Example Valid Client (PC/ECOM) IP Address: 255.255.0.0 192.168.50.2 Valid Server ECOM IP Address: 192.168.55.5 Valid Server ECOM IP Address: 192.168.70.15 Client (PC/ECOM) Subnet Mask: 1--254 Valid settings for Bold number fields (Do not duplicate) Installation and Safety Guidelines 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. Ethernet (MAC) Address A unique Ethernet (MAC) Address is assigned to each module at the factory and will 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 convenient and easily remembered identifier for your ECOM. Factory-assigned Ethernet (MAC) Address H0--ECOM 00 E0 62 20 20 36 Host Auto Prod H2--ECOM 00 E0 62 20 00 84 Host Auto Prod H4--ECOM 00 E0 62 20 00 85 You can use the IP Address to satisfy network requirements, a Name for PCs Using Multiple 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 to a 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. If the DIP switch is set to a number 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 0 (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. H0 / H2 Series ECOM DIP Switch The ECOM’s DIP switches contain eight individual slide switches, but not all of these are active. The individual slide switches are labeled 1 through 8 on the body of the 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 21 (or 2), switch 2 is 22 (or 4), and so on. The following figures show the binary value of each switch in parentheses ( ). If using the ECOM/ECOM100 module with Dataworx software, or the ECOM100 with IBox Communication instructions, then Dipswitch 7 must be set to ON. Setup and Installation WARNING: Using duplicate Module IDs on a single network will cause unreliable PLC-to-PLC communications. Ignore these numbers 4 3 5 6 8 7 Not Used 5 4 . . 25 24 . . (32)(16) 2 6 1 7 3. 23 . (8) 2. 22 . (4) 1. 21 . (2) 0 . 20 . (1) 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 slide 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 Installation and Safety Guidelines Only used for Dataworx or IBox Communications Instructions. ON 2--6 Setup and Installation H4--ECOM (--F) Ignore these numbers ON 3 4 5 6 1 7 0 8 Setup and Installation 2 2 Installation and Safety Guidelines 1 3 Binary Value 4 . . 22 21 . . (4) (2) 5 . 23 . (8) 6 . . 25 24 . . (32)(16) 7 Not Used . 20 . (1) 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 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. NOTE: When all the switches are set to OFF (Module ID = 0), the Module ID can be set using the software utilities in NetEdit and DirectSOFT. Do not use Module ID “0” for normal communications. It is okay to leave the Module ID set at zero if you are using the Name or IP Address for communications. Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Setup and Installation 2--7 Inserting the ECOM Module in the PLC Base H0 Series ECOM Before installing the option module in the DL05 option slot or any of the DL06 option Module Installation slots, set the Module ID dip switch (if your application requires this) on the H0 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. Pinch Tabs PWR RUN CPU TX1 RX1 TX2 RX2 C0 X1 X3 X4 X6 C2 X11 X13X14 X16 C4 X21 X23N.C. X0 X2 C1 X5 X7 X10 X12 C3 X15 X17 X20 X22 N.C. TERM PORT1 PORT2 RUN STOP Now, insert the module into the open slot on the DL05 or into any one of the four slots in the DL06. 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 front of the module is flush with the front of the PLC. Check the DL06 power budget to be sure that it remains within the power supply limits before installing more modules. The DL205 system supports placement of the ECOM module in the CPU-base only, 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. 205 CPU Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 No! 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. Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Installation and Safety Guidelines DL205 Slot Choices Setup and Installation G LG 0V Y0 Y2 C1 Y5 Y7 Y10 Y12 C3 Y15 Y17 AC(L) AC(N) 24V C0 Y1 Y3 Y4 Y6 C2 Y11 Y13 Y14Y16 N.C. 50 -- 60Hz 2.0A,6 -- 27V 2.0A PWR: 100--240V 50--60Hz 40VA OUTPUT: 6--240V Y 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22D0--06DR 23 X INPUT: 12 -- 24V 3 -- 15mA 2--8 Setup and Installation Module Type H2--ECOM H2 ECOM100 H2--ECOM100 H2--ECOM--F H2 Series ECOM Module Installation CPU DL240 DL250 1 DL250--1 DL260 CPU-Base Usable Slots D2--03B--1, D2--03BDC1--1, D2--03BDC--2 1 D2--04B--1, D2--04BDC1--1, D2--04BDC--2 1, 2 D2--06B--1, D2--06BDC1--1, D2--06BDC2--1 1, 2, 3, 4 D2--09B--1, D2--09BDC1--1, D2--09BDC2--1 1, 2, 3, 4, 5, 6, 7 205 Setup and Installation Retaining Clips 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. Installation and Safety Guidelines 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 Setup and Installation DL405 Slot Choices 2--9 For PLC systems with D4--430 and D4--440 CPUs, the ECOM modules can reside in any I/O slot but only in 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” on the 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. 405 Slot 0 Slot 1 Slot 2 Slot 3 Setup and Installation CPU 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 Base D4--430/440 D4--450 D4--450 D4--04B, D4--04B--1 Usable CPU-Base Slots 0, 1, 2, 3 Usable Expansion Base Slots 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--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--04B--1 0, 1, 2, 3 0, 1, 2, 3* D4--06B--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 Installation and Safety Guidelines H4--ECOM H4 ECOM100 H4--ECOM100 H4--ECOM--F CPU 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. Setup and Installation DL405 Base Disconnect power before installing module! Installation and Safety Guidelines 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 to 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 and a 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 Hub or Repeater Star Topology 2--11 10/100BaseT or 10BaseFL Setup and Installation 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 or 10BaseFL Any Backbone Star-Bus-Star Topology 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 require the use of a crossover cable. Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Installation and Safety Guidelines Hub or Repeater 10Base2 10Base5 10BaseT 100BaseT 10BaseFL 2--12 Setup and Installation Network Cabling ECOM Supports Two Standards Two types of ECOMs are available. One type supports the 10/100BaseT cabling 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 Setup and Installation Unshielded Twisted-Pair cable with RJ45 connectors 10/100BaseT Networks 62.5/125 MMF fiber optics cable with ST-style connectors The cable used to connect a PLC (or PC) to a hub or repeater is called a patch (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. Installation and Safety Guidelines Patch (Straight--through) Cable 10/100BaseT TD+ 1 TD-- 2 RD+ 3 4 5 RD-- 6 7 8 OR/WHT OR GRN/WHT BLU BLU/WHT GRN BRN/WHT BRN RJ45 OR/WHT OR GRN/WHT BLU BLU/WHT GRN BRN/WHT BRN 1 2 3 4 5 6 7 8 TD+ TD-RD+ RD-- RJ45 Crossover Cable 1 2 3 4 5 6 78 8-pin RJ45 Connector (8P8C) TD+ 1 TD-- 2 RD+ 3 4 5 RD-- 6 7 8 OR/WHT OR GRN/WHT BLU BLU/WHT GRN BRN/WHT BRN RJ45 GRN/WHT GRN TD+ 1 OR/WHT TD-- 2 RD+ 3 BLU 4 BLU/WHT 5 OR RD-- 6 BRN/WHT 7 BRN 8 RJ45 This diagram illustrates the 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 10/100BaseT Connections UTP Cable 2--13 Most 10/100BaseT hubs or repeaters use a patch (straight-through) cable for 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. 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. Fiber Optic Cable Fiber Optic Module ST Connector Each module has two bayonet ST-style connectors. The ST-style connector uses a quick release coupling which requires a quarter turn to engage or disengage. The connectors provide mechanical and optical alignment of fibers. 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. 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. Multimode Fiber Optic (MMF) Cable Fiber cross-section Ferrule Transmit Sheathing Receive Transmit Cladding Connecting Two Fiber Optic ECOMs Transmit Receive Receive NOTE: See page 2--14 for 10BaseFL distance limitations. Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Installation and Safety Guidelines Core 62.5/125 MMF cable with bayonet ST-style connectors Setup and Installation 10BaseFL Connections 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 Setup and Installation 100 meters (328 feet) 100 meters (328 feet) 100 meters (328 feet) 100 meters (328 feet) 100 meters (328 feet) Between Repeaters The maximum distance per 10BaseFL cable segment is 2,000 meters or 6,560 feet. Installation and Safety Guidelines Repeaters extend the distance. Each cable segment attached to a repeater can be 2,000 meters. Two repeaters connected together extend the total range to 6,000 meters. 10BaseFL Distance Limitations 2,000 meters (6,560 feet) 2,000 meters (6,560 feet) 2,000 meters (6,560 feet) 2,000 meters (6,560 feet) Between Repeaters Ethernet Communications Modules, 3rd Edition Rev C, 06/11 2,000 meters (6,560 feet) 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. You must take into consideration the network limitations imposed by all cabling and network devices. Consider the limitations imposed on your network if your network uses: • a combination of cabling standards, such as 10/100 BaseT and 10Base2, or • intermediate devices, such as switches or routers. Setup and Installation 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: • detect all data collisions that may occur during the communication process and • respond to these collisions appropriately. Each ECOM module can be assigned a Module 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. Ethernet Communications Modules, 3rd Edition Rev C, 06/11 Installation and Safety Guidelines 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.
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project