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
329
12.8.4
Acyclic command 04 – change the list of projected AS-i
slaves (LPS)
5886
Requirement:
the addressed AS-i master must be in the projection mode.
Acyclic command 05 – set the operating mode of the AS-i master (
→
page
)
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
UID
command request = 65
hex
2
reserved = 0
command number = 04
dec
= 04
hex
3
15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0
*)
4
31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)
5
15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B res.
6
31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B
7...19
not used
not used
Legend:
UID
user ID
1 byte
00…FF
hex
= 0…255
dec
►
Set the bit corresponding to the slave address to TRUE in the words 3...6 for each slave to be
projected.
Response from device to fieldbus master in the normal case
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
reflected user ID
Command status (
→
page
) = 6F
hex
2
reserved = 0
reflected command number
3...19
not changed*)
not changed*)
Response from device to fieldbus master in case of a fault
Bit
Offset
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
reflected user ID
Command status (
→
page
) = 6B
hex
2
reserved = 0
reflected command number
3
reserved = 0
error code
4...19
not changed*)
not changed*)
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.
Possible error codes:
Value [hex.]
Meaning
14
master is in the wrong operating mode *)
*) master is not in the projection mode.