|AutomationDirect Live Chat|
This video gives basic information on Using the YIELD "Yield Program or Task" instruction in the Do-more Designer software. It presents information that is commonly missed by users. This WILL NOT be a complete tutorial for the instruction but rather a supplement to the help file and customer experience.
This instruction is used to stop execution of a Program or Task and pass control to the next Program or Task in the execution order of the CPU. This is helpful if you have a code block that is increasing your CPU scan time. By placing multiple yield instructions in the code block, this will divide the code block so that it will share the scan time burden across multiple scans of the CPU. So, once the code-block begins executing, only the ladder logic between the first rung and the first Yield instruction will execute on the first scan of the Program. On the next scan the ladder logic between the first and second Yield instructions will be executed. On the third only that between the second and the third and so forth.