6. Appendix
The response from the Astat Plus will contain the same slave address and function code, but the data field will include the total number
of chars read, and the value of the requested parameters.
Quiet Time
Slave Address
Function Code
Data Field
CRC
Quit Time
#of chars
3.5 chars
slave#
17
parameters read
2 chars
3.5 chars
.
Examples
Supposing we are trying to communicate with slave 17 (note that 17 is 11h):
- To read parameters 3, 4, 5 and 6
Quiet Time
Slave Address
Function Code
Data Field
CRC
Quit Time
0003
3.5 chars
11
03
0004
2 chars
3.5 chars
- To write values 1, 2 and 3 in parameters 9, 10 and 11
Quiet Time
Slave Address
Function Code
Data Field
CRC
Quit Time
0009
3.5 chars
11
10
0003
2 chars
3.5 chars
06
0001
0002
0003
-To execute the above 2 commands in one
Quiet Time
Slave Address
Function Code
Data Field
CRC
Quit Time
0003
3.5 chars
11
17
0004
2 chars
3.5 chars
0009
0003
06
0001
0002
0003
Quiet time
Slave
Function Code
Data Field
CRC
Quiet
Address
time
starting address to read
# of parameters to read
3.5 chars
slave
17
#starting address to write
2 chars 3.5 chars
# of parameters to write
# of chars to write
values to write
6-7