ACS-20B(W)-MRTU User Manual
Version 1.1
Page
:
39
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
5.2.13 Sub-FC40(0x28): Set RTC Time
Table 5-29: FC100-Sub-FC40 Request
Byte
order
Description
Size
Value
00
Address
1 Byte
1 ~ 247 (Net ID)
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x28
03
Year_MSB
1 Byte
High byte of AD Year,
e.g. 07h of 07E5h (2021)
04
Year_LSB
1 Byte
Low byte of AD Year,
e.g. 0xE5 of 0x07E5 (2021)
05
Month
1 Byte
1 ~ 12
06
Day
1 Byte
1 ~ 31
07
Hour
1 Byte
0 ~ 23
08
Minute
1 Byte
0 ~ 59
09
Second
1 Byte
0 ~ 59
10
Reserved
1 Byte
0x00
Table 5-30: FC100-Sub-FC40 Response
Byte
order
Description
Size
Value
00
Address
1 Byte
1 ~ 247 (Net ID)
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x28
03
Result
1 Byte
0=>OK, Others=>Error