![background image](http://html1.mh-extra.com/html/ifm/ac1401-02/ac1401-02_device-manual-supplement_3905571108.webp)
108
ifm
Device Manual Supplement: Acyclic data records and Command interface (AC14 and AC4S)
2017 / 09
Command channels
>
Command response channel (device >>> fieldbus master)
18392
Offset
Word no.
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
reflected user ID
2
reflected command number
3
reserved
Command status
(
4
command error code
5
number of bytes received
reserved
ST
reflected slave address
6
data byte 0
RC
7 ... m
data byte n+1
data byte n
Legend:
ST
slave type
1 bit
0 = single slave or A slave
1 = B slave (= addition of 0x1F to the slave address)
RC
CTT2 Response Code
1 byte
0x5A = No CTT2 error on command execution :
The following data bytes contain the requested data.
0x9A = CTT2 error on command execution:
The following data bytes 0...5 contain
→
CTT2 error object
(
>
Possible command error codes
11150
Error code
Error
Description
0x00
No fault
0x0A
NA
Slave is not in the LAS
0x14
IC
Invalid S-7.4 command
0x17
CMD_PRE
Start requirements for S-7.4 command not met:
- Wrong slave profile (is not S-7.4) or:
- Slave is not in LAS or:
- Master is not in the protected mode
0xE1
CTT2_ACYCL_RD_NOK
Command execution error
0xE2
CTT2_ACYCL_CMD_NOK
Invalid command
0xE3
CTT2_ACYCL_RESP_NOK
Wrong response data or internal error
0xE4
CTT2_ACYCL_WR_LEN_NOK
Wrong data length when writing
0xE5
CTT2_ACYCL_STATE_NOK
Invalid state of the CTT2 state machine when executing the command
0xE6
CTT2_ACYCL_STATE_RESET
Reset when executing the command
0xE7
CTT2_ACYCL_RD_LEN_NOK
Wrong data length when reading
0xE8
CTT2_ACYCL_RD_WR_LEN_NOK Wrong data length when reading / writing
0xEF
CTT2_ACYCL_CMD_TIMEOUT
Timeout