Configure an event task
Use the
Configuration
tab of the Task Properties
dialog box to edit task configuration parameters once the task is created.To configure an event task:
- From theTypemenu, choose the task type for the task.
- From theTriggermenu, choose the action that triggers the task's execution.
- From theTagmenu, choose the tag that contains the triggering data.To allow the task to execute if the timeout period expires before an event triggers the task, select theExecute Task If No Event Occurs Within <timeout period>check box.To execute the task automatically if the trigger fails within a specified time, assign the timeout value here. Each time the task completes, this timeout timer begins to increment. If the timer reaches its preset value before the task has been triggered, the task automatically executes.
- InPriority, enter the priority level for the task.Lower numbers indicate higher priorities for tasks. For example, a task that is assigned a priority of 1 is a higher priority task than one that is assigned a priority of 15.
- InWatchdog, enter the value (in ms) for the watchdog timer.If a watchdog timer expires, a Major Controller Fault is generated.
- To prevent the external output modules to update to the controller's data table values at the end of the task scan, select theDisable Automatic Output Processing to Reduce Task Overheadcheck box.Checking this box allows the controller to more quickly execute the next task, or to return to a previous task. To update a specific module, use the Immediate Output (IOT) instruction.This check box does not appear for Safety tasks.
- To prevent the controller from executing this task, select theInhibit Taskcheck box.If selecting this box, the task is still prescanned. If the task is then enabled when the controller is already in Run mode, the task is not prescanned again.This feature can be useful to test, diagnose, or start up your project.This check box does not appear for Safety tasks.
- ClickOKto close the Task Properties dialog box and apply your changes.
Provide Feedback