ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
Acyclic services for Profibus DPV1
Acyclic command in the DPV1 command channel
342
TVx
transfer valid
1 bit
channel-independent bit "transfer valid" from the slave:
0 = error during transfer or: timeout
1 = transfer of analogue input/output data OK
TIx
transfer to the slave
(transfer Input)
1 bit
from master profile M4 onwards:
0 = slave transmits input data as a value
(15 bits long, plus sign)
1 = slave transmits input data as a bit pattern
(16 bits long, no sign)
TOx
transfer from the slave
(transfer output)
1 bit
from master profile M4 onwards:
0 = slave receives output data as a value
(15 bits long, plus sign)
1 = slave receives output data as a bit pattern
(16 bits long, no sign)
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
Example:
force analogue data (4 channels) to slave 1...3 on master 1
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0165
01 = user ID changes e.g. to 1
65 = command request
2
000A
0A = command number 10
3
0169
output data AS-i slave 1, channel 0
4
0202
output data AS-i slave 1, channel 1
5
0395
output data AS-i slave 1, channel 2
6
1033
output data AS-i slave 1, channel 3
7
0055
overflow and valid bits for AS-i slave 1:
55
hex
= 0101 0101
bin
O3 = 0, V3 = 1, O2 = 0, V2 = 1, O1 = 0, V1 = 1, O0 = 0, V0 = 1
8
2009
output data AS-i slave 2, channel 0
9
2202
output data AS-i slave 2, channel 1
10
0195
output data AS-i slave 2, channel 2
11
1022
output data AS-i slave 2, channel 3
12
0055
overflow and valid bits for AS-i slave 2:
55
hex
= 0101 0101
bin
O3 = 0, V3 = 1, O2 = 0, V2 = 1, O1 = 0, V1 = 1, O0 = 0, V0 = 1
13
3339
output data AS-i slave 3, channel 0
14
1102
output data AS-i slave 3, channel 1
15
1953
output data AS-i slave 3, channel 2
16
1234
output data AS-i slave 3, channel 3
17
0055
overflow and valid bits for AS-i slave 3:
55
hex
= 0101 0101
bin
O3 = 0, V3 = 1, O2 = 0, V2 = 1, O1 = 0, V1 = 1, O0 = 0, V0 = 1
18...19 xxxx
not
used