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
371
Example:
acyclically write parameter bytes to AS-i slave 3A (standard)
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0565
05 = user ID changes e.g. to 05
65 = command request
2
0325
03 = slave address 3A
25 = command number 37
3
0207
in index 7, 2 parameter bytes are to be written
4
1AF4
these two parameter bytes are for slave 3A
5...19 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
056F
05 = reflected user ID
6F = command status is "done" (no error)
2 0025
8025
0xxx/8xxx = the toggle bit TG changes after each execution
F=0: command processed, no error occurred
25 = reflected command number
3...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
056B
05 = reflected user ID
6B = error during command execution
2 0025
8025
0xxx/8xxx = the toggle bit TG changes after each execution
25 = 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
056B
05 = reflected user ID
6B = error during command execution
2 0125
8125
0xxx/8xxx = the toggle bit TG changes after each execution
x1xx = error when executing the command
25 = 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