ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Set-up
Parameter setting of the Profibus host
162
Module 6 – Multiplexed analogue outputs of AS-i masters 1/2
5581
Module 6
Contents
multiplexed analogue outputs of AS-i masters 1 and 2
Length
2 words consistent I/O (if not used: length = 0)
NOTE
If analogue outputs are also triggered in module 11, the value written in module 6 is overwritten with the
data of module 11.
Request from DP master to AS-i master
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
MM
ST
SLA
reserved = 0
V
res. = 0
C
2
analogue value, INTEGER
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
V
switch off the channel
1 bit
0 = channel is valid
1 = switch off channel, master transmits "invalid"
C
channel no.
2 bits
0...3
hex
= 0...3
dec
Calculation of the byte "slave address" = (slave no.) + (master no. * 64
dec
) + (32
dec
, if B slave)
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
copy of the request
E4
E3
E2
E1
res. = 0
C
2
analogue value, INTEGER
Legend:
E1
error no. 1 of the
response
1 bit
0 = no error detected
1 = error: value invalid
E2
error no. 2 of the
response
1 bit
0 = no error detected
1 = error: overflow
E3
error no. 3 of the
response
1 bit
0 = no error detected
1 = error: no analogue slave found
E4
error no. 4 of the
response
1 bit
0 = no error detected
1 = error: protocol error
C
channel no.
2 bits
0...3
hex
= 0...3
dec