GMT Posted April 5 Report Share Posted April 5 Can someone explain why Net 4 in the attached image doesn't work as expected? On power up MB2 and MB5 are both set. When Input 41 goes HI should not Output 57 and Output 59 both turn on? They don't. MB9 - MB12 are buttons on the HMI and they turn on the respective outputs so I know the outputs are functioning correctly. Running on a V570 with addon modules etc... Thanks, Scott Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted April 5 MVP 2023 Report Share Posted April 5 You have O57 and O59 assigned to duplicate coils. This is very bad programming practice. Unlike Set, Reset, and Toggle, you should only use a regular coil once in your program for a given output or bit. When the ladder scans, EVERY rung is evaluated. The last coil assigned to a particular memory location wins. While O57 and O59 may be ON in Net 4, In Nets 9 and 10 they will be turned OFF if MB 9 and/or MB10 are not on. Put an intermediate MB in place of O57 and O59 in Net 4. Then OR your intermediate MB with MB 9 and MB 10 in Nets 9 and 10 to turn the output on. Joe T. 1 Link to comment Share on other sites More sharing options...
GMT Posted April 5 Author Report Share Posted April 5 Works perfectly now. Thanks very much Joe. 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