Value Scaling
Hi,
Nice piece of software, simple to use and easy to learn.
I have a Modbus RTU slave connection which is polling nicely and putting the decimal values on the graphical interface.
What I would like to do is scale those Modbus values to show 0-100% instead of 16384 to 49152 as recorded from the device.
I have tried putting in a computable Simulator variable with some code to do it, however it doesn't seem to be able to reference a MODBUS variable from the simulator plugin.
Has anyone else done this before?
I am about to delve into the scripting to see if there is another way.
Cheers,
RFEE
- +1
- 23 June 2011, 21:49
- RFEE
Comments (1)
RSS Collapse / ExpandFS2 Channel Type: Double
…
MOD Register: Input Register
MOD Data Type: UInt
…
k constant of y=kx+d: 0,0030517578
d constant of y=kx+d: -50
jimleg
Registered and authorized users can post comments only.