96
ifm
Device Manual Supplement: Acyclic data records and Command interface (AC14 and AC4S)
2017 / 09
Command channels
>
Command response channel (device >>> fieldbus master)
18372
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
(
→ p.
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
* ... If the number of bytes to be transmitted is odd, a zero byte (= 0x00) is transmitted in the data byte n+1.
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
0x54 = No CTT2 error on command execution :
The following data bytes contain the requested data.
0x94 = 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