AS-i/PROFIBUS Gateway
Command Interface
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 21.12.2005
51
Enhanced Diagnosis
Since the "Safety at Work“ monitor diagnosis is longer than the maximum size of
the command interface, it must be read with several adjacent requests.
The byte 5 (‘index’) declares the start index in the array of diagnostic data. If this
start index is 0, the whole diagnosis is fetched from the monitor and stored to an
internal buffer. Otherwise, the AS-i Master will respond out of the internal buffer.
Thus, even though several requests are necessary to read the whole buffer, data
integrity is maintained.
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 7E
16
2 T
L
1
1. L=1 long diagnosis for advanced monitor
U
2
2. U=1 unsorted diagnosis (all devices)
circuit
3 02
16
4 slave address
5 index
Response
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 7E
16
2 T result
3 diagnosis byte #index+0
4 diagnosis byte #index+1
… …
n diagnosis byte #index+n-3