Help with Quick Panel displaying negative values
Help with Quick Panel displaying negative values
(OP)
I have a quick Panel that I am programing in proficy. I have a modbus register coming in that is a negative value. the quick panel shows this as a value of 0. how can I get it to show the negative value?





RE: Help with Quick Panel displaying negative values
Is it as easy as that?
If not, you will have to write a function that detects negative values, converts it to absulute value, displays it and adds the sign in the display. I cannot imagine that you shall have to do that in a modern system, though.
Gunnar Englund
www.gke.org
--------------------------------------
Half full - Half empty? I don't mind. It's what in it that counts.
RE: Help with Quick Panel displaying negative values
Thank you for your response.
RE: Help with Quick Panel displaying negative values
There are systems where if the scale is 0 to something positive and your value is negative, the scaling function will truncate the value at scale minimum, 0.
RE: Help with Quick Panel displaying negative values
RE: Help with Quick Panel displaying negative values
You could be reading an address that starts at zero in the Modbus scanner but the panel starts at one (or vice versa)
Try reading the modbus address one plus or one minus of the target register address and see if something other than zero appears.
RE: Help with Quick Panel displaying negative values
This is a parameter of the driver but it's location is depending on which driver you are using in the QuickPanel either Native or OPC and Serial or Ethernet. You will be able to find it in the driver's help.