Ebenezer Posted June 11 Report Share Posted June 11 MB 35 Coil latched in Gen 1 Subroutine even when the Stop Button is pressed thereby making it impossible to stop the entire sequence. Coils such as O34 and O35 remain latched. Please what should I do? The solution will be adopted for Gen 2 and Gen 3 Subroutines. 100624.vlp PLC OPERATION FLOW DIAGRAM.pdf Link to comment Share on other sites More sharing options...
Adcontrols Posted June 11 Report Share Posted June 11 Would this work for you? Obviously you would need to add the same contact to O35's coil Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted June 11 MVP 2023 Report Share Posted June 11 I strongly recommend that you do NOT use conditional subroutines. This is not only poor programming practice with ladder logic, but it will leave coils in limbo with unpredictable results. Also, use transition contacts when calling HMI screens. Link to comment Share on other sites More sharing options...
Ebenezer Posted June 11 Author Report Share Posted June 11 I want the STOP Button to reset the operation of the PLC to start afresh from where it started during START Command which it is NOT achieving except, I use ''SB-24'' in NET 7. It happens when I use the SB-24 (Initialize and Reset PLC (Set to cause PLC Reset and to Initialize all operands to 0) which is not a good practice. See the updated file attached. Other than this, the sequence goes very well. 110624.vlp Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted June 11 MVP 2023 Report Share Posted June 11 Flex's advice is imperative. The conditional sub issue is discussed in depth at point 11 in https://forum.unitronics.com/topic/6229-ongoing-25-topics-almost-worth-pinning/ 1 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