Operating functions and menu, Modes and tasks – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 42
In this chapter
˽ Modes and Tasks
˽ Implementing an Operating Function
˽ Using the Menu o Select a Mode or Task
˽ Adding Modes and Tasks to the Menu
˽ Making a Submenu Selection
˽ Example Code 4.1
4
This chapter describes the difference between modes and tasks and how to correctly imple-
ment an operating function. See Chapter 1 for information on how to select operating func-
tions using the interface menu.
Modes and Tasks
Operating functions are the elements that comprise Click 500 custom applications. The
Click 500 supports two types of operating functions: modes and tasks.
The list and figure below describe the difference between modes and tasks:
˽
Mode – Consists of a setup function and a mode function. The setup function will run
once, performing initialization and start-up tasks, and the mode function will execute
until interrupted by the user.
˽
Task – Runs once and then restarts the most recently run operating mode.
Operating Functions and Menu
4