ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Set-up
Parameter setting of the Profibus host
163
Module 7 – Command channel
5585
Module 7
Contents
command channel,
chapter DP module 7 – command channel (
→
).
Length
4 words consistent I/O (if not used: length = 0)
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
Request from fieldbus master to device
Bit
Byte no.
7
6
5
4
3
2
1
0
1
res. = 0
command number
2
MM
ST
SLA
3
*)
4
*)
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
*)
Overview of the commands in the DP module 7 (
→
page
Response from device to fieldbus master
Bit
Byte no.
7
6
5
4
3
2
1
0
1
E
B
reflected command number
2
reflected command data
3
*)
4
*)
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
*)
Overview of the commands in the DP module 7 (
→
page
The commands are only executed if the command number (the first byte) changes. If the same
command is to be executed with different data several times (e.g. read slave lists), the operating mode
"continuous command" must first be selected for the data transmission. This is done with the Module
7, command 62 (3Ehex) – [Continuous Command] operating mode (
→
page
).