Rd_74_Diag - Pepperl+Fuchs AS-I 3.0 Manual

Command interface
Table of Contents

Advertisement

AS-i 3.0 Command Interface
Commands of the Command Interface
4.2.5

RD_74_DIAG

With this function the diagnostic string of a slave according to profile S-7.4 is be-
ing read. Since the string can be longer than the command interface, it is written
into the buffer. The content of the buffer can be read in parts from index i.
The first byte of the buffer indicates the length of the read string.
If i ≡ 0, the string is being read from the slave, otherwise the function responses
out of the memory, the data can be read consistently.
byte
1
2
3
4
byte
1
2
3
...
n+2
7
6
5
2
2
2
T
7
6
5
2
2
2
T
Request
4
3
2
2
5D
16
circuit
slave address
i
Response
4
3
2
2
5D
16
result
buffer byte i
...
buffer byte i+n-1
2
1
0
2
2
2
Tab. 4-29.
2
1
0
2
2
2
Tab. 4-30.
23

Advertisement

Table of Contents
loading

Table of Contents