ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Set-up
Parameter setting of the Profibus host
161
Module 5 – Multiplexed analogue inputs of AS-i masters 1/2
5569
Module 5
Contents
multiplexed analogue inputs of AS-i masters 1 and 2
Length
2 words consistent I/O (if not used: length = 0)
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
MM
ST
SLA
reserved = 0
C
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
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