Task configuration

Hello,
I am using Codesys to implement a simply application for PLC.
My question is about tasks configuration:
If I define a task (cyclic task) every 300 ms, what happens if task take more than 300 ms ? the next task start after 300 ms the previous task or it starts anyway ?
Do I have use watchdog to terminate it in 300 ms?

Thanks
 
The system will not have any time for other tasks, and yes it will immediate try to start again after it is finished as the flag is high.
yes you can use a watchdog but easier is to use a SFC as this is timed and it will go to next step when time is passed.
Codesys has own website and forum on 3s-software.com
 

Similar Topics

I have a rolled my own code for a shunt trip in a safety routine and it works just fine. I'm looking for a premade block just so my code looks...
2
Replies
243
Views
Hey all, I was working on troubleshooting a machine today and could not get any of the online tags I added to set inside my rung. I was watching a...
1
Replies
323
Views
Hey guys, I have a control logix V30 that has a program that is locked. From what I gather it requires a key to unlock to view the code. Rockwell...
2
Replies
1,168
Views
Hi All. Can someone please explain what is output processing for a task?? does it have something to do with updating the outputs after task...
11
Replies
1,821
Views
Hi Everyone, I have heard that it is better to have the periodic task in "odd" numbers, for instance, every 103ms. Is that correct? If so, what...
4
Replies
1,143
Views
Top