Wieland samos PRO Manual page 58

Compact-gateways
Table of Contents

Advertisement

• The PLC variable that is to incorporate the data must meet the following conditions:
– in the address range 40xxxx (for Schneider Modicon PLC),
– an array of 16-bit words,
– long enough to contain the defined input data set array.
• All input data sets are transmitted to the PLC in 16-bit word format, with the first byte having
the lowest value, i.e. on the far right of the integer, while the second byte has the highest value,
i.e. on the very left of the integer.
Reading from the PLC
NOTICE
The following restrictions apply when the gateway operates as a master and reads the output data
sets from the PLC:
• The address of the output data sets must be the same as defined in the PLC.
Please note: The value of the Modbus addresses must be 1 lower than the register data. See al-
so: "Figure 8" in "MODBUS Application Protocol V1.1b3"
• The PLC variable from which the data are requested must meet the following conditions:
– They fall into the address range 40xxxx (for Schneider Modicon PLCs).
– There is an array of 16-bit words for the output data sets that is long enough to accommo-
date the entire output data set.
• All output data sets are transmitted to the PLC in 16-bit word format, with the first byte having
to be placed as the lowest value, i.e. on the far right of the integer, while the second byte will
have the highest value, i.e. on the very left of the integer.
Slave/server mode - PLC reads from / writes to SP-COP2-ENI
In this operating mode, the SP-COP2-ENI module provides the data as a slave at the request of the
PLC. If this operating mode is desired:
 Launch samosPLAN  6 .
 Change to the Gateway view and click on the Gateway configuration tab.
 Select the samosPRO is Slave/Server option at the very bottom of the Modbus mode section.
⇨ The minimum settings required for slave mode are activated automatically in the Output data
⇨ Unavailable options are grayed out.
(to PLC) and Input data (from PLC) sections.
You can make the following additional settings:
Table 27: "Output data (to PLC)" and "Input data (from PLC)" sections
Setting
Data set column
Size (bytes) column
Register range column
Wieland Electric GmbH | BA000970 | 07/2019 [9855]
Description/procedure
Determines which data can be written to the PLC or read
from it.
Mark the control boxes for the desired data sets for this pur-
pose.
You will find a detailed description of the data sets here:
Data transferred to the network (network input data sets) [ch.
3.2, p. 19]
Exact number of bytes to be read out or written. The number
of 16-bit data types usual for TCP modbus is exactly half.
Registers to be addressed in SP-COP2-ENI
Modbus TCP gateway
58

Advertisement

Table of Contents
loading

Table of Contents