
Operating Instructions
Chapter
5
Flexi Soft Gateways
8012664/XB29/2013-06-11
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
81
Subject to change without notice
Ethernet gateways
Slave mode — PLC reads from/writes to the FX0-GMOD
In this operating mode the FX0-GMOD sends the data as
slave
upon request from the PLC.
If this operating mode is desired:
Open the Flexi Soft Designer and load the hardware configuration including the Modbus
TCP gateway.
Click on the
Gateways
button above the main window and select the FX0-GMOD or
double click the FX0-GMOD in the hardware configuration view to open the gateway
configuration dialog.
Click on
Gateway configuration
on the left hand menu. The following dialog appears:
Within the
Gateway configuration
dialog, select the transfer method by checking
PLC
requests
for the Flexi Soft to Network direction and
PLC writes
for the Network to Flexi
Soft direction.
Select which data shall be written/read to/from the PLC by checking the checkbox for
the required data set. For the exact description of the data sets please refer to section
3.3 “Data transmitted into the network (input data sets)” on page 14.
Click
OK
.
Go online and download the configuration to the Flexi Soft system.
PLC writes output data sets
The following restrictions apply when the PLC writes the output data sets:
The device index must be 1.
The message must be sent in word format.
All output data sets are transferred from the PLC in 16 bit word format and the first byte
must be placed in the least significant, or rightmost byte of the integer and the second
byte placed in the most significant, or leftmost byte of the integer.
Fig. 38: Modbus TCP gateway
configuration as slave