![Acrel AID150 Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/acrel/aid150/aid150_installation-and-operation-manual_3046841032.webp)
28
CRC check
code
High
byte
74H
Low
byte
75H
Low byte
0CH
7.1.2.2 Function code 10H: Write the registers
The function code 10H allows the user to change the contents of multiple registers, which can write
the time and date in this meter. The host can write up to 16 (32 bytes) data at a time.
The following example shows a preset address of 01 with an installation date and time of 12:00,
Friday, December 1
st
, 2009, in which the Monday to Sunday are replaced with number 1 to 7.
The host computer sends
Send
message
The slave computer
returns
Return
message
Address code
01H
Address code
01H
Function code
10H
Function code
10H
Start address
High
byte
00H
Start
address
High
byte
00H
Low
byte
04H
Low
byte
04H
Number of
registers
High
byte
00H
Number of
register
s
High
byte
00H
Low
byte
03H
Low
byte
03H
Bytes
06H
CRC check
code
High
byte
31H
0004H
Data to be
written
High
byte
09H
Low
byte
C9H
Low
byte
0CH
0005H
Data to be
written
High
byte
01H
Low
byte
05H
0006H
Data to be
written
High
byte
0CH
Low
00H