Commands Acc. To Profile S-7.4/S-7.5; Overview Of The Commands; Wr_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

Commands acc. to Profile S-7.4/S-7.5

4.2.1

Overview of the commands

Values for command
see page
Command
page 20

WR_74_75_PARAM

page 21
RD_74_75_PARAM
page 22
RD_74_75_ID
page 23
RD_74_DIAG
1.
There are improved versions of these commands. We don't recommend to use the old one any more.
4.2.2
WR_74_75_PARAM
With this function the parameter string of a slave according to profile S-7.4 is be-
ing written or the data transfer with a slave according to profile S-7.5 is started.
By a slave according to profile 7.5, data have to be registered into the buffer in
the same form, as they have to be sent by AS-i.
Since the string can be longer than the command interface, it is written into the
buffer in parts at first and then it is transferred to the slave.
n is the length of the part of the string which should be written into the buffer from
index i on.
If i ≡ 0, then the string is being transferred to the slave.
byte
1
2
3
4
5
6
...
n+5
byte
1
2
20
Value
1
5A
16
1
5B
16
1
5C
16
1
5D
16
7
6
5
2
2
2
T
7
6
5
2
2
2
T
Meaning
write S-7.4/S-7.5-slave parameter
read S-7.4/S-7.5-slave parameter
read S-7.4/S-7.5-slave ID string
read S-7.4/S-7.5-slave diagnostic string
Request
4
3
2
2
5A
16
circuit
slave address
i
n
buffer byte i
...
buffer byte i+n-1
Response
4
3
2
2
5A
16
results
Req
Res
Len
Len
2
≥6
4
≥3
4
≥3
4
≥3
Tab. 4-22.
2
1
0
2
2
2
Tab. 4-23.
2
1
0
2
2
2
Tab. 4-24.

Advertisement

Table of Contents
loading

Table of Contents