ifm
Device manual AS-i M4 Gateway Profibus DPV1 (AC1375, AC1376)
2012-02-23
DP module 12: extended command channel
Commands in the extended command channel
268
Example:
standard write call to slave 3A on AS-i master 1
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0525
S=0: sequence here always 0
M=0: AS-i master 1
05 = user ID changes e.g. to 05
25 = command number 37
2
0300
03 = slave address 3A
3
0207
in index 7, 2 bytes of parameter data are to be written
4
1AF4
these two parameter bytes are for slave 3(A)
5...18 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
0525
E=0: command processed, no error occurred
S=0: last sequence
reflected command data
2 0000
8000
the toggle bit TG changes after each execution
F=0: command processed, no error occurred
3...18 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
8525
E=1: error when executing the command
reflected command data
2 0000
reserved
3
0016
error code 16
hex
= timeout during command processing
4...18 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
8525
E=1: error when executing the command
reflected command data
2 0100
8100
the toggle bit TG changes after each execution
F=1: eerror when executing the command
3 01E1
CTT2 error codes (
→
page
) 01 = invalid index,
data sheet of the AS-i slave
eerror code E1 = error detected by AS-i slave; CTT2 error
4...18 xxxx
not
changed