REAL tag in function - curious transformation

When I put a real tag into my Cicode function the value like 0.127 I see in Debugger Stack Windows 1.226999998 .

What is it ? I tried some real values and got the same result

The trouble is with only tag.

If I put a raw value  0.127 to the CiCode function I see 0.127 in Debugger ...

At the picture below you can see a simple CiCode wich shows the problem is in Citect, not in input pag .....

I noticed it on my input pad ...

Parents
  • Yes, the tooltip input method is unusual. However, it is just the simplest input method in Citect. You can use a popup message box with OK/Cancel buttons (Message function), a popup input box (Input function), popup keypad (FormNumpad function), download a customizable alphanumeric keypad from the Aveva website (log in before opening the link), or even make your own custom copy of the FormNumpad function with the buttons you want (which I've seen some people do). You can also do custom things like displaying the default value from one variable and writing the result to another, or writing custom logic to determine whether to accept the user's input. Other SCADA software that has easy checkboxes for input may not give you much or any options to customize the input popup or how the input value is used. That's where Citect gives you an advantage.

Reply
  • Yes, the tooltip input method is unusual. However, it is just the simplest input method in Citect. You can use a popup message box with OK/Cancel buttons (Message function), a popup input box (Input function), popup keypad (FormNumpad function), download a customizable alphanumeric keypad from the Aveva website (log in before opening the link), or even make your own custom copy of the FormNumpad function with the buttons you want (which I've seen some people do). You can also do custom things like displaying the default value from one variable and writing the result to another, or writing custom logic to determine whether to accept the user's input. Other SCADA software that has easy checkboxes for input may not give you much or any options to customize the input popup or how the input value is used. That's where Citect gives you an advantage.

Children
No Data