ACS-20B(W)-MRTU User Manual
Version 1.1
Page
:
40
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved E-mail: [email protected]
5.2.14 Sub-FC41(0x29): Get IR Sensing Record Data
Table 5-31: FC100-Sub-FC41 Request
Byte
order
Description
Size
Value
00
Address
1 Byte
1 ~ 247 (Net ID)
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x29
03
Number of
records
1 Byte
1 ~ 31, read number of records.
The size of 1 record is 8 bytes.
Table 5-32: FC100-Sub-FC41 Response
Byte
order
Description
Size
Value
00
Address
1 Byte
1 ~ 247 (Net ID)
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x29
03
Result
1 Byte
0=>OK, Others=>Error
04
Data byte
count
1 Byte
8 ~ 248,
i.e., 8 * N (bytes) where N = 1 ~ 31
05
~
[5 +
(8*N-1)]
Record
data
8*N bytes
[Year_MSB_1][Year_LSB_1][Month_1][Day_1]
[Hour_1][Min_1][Sec_1][Reserved_1]
…
[Year_MSB_N][Year_LSB_N][Month_N][Day_N]
[Hour_N][Min_N][Sec_N] [Reserved_N]
where N=1~31 and data length=8*N bytes
Note: Data length of 1 record is 8 bytes
([Year_MSB][Year_LSB][Month][Day][Hour][Minute][Second])