Applies To:
  • CitectSCADA 3.xx, 4.xx, 5.xx

Summary:
TagRead and TagWrite use the Variable Tag Format.  

Solution:
TagRead uses the format from the Variable Tag Database to format the resulting string. This means that if

real_test = 12.345678

and real_test is defined to have the format ##.##

TagRead("real_test") will return 12.35

The workaround is either to change the format to nothing (or ##.########) and then use the real_test:##.## string in your display page or to define another vaiable tag pointing to the same address in the PLC and using no format for that.

 

Keywords:
 

Attachments