②
The CTT2 data set begins with the CTT2 command code (13
set length, followed by the data set bytes DS byte 0 to DS byte 27.
The DP command interface for the AS-i master (DP/AS-i Link Advanced) accepts the data set bytes and forwards
them to the addressed slave.
③
The slave processes the command and sends the response to the AS-i master.
④
The AS-i master accepts the response and forwards it to the receive buffer of the CPU via the DP command
interface.
⑤
The response is decoded in the receive buffer of the CPU and the program is executed accordingly. The following
responses are possible:
53
: Error-free transfer
a
H
93
: Transfer with error (CTT2 error)
b
H
90
: Transfer with error (CTT2_command not supported)
c
H
93
: Transfer with error (data set error; see M200D data set error code (Page 166))
d
H
A.1.3
Reading CTT2 data sets
Job data in the send buffer
Byte
Master-
dependent
content
p+0
Command
number:
p+1
Slave address
p+2
Number of
string bytes
p+3
String byte 1 =
p+4
String byte 2 =
p+5
String byte 3 =
M200D AS-Interface Standard
Manual, 08/2014, A5E02548958A/RS-AA/004
Meaning according to
Value for
AS-i spec. V3.0
DS 200
(non-master-
"Diagnostics"
dependent)
—
68
—
xx
—
3
dec
CTT2: Code
18
CTT2: Index
200
CTT2: Length
9
dec
), the data set number (CB
H
Value for
DS 201
"Measured
values"
(44
)
68
(44H)
dec
H
dec
xx
(03
)
3
(03
)
H
dec
H
(12
)
18
(12
)
dec
H
dec
H
(C8
)
201
(C9
) 202
dec
H
dec
H
(09
)
7
(07
)
H
dec
H
A.1 Acyclic data transfer via CTT2
= 203
H
Value for
Value for
DS 202
DS 203
"Statistical
"Parameters"
data"
68
(44
)
68
(44
)
dec
H
dec
H
xx
xx
3
(03
)
3
(03
)
dec
H
dec
H
18
(12
)
18
(12
)
dec
H
dec
H
203
(CB
dec
dec
H
(CA
)
H
21
(15
)
28
(1C
)
dec
H
dec
H
Appendix
), and the data
dec
Meaning
CTT2
request_write
Bits 0 to 4:
Slave address
Bit 5:
0 → A addr.
1 → B addr.
Number of
subsequent
bytes
= CTT2
command
)
= DS number
= DS length
163