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
304
11.3.33
Module 12, extended command 97 (61hex) – make settings
in the AS-i master
5799
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 = 97
dec
= 61
hex
2
reserved = 0
reserved = 0
3
reserved = 0
command number
4
parameter (depending on command number)
5...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)
command number
1 byte
10
hex
= changes the operating mode of the PLC
(without function in the gateway), (according parameters
word 4)
12
hex
= reset all slave error counters
13
hex
= reset configuration error counter
14
hex
= reset AS-i cycle error counter
parameter for command
number
1 word
parameters; here for command number 10:
0000 = activates the gateway mode
0001 = stops the PLC
0002 = sets the operating mode of the PLC to RUN
Response from device to fieldbus master
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
E
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.