IWM-LR3 - IWM-LR4
User Manual v1.0
15
3.5 SET_REVOLUTION_COUNTERS (0x16)
The command used to set the initial value of the counters. Data fields larger than bytes will be represented in
MSB first.
R2H:
H2R:
The Date field is as follows:
The 31 and 30 bits of the Forward counter field have the following meaning:
0b00 - Counter expressed in Litres (value is allowed only if the setting of the K is 1)
0b01 - Counter expressed in decalitres (value is allowed only if the setting of The K is 10)
0b10 - Counter in hectolitres (the value is allowed only if the setting of the K is 100) 0b11
- Not allowed
The Err field in the answer can take on the following meanings:
0x00 - No Error
0x01 - Out-of-range counter error
0x02 - Device TypeError. The device type is incorrect.
0x03 - Incorrect request, password was not presented 0x04
- Length Error
3.6 GET_REVOLUTION_COUNTERS (0x17)
The command used to read counters. Data fields larger than bytes will be represented in MSB first.
R2H:
HEADER property
Date
Fct
C/R/A
Err
Chain
Len
Device Type
property
Forward
counter
Reset
Backward
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
4 bytes
1 byte
0x16
0
0
0
0x06
0x04
HEADER property
Fct
C/R/A
Err
Chain
Len
1 byte
1 byte
1 byte
1 byte
1 byte
0x16
0
0
0
0x00
Name
Type
Minimal
Maximum
Forward counter
Uint32_t
0
9.9999.9999
Reset Backward
Uint8_t
0 - Do not reset 1 - Reset counter
HEADER property
Date
Fct
C/R/A
Err
Chain
Len
Device Type
property
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
0x17
0
0
0
0x01
0x04