Serial configuration. ELPRO 415U-E CONDOR SERIES, 415U-2 CONDOR SERIES, 415U-2
Διαφήμιση
Διαφήμιση
User Manual MN032006EN
Effective May 2018
415U Condor-long-range wireless I/O and gateway
Serial configuration
The 415U module has an RS-232 and an RS-485 port for serial communications. These ports are used to connect ELPRO 115S-11,
115S-12, and 115S-13 serial expansion I/O modules. The ports can also be used to connect external Modbus RTU master or slave devices. The port operating mode and the normal serial parameters, baud rate, data format, flow control, and so on, all need to be selected from the drop-down lists, depending on the type of device connected and how it will operate.
Note
: An error is displayed if the operating mode selection is incompatible with the configuration. For example, you will see an error if Modbus mode is not selected when Modbus mappings are configured.
Each serial port can be configured to operate in one of the following operating modes:
•
Modbus RTU Master
—This mode should be configured when the port is operating as a Modbus master, for example, when
Modbus RTU slave devices are connected directly to the serial port.
•
•
Modbus RTU Slave
—This operating mode should be used when the port is being used as a Modbus RTU slave, for example, when a Modbus master (such as DCS, or SCADA) is connected to the serial port.
Expansion I/O
—This operating mode should be selected when
ELPRO serial expansion modules are connected to the module.
Modbus RTU master
To configure a module serial port as a Modbus RTU master, click the serial port (
RS-485
or
RS-232
) in the project tree, and then select
Modbus RTU Master
from the
Operating Mode
drop down menu
(see
.
The Modbus RTU master should be configured if the 415U is acting as a Modbus RTU master and polling Modbus slave devices via the selected serial port. It also allows Ethernet Modbus/TCP clients connected to the 415U Ethernet port to communicate with Modbus
RTU slave devices connected to the configured serial port. The 415U makes this possible by internally performing the necessary protocol conversion. The conversion is performed by the 415U that is directly connected to the Modbus serial device (only this module needs to have Modbus TCP to RTU gateway enabled).
Figure 55. Modbus TCP/RTU
When a serial port is configured as a Modbus RTU master there are a number of parameters (such as baud rate, data format and flow control) that you can adjust, depending on the devices connected.
Request Pause
Response Wait
Delay between serial requests, in milliseconds.
Serial response timeout period, in milliseconds.
A serial retry is sent if a response is not received within this timeout period.
Connection Timeout TCP connection timeout period, in seconds.
If no Modbus/TCP data is received within this timeout period, the TCP connection will be dropped. Set this field to zero for no timeout.
Maximum Tries Maximum number of request retries that are performed on the serial port.
32 EATON
www.eaton.com
415U Condor-long-range wireless I/O and gateway
User Manual MN032006EN
Effective May 2018
Serial expansion I/O
To change serial port parameters for expansion I/O, click the serial port (
RS-485
or
RS-232
) in the project tree, and then click
Expansion I/O
in the
Operating Mode
drop down menu
(see
By default the RS-485 port is automatically enabled for expansion
I/O. This is to allow you to connect serial expansion I/O modules with minimal or no module configuration. When you add an ELPRO
Expansion I/O module (such as an 115S-11, 115S-12, or 115S-13) to the RS-485 port of the 415U, the I/O is automatically available from within the I/O store of the 415U. See
addresses, or refer to the 115S Expansion I/O User Manual.
The default data rate and data format are standard 9600, N81 with no flow control, which matches the default serial baud rate and data format of the 115S serial expansion module. You can adjust serial parameters for compatibility or faster serial performance. If you change the baud rate or data format, the serial port parameters on the expansion I/O module also need to be changed. To do this use the Modbus Serial I/O Module option from the MConfig
Utilities menu.
Figure 56. Expansion I/O
Maximum No.
Expansion Modules to Poll
Advanced
Request Pause
Response Wait
Maximum Tries
Maximum number of slave addresses that the 415U will scan or poll. Default is 3. If adding more than 3 x 115S expansion I/O module or the address used are greater than 3, this number will need to be increased to match the largest address.
Selecting the Advanced check-box displays the Request Pause, Response Wait, and Maximum Time fields. If a
115S module is directly connected to the 415U, it will operate correctly using the default settings. You may need to change the default settings if the 115S is located remotely from the host module.
Delay between serial requests, in milliseconds
Serial response timeout, in milliseconds. A serial retry is sent if a response is not received within this timeout period.
Maximum number of request retries performed on the serial port. This should be set to 1 (no re-tries) for directly connected expansion I/O.
Serial Modbus RTU slave
When a serial port is configured as a Modbus RTU slave, the only parameters that need to be configured are data rate, data format, and flow control. To configure these parameters, click the serial port (
RS-485
or
RS-232
) in the module project tree, and then click
Modbus RTU Slave
in the
Operating Mode
drop down menu. The
Modbus slave device ID is configured by clicking Modbus in the project tree (see the next section).
EATON
www.eaton.com
33
Λήψη
Διαφήμιση