bbrus Posted Wednesday at 08:34 PM Report Share Posted Wednesday at 08:34 PM I cant run timers, from start, from operand, from subrotine, dont work like in photo Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted Wednesday at 09:09 PM MVP 2023 Report Share Posted Wednesday at 09:09 PM A delay timer won't turn on until the timer expires and the power flow must be continuous for the entire preset time. Additionally, if the timer is in a subroutine, make sure the subroutine is being called in the Main Routine. Also, make sure the timer coil does not exist anywhere else in the program. If you think none of this applies and the timer still won't run, post your program here and someone can help you. Link to comment Share on other sites More sharing options...
bbrus Posted Wednesday at 09:29 PM Author Report Share Posted Wednesday at 09:29 PM yes, timer is in subroutine but it called from main routine, on HMI i added a timer indicators and it dont changing, i use continuous power flow, in new test project timers works normaly Link to comment Share on other sites More sharing options...
bbrus Posted Wednesday at 09:48 PM Author Report Share Posted Wednesday at 09:48 PM here's the project file df for forum.vlp Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted Wednesday at 10:30 PM MVP 2023 Report Share Posted Wednesday at 10:30 PM I can't properly open your project but the bit I was able to see indicated that MB123 is after a transitional contact. MB1 -[P]-----MB123[S}------start I'm assuming you are thinking that when MB1 transitions to ON, it sets MB123, and this set then constantly powers the start sub call. It doesn't work like this. MB123 needs to be on the left rail. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted Wednesday at 11:06 PM MVP 2023 Report Share Posted Wednesday at 11:06 PM Ausman is correct. I was able to open your file and you need to do this if you want your subroutine to run for more than a single scan: 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