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
359
Example: read 8 diagnostic bytes of AS-i slave 3(A)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0765
07 = user ID changes e.g. to 7
65 = command request
2 0321
(slave
no.
3
)
+ (32, if B slave)
= 03
dec
= 03
hex
21 = command number 33
3...17 xxxx
not
used
18
??08
??? = field number
08 = read 8 bytes diagnostic data
19 xxxx
not
used
Response from device to fieldbus master
Word no.
Value [hex.]
Meaning
1
076F
07 = reflected user ID
6F = command status is "done" (no error)
2 0621
8621
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
reflected command number
3
2D01
01 = diagnostic byte 0 of slave 3
2D = diagnostic byte 1 of slave 3
4
0203
03 = diagnostic byte 2 of slave 3
02 = diagnostic byte 3 of slave 3
5
1122
22 = diagnostic byte 4 of slave 3
11 = diagnostic byte 5 of slave 3
6
3344
44 = diagnostic byte 6 of slave 3
33 = diagnostic byte 7 of slave 3
7...17 xxxx
not
changed
18
0008
8 bytes diagnosis data
19 xxxx
not
changed