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
375
Example:
acyclically read 4 parameter bytes of AS-i slave 3A (manufacturer-specific)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0665
06 = user ID changes e.g. to 6
65 = command request
2
0326
03 = slave address 3A
26 = command number 38
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
066F
06 = reflected user ID
6F = command status is "done" (no error)
2 0026
8026
0xxx/8xxx = the toggle bit TG changes after each execution
L32=0
number of read bytes < 32
26 = 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
066B
06 = reflected user ID
6B = error during command execution
2 0026
8026
0xxx/8xxx = the toggle bit TG changes after each execution
26 = 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
066B
06 = reflected user ID
6B = error during command execution
2 0126
8126
0xxx/8xxx = the toggle bit TG changes after each execution
x1xx = error when executing the command
26 = 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