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
222
11.3.5
Module 12, extended command 05 – change the operating
mode of the AS-i master
5712
Request from fieldbus master to device
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
res. = 0
M
UID
command number = 05
dec
= 05
hex
2
reserved = 0
reserved = 0
3
reserved = 0
MOD
4...18
not used
not used
Legend:
M
master no.
1 bit
0 = master 1
1 = master 2
UID
user ID
5 bits
00…1F
hex
= 0…31
dec
(a change to the user ID starts the command call)
MOD
opperating mode
1 byte
00 = set master to the normal mode (protected mode)
01 = set master to the projection mode
Response from device to fieldbus master in the normal case
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
E=0
B
M
reflected user ID
reflected command number
2
reserved = 0
reserved = 0
3...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.