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
  • Hi Patrick & Eric Black,
    Thank you guys for help me, finally it is working perfectly; this done by your knowledge & answers.

    Yes, it was defined using GENERIC protocol and defined with Data Type LONG. I changed to REAL, and works perfectly. The scaling I do it on the MTR1_KW_H and MTR1_KW_L. So the result of the calculation doesn't need a scaling on the DiskDevice. just the scale that I need. raw zero 0 and raw full 40 eng zero 0 and eng full 40.

    Thank you very much,
    Regards
Reply
  • Hi Patrick & Eric Black,
    Thank you guys for help me, finally it is working perfectly; this done by your knowledge & answers.

    Yes, it was defined using GENERIC protocol and defined with Data Type LONG. I changed to REAL, and works perfectly. The scaling I do it on the MTR1_KW_H and MTR1_KW_L. So the result of the calculation doesn't need a scaling on the DiskDevice. just the scale that I need. raw zero 0 and raw full 40 eng zero 0 and eng full 40.

    Thank you very much,
    Regards
Children
No Data