Help - Search - Members - Calendar
Full Version: Numeric Input in RSView
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
trn_psycho
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
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
Thanks... That worked great...
doug2
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
No... Won't work. That's what I had been trying to do. It just displays (value/10).
doug2
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.
Invision Power Board © 2001-2010 Invision Power Services, Inc.