Jump to content

Recommended Posts

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

Contact Contact Coil.jpg

Link to comment
Share on other sites

  • MVP 2023

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.