Struktury automatizace průmyslového podniku
Struktury automatizace průmyslového podniku
Struktury automatizace průmyslového podniku
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
30.9.2013<br />
Types of Scans<br />
• Periodic task (periodická úloha)<br />
Like the continuous task, a periodic task executes all of its<br />
code from top to bottom. However, when a periodic task<br />
completes its scan, it waits a preconfigured time interval<br />
before restarting.<br />
program scans<br />
1. A periodic task is always required for all numeric control<br />
algorithms, e.g. PID controller.<br />
2. The periodic task lets you control a process that might occur<br />
at a significantly faster rate than the normal scan of the<br />
continuous task can attain.<br />
3. In a periodic task, we must insert I/O instructions if we need<br />
actual data, otherwise it uses I/O data of the continues task.<br />
36<br />
Types of Scans<br />
• Event task (úloha řízená událostí, přerušeni)<br />
Lets you execute a piece of code based on the detection of<br />
some incident that occurs in the control system.<br />
Events<br />
Program scans<br />
1. The event task either immediately take control at a high priority<br />
2. But interrupts are potentially dangerous sources of errors<br />
37<br />
18