ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Set-up
Parameter setting of the Profibus host
169
9.8.4
Device-specific Profibus DP parameters
Device-specific Profibus DP parameters (example) ................................................................. 169
Definition in the GSD file ........................................................................................................... 170
5596
With up to 100 bytes of the device-specific Profibus parameters the addresses of the analogue input
slaves and analogue output slaves to be transferred in parallel can be defined and the parameters of
the connected AS-i slaves can be set.
Device-specific Profibus DP parameters (example)
5597
Byte
Parameter
[hex]
Description
1 80
2 00
3 00
4 00
fixed device parameters
5
AE
fixed value: start of the analogue input addresses
6…20
42…A9
slaves 2, 4, 6, 8,...30 of master 1
21
AA
fixed value: start of the analogue output addresses
22…36
41…2E
slaves 1, 3, 5, 7,...29 of master 1
2F
bit 5 = TRUE activates the extended diagnosis of the AS-i system via Profibus DP
37
1F
bit 4 = TRUE activates the AS-i parameter download
37…100 1F…FF
predefined
parameters of the AS-i slaves
Slave addresses in the Profibus parameter bytes 6...20 and 22...36:
Bit
7
6
5
4
3
2
1
0
Contents
MM ST
SLA
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
Calculation of the byte "slave address" = (slave no.) + (master no. * 64
dec
) + (32
dec
, if B slave)
master 1
slave 3(A)
1*64 + 3
= 67
dec
=
43
hex
master 2
slave 5(A)
2*64 + 5
= 133
dec
=
85
hex
master 1
slave 1 B
1*64 + 1 + 32
= 97
dec
=
61
hex
Examples:
master 1
slave 28(A)
1*64 + 28
= 92
dec
=
5C
hex