Rd_74_75_Param - 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.3

RD_74_75_PARAM

With this function the parameter string of a slave according to profile S-7.4 is be-
ing read or the slave response according to profile S-7.5 is being read.
If it is about a slave according to profile 7.5, so have the data in the response buff-
er the following meaning:
FFh 00
: Transfer is still active
16
FFh xx
: Transfer finished with error
16
The first byte in the buffer not equal FF
same form registered in the buffer and transmitted over AS-i.
Since the string can be longer than the command interface, it is written into the
buffer. The content of the buffer can read in parts from index i.
The first byte of the buffer is 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
: slave response. The response is in the
16
Request
4
3
2
2
5B
16
circuit
slave address
i
Response
4
3
2
2
5B
16
result
buffer byte i
...
buffer byte i+n-1
2
1
0
2
2
2
Tab. 4-25.
2
1
0
2
2
2
Tab. 4-26.
21

Advertisement

Table of Contents
loading

Table of Contents