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 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. Link to comment Share on other sites More sharing options...
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