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
263
Example:
standard read call to slave 3A on AS-i master 1
Request from fieldbus master to device
Word no.
Value [hex.]
Meaning
1
0424
S=0: sequence here always 0
M=0: AS-i master 1
04 = user ID changes e.g. to 4
24 = command number 36
2
0300
03 = slave address 3A
3
0409
in index 9, 4 bytes of parameter data are to be read
4...18 xxxx
not
used
Response from device to fieldbus master in the normal case
Word no.
Value [hex.]
Meaning
1
0424
E=0: command processed, no error occurred
S=0: last sequence
04 = reflected user ID
24 = reflected command number
2 0600
8600
0xxx/8xxx = the toggle bit TG changes after each execution
L32=0
number of read bytes < 32
x6xx = slave address 3A shifted 1 bit to the left
reflected command data
3
1234
1st and 2nd parameter bytes of index 9 in slave 3A
4
5678
3rd and 4th parameter bytes of index 9 in slave 3A
5...17
xxxx
invalid / not changed
18
0400
04 = 4 bytes of parameter data were read
Response from device to fieldbus master in case of a fault
, if error detected by AS-i master
Word no.
Value [hex.]
Meaning
1
8424
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
8424
E=1: error when executing the command
reflected command data
2 0100
8100
the toggle bit TG changes after each execution
F=1: error when executing the command
3 01E1
CTT2 error codes (
→
page
) 01 = invalid index,
data sheet of the AS-i slave
error codeE1 = error detected by AS-i slave; CTT2 error
4...18 xxxx
not
changed