hit counter script

Disable And Enable Alarm Interrupt Instructions; Pid Control - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Programming instructions
6.2 Extended instructions
6.2.6.3

Disable and Enable alarm interrupt instructions

Use the DIS_AIRT and EN_AIRT instructions to disable and enable alarm interrupt
processing.
Once they are enabled again, the interrupts that occurred while DIS_AIRT was in effect are
processed, or the interrupts are processed as soon as the current OB has been executed.
The EN_AIRT executions must occur within the same OB, or any FC or FB called from the
same OB, before interrupts are enabled again for this OB.
Parameter RET_VAL indicates the number of times that interrupt processing was disabled,
which is the number of queued DIS_AIRT executions. Interrupt processing is only enabled
again when parameter RET_VAL = 0.
Parameter
RET_VAL
6.2.7

PID control

172
DIS_AIRT delays the processing of new interrupt events. You can execute
DIS_AIRT more than once in an OB. The DIS_AIRT executions are counted
by the operating system. Each of these remains in effect until it is cancelled
again specifically by an EN_AIRT instruction, or until the current OB has
been completely processed.
EN_AIRT enables the processing of interrupt events that you previously
disabled with the DIS_AIRT instruction. Each DIS_AIRT execution must be
cancelled by an EN_AIRT execution. If, for example, you have disabled
interrupts five times with five DIS_AIRT executions, you must cancel these
with five EN_AIRT executions.
Parameter
Data type
type
OUT
Int
The "PID_Compact" statement makes a PID controller with
optimizing self tuning for automatic and manual mode
available.
For information about the PID_Compact instruction, refer to
the online help of the TIA portal.
Description
Number of delays = number of DIS_AIRT executions in
the queue.
System Manual, 11/2009, A5E02486680-02
S7-1200 Programmable controller

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF