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
368
Example:
acyclically read parameter bytes of AS-i slave 3A (standard)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0465
04 = user ID changes e.g. to 4
65 = command request
2
0324
S=0: sequence here always 0
03 = slave address 3A
24 = command number 36
3
0409
In index 9, 4 parameter bytes are to be read
4...19 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
046F
04 = reflected user ID
6F = command status is "done" (no error)
2 0024
8024
0xxx/8xxx = the toggle bit TG changes after each execution
L32=0
number of read bytes < 32
24 = reflected command number
3
1234
1st and 2nd parameter byte from index 9 in slave 3A
4
5678
3rd and 4th parameter byte from index 9 in slave 3A
5...17
xxxx
invalid / not changed
18
0400
04 = 4 parameter bytes were read
19 xxxx
not
changed
Response from device to fieldbus master in case of a fault
, if error detected by AS-i master
Word no.
Value [hex.]
Meaning
1
046B
04 = reflected user ID
6B = error during command execution
2 0124
8124
0xxx/8xxx = the toggle bit TG changes after each execution
24 = reflected command number
3
0016
error code 16
hex
= timeout during command processing
4...19 xxxx
not
changed
Response from device to fieldbus master in case of a fault
, if error detected by AS-i slave
Word no.
Value [hex.]
Meaning
1
046B
04 = reflected user ID
F=1: error when executing the command
copy of the request
2 0124
8124
0xxx/8xxx = the toggle bit TG changes after each execution
x1xx = error when executing the command
24 = reflected command number
3 01E1
CTT2 error codes (
→
page
) 01 = invalid index,
data sheet of the AS-i slave.
error code E1 = error detected by AS-i slave; CTT2 error
4...19 xxxx
not
changed