The text of a manual · part 2 of 8
Ethernet Remote Master Module, pages 11 to 20
Pages 11 to 20 of 76
The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Host H4-ERM
Page 11
Introduction
Use a PC equipped with a 10BaseT or 10BaseFL network adapter card and the Ethernet Remote Master (ERM) Workbench software configuration utility that comes with this manual to configure the ERM module and its slaves over the ethernet remote I/O network.
PC running ERM WorkBench to configure the ERM network DirectLogic PLC or WinPLC ERM Module
DirectLogic DL205 I/O
DirectLogic DL405 I/O
Dedicated Hub for ERM network. (It is not necessary if only one slave is used).
Terminator I/O
Warning: We recommend using a dedicated Ethernet remote I/O network for the ERM and its slaves. 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 of the slave I/O and the speed of the network. Running the Ethernet Remote I/O Network
Once the ERM I/O network is configured and running, the PC can be removed from the network. DirectLogic PLC or WinPLC ERM Module
DirectLogic DL205 I/O
Dedicated Hub for ERM network. (It is not necessary if only one slave is used).
DirectLogic DL405 I/O
Terminator I/O
Introduction
Configuring the Ethernet Remote I/O Network
1--5
Page 12
Introduction
1--6
Introduction
ERM / ECOM Systems
Keep ERM networks, multiple ERM networks and ECOM / office networks isolated from one another as shown below. Do not attempt to connect an ECOM module or non ERM Workbench PC to a hub that the dedicated ERM network is using. Having an ECOM module(s) on an ERM Ethernet network can adversely affect the reliability and the speed of the ERM slave I/O.
Keep ERM and ECOM modules on separate Networks! E R M
E C O M
PC for HMI or SCADA, etc.
Dedicated ERM Network ECOM or Office Network
ECOM
Dedicated Hub for ERM network. (It is not necessary if only one slave is used).
PC for Data Acquisition in MES, ERP or other business systems
Page 13
Introduction
1--7
How the PLC CPU Updates Remote I/O Points
During every PLC CPU scan, the CPU examines the internal buffers of the ERM, and updates the input and output data to and from the remote I/O points. It is possible for the PLC CPU to be scanning faster than the ERM module can do its scan. It is largely dependent upon the size of the application program, as well as the type and number of remote I/O points. If there are any I/O points that must be monitored on every PLC CPU scan, it is recommended to place these critical I/O points in the CPU local base. 1) PLC CPU Scan: executes program logic and scans local I/O. The PLC User Manual describes the PLC scan in detail. 2) ERM Scan: on average, the ERM updates all I/O every four PLC CPU scans. The complete slave I/O update cycle time may be faster or slower than every four PLC scans depending upon the amount of each type of I/O memory used and the type of PLC CPU used. The typical ERM cycle is as follows: PLC Scan N Write current slave discrete input data to discrete input map in PLC. N+1 Write current slave analog input data to analog input map in PLC. N+2 Read discrete output map in PLC. N+3 Read analog output map in the PLC. Write discrete output and analog output data out to slaves. (also refresh slave discrete and analog input data in the ERM). 3) Remote Slave Scan (EBC): scans all analog channel data asynchronously to the ERM. This allows the most recent analog data to be read when the ERM requests the data. The slave discrete I/O is read and written to as described above in the ERM Scan section.
Introduction
The PLC CPU, ERM and Remote Slave (EBC) modules work together to update the remote I/O points. Between these modules, there are three scan cycles occurring at the same time, but asynchronously. The three scan cycles are described below.
Page 14
1--8
Introduction
Introduction
Frequently Asked Questions Q. Which protocols are supported by the ERM module? A. A protocol is a set of rules that allows computers to connect with one another specifying the format, timing, sequencing, and error checking for data packet transmission. The ERM module supports Novell IPX and UDP/IP (Universal Datagram Protocol/Internet Protocol). When configuring the ERM and EBCs., your PC must support one of these protocols. However, the ERM and slaves can utilize their own protocol selection regardless of the protocols supported by your PC. Q. Can I create multiple remote I/O networks by putting more than one ERM in a single PLC / WinPLC base? A. Yes, but be sure to consult Chapter 2 for important installation information, and be sure not to exceed the PLC power budget (see the module specifications in Appendix A and the PLC User Manual). Also, it is very important to keep each ERM and its slave(s) isolated from other ERMs and their slaves. Q. What does it mean to “set up” the ERM module? A. The ERM module must be configured using the Ethernet Remote Master Workbench to know how many slaves and I/O points there will be on the remote I/O network. There are also other advanced ERM settings to configure. Q. How much remote I/O can I have? A. The ERM module supports up to 16 additional DL205 bases, 16 Terminator I/O systems, 16 fully expanded DL405 systems or any combination of the three. Q. Can I reserve slots in a base for future I/O expansion? A. Yes, the “Padding” feature within the Slave Configuration window of the ERM Workbench allows reserving addresses for future I/O modules at the end of each of the EBC slave systems (not between modules). Q. Can I program or use an operator interface on the EBC slave when used with an ERM? A. No, the serial port on the EBC slave is not supported at this time when used with an ERM module. Q. Which LAN topology should I use? A. ERM modules are available for connecting to 10BaseT or 10BaseFL (fiber optic) networks. The cable distances and environmental conditions often dictate which media type should be used. The most popular and flexible topology currently is 10BaseT, but 10BaseT is susceptible to electrical noise and is limited to relatively short cable runs. On the other hand, it is very simple and inexpensive, and repeaters can be used to extend its cable length limitations. 10BaseFL allows much longer cable runs with immunity to electrical noise. The fiber optic cable and hubs are currently more expensive than those for 10BaseT.
Page 15
ERM / Slave Network Addressing Modes In This Chapter. . . ., ERM / Remote Slave Network Identifiers
12
Page 16
2--2
ERM/Slave Network Addressing Modes
ERM / Remote Slave Network Identifiers This chapter describes the various network identifiers used by the ERM and its slave modules. Each module on a network must be uniquely identified. There are three indentifiers that can be used to make a module unique.
ERM/Slave Network Addressing Modes
The three module identifiers are: ·
Module ID
·
IP (Internet Protocol) Address (A slave can be used on the Internet, but I/O cycle times may be very high!)
·
Ethernet Address (MAC Address)
The first two are user-selectable. The third one is set at the factory. A Name may be assigned to a module, but the ERM cannot address a slave by its Name. The identifiers are used to link the ERM module to its remote slaves The decision about which type of identifier to use is an important one. Much of the decision depends on the protocol requirements of your particular application. Ease of maintenance and troubleshooting also must be considered before deciding which type to use.
Protocol
IPX
Installation and Safety Guidelines
Module ID
How to Set
Format
Restrictions/Notes
DIP Switch
Slave Number 1--63, Set ERM to 0
Module ID can be changed without NetEdit. Disables Module ID in NetEdit.
NetEdit
Slave Number 1-65535 DIP Switch must be Set ERM to 0 set to “0”. Must use NetEdit to set Module ID.
IP Address
UDP/IP
NetEdit
4 Three-digit Numbers xxx.xxx.xxx.xxx (See Page 2--4)
See Your Network Administrator, Only for UDP/IP
Ethernet Address
IPX
Set at Factory
12 Hex digits
Factory-assigned
ERM / Slave Configuration Tools
ERM Workbench software utility must be used to configure the ERM and its slave modules. If either Module ID (set by dip switch) or Ethernet Address is used for network identification, then ERM Workbench is all that is needed to configure the network modules. ERM Workbench is described in detail in Chapter 3. NetEdit software utility will be needed in addition to the ERM Workbench if IP Addressing (UDP/IP) is necessary or if the Module ID is software set. If the H4--EBC slave is used with analog I/O or the high speed counter, NetEdit will be required to configure the H4--EBC. NetEdit is described in detail in Chapter 4.
Page 17
ERM/Slave Network Addressing Modes
ERM / Slave Module ID
2--3
Always set the ERM Module ID to 0. A slave Module ID can be set in one of two ways. You can assign the Slave Module ID: · using the DIP switches on the module (1--63). · using the configuration tools in NetEdit that is included within the ERM Workbench utility (1--65535).
Ignore these numbers
ON
ON
ERM/Slave Network Addressing Modes
Use the DIP switch if you want the ability to install or change slave 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 module is ready to communicate on the network.
1 2 3 4 5 6 7 8
7 6 5 4 3 2 1 0 . . . . . . 2. 5 2.4 2.3 2. 2 2. 1 2. 0
Not Used (32)(16)(8) (4) (2) (1) Binary Value
H2--EBC The numbers (0--7) printed on the circuit board indicate the power of 2 represented by each slide switch.
Installation and Safety Guidelines
If you prefer to be able to set or change all Module IDs on your network from a single PC, use the tools in NetEdit. In chapter 4, we step through the use of NetEdit and the network identifier options. 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.
Page 18
2--4
ERM/Slave Network Addressing Modes
ERM/Slave Network Addressing Modes
IP Address
An IP Address can be assigned to the ERM module or its slaves if your network requires one. Normally, a network administrator will assign an IP Address to each device on the network. Since it is recommended to use a separate dedicated network for your ERM , you do not have to use the IP Address, unless you are using the UDP/IP protocol. Use the Module ID or Ethernet Address for each module when using the IPX protocol. You can use NetEdit within the ERM Workbench utility to give the ERM or its slave modules an IP Address. Each ERM and slave must have a unique IP Address. The module ships from the factory with an IP Address of 255.255.255.255. This is not a usable IP Address for normal communications. It only serves as a default setting which can be changed using NetEdit. The valid settings are 0 through 254. You do not have to change the default IP Address unless you are using IP Address protocol. 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 “255” 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 IP Address: No!
192.168.100.002 255.168.100.002
WARNING: There cannot be duplicate IP Addresses on your network. If you are using the IP Address, all modules must have a unique number.
Installation and Safety Guidelines
Ethernet Address
A unique Ethernet Address is assigned to each module at the factory and will not change. It is printed on a label attached to each module. The Ethernet Address is recognized by ERM Workbench and NetEdit. The Ethernet 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 the module. Factory-assigned Ethernet Address
Host Auto Prod H2--ERM 00 E0 62 20 00 84
Host Auto Prod H4--ERM 00 E0 62 20 00 85
Using one type of identifier does not limit your use of the other identifier types. Using Multiple Network Identifiers IP addressing, Module ID and Ethernet Addressing may be used on one dedicated remote I/O network.
Page 19
Installation and Network Layouts In This Chapter. . . ., Inserting the ERM Module in the I/O Base, ERM Network Layouts, Network Cabling, Maximum Cable Length
13
Page 20
3--2
Installation and Network Layouts
Inserting the ERM Module in the I/O Base DL205 Slot Choices
The DL205 system supports placement of the ERM module in the CPU-base only. It does not support installation of the ERM in remote 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 and D2--250 CPUs support the ERM modules. The D2--230 CPU does not.
205
CPU
Slot 0
Slot 1 Slot 2
Slot 3
Slot 4
No!
Installation and Safety Guidelines
Installation and Network Layouts
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 H2--ERM (--F)
H2--ERM (--F) Module Installation
CPU
CPU-Base
Usable Slots
D2--240/250 WinPLC
D2--3B
1
D2--4B
1, 2
D2--6B
1, 2, 3, 4
D2--9B
1, 2, 3, 4, 5, 6, 7
205 Retaining Clips
To install the ERM 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. 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 ERM modules.