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
223
Response from device to fieldbus master in case of a fault
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
E=1
B
M
reflected user ID
reflected command number
2
reserved = 0
reserved = 0
3
reserved = 0
error code
4...18
not changed*)
not changed*)
Legend:
E
error bit
1 bit
0 = no error detected
1 = error when executing the command
B
busy
1 bit
0 = command processed, buffer response valid
1 = command in process, channel used
M
master no.
1 bit
0 = master 1
1 = master 2
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
Possible error codes:
Value [hex.]
Meaning
03
slave with address 0 connected
Example: set AS-i master 1 to projection mode
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0105
M=0: AS-i master 1
UID=01: user ID changes e.g. to 1
05 = command number 5
2 0000
reserved
3...18 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
0105
E=0: command processed, no error occurred
reflected command data
2 0000
reserved
3...18 xxxx
not
changed
Response from device to fieldbus master in case of a fault
Word no.
Value [hex.]
Meaning
1
8105
E=1: error when executing the command
reflected command data
2 0000
reserved
3
0003
error code 03 = slave with the address 0 is connected
4...18 xxxx
not
changed