11
Brains Development / Brain for dealing with negative DRO values from modbus device
« on: April 05, 2012, 07:00:00 PM »
All,
I am trying to write a negative value generated from a modbus device into a DRO. I have no problems doing this with positive values but what I try to pass
a negative value it ends up with a value around 65535. I know this has to do with the register size but I need help figuring out
how to deal with it......any help sure would be appreciated.
Thanks and Happy Easter
I am trying to write a negative value generated from a modbus device into a DRO. I have no problems doing this with positive values but what I try to pass
a negative value it ends up with a value around 65535. I know this has to do with the register size but I need help figuring out
how to deal with it......any help sure would be appreciated.
Thanks and Happy Easter