Data Received From The Network (Network Output Data Sets) - Wieland samos PRO Manual

Compact-gateways
Table of Contents

Advertisement

3.4

Data received from the network (network output data sets)

77830027
The data from data set 1 (max. 50 bytes) received from the network may be differently arranged, de-
pending on the protocol. For the Modbus TCP, this data set was divided into five data blocks, each
with 10 bytes. In the SP-PROFIBUS-DP gateway, output data blocks 1-4 each contain 12 bytes, while
output data block 5 contains 2 bytes. CANopen only defines 4 data blocks, each with 8 bytes.
Table 19: Output data block 1–5 of the various gateways
Gateway
SP-PROFIBUS-DP /
PROFINET IO
SP-CANopen
SP-EN-ETC /
Modbus TCP /
EtherNet/IP
The content of the output data blocks can be used in the logic editor, as well as made available for
another network via a second gateway within the samosPRO system.
NOTICE
In order to use network data in the logic editor or as input for another network, you must as-
sign a tag name for each bit to be used.
• Bits without specific tag names will not be available in the logic editor or for routing via a se-
cond gateway. Detailed information about how to assign tag names for the data received may
be found in the corresponding sections of the chapters on the various gateways.
• You can monitor current communication with the network with the aid of input data state bits
for receiving data from the network and the output data state bit for transmitting data to the
network in the logic editor. When the gateway detects a communication error, both the con-
tent of the data sets and the associated state bit are set to zero (logical 0).
• When all communication fails, the data of the output data sets and the input data state bit are
set to zero (logical 0).
• When a connection is closed while others remain available, the LED MS or LED state will flash
red/green for a total of 10 seconds and an entry will be made in the error log. In this case the
state bits are not affected.
Do not use the same output data block number for two different PLC connections or TCP/IP
sockets!
The output data block of the Ethernet gateways can be described in parallel via all communication
interfaces or TCP/IP sockets (e.g. Modbus TCP/IP and Ethernet TCP/IP) if they make use of the
ATTENTION
same output data block number. In this case the last message will always overwrite the data recei-
ved earlier.
Wieland Electric GmbH | BA000970 | 07/2019 [9855]
Size of output data block
Block 1
Block 2
12 bytes
12 bytes
8 bytes
8 bytes
10 bytes
10 bytes
Product description
Block 3
Block 4
12 bytes
12 bytes
8 bytes
8 bytes
10 bytes
10 bytes
Block 5
2 bytes
10 bytes
31

Advertisement

Table of Contents
loading

Table of Contents