lucas.abreu Posted April 11, 2020 Report Posted April 11, 2020 Hello, How to use task control? I don’t know if it’s the right tool to solve my problem, so I’ll explain maybe there’s another tool, I made an update to the program adding alarms to a program, using function blocks, after the download I realized that the machine was slow, I realized that the cycle time increased, how to prioritize scan in my sections, and when possible check this alarm section? Any suggestion? PLC CP1L, I appreciate the attention. Lucas Abreu.
BITS N BYTES Posted April 11, 2020 Report Posted April 11, 2020 Set the Task Properties as a Cyclic task but with Operation start unchecked. Then only call the task from your main program with a oneshot [rising edge bit] to trigger a TKON instruction. At the very last rung of the called task place use LD CF113 [always on] followed by a TKOF. Task will only run once when called from main program. Picture shows Cyclic Task 01 with Operation Start unchecked.
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