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.
  1. In the
    Name
    field, enter a task name.
  2. In the
    Description
    field, enter a description for the task.
  3. From the
    Type
    list, choose
    Event
    .
  4. From the
    Trigger
    list, 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.
  5. From the
    Tag
    list, choose the tag that contains the triggering data.
  6. Check
    Execute 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.
  7. In the
    Priority
    field, 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.
  8. In the
    Watchdog
    field, enter the value (in ms) for the watchdog timer.
    If a watchdog timer expires, a Major Controller Fault is generated.
  9. Select
    Disable Automatic Output Processing to Reduce Task Overhead
    to 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.
  10. Select
    Inhibit Task
    to 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.
  11. Select
    OK
    to create the new task.
    The task appears in the
    Controller Organizer
    under the
    Tasks
    folder. Tasks appear in alphabetical order.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal