Inhibit a task, Manually inhibit or uninhibit a task – Rockwell Automation Logix5000 Controllers Tasks, Programs, and Routines Programming Manual User Manual

Page 23

Advertising
background image

Manage tasks Chapter 1

If Condition_1 = 1 then do not let Task_2 process outputs when it is done.
1.

The ONS instruction limits the true run of the SSV instruction to one scan.

2.

The SSV instruction sets the DisableUpdateOutputs attribute of Task_2 = 1. This prevents the task from automatically processing outputs when it finishes its run.

By default, each task runs based on its trigger (event, periodic, or continuous). As

an option, you can prevent a task from running when its trigger occurs (that is,

inhibit the task). This is useful when you test, diagnose, or start up your project.

If You Want to

Then

Let the task run when its trigger occurs

Uninhibit the task (default).

Prevent the task from running when its trigger occurs

Inhibit the task.

Example:

During the commissioning of a system that uses several tasks, you can first test each task individually.

Inhibit all the tasks except one, and then test that task.

Once the task meets your requirements, inhibit it and uninhibit a different task.

Continue this process until you have tested all your tasks.

If a task is inhibited, the controller still prescans the task when the controller

transitions from Program to Run or Test mode.

Inhibit a task

Rockwell Automation Publication 1756-PM005-EN-P - October 2014

23

Advertising