Professional Documents
Culture Documents
PLC
Input Output
CPU
Boards Boards
I O
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
CPU
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Operating System
CPU
Operating System (OS)
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Operating System
Main Functions of an Operating System
Operating System
Main Functions of an Operating System
Operating System
Process Management in a standard PC
• Large number of tasks (e.g Task
Manager on Windows)
• «Pseudosimultaneous» execution
(Round Robin)
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Operating System
Process Management in a standard PC
• Large number of tasks (e.g Task
Manager on Windows)
• «Pseudosimultaneous» execution
(Round Robin)
Operating System
TASK
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Process - Task
Computational Load
Cycle Time
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Process - Task
T1 T1
T2
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Process - Task
T1 T1
T2
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Process - Task
T1 T1
T2
Missed Deadline
• In a standard PC, it may lead to a slowdown in operations
• In a PLC, it may lead to serious damage to the plant and
people
CPU and RTOS PLC Programming – Learn the basics with CoDeSys
Watchdog
Internal PLC mechanism, used to stop the CPU, whenever certain
«missed deadline» condition arise, in order to ensure the safety of the
plant.