Browse FAQs

How to change multipliers in custom device drivers in Power Monitoring Expert?

Published date: 16 December 2019

Would like to change scaling factor of measurements in a custom driver

Product Line
Power Monitoring Expert (PME) 7.2.x, 8.x, 9.x

Custom Device Drivers

Custom device drivers installed into PME have multipliers hard coded

*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).​*

This specifies what the scale factor of the data being requested should be. The scale can be set to any constant decimal value within the range of -3.402823466 E + 38 to 3.402823466 E + 38. If you can obtain the scale for specific register from the device, then you can map the scale value to another register. You can only map the scale factor to registers already created in the Modbus Device Importer.

The mapped register used can be a valid Modbus mapped register or a register with a constant value. Mapping the scale to a constant register is a convenient feature; you can change the scale for many registers by changing the constant value in one location.
  1. Navigate to the install directory of the custom driver. The default location is C:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\system\translators\
  2. Open the xml file associated with the custom device using a text editing program, for example,  "deviceName.xml" using Notepad++
  3. You will see the entries for the multipliers for each measurement listed as "Scale".  For example Scale="100". 
    1. If Scale is not listed, you can add the following statement below preferably after the "Mask" statement and before the NotAvailableValue statement.  
    2. Scale="#"
    3. Replace # with the desired scale value
  4. Edit these values to the desired values, save changes, and close the .xml file. 
<ModbusInfo IONHandle="134217985" Name="VoltsA@!!DeviceName!!Meter01" ModbusAddress="40002" RequestType="R" Format="UINT16" Scale="1" Offset="0" Multiplier="1"/>

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.