ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Function
Introduction AS-i data
31
Command 1 (01
h
): write parameters
Command request:
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
echo byte
request output
1
00
h
01
h
2
ignored
Sel
A4
A3
A2
A1
A0
3
ignored
P3
P2
P1
P0
4…18
ignored
Legend:
SEL
0 = A slave
1 = B slave
A4…A0
slave address 0...31
P3…P0
parameter value to be written
Command response in case of _PC_CMD_READY:
Word no.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
echo byte
_PC_CMD_READY
1
0
01
h
2
ignored
P3
P2
P1
P0
3…16
ignored
17…18
reserved
Legend:
P3…P0
parameter value read back (= reflected parameter)
Possible error codes in case of _PC_CMD_ERROR:
Status
Error
Description
01
h
NOK
No slave response or:
master is in offline mode
0A
h
NA
Slave not activated (= not in LAS)
0B
h
ID
Parameters not valid (>7
h
for ID = A
h
) or:
Address invlaid
14
h
IC
Master not in normal operation (LED [COM] out)