![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-ac1375/ecomat-300-ac1375_device-manual_3912477364.webp)
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
364
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
reflected user ID
Command status (
→
page
) = 6F
hex
2
TG
S
SLA
F=0
reflected command number
3...19
not changed*)
not changed*)
Legend:
TG
toggle bit
1 bit
value changes for each execution of the command
S
sequence bit
1 bit
a large data packet is transmitted in several partial sequences:
0 = data transmission completed
1 = data transmission not yet completed, at least one more packet follows
SLA
slave address
5 bits
00…1F
hex
= 0…31
dec
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.
Example:
write 4 bytes parameter data to AS-i slave 3(A)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0965
09 = user ID changes e.g. to 9
65 = command request
2
0323
S=0: sequence here always 0
03 = slave address 3(A)
23 = command number 35
3
1AF4
1st word of the parameter string for slave 3(A)
4
5BB9
2nd word of the parameter string for slave 3(A)
5...17 xxxx
not
used
18
0004
00 = field nubmer 0
04 = send 4 bytes parameter data
19 xxxx
not
used
Response from device to fieldbus master
Word no.
Value [hex.]
Meaning
1
096F
09 = reflected user ID
6F = command status is "done" (no error)
2 0623
8623
0xxx/8xxx = the toggle bit TG changes after each execution
S=0: last sequence
x6 = slave address 3(A), shifted 1 bit to the left
23 = reflected command number
3...19 xxxx
not
changed