RSLogix 5000 Periodic Task Time

engras

Member
Join Date
Feb 2021
Location
Pakistan
Posts
1
Hello everyone,
I am new to PLCs, what will happen if I set the Period of a Periodic task lesser than its execution Time for ControlLogix Controller. For example, I set the Period of periodic task as 10ms, however, it took 15ms to execute.
As per my understanding, if I have only one continuous task and this particular periodic, then nothing will happen unless my watchdog is lesser than the execution time, if so a Major fault will occur. Please validate if I am correct in my understanding?
 
In your example, every 10ms the periodic task would interrupt itself. Each time it would restart at the beginning of the task and it would be interrupted before it could complete the task. This will cause a watchdog fault in either the continuous task or in the periodic task.

Each task has its own watchdog timer. The watchdog timer starts timing when the task begins and then it resets when that task completes. If that task is unable to complete, then the timer will continue running until it expires and cause a major fault. The watchdog fault could occur in the continuous task or in the periodic task. Extending the watchdog time won't help since the controller is caught in a loop from which it cannot escape. Extending the watchdog time is unsafe as it allows the compromised system to keep running for a longer time before faulting.

OG
 
Last edited:

Similar Topics

Got into a bit of a debate the other day, and wanted to get some gurus' opinion/expertise on the subject. When duration of an output's ON (or...
Replies
9
Views
10,761
Hey guys, I wanna to write a bit of code to return value to show if the task is in periodic or continuous mode? is there a tag in RSLogix 5000 to...
Replies
18
Views
27,860
Hey all, Anybody have experience with RSLogix5000 Function Block Totalizing? Should a TOT function block be placed in a periodic task or...
Replies
2
Views
3,958
I am currently adding pide's to an existing RSLogix 5000 program (ver 13)for controlling our scrubbers. I am putting the pide's in a periodic...
Replies
18
Views
10,807
Back
Top Bottom