User`s guide

User Drivers
118 Eaton Intelligent Power Manager (IPM) User’s Guide v1.40
P-164000289—Rev 2
Table 17. Conversion Rules
Rule String
STRING Format: STRING([<formatString>])
Without parameters: No conversion
Just transfers source object value as a string to destination object.
With parameter, the destination object is created and its value is fixed.
Normalized field can be used:
STRING(“My Device”)
STRING(“http://{hostname}/default.html”)
STRING(“{value}”)
Fields in brackets are replaced by correspondent value (if defined).
Available fields are:
{hostName}
{ipAddress}
{value}
{object:UPS.PowerSummary.iProduct}
VALUE Format: VALUE([<constantValue>])
Without parameters: No conversion
Just transfers object value as a number to destination object.
With parameter, the destination object is created and its value is fixed by given value.
VALUE(15)
VALUE(-12.34)
We can also use a javascript equation for special needs
VALUE(“{value} == -1 ? 0 : {value} + 1”)
MULT Format: MULT(<multiplier>)
Multiply source value to the given factor before setting destination object.
MULT(10), MULT(0.1), MULT(3.1415)...
LINEAR Format: LINEAR(<srcVal1:dstVal1> , <srcVal2:dstVal2>)
Example: conversion from °C to °F
LINEAR(0:32, 100:212)
Calculation:
(dstVal2 - dstVal1) / (srcVal2 - srcVal1) * (value - srcVal1) + dstVal1