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
376
12.8.21
Acyclic command 39 (27hex) – acyclic manufacturer-
specific write call to an AS-i slave with CTT2 profile
5891
– Available from master profile M4 onwards –
CTT2 profiles = S-7.5.5, S-7.A.5 or S-B.A.5
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
res. = 0
ST
SLA
command number = 39
dec
= 27
hex
3
reserved = 0
DL
IX
4
parameter byte 1
parameter byte 0
5...17
parameter bytes 2...27
18
parameter byte 29
parameter byte 28
19
not used
not used
Legend:
UID
user ID
1 byte
00…FF
hex
= 0…255
dec
ST
slave type
1 bit
0 = 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
DL
data length
5 bits
00…1F
hex
= 0…31
dec
IX
index
1 byte
pointer to the page to be written
permitted values: 00…FF
hex
= 0…255
dec
(
data sheet of the slave)
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
TG
reserved = 0
F=0
reserved = 0
3...19
not changed*)
not changed*)
Legend:
TG
toggle bit
1 bit
value changes for each execution of the command
F
error bit
1 bit
0 = no error detected
1 = error when executing the command
*)
IMPORTANT:
For the query read only the required bytes!
Unused bytes can contain information of previous queries.