The text of a manual · part 4 of 8
Ethernet Remote Master Module, pages 31 to 40
Pages 31 to 40 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 31
4--4
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Getting Started
Running ERM Workbench PLC Wizard Run ERM Workbench PLC Wizard by launching DirectSoft32, then select PLC >Tools>ERM Workbench or by using the Windows Start menu Programs>AutomationDirect Tools>ERM Workbench. The Wizard allows the ERM network to be easily and completely configured without having to use the more advanced ERM Workbench utility. NOTE: The ERM module and ERM Workbench utility factory default settings are located in Appendix C. These defaults will be applied during the ERM network configuration unless otherwise changed. Some of the settings can be changed within the ERM PLC Wizard, but all can be changed using the ERM Workbench utility. Select either Hub or Point--to--point to describe the ERM network system that will be used. This example assumes that a Hub network is used. Once a selection has been made, click on the Next button.
Step 2: Connecting the ERM Workbench PC to the ERM Network
Connect the ERM Workbench PC to the dedicated ERM network hub. If only one slave is used, connect the PC directly to that slave. Then click on the Next button.
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
Step 1: Choosing the ERM Network Configuration
Page 32
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--5
The following window will be displayed if an ERM module is found on the network. Click on the OK button to confirm that the correct ERM module has been found (the ERM’s LED will flash for 3 seconds). If the PC is connected directly to the slave in a Point--to--point network, this window will not be displayed until the PC is connected directly to the ERM module.
Step 3: Select and Configure the Slaves
The Select and Configure Slaves window will display all of the slaves found on the dedicated ERM network. The order of how the I/O is mapped into the PLC is based on the slave order. The ERM to Slave Address Mode selection determines the address mode in which the ERM module will use to communicate with its slaves. Chapter 2 describes the ERM / Slave Addressing Modes. Click on the Next button once the slave list is configured.
User Application Guidelines
Establishing Communication with the ERM
Configuring the ERM and Ethernet Remote Slaves
Page 33
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Step 4: Map I/O to PLC Memory
Select the starting PLC memory addresses for each of the four I/O types: Discrete Inputs, Discrete Outputs, Analog Inputs and Analog Outputs. Be sure that the selected starting addresses do not conflict with any local I/O or any V memory locations used in the ladder logic program. Note that the first two words of V memory in the Discrete Input table is reserved for ERM status information and the first word of V memory in the Discrete Output table is reserved for Disable Slave Command bits. For more detailed information on PLC I/O mapping, refer to the “PLC Memory Map” section on page 4--10 and the “Reserved PLC Memory for ERM” section on page 4--15. Click on the Next button once the starting PLC addresses have been selected.
Step 5: Download Configuration to ERM
The following window displays how the slave I/O will be mapped into the PLC memory. The network I/O modules and I/O points are listed by slave and slot number. This configuration is written to the ERM by clicking on the “Write to ERM” button. If any advanced configuration needs to be done, click on the ERM Workbench button. The modified configuration can then be downloaded from the ERM Workbench utility to the ERM module.
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
Getting Started
4--6
Page 34
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--7
ERM Workbench The ERM Workbench main configuration window will be displayed once the Main Configuration configuration is written to the ERM. Refer to the “Write Configuration to ERM” section on page 4--14 for a complete description of the window fields. Window
User Application Guidelines Configuring the ERM and Ethernet Remote Slaves
Page 35
4--8
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
Getting Started
Running ERM Workbench Run ERM Workbench by launching DirectSoft32, then select the PLC menu>Tools>ERM Workbench or by using the Windows Start menu>Programs>AutomationDirect Tools>ERM Workbench. Run ERM Workbench by clicking on the ERM Workbench button in the lower left hand side of the ERM Workbench PLC Wizard window. Checking the “Please do Not Launch PLC Wizard at startup” box will disable the Wizard from launching, but can be accessed from View menu>PLC Wizard. The following window will be displayed.
Connecting the ERM Workbench PC to the Network Modules
The ERM Workbench PC will need to be connected to the ERM network to configure the modules as described in this chapter. A hub is not necessary if only one network slave is used. In this case, the PC will need to be connected directly to the slave module to configure the slave. Then, the PC will need to be connected directly to the ERM module to configure the ERM.
PC running ERM WorkBench to configure the ERM network DirectLogic PLC or WinPLC ERM Module
DirectLogic DL205 I/O
Dedicated Hub for ERM network. (It is not necessary if only one network slave is used).
DirectLogic DL405 I/O
Terminator I/O
Page 36
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--9
Configure the ERM NOTE: The ERM module and ERM Workbench utility factory default settings are located in Appendix C. These defaults will be applied during the ERM network configuration unless otherwise changed. The default settings can be changed during configuration, module by module, within the ERM Workbench. Also, the ERM Workbench> View menu>Options allows the default settings to be change at a system level that will apply to all the modules. Click on “1. Configure ERM” button. Then select either PLC or WinPLC as the ERM / CPU Interface.
Selecting PLC as Interface
If PLC is selected, the PLC Memory Map is enabled. If WinPLC is selected, the PLC Memory Map will remain disabled. The PLC Memory Map is explained on the next page.
User Application Guidelines
Configuring the ERM
Configuring the ERM and Ethernet Remote Slaves
Page 37
4--10
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Getting Started
PLC Memory Map
A starting PLC V memory address must be specified for each of the four types of I/O. The ending address for each I/O type is determined by the amount of each I/O type used by the slaves. The PLC Memory Map is divided into 4 separate tables. 1) Discrete Inputs: This is where the ERM will Write all of the slaves’ Discrete Input data. 2) Discrete Outputs: The ERM will Read this from the PLC and Write it to the slaves Discrete Outputs. 3) Analog Inputs: This is where the ERM will Write all of the slaves’ Analog Input data. 4) Analog Outputs: The ERM will Read this from the PLC and Write it to the slaves Analog Outputs.
Advanced ERM Configuration
Clicking on the ERM Configuration “Advance” button displays the following window.
Configuring the ERM and Ethernet Remote Slaves
User Application Guidelines
It is recommended to use the V404xx (X’s)for Discrete inputs and V405xx (Y’s) for Discrete Outputs that are beyond the local base I/O that exists. The default addresses are V40414 (X300) and V40514 (Y300). 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 used for ERM/slave status information, and the first word of V memory in the Discrete Output table is for Disable Slave Command bits. Adjust these address as needed, but do not map over local I/O used and be sure the PLC supports the alternate addresses selected.
Standby Cycle Time is the time the ERM will wait before trying to communicate with a slave that had a communication error. Enabling this feature will help overall I/O throughput when one slave errors in a multi--slave network. If the Standby Cycle Time is disabled, the ERM will try to communicate with the slave in error every I/O cycle. If enabled, the ERM will try to communicate with the slave in error at the given time interval.
Page 38
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--11
Unsupported Slave Cycle Time is the time the ERM will wait before trying to communicate with a slave that cannot be supported by the ERM. An unsupported slave may have an I/O configuration that does not match the ERM’s or may have obsolete firmware. If disabled, the ERM will not try to communicate with the unsupported slave again until ERM power is cycled. If enabled, the ERM will check slave support at the given time interval. If the slave is then supported, the slave will be included in the ERM’s I/O cycle. Advanced ERM Network Settings are used to configure the ERM’s UDP/IP subnet mask for IP address handling. Consult your network administrator if needed.
Select the Slaves Select “2. Select Slaves” button. In order to select and configure the slaves, the PC running ERM Workbench needs to be connected to the specific remote Ethernet slave network.
Selecting the Slaves
C
D
User Application Guidelines
A B
F
2
E
A. In the upper left corner of the Select Slaves window is a “PC Network Slaves on Protocol Group List”. Clicking on either the IPX or UDP/IP radio button determines which protocol is used by the PC running ERM Workbench to communicate with the remote master and slave modules. The ERM and its slave modules understand either protocol. Only one of the protocols needs to be installed on the PC to configure the ERM. B. The left column displays the Ethernet Address, IP Address, Module ID and Model number of the slaves currently on the remote I/O network. If slaves are added or removed from the network, click on the Query Network button (1) to update the list.
Configuring the ERM and Ethernet Remote Slaves
1
Page 39
4--12
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
Getting Started
C. The center column displays the ERM’s Slave List. To add a slave to the ERM’s List, either double click on a slave in the PC Network Slave List or select the slave and click on the Add to Slave List button (2). Slaves can also be removed from the ERM’s List by clicking on the Remove button. One ERM can support up to 16 remote slaves. D. The right column displays the Slave Configuration of the slave that is selected in the ERM’s Slave List. E. The Upgrade Firmware Utility can be used to upgrade the firmware in the ERM or slave modules if necessary. F. NetEdit can be used to assign IP Addresses to the remote I/O network modules if required. NetEdit is also required if Module ID is to be software set or if the 405 EBC is used with analog I/O modules. Normally, a network administrator will assign an IP Address to each module on the network. Since it is recommended to use a dedicated remote I/O network, it is not necessary to assign IP Address unless the UDP/IP protocol must be used. Refer to Chapter 4 “Using NetEdit” for more information.
User Application Guidelines
Configure the Slaves Setting the Slave’s Remote slave parameters (protocol, address mode, timeout, etc.) are set Parameters individually for each slave. To configure a slave, select a specific slave in the ERM’s Slave List and either double click on a specific slave in the ERM’s slave List in the Select Salves window or click on the “Configure” button. The following window will display the settings of the selected slave module.
A
Configuring the ERM and Ethernet Remote Slaves
B D F
C
E
A. The left column, ERM to Slave Communication Settings, determines the protocol, address mode and the communication Timeout Settings the ERM module will use to communicate with the specific slave selected. B. In the Protocol box, click on either the IPX or UDP/IP radio button to select which protocol the ERM will use to communicate with the selected slave. If UDP/IP protocol is selected, a valid IP address must be assigned using NetEdit. The Address Mode determines which network identifier will be used by the ERM to address the selected slave. IPX protocol supports either Module ID or Ethernet Address. UDP/IP protocol supports only IP Addressing.
Page 40
Configuring the ERM and Remote Ethernet Slaves with ERM Workbench
4--13
Configuring the ERM and Ethernet Remote Slaves
Once the CPU Interface and Slaves have been selected and configured, the network I/O modules and I/O points will be listed by slave and slot number as shown on the next page (A.). The next step will be to write the configuration to the ERM module.
User Application Guidelines
C. ERM Timeout to Slave Response, Retries and Consecutive Failures Before Standby Mode times can be set for each slave. The default time values should be adequate for most applications. The values may need to be raised in applications where IP addressing and routers are used or if a dedicated remote I/O network is not used. D. Enabling the Slave’s Watchdog Timeout runs in the slave and allows the slave to turn off all outputs when the slave no longer receives any I/O requests from the ERM module. Any outputs that were on at the time of the error will turn off after the specified time elapses. Set the ERM Pet Frequency runs in the ERM to reset the watchdog timer in the slave to avoid any nuisance timeouts due to main CPU inconsistent logic times or ERM I/O cycle times. Disabling the the slave’s WatchDog timer will cause all of the outputs to remain in their last state indefinitely (hold) when the slave no longer receives any I/O requests. E. Reserve PLC Addresses for Expansion allows future I/O modules to be added or existing modules to be removed from a slave without affecting the PLC addresses of the other slaves on the network. Pad the discrete inputs and outputs using bytes (8 points per byte) and the analog I/O using words (2 bytes). Padding can only be done for I/O at the end of a slave I/O base, not between two I/O modules on the slave. F. The Make Offline Feature may be useful for users or OEMs that require duplicating a system several times. For example, a system may consist of 3 EBCs. An offline ERM configuration allows each additional ERM to be configured without actually connecting its slaves at configuration time. Once the initial ERM system is configured, its ERM Workbench configuration file can be used to create another configuration file with different slave addresses. Checking the Make Offline checkbox allows slave addresses to be manually set that should be used by the ERM. This does not change the address in the slave, but changes the ERM configuration to address a different slave without connecting it on the network when configuring the ERM.