![background image](http://html.mh-extra.com/html/sick/flexi-soft/flexi-soft_operating-instructions-manual_1264304082.webp)
Chapter
5
Operating Instructions
Flexi Soft Gateways
82
© SICK AG • Industrial Safety Systems • Germany • All rights reserved
8012664/XB29/2013-06-11
Subject to change without notice
Ethernet gateways
PLC polls input data sets
The following restrictions apply to this method:
The device index must be 1.
The variable to receive the data on the PLC must be:
– in the 40xxxx address range (for Schneider Modicon type PLCs)
– an array of 16 bit words
– long enough to contain the data set array(s)
All input data sets are transferred to the PLC in 16 bit word format with the first byte
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.
FX0-GMOD as slave — Data addressing
The following table lists the address to read out the data sets.
Unit ID
1
Address (Base 1)
Description
Access
Scope
[words]
1000
Request all enabled input data sets
Get
16-101
1100
Request input data set 1 data
Get
25
1200
Request input data set 2 data
Get
16
1300
Request input data set 3 data
Get
30
1400
Request input data set 4 data
Get
30
2000
Write all enabled output data sets data
Set 5-25
2100
Write output data set 1 data
Set
5
2200
Write output data set 2 data
Set
5
2300
Write output data set 3 data
Set
5
2400
Write output data set 4 data
Set
5
2500
Write output data set 5 data
Set
5
All data sets can only be read or written as a block. It is not possible to read or write single
bits or bytes.
10)
Will correspond to all enabled input data sets.
11)
Must correspond to all enabled output data sets. Example: If only output data sets 1 and 2 are enabled, then
10 words (20 bytes) must be written. If all output data sets are enabled, then 25 words (50 bytes) must be
written.
Tab. 62: Data addressing for
FX0-GMOD as receiver
Note