iian539@gmail.com Posted February 10, 2015 Report Share Posted February 10, 2015 Hi I have a question about ladder programming (in visilogic): MI1 is coming from a keypad entry, the value range is 0-100. MI2 is coming from an analog input, and is already scaled to the range 0-100. How can i force MI1 to #0 if MI2<20. The MI1 should not be changable by the keypad when MI2<20. Sorry for such a easy and maby silly question. -- IanM Quote Link to comment Share on other sites More sharing options...
s.pratt Posted February 10, 2015 Report Share Posted February 10, 2015 Hello IanM, You can link a "Disable View" bit to the numeric variable. Then in the ladder, use a compare function block to say "if MI2 < 20, then turn on 'Disable View' bit". In other words, a 'less than' compare function block in series with a coil that is linked to the 'Disable View' bit. Let me know if this helps. 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.