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
244
11.3.12
Module 12, extended command 26 (1Ahex) – read AS-i
master version
5735
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 26
dec
= 1A
hex
2
reserved = 0
reserved = 0
3...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)
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
M12
MOD
4
master version **), places before the decimal point
5
master version **), places after the decimal point
6...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
M12
number of AS-i masters
1 byte
00 = device has 1 AS-i master
01 = device has 2 AS-i masters
MOD
test mode
1 byte
00 = test mode 0: master passes the offline phase and returns to the
normal operating mode.
01 = test mode 1: only available after power ON: if CPTE input = 0, the
master permanently transmits "write parameter" to slave 15
02 = test mode 2: as in normal operation, however, slaves which have not
responded 6 successive times are not deleted from the LDS
03 = test mode 3: master changes to the management phase, remains in
this phase and accepts all known commands of the host system
IMPORTANT:
only call this command once, not cyclically!
04 = test mode 4: master transmits the defined data cyclically
IMPORTANT:
no AS-i error check possible!
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
**) data only valid if MOD = 0 (test mode = 0)