background image

IWM-LR3 - IWM-LR4

User Manual v1.0

9

Vif and management of counters

If the index K = 1 (liters) [where K=1 means 

CPR-M3-I

GMDM-I

GMB-RP-I

GMB-I

; K=10 

WDE-K50

 up to DN125 

included; K=100 

WDE-K50

 DN150 and DN200], the initial value of VIF = 0x13 (liters) is considered. If the meter 

exceeds  the  maximum  number  of  countable  liters  (99.999.999),  the  counter  is  incremented  and  not  reset 

(100,000,000 liters) and the new counting value will be 10,000,000 decaliters with VIF = 0x14 (decaliters). 

Consequently, the counter will be increased by one unit every 10 turns of the target.

If  the  index  K  =  10  (liters),  the  initial  value  of  VIF  =  0x14  (decaliters)  is  considered.  If  the  meter  exceeds         

the maximum number of countable decaliters (99.999.999), the counter is increased and not reset to zero 

(100,000,000 decalitres) and the new count value will be 10,000,000 hectoliters with VIF = 0x15 (hectoliters). If 

K = 100 (liters) I transmit with VIF = 0x15 (hectoliters) and then use VIF = 0x16 (m3) at the time of the counter 

overflow.

In the case of further overflows, the VIF is decreased by a size and the counter reset to 0.

Alarm byte coding

Bit 0: Magnetic

Bit 1: Removal

Bit 2: Sensor fraud 

Bit 3: Leakage

Bit 4: Reverse flow 

Bit 5: Low battery

 

Temperature byte coding (extra)

Temperature reading can be enabled with a 0x26 SET_ALARM_PAR command (NFC or LORA). The parameter

is in the most significant byte of block 6A of the EEPROM.

Eg. 26 00 00 00 09 04 00 00 00 01 00 00 00 00 

→ 

Enable

Eg. 26 00 00 00 09 04 00 00 00 00 00 00 00 00 

 Disable

N.B:

 Pay attention to the meaning of the other parameters (for example the last 4 bytes are the low battery 

threshold). Refer to the supplement ‘integrators’ document: request it directly from B METERS.

In the payload with Temperature parameter enabled there are at the bottom two additional bytes that indicate 

the temperature. Refer to the example below.

Eg. 

01 1b

 (HEX) means 283 (decimal) which, like the rest of the fields by convention, must be interpreted as

28.3 (the28.3° C).
The negative temperature value is indicated by the most significant bit at 1 of the first (from left to right) of 

the two bytes that give the temperature value (0x80 in the example below). The remaining 15 bits indicate the 

absolute value.

Eg. 

80 be 

(HEX) 

 be 

→ 

19 (decimal) so –19° C 

Summary of Contents for IWM-LR3

Page 1: ...pletes 5 revolutions This equals to 5 liters on the IWM LR3 thus the meters CPR M3 I GMDM I GMB RP I and GMB I and 50 liters on the IWM LR4 on the meter WDE K50 from DN50 to 125 and 500 liters on the...

Page 2: ...mands When the startup sequence is completed normal operation is started The full joining procedure should take maximum 20 minutes The module starts transmitting with Spreading Factor SF 12 for maximu...

Page 3: ...to order a batch of devices configured with a custom unique AppEUI For this contact B METERS support Upon receiving your IWM LR3 IWM LR4 you can request from B METERS the necessary information to conn...

Page 4: ...LR3 IWM LR4 unit on the meter remember to remove the protective metal sticker from the module You can then proceed with the module mounting on the meter Physical installation process Phase 1 Mount IWM...

Page 5: ...to let the inductive index of the dial rotate for 5 revolutions On the GM and CPR M3 I models this corresponds to 5 liters On the WDE K50 models this corresponds to 50 or 500 liters depending on the K...

Page 6: ...ee coils simultaneously covered or transitions of state not allowed foreign object is obstructing the rotating index coils communication LEAKAGE ALARM If the passage of minimum 3 liters in an houd is...

Page 7: ...MHz OTAA default ABP on request AES 128 Cryptographic co processor max 10 years at 12 hour intervals at SF12 Lithium Manganese 3 0V 2 4 Ah Inductive 124 g LR3 167 g LR4 12 hours configurable via NFC C...

Page 8: ...l of 13 bytes 15 bytes if temperature control is enabled Where by absolute value of the counters is meant ABS Direct flow counter Reverse flow counter Application code 44 Absolute value of the counter...

Page 9: ...the VIF is decreased by a size and the counter reset to 0 Alarm byte coding Bit 0 Magnetic Bit 1 Removal Bit 2 Sensor fraud Bit 3 Leakage Bit 4 Reverse flow Bit 5 Low battery Temperature byte coding e...

Page 10: ...ounter byte 1 4 YY 34 Reverse flow counter byte 2 4 YY 01 Reverse flow counter byte 3 4 YY 00 Reverse flow counter byte 4 4 YY 00 Index K KK 00 Medium MM 00 VIF VV 13 Alarms LL 02 Temperature byte 1 2...

Page 11: ...d used to set physical counter parameters 0x1B GET_METER_PAR Command used to read the physical parameters of the counter 0x26 SET_ALARM_PAR Command used to set alarm detection parameters 0x27 GET_ALAR...

Page 12: ...N port 1 3 1 GET_FW_VERSION 0x07 The command used to read the version of the FW loaded on the card R2H HEADER property Fct C R A Err Chain Len 1 byte 1 byte 1 byte 1 byte 1 byte 0x07 0 0 0 0x00 H2R AN...

Page 13: ...the date and time R2H H2R The Date field is as follows HEADER property Date Fct C R A Err Chain Len Device Type property Day Day of the week Month Year Hours Minutes Seconds 1 byte 1 byte 1 byte 1 by...

Page 14: ...0x03 Incorrect request password was not presented 0x04 Length Error 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 0x15 0 0 0 0x01 0x04 HEA...

Page 15: ...wing 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_CO...

Page 16: ...s of the counter Data fields larger than bytes will be represented in MSB first R2H H2R The Date field is as follows HEADER property Date Fct C R A Err Chain Len Device Type Forward counter Backward C...

Page 17: ...e is incorrect 0x03 Incorrect request password was not presented 0x04 Length Error 3 9 SET_ALARM_PAR 0x26 The command used to set alarm detection parameters Data fields larger than bytes will be repre...

Page 18: ...ct 0x03 Incorrect request password was not presented 0x04 Length Error Name Type Default Minimal Maximum Description Date Index Alarm Threshold Reverse Uint8_t 0x00 0x00 2 0 20 litres 1 50 litres 2 10...

Page 19: ...te 1 byte 28 bytes 0x28 0 0 0 0x1D property 0x04 Name Type Default Minimal Maximum Description Index Finger Date Alarm Flags Uint32_t 0x0000000000 0x0000000000 0x3F property Bit 0 magnetic Bit 1 Remov...

Page 20: ...orrect 0x03 Incorrect request password was not presented 0x04 Length Error HEADER property Date Fct C R A Err Chain Len Device Type AlarmFlags 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 4 bytes 0x29 0...

Page 21: ...as initial consumption R2H 0x16 0x00 0x00 0x00 0x06 0x04 0x00 0x00 0x03 0x60 0x00 H2R 0x16 0x01 0x00 0x00 0x00 SET_ALARM_PAR 0x26 Temperature bytes enabled R2H 0x26 00 00 00 09 04 00 00 00 01 00 00 0...

Reviews: