some tags are not refreshing on DskDevice IO Device

Hi All,

I cant figure out why some tags doesnt refresh.

I am reading an ION meter via modbus tcp, and Total Power data is coming on 2 registers. So, in variable tags i have one for High Value Register and other tag for the Low Value register. and via cicode i make the calculation formula Value=High Value * 65536 + Low Value. I have other variable tag on DskDevice L15 named Value. but this isnot refreshing while on runtime. also if i make other text with the same expression tag "Value=High Value * 65536 + Low Value".

could someone help me please

Parents
  • From reading your comment on how you defined your Disk Tag, I suspect you used the GENERIC protocol and defined the tag with data type LONG (a 32 bit integer number), so you cannot use decimal points for that data type. Please try to redefine your disk tag as a REAL (floating point number) and an address within the range R0 to R16376.
Reply
  • From reading your comment on how you defined your Disk Tag, I suspect you used the GENERIC protocol and defined the tag with data type LONG (a 32 bit integer number), so you cannot use decimal points for that data type. Please try to redefine your disk tag as a REAL (floating point number) and an address within the range R0 to R16376.
Children
No Data