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
346
Example: read 7.4 ID string of AS-i slave 3(A)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0265
02 = user ID changes e.g. to 2
65 = command request
2 0315
(slave
no.
3
)
+ (32, if B slave)
= 03
dec
= 03
hex
15 = command number 21
3...19 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
026F
02 = reflected user ID
6F = command status is "done" (no error)
2 0615
8615
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
15 = reflected command number 21
3
2D01
1st word of the ID string of slave 3:
2D01
hex
= 0 0 101 101 000 00001
bin
4
0203
2nd word of the ID string of slave 3:
0203
hex
= 00000010 000 00 0 11
bin
... ...
etc.
17
0008
08 = slave sends an ID string with 8 bytes length
18...19 xxxx
not
changed
Response from device to fieldbus master in case of a fault
Word no.
Value [hex.]
Meaning
1
026B
02 = reflected user ID
6B = error during command execution
2
0015
reflected command number
3
0014
error code 14 = invalid S-7.4 command.
4...19 xxxx
not
changed