trn_psycho
May 1 2007, 09:57 AM
Hey all,
I'm trying to create a numeric input box that will take a value (lets say 450.0) and strip out the decimal. OK, that part was easy. (I used decimal point Fixed Position (1), and selected Stripped Value.) Where I'm having my problem, is: I'd like to have the entered value show up in the box after I'm done entering it. If I select the tag in the Label field, it shows up as 4500. (This makes since, as it's what was written in the PLC.) How can I make it show as the entered 450.0?
Kevin
Charlie Maher
May 1 2007, 10:27 AM
If you use a memory tag in the HMI, you could scale that tag in the TAG editor. Have it display 10% of the original value with one decimal place. 4500 X .10=450.0
trn_psycho
May 1 2007, 10:47 AM
Thanks... That worked great...
doug2
May 2 2007, 01:25 PM
I believe that you can simply enter the tag / 10 (in the field that you would normally put the tag) instead of creating a memory tag.
trn_psycho
May 2 2007, 01:37 PM
No... Won't work. That's what I had been trying to do. It just displays (value/10).
doug2
May 2 2007, 02:33 PM
QUOTE(trn_psycho @ May 2 2007, 11:37 AM) [snapback]53637[/snapback]
No... Won't work. That's what I had been trying to do. It just displays (value/10).
ok i have only actually done that with a data display not on a display for an entry field. sorry
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.