The text of a manual · part 5 of 8
Ethernet Remote Master Module, pages 41 to 50
Pages 41 to 50 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 41
4--14
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Getting Started
Write Configuration to ERM After the ERM CPU interface has been selected and the slaves have been configured, click on the “3. Write to ERM” button to write the configuration information to the ERM module. Once the download is complete, the following window can be used to check slave status and view detailed ERM status, etc. B
C E F
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
A
D
A. Once the CPU Interface and Slaves have been configured using the steps on the previous pages, the network I/O modules and I/O points will be listed by slave and slot number. This configuration will be written to the ERM by clicking on the “3. Write to ERM” button. If using a PLC CPU as the interface, note that the Starting PLC address and the Starting Discrete I/O Address are not the same. The first two words of V memory in the Discrete Input table is reserved for ERM/slave status information, and the first word of V memory in the Discrete Output table is reserved for Disable Slave Command bits. The PLC memory map information is not displayed if a WinPLC is selected as the CPU interface. See the following section “Reserved PLC Memory for ERM” for detailed information. This table can be sorted by I/O module address or PLC Memory Address. B. The top row lists the ERM’s Ethernet Address, IP Address and Module ID. It is highly recommended that the Ethernet Address of the modules is place on a label near the module in a visible location. C. The PLC CPU or WinPLC Interface information is listed. D. In the Slave Status box, the status of a specific slave can be displayed by clicking on the slave number 1--16. The numbers are highlighted in either normal, green, yellow or red. Normal (default) indicates that the slave is not configured. Green indicates the ERM is successfully communicating with that particular slave. Yellow indicates I/O is being updating, but some error exists within the I/O of that slave (i.e. module missing 24VDC, unused analog channels exist, broken transmitter or module missing terminal block, etc.). Red indicates I/O is not being updating and that the ERM is not communicating with that slave. A description of the error will be listed.
Page 42
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--15
E. When the CPU Interface is in the Run Mode, the “Read ERM Status” button will be highlighted. Each time the button is clicked, the most current ERM Status information will be read and displayed. F. “Detailed ERM Status” provides ERM I/O Cycle Times. This is the time required for the ERM module to update all of its I/O points. Remember the ERM and the PLC CPU operate asynchronously from one another. The PLC CPU scan will be faster than the ERM I/O Cycle Time. Thus, the remote I/O points will not be updated every PLC CPU scan.
Analog I/O Data Registers Analog I/O Data Registers
Configuring the ERM and Ethernet Remote Slaves
Note that the 205/405 analog I/O channels are listed as 16--bit Binary consecutive data registers (1 word) and the Terminator analog I/O channels are listed as 32--bit Binary non--consecutive data registers (Double Word).
User Application Guidelines
Analog input data is mapped channel by channel in decimal format (binary) into consecutive V memory locations when used in an EBC base. Each individual analog I/O channel has its own 16--bit V memory location. For example, an 8 channel analog input module with starting PLC V memory address of V2000 would map the 8 channels of analog data into V2000 -- V2007, respectively. Analog output data needs to be in decimal format (binary). Be sure to convert any BCD values to decimal before sending the data to the analog output registers. Refer to the Analog I/O Manuals for conversion examples. Terminator analog I/O modules consume two (Double) words per channel (32--bits). The EBC slave modules automatically maps the analog I/O data in/out of V memory, thus multiplexing ladder logic or pointer method is not necessary.
Page 43
4--16
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Getting Started
Reserved PLC Memory for ERM The first two words of V memory in the Discrete Input table is used for ERM/slave status information, and the first word of V memory in the Discrete Output table is for Disable Slave Command bits. The default memory addresses X300 and Y300 are used in this example. Slave Status Bits MSB Slave 16
V40414
LSB
X 3 1 7
X 3 0 0
Slave 1
The Slave Status Bits can be monitored to detect if a slave is in error.
ERM Status Word MSB
V40415
LSB
X 3 3 7
XX 33 32 07
X 3 2 0
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
Status Bits
The ERM Status Word contains the ERM error code and Status Bits (see the following description and Error Codes in Appendix B). Bit 8 indicates that the ERM is disabling a slave.
Error Code
Disable Slave Bits MSB
V40514
LSB Y Slave 1 3 0 0
Slave 16 Y 3 1 7
The Disable Slave Bits can be used to disable a slave from communicating with the ERM module. Bit ON = disable that specific slave. RESET = re--enable the specific slave.
ERM Status Word / The ERM Status Word contains the current ERM Error Code in the Least Significant Reset Slave Code Byte and the Status Bits in the Most Significant Byte. When using the Slave Disable Bits, the ERM must recognize the request to disable a slave before attempting to re--enable that slave. This closed loop feedback is necessary due to the asynchronous scans of the ERM and PLY. X330 is the only feedback bit for ALL slave disabling bits (Y300 -- Y317). Either disable multiple slaves all on the same scan or serialize the disable process by using ladder logic interlocks. Use the following ladder logic code to manually reset a slave. For example, use this resetting method when “Hot Swapping” a Terminator I/O module on a slave that is set up to be manually reset using ladder logic. The default for the Terminator EBC is automatic rescan after “Hot Swapping” and I/O module. DirectSOFT C200
C0 PD
Y300
C0
SET
Y300
Event occurs to reset Slave 1
X330
Y300 RST
Disable Slave 1
Wait to re--enable Slave 1 until X330 (ERM Disable Request Bit) is ON.
Page 44
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--17
Printing/Exporting the ERM Configuration The ERM Configuration can be printed or exported as a text(.txt) or comma separated variable(.csv) file. The ERM Configuration can be sorted by either the Slave/Base/Slot Address or the PLC Memory Address. The ERM/Slave Status can also be included with the print or export. The Print/Export function is located under the ERM Workbench File menu.
User Application Guidelines Configuring the ERM and Ethernet Remote Slaves
Page 45
Using Net dit
In This Chapter. ..., Using NetE dit, Using NetE dit to Configure H4-EBC Base
Page 46
5--2
Using NetEdit
Using NetEdit The NetEdit Window
NetEdit is a software utility which can be used to set network identifiers (Module ID, or IP Address) for the network master and slave modules. NetEdit is accessed from the ERM Workbench “Select Slaves” window or the View>NetEdit Window.. NetEdit can also be used for diagnostic and troubleshooting tasks. This section steps through the individual segments of the NetEdit utility and the function of each.
Ethernet Communication Protocol
In the upper left corner of the NetEdit window, you will find a box labeled Protocol. In the box, there are two choices: IPX and UDP/IP. The ERM and its slave modules understand IPX and UDP/IP protocols. Both protocols are permanently resident in the firmware of the modules.
Using NetEdit
When you click on one of these radio buttons, you are selecting the protocol you want your PC to use to allow NetEdit to communicate with the master or slave modules. You are not telling the module which protocol to use. 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 Protocol selection box in the upper left corner of the NetEdit window. The choice you make here tells your PC which protocol to use to link NetEdit to the master or slave modules. You are not selecting which protocol the remote I/O network will use.
Page 47
Using NetEdit Adding Network Protocol Support to Your PC
5--3
You may have already set up your PC with selected networking protocols for Ethernet communications. 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. From My Computer on your PC Desktop, go to Control Panel. Double click on Network, then click on the Protocols tab. If IPX is not listed among the protocols already loaded, add it now by clicking on the Add... button. The Select Network Protocol window will pop up (see figure below). 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.
® ®
NOTE: We strongly recommend you load IPX protocol on your PC and use it for your module links. 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 Address
The Module box lists the Ethernet Addresses of the modules currently on the remote I/O network.
Select a specific module here by clicking on the Ethernet Address or by using the arrow keys. The selected module is highlighted.
Using NetEdit
If modules are added or removed from the network, click on the Query Network button to update the list. Notice that the Ethernet Address is the factory-assigned address that is on the permanent label on the module.
Page 48
5--4
Using NetEdit
Module Information
The Module Information box provides the module Type, Version, Booter and Dip switch setting. The Type is the catalog number of the module. The Version and Booter refers to the module’s firmware version. The Dip switch setting reflects the Module ID. NOTE: The module information and settings on this page apply to the selected (highlighted) module. To select a module, click on its Ethernet Address in the Module box.
The Ethernet Stats are statistics related to communication errors. These statistics are explored in Chapter 6, Maintenance and Troubleshooting. Click on the Clear Stats button to reset all categories to 0 (zero). Module ID / IP Address
The Configuration box allows you to assign a Module ID. Module IDs must be unique for each module, but they do not have to be in sequence. The DIP switches must all be set to zero to enable any software to change the Module ID. The Name field and Description field are optional. The ERM cannot address a slave by Name or Description.
Using NetEdit
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 module by your network administrator. If you change the IP Address, do not use the number “255” in any field. Doing so will cause communication problems. The “Update Module” button sends all entries to the module’s flash memory. The “Advanced Settings” button explained in the next section.
is
Page 49
Using NetEdit
5--5
Using NetEdit to Configure the H4--EBC Base NOTE: The following configuration information applies only to the H4--EBC(--F) and the DL405 I/O. The H2--EBC(--F) and associated DL205 I/O are self-configuring and do not require this additional step. Advanced Settings
The Advanced Settings button in the Configuration box of Net Edit brings up the EBC Advanced Settings window. The EBC Serial Port is not supported when the ERM module is used as the network master. Clicking on the Base Configuration button causes the EBC Base Configuration screen to appear.
When you click on the Base Configuration button (top of page) the H4--EBC Base Configuration screen pops up, as shown below. The H2--EBC and the T1H--EBC are self-configuring and do not require this step.
Using NetEdit
The default symbol “----------” appears on the configuration screen where digital or analog modules are present. For digital modules, you do not need to make any changes. The H4--EBC recognizes the digital modules and is self-configuring for the digital modules.
Page 50
5--6
Using NetEdit
Configuring Analog Modules
If you are using analog modules, you must let the H4--EBC know that by doing the following. Click on the slot location where the analog module is located. Continue clicking on the same slot location until the part number of your analog module appears.
Once the correct part numbers appear for each of your analog modules, click the Update Module button to save the configuration into flash memory onboard the module. Leave the symbol “----------” wherever you have a digital module.
Using NetEdit
Configuring the High Speed Counter Module
If you are using a High Speed Counter module, the word “Intelligent” will appear in gray. The High Speed Counter module is configured automatically (see below). No other action is required other than clicking on the Update Module button.