ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 12: extended command channel
Commands in the extended command channel
241
Example: read ID string of AS-i slave 3(A) on AS-i master 1
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0215
M=0: AS-i master 1
UID=02: user ID changes e.g. to 2
15 = command number 21
2 0300
03
hex
= 03
dec
= slave address 3(A)
3...18 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
0215
E=0: command processed, no error occurred
reflected command data
2 0608
8608
0xxx/8xxx = the toggle bit TG changes after each execution
x6xx = slave address 3(A) shifted 1 bit to the left
xx08 = ID strings of 8 data bytes have been received
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 = device transmits an ID string of 8 bytes length
18 xxxx
not
changed
Response from device to fieldbus master in case of a fault
Word no.
Value [hex.]
Meaning
1
8215
E=1: error when executing the command
reflected command data
2 0000
reserved
3
0014
error code14 = invalid S-7.4 command
4...18 xxxx
not
changed