ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Acyclic services for Profibus DPV1
Acyclic command in the DPV1 command channel
362
Example: read 4 bytes parameter data of AS-i slave 3(A)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0865
08 = user ID changes e.g. to 8
65 = command request
2 0322
(slave
no.
3
)
+ (32, if B slave)
= 03
dec
= 03
hex
22 = command number 34
3...17 xxxx
not
used
18
??04
??? = field number
04 = read 4 bytes parameter data
19 xxxx
not
used
Response from device to fieldbus master
Word no.
Value [hex.]
Meaning
1
086F
08 = reflected user ID
6F = command status is "done" (no error)
2 0622
8622
0xxx/8xxx = the toggle bit TG changes after each execution
S=0: last sequence
x6 = slave address 3(A), shifted 1 bit to the left
22 = reflected command number 34
3
1234
34 = parameter byte 0 of slave 3
12 = parameter byte 1 of slave 3
4
5678
78 = parameter byte 2 of slave 3
56 = parameter byte 3 of slave 3
5...17 xxxx
not
changed
18
0004
4 parameter bytes were read
19 xxxx
not
changed