ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 7 – command channel
Commands in DP module 7
181
10.1.6
Module 7, command 06 – Read slave parameters
5626
Request from fieldbus master to device
Bit
Byte no.
7
6
5
4
3
2
1
0
1
0
0
06
dec
= 06
hex
2
MM
ST
SLA
3
not
used
4
not
used
Calculation of the byte "slave address" = (slave no.) + (master no. * 64
dec
) + (32
dec
, if B slave)
Legend:
MM
master no.
2 bits
01
bin
= 1
dec
= master 1
10
bin
= 2
dec
= master 2
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
Response from device to fieldbus master
Bit
Byte no.
7
6
5
4
3
2
1
0
1
0
0
reflected command number
2
copy of the request
3
projected
parameter
4
current
parameter
Example:
Read slave parameter of slave 2(A) on AS-i master 1
Request from fieldbus master to device
Byte no.
Value [hex]
Meaning
1
06
06 = command number 6
2 42
(slave
no.
2
)
+ (master no.
1 * 64
)
+ (32, if B slave)
= 66
dec
= 42
hex
3 xx
not
used
4 xx
not
used
Response from device to fieldbus master
Byte no.
Value [hex]
Meaning
1
06
command processed, no error occurred
reflected command number
2
42
copy of the request
3 03
projected
parameter
4 0F
current
parameter