Walkerok Posted June 28, 2011 Report Share Posted June 28, 2011 I have been using a comparison block to allow users to set a series of conditions. In this case the user base wants to have PLC inputs changable as to wheather a normally closed input or a normally open input is acted apon. That is easy enough for me to write ladder that allows this to hapen by looking at a series of bits. My problem comes in that I have just exceeded the number of comparisons that a program is allowed. Since I have not been able to determine a way to set bits directly from the kepad, I have been puting MIs on the screens and if the user sets MI? = 0 then the normally closed state of the ladder will be used or if MI? = 1 then the normally open ladder section will be used. To do this I have to have a comparison on the MI? value. I am also doing the normal comparisons that just come along with moving between screens and deciding action points for analog signals (and so on and so forth). If I can set the Bit directly I would be able to remove 17 comparisons and be able to finish this version of the program no problem. Any ideas? Keith Quote Link to comment Share on other sites More sharing options...
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.