Programmatically inhibit or uninhibit a task – Rockwell Automation Logix5000 Controllers Tasks, Programs, and Routines Programming Manual User Manual
Page 25
Advertising
![background image](/manuals/579954/25/background.png)
Manage tasks Chapter 1
3. Do one of these steps to inhibit or uninhibit the task.
If You Want to
Then
Let the task run when its trigger occurs
Clear Inhibit Task (default).
Prevent the task from running when its trigger
occurs
Check Inhibit Task.
4. Click OK.
Programmatically inhibit or uninhibit a task
To write logic to inhibit or uninhibit a task, use a Set System Value (SSV)
instruction to access the attribute of the Task object for the task.
Attribute
Data Type
Instruction
Description
InhibitTask
DINT
GSV
SSV
Prevents the task from running.
To
Set the attribute to
Enable the task
0 (default)
Inhibit (disable) the task
1 (or any non-zero value)
Rockwell Automation Publication 1756-PM005-EN-P - October 2014
25
Advertising