SteelBlue48310 Posted February 14, 2013 Report Posted February 14, 2013 Working with a U91-2-R1... I have a screen that I'm trying to get an input that has the format of xxx.xx, but no matter what I enter, I can only get x.x and then the blinking cursor... enter key doesn't do anything. The arrow keys allow me to 'clear' the input. The variable is set for "format" of "xxx.xx" "keypad entry" is checked. What am I missing? ~Mike
Gabriel Franco Posted February 14, 2013 Report Posted February 14, 2013 Perhaps a number greater than 327.67 ?? Also check entry limits.
Emil Posted February 14, 2013 Report Posted February 14, 2013 If this will not help, please post your application here or send it to support@unitronics.com and explain how to simulate the problem you face.
SteelBlue48310 Posted February 14, 2013 Author Report Posted February 14, 2013 I removed my 'limit' check mark, and now I can enter any value I want, but... I'd prefer that the user can only enter a value between 48.00 and 60.00 For example, if I enter 51.25 it would accept it, but if I enter 13.05 it shouldn't. Emil... I am not at the stage yet to post the project. I am just doing some 'proof of concept' stuff for now.
SteelBlue48310 Posted February 14, 2013 Author Report Posted February 14, 2013 Also... I can only see a 1024 (decimal) value for the analog input. I was expecting to see 0 - 32,767 as my 0-10V input changes. U.90 Project is attached.... (It is stripped down to the bare bones as I try to work this out) ~Mike
SteelBlue48310 Posted February 14, 2013 Author Report Posted February 14, 2013 oops... I meant M91, not U91.
SteelBlue48310 Posted February 15, 2013 Author Report Posted February 15, 2013 Got this to work since the last post.... I also now realize that the input is 10-bit resolution, so disregard that comment. Now I'm working through another issue. Trying to get the actual 'displayed' value to be represented somewhere in memory so I can use a compare function to be similar to a value that is entered via the keypad. (It's because I am now scaling the values)
Emil Posted February 15, 2013 Report Posted February 15, 2013 My advice - use Linearization function in Ladder (Special function without Ladder element - see relevant Help topic and example). Then, you will show the result in Engineering Units on display and will use it on your ladder - for compare and control. 1
SteelBlue48310 Posted February 15, 2013 Author Report Posted February 15, 2013 My advice - use Linearization function in Ladder (Special function without Ladder element - see relevant Help topic and example). Then, you will show the result in Engineering Units on display and will use it on your ladder - for compare and control. Thanks Emil! This was exactly what I needed. The project is finished and working just like I had hoped.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now