117
Is
s
u
e
d
a
te
:
7
.6
.2
0
1
3
AS-i 3.0 Command Interface
Commands of the Command Interface
4.8.3.2
Enhanced diagnostic
Since the "Safety at Work“ monitor diagnostic 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 diagnostic 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.
The diagnostic array is set up as follows:
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 diagnostic for advanced monitor.
U
2
2.
U=1 unsorted diagnostic (all devices).
circuit
3
02
16
4
slave address
5
index
Tab. 4-222.
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
diagnostic byte #index+0
4
diagnostic byte #index+1
…
…
n
diagnostic byte #index+n-3
Tab. 4-223.
Safety Monitor Diagnostic Array
"
basic function range
" and "
sorted by OSSD
"
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0
00
16
1
state of monitor
2
state of OSSD 1
3
state of OSSD 2
4
number of devices
not green
, OSSD1
5
number of devices
not green
, OSSD2
6
device index 32, OSSD 1
Tab. 4-224.
Содержание AS-I 3.0
Страница 1: ...AS I 3 0 COMMAND INTERFACE FACTORY AUTOMATION MANUAL...
Страница 177: ......