Object: “Task Configuration”
On the “System Events” tab, you define which event calls which function and whether or not the configuration is currently activated. You use this tab when a "system event" (instead of a task) should call a project function.
“Add Event Handler” |
Opens the “Add Event Handler” dialog |
“Remove Event Handler” |
Deletes the selected list assignment |
“Event Info” |
Shows information from the corresponding event library |
“Open Event Function” |
Opens the editor of the new function for the selected assignment You have selected the implementation language of the new function in the “Add Event Handler” dialog. |
List of mappings of functions to call to events with: “Name”, “Description”, “Function to call”, and “Active” (enable or disable the configuration) |
Adds a new assignment "Event – Function to call" to the list |
|
“Event” |
The possible selection depends on the target device. CODESYS marks unavailable events with a red symbol in front of the name. A list of all possible system events is located at the end of this section. |
“Function to call” |
Function name (“POU”, type “FUNCTION”) You have to specify the name of the new function. CODESYS inserts the function to the device tree after you confirm the dialog. |
“Scope” |
|
“Implementation language” |
Implementation language for the new function |
“Description” |
Short description of the selected event |
-
Features in Online Mode
-
Possible system events