Task Pool and Task Manager
If we now think of our routines as POU’s written for each function and given names, we can cre-
ate a Task for each of our assigned POU’s.
Each Task can have different operating conditions, or events.
쎲
Task #1 only runs when a tag named, ‘Man_On’ is true.
쎲
Task #2 only runs when a tag, named, ‘Auto_On’ is true.
쎲
Task #3 runs all the time (event = True denotes this)
These tag names would be declared as Global Variables and assigned to PLC bit devices (they
could be addresses i.e. X0).
Consider our original control program. Conditional Jump (CJ) instructions could be used to iso-
late, either routines #1 or #2, when not in use. The Heating control routine is always required to
run.
If these routines are considered as tasks, then routines #1 & #2, are driven by event, i.e. when
either auto or manual is selected, whereas, routine #3 is always on.
Programming
Software Structure and Definition of Terms
Training Manual GX IEC Developer
3 - 7
Summary of Contents for FX2N-32CAN
Page 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 10: ...IV MITSUBISHI ELECTRIC ...
Page 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Page 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Page 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Page 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Page 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Page 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Page 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Page 283: ......