Create an event task
Create a task to run when triggered by a specific event. Schedule up to 32 tasks in the controller.
To create an event task:
IMPORTANT:
Logix Designer
application event task names can conflict with Microsoft Windows event names. Creation of a Logix Designer
application event task for a SoftLogix controller results in the creation of a Microsoft Windows event with the same name. Since Windows events are globally scoped among all applications running on the same workstation, choose names of event tasks carefully so they do not conflict with other Windows events.- In theNamefield, enter a task name.
- In theDescriptionfield, enter a description for the task.
- From theTypelist, chooseEvent.
- From theTriggerlist, choose the action that triggers the task's execution.TIP:For safety programs, select the "Event Instruction Only" option to trigger the event based on the conditions of your logic.For more detailed information on planning specific types of event tasks, see Identifying and Managing Tasks.
- From theTaglist, choose the tag that contains the triggering data.
- CheckExecute Task If No Event Occurs Within <timeout period>to allow the task to execute if the timeout period expires before an event triggers the task.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 is triggered, the task automatically executes.
- In thePriorityfield, enter the priority level for the task.TIP:Lower numbers indicate higher priorities for tasks. For example, a task assigned a priority of 1 is a higher priority task than one assigned a priority of 15.
- In theWatchdogfield, enter the value (in ms) for the watchdog timer.If a watchdog timer expires, a Major Controller Fault is generated.
- SelectDisable Automatic Output Processing to Reduce Task Overheadto prevent the external output modules from updating to the controller's data table values at the end of the task scan.Selecting 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.
- SelectInhibit Taskto prevent the controller from executing this task.If selected, 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 is useful to test, diagnose, or start up your project.
- SelectOKto create the new task.The task appears in theController Organizerunder theTasksfolder. Tasks appear in alphabetical order.
Provide Feedback