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
253
11.3.15
Module 12, extended command 33 (21hex) – read 7.4
diagnostic string of an AS-i slave
5746
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.
S
M
UID
command number = 33
dec
= 21
hex
2
res. = 0
ST
SLA
res. = 0
DL
3...18
not used
not used
Legend:
S
sequence bit
1 bit
a large data packet is transmitted in several partial sequences:
0 = data transmission completed
1 = data transmission not yet completed, at least one more packet follows
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)
ST
slave type
1 bit
0 = single slave or A slave
1 = B slave (= addition of 20
hex
or 32
dec
to the slave address)
SLA
slave address
5 bits
00…1F
hex
= 0…31
dec
DL
data length
5 bits
00…1F
hex
= 0…31
dec
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=0
S
M
reflected user ID
reflected command number
2
TG
res.
reflected slave address
F=0
res. = 0
reflected command data
3
diagnostic byte 1
diagnostic byte 0
4...16
diagnostic bytes 2...27
17
diagnostic byte 29
diagnostic byte 28
18
not changed*)
not changed*)
Legend:
E
error bit
1 bit
0 = no error detected
1 = error when executing the command
S
sequence bit
1 bit
a large data packet is transmitted in several partial sequences:
0 = data transmission completed
1 = data transmission not yet completed, at least one more packet follows
M
master no.
1 bit
0 = master 1
1 = master 2
TG
toggle bit
1 bit
value changes for each execution of the command
F
error bit
1 bit
0 = no error detected
1 = error when executing the command
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
INFO:
The control bytes defined in profile 7.4 with follow and valid bits are filtered out by the system.