ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 7 – command channel
Commands in DP module 7
202
10.1.19
Module 7, command 23 (17hex) – Address slave
5665
Requirement:
Device is in the projection mode.
Module 7, command 02 – Change operating mode (
→
page
Request from fieldbus master to device
Bit
Byte no.
7
6
5
4
3
2
1
0
1
0
0
23
dec
= 17
hex
2
MM
ST
SLA
3
new slave address
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
copy of the request
4
error message (
General error codes (
→
page