Task example

This example shows tasks in the
FactoryTalk Design Studio
DSL.
task continuous mainTask {
// listed order is scheduling order
SubProgram;
OtherSubProgram;
Area1.tank101.tankProgram; // SO’s program reference
}
parameterConnection subProgram.p1 otherSubProgram.p2;
task periodic mainTask {
period := 10.00;
priority := 10;
watchdog := 500.00;
// listed order is scheduling order
SubProgram;
OtherSubProgram;
}
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.