Browse FAQs

How to calculate MOD1K in Modbus Device Importer

Published date: 23 October 2019

Issue
User is looking to create a driver for 3rd party device that uses MOD 1K to store accumulated information
Example
Register 40100 Wh
Register 40101 kWh
Register 40102 MWh

Product
Power Monitoring Expert 7.2.x, 8.x, 9.0
StruxureWare Power Monitoring 7.0.x

Environment
Modbus Device Importer (MDI)

Cause
MDI does not natively support register type MOD 1K, MOD 10K is a supported register type

Resolution
*Warning: Take backups of any files prior to modifying them. Ensure the backups are in a location that will not be overwritten (i.e. the Desktop).*
Note that registers defined as offset will be updated with the slow speed update rate.

Solution includes a combination of scaling, multiplier and offset registers.

1) Create a new register linked to the lowest register, set the scaling to 1000 and multiplier to -1
- Recommend naming this register other than the desired final register name eg kWh Del 10E-3

2) Create a second register. Set the scaling to 1000, and multiplier to -1. Add an offset register created in step 1.
- Recommend naming this register other than the desired final register name- recommend  eg. kWh Del 10E0

3) Create a third register. Set the offset register to the register created in step 2. Add a multiplier to give the correct desired units.
- Name this register the desired measurement name. eg kWh del.

This process can be repeated for more than 3 registers 

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.