
Planning and Installation Guidelines 37
Planning and
Installation Guidelines
Technical Description
Wireless Proximity Switches / Issue: 09.2004
V 6
3.11
WDI100 data structure at the PLC
3.11.1 Input data from the input module WDI100
For each communication module WSIX two bits are provided via the field bus:
•
The “proximity” bit contains the proximity information of the sensorhead. The proximity bit
keeps the last received information until a change is received.
•
The “DataValid” bit gives the automation system / PLC the possibility to check, if this
proximity bit is “valid”. The “DataValid”-Bit should be normally 1 and is set to “0” as long as
at least one of the two conditions below is pending:
−
The input module WDI has not received a telegram within the last 600ms from
this
communication module (missing “I´am alive signal” of this communication module).
−
The “Sensor Event Lost”-Bit in the WSIX telegram was set. This happens if too many
proximity changes occur, to be transmitted correctly (more than two within ~20ms).
Example: One change is transmitted, which may take up to 20ms, a second change
during that time will be stored and processed if the first transmission has been
finished successfully.
There is an offset of 1 between internal and external counting of the WSIX numbers:
Sensor
1
at the display of the WDI means WSIX
0
in the field bus data structure.
The data structure on the Fieldbus is as follows:
MSB
LSB
WORD 0
Proximity
WSIX15
WSIX0
WORD 1
DataValid
WSIX15
WSIX0
WORD 2
Proximity
WSIX31
WSIX16
WORD 3
DataValid
WSIX31
WSIX16
WORD 4
Proximity
WSIX47
WSIX32
WORD 5
DataValid
WSIX47
WSIX32
WORD 6
Proximity
WSIX63
WSIX48
WORD 7
DataValid
WSIX63
WSIX48
WORD 8
Proximity
WSIX79
WSIX64
WORD 9
DataValid
WSIX79
WSIX64
WORD 10
Proximity
WSIX95
WSIX80
WORD 11
DataValid
WSIX95
WSIX80
WORD 12
Proximity
WSIX111
WSIX96
WORD 13
DataValid
WSIX111
WSIX96
WORD 14*)
Proximity
WSIX119
WSIX112
WORD 15*)
DataValid
WSIX119
WSIX112
*)
Word 14 and 15 is only half full, because there are max. 120 WSIX (not 128).