Jump to content

Recommended Posts

Posted

I have a project but going big and the ladder send me error code exceed limit so i separate in subrutins but now the activation coils  doesnt work some sample to do that or how i can check if the subrutine is ejecuting or not.

errorsubrut.png

Posted

You can add a increment MI to the subroutine in a new net to verify that it is being called and executed.   When you go in to online mode it should increment everytime the subroutine is called.

Also use the find MB feature to verify that you aren't accidentally resetting the coils somewhere else in the project.

Posted

Thanks for your replay and going to implement the options your talking about , I don't know how to work with subroutine called when some event happen or how to have a subroutine  running always like the application is running as one routine.

On help i don't see something about that for that i feel confuse.

 

thanks to all.

Posted

As you have no logic in your !Main Module to prevent running the subroutine, the subroutine will run every scan.

 

The easiest way for me, I assign a binary element to the HMI screens and link a coil to it with a bit of a blink logic, so I know that particular subroutine is running every time.

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.