TPE Posted September 6, 2011 Report Share Posted September 6, 2011 Hi all, Is it possible to implement a floating point data entry field on a Vision260 screen ? I have crated a screen with Numeric Variable data entry field and have set the format to 4.1 but cannot find a way to link the field to an MF (memory float). Thankyou in advance. TPE Quote Link to comment Share on other sites More sharing options...
Jas Posted September 6, 2011 Report Share Posted September 6, 2011 There is no direct option to enter memory floats via keypad entry on standard series vision controllers (V120, V2xx). A workaround would be to enter the value into a memory integer register and then via ladder logic convert that to a memory float. Please see the attached example that does exactly this for one decimal place of accuracy (4.1 base format). Also, do you really need to use a memory float though? Another option would be to just keep track of that tens place (one decimal) offset in any math or logic operations you may perform while solely using memory integers or memory longs. V260 - HMI Decimal Entry.vlp Quote Link to comment Share on other sites More sharing options...
TPE Posted September 7, 2011 Author Report Share Posted September 7, 2011 Thankyou very much for your fast response. The example is just what I need. While the user needs to enter a value with 1 decimal place, I may well multiply by 10 and place in an integer counter. Thanks again. TPE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.