Chapter
7
Operating Instructions
Flexi Classic Gateways
58
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
8011834/YT28/2016-03-15
Subject to change without notice
Modbus/TCP Ethernet Gateway
7.3.2
Operating modes in the transfer mode Tx (From PLC)
Slave (PLC writes) — PLC sends digital output data to the UE410-EN3
In this operating mode the PLC sends writing requirements as master to the UE410-EN3 in
order to set the digital outputs. If this operating mode is desired:
Chose the operating mode
Slave (PLC Writes)
in the
Tx (From PLC) Transfer Mode
selection field. All the further settings do not apply.
Activate
Save in Flash
and click
Submit
to save the selection.
Only if
Save in Flash
is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway.
Submit
without
checking
Save in Flash
allows, for example, the testing of new configurations without
overwriting the old configuration.
UE410-EN3 as slave — addressing the digital outputs:
Unit ID
1
Address
(Base 1)
Description
Access
Scope
(words)
1800 Digital
outputs
Set/Get 1
Master (Poll the PLC) — UE410-EN3 requests the data from the PLC.
In this operating mode the UE410-EN3 as master requests the data continuously from the
PLC in order to set the digital output settings. If this operating mode is desired:
Select the operating mode
Master (Poll the PLC)
in the
Tx (From PLC) Transfer Mode
selection field.
Carry out the following settings on the same web page (see Tab. 63 on page 55):
– PLC IP Address
– PLC Device ID
– Digital Output Polling Enable
– Digital Output Setting PLC Address
– Digital Output Setting Polling Rate
Activate
Save in Flash
and click
Submit
to save the selection.
Only if
Save in Flash
is checked, will the new configuration be stored in the UE410-EN3’s
non-volatile memory and be available after a restart of the gateway.
Submit
without
checking
Save in Flash
allows, for example, the testing of new configurations without
overwriting the old configuration.
7.3.3
Modbus commands and error messages
The UE410-EN3 supports the following Modbus commands and error messages:
Modbus command
Value
Read Holding Registers
3
Write Multiple Registers
16 (10hex)
Read/Write Multiple Registers
23 (17hex)
Note
Tab. 65: Data addressing of
the UE410-EN3 digital
outputs
Note
Tab. 66: Modbus commands