Dayvieboy
Lifetime Supporting Member
Curios on the thoughts of using Continuous vs Periodic tasks.
. The old SLC-500's mostly only had Continuous tasks.
. The Compact & Control Logic have both.
.
The argument against continuous task seems to be that the scan time
. is a bit inconsistent because of other interrupts.
. But if you put it in a Periodic task,
. you are slowing the task down by default.
The SLC-500's usually run 100 % CPU @ all times.
. & they seemed to do a pretty good job
On a Compact Logix you can control the CPU usage
. but if you use a continuous task it goes also to 100% CPU usage
If you want the fastest possible action
. & a bit of jitter in execution time is acceptable
. then a continuous task could be a good solution
Jitter should be easily calculated
. based on any interrupts that you have & how they are set up
If you leave any available CPU scan time
. you have slowed down the process
Of the 9 pretty high level programmers on the project.
. One is adamantly against continuous tasks.
. The rest think it should be used.
. The local Rockwell rep says it should not be used
. I get various opinions when calling tech help
The new processors do run faster than the RPI time of I/O.
. & could trigger some asynchronous event.
. But this is taken care of with de-bounce.
. to eliminate asynchronous I/O triggers may arise
The continuous task is an option in the for a reason
. Or is it just a legacy
I could go on, but will stop here.
Always like the feedback here.
Thanks,
Dave
. The old SLC-500's mostly only had Continuous tasks.
. The Compact & Control Logic have both.
.
The argument against continuous task seems to be that the scan time
. is a bit inconsistent because of other interrupts.
. But if you put it in a Periodic task,
. you are slowing the task down by default.
The SLC-500's usually run 100 % CPU @ all times.
. & they seemed to do a pretty good job
On a Compact Logix you can control the CPU usage
. but if you use a continuous task it goes also to 100% CPU usage
If you want the fastest possible action
. & a bit of jitter in execution time is acceptable
. then a continuous task could be a good solution
Jitter should be easily calculated
. based on any interrupts that you have & how they are set up
If you leave any available CPU scan time
. you have slowed down the process
Of the 9 pretty high level programmers on the project.
. One is adamantly against continuous tasks.
. The rest think it should be used.
. The local Rockwell rep says it should not be used
. I get various opinions when calling tech help
The new processors do run faster than the RPI time of I/O.
. & could trigger some asynchronous event.
. But this is taken care of with de-bounce.
. to eliminate asynchronous I/O triggers may arise
The continuous task is an option in the for a reason
. Or is it just a legacy
I could go on, but will stop here.
Always like the feedback here.
Thanks,
Dave