AB Periodic Tasks and PID's

dginbuffalo

Member
Join Date
Dec 2010
Location
Buffalo,NY
Posts
630
Hello. I'm trying to figure out if it is better to have multiple PID loops in 1 periodic task, or have several (5) periodic tasks? I'm thinking 5 tasks because the period could possibly be different if the loops required different update times. Thoughts? Thank you!
 
Are you using ladder PID or function-block PIDE ?

The PIDE enhanced function block adopts the periodic rate of the Task it is executed in, so if you need a different loop update rate, you need another Task.

The basic ladder PID is executed at whatever rate you program it to be executed (timer, Event, etc), and you have to be sure that you have programmed the instruction and configured the Task that contains it so that they actually run the way you intend.
 
Are you using ladder PID or function-block PIDE ?

The PIDE enhanced function block adopts the periodic rate of the Task it is executed in, so if you need a different loop update rate, you need another Task.

The basic ladder PID is executed at whatever rate you program it to be executed (timer, Event, etc), and you have to be sure that you have programmed the instruction and configured the Task that contains it so that they actually run the way you intend.

Thanks Ken. Just running a ladder PID (only routine in that task). I've made sure my PID loop update time and periodic task rate are the same.
 

Similar Topics

Curios on the thoughts of using Continuous vs Periodic tasks. . The old SLC-500's mostly only had Continuous tasks. . The Compact & Control...
Replies
49
Views
13,800
Hi everyone, Suppose I have a periodic task to trigger some communications, and in this task I have a pointer that iterates for each...
Replies
3
Views
1,306
The original file uses a STI and I/O interrupts {micrologix1500}, but when I create them as a periodic tasks in studio5000 I get warnings routine...
Replies
3
Views
1,263
Hello, Monitoring my system with the Studio5000 Task Monitor I see a yellow banner "Continuous Task is present, resulting in 100% CPU...
Replies
78
Views
34,958
Hi all, If I have 2 periodic tasks (with the same priority number) configured to execute at the same period (say, 10ms), which one is going to be...
Replies
0
Views
2,085
Back
Top Bottom