Modes; Alarm Checking And Special Operations - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

SIMATIC Instructions

Modes

There is no built-in mode control for S7-200 PID loops. The PID calculation is
performed only when power flows to the PID box. Therefore, "automatic" or "auto"
mode exists when the PID calculation is performed cyclically. "Manual" mode exists
when the PID calculation is not performed.
The PID instruction has a power-flow history bit, similar to a counter instruction.
The instruction uses this history bit to detect a 0-to-1 power flow transition. When
the power flow transition is detected, it will cause the instruction to perform a series
of actions to provide a bumpless change from manual control to auto control. In
order for change to auto mode control to be bumpless, the value of the output as
set by the manual control must be supplied as an input to the PID instruction
(written to the loop table entry for M
instruction performs the following actions to values in the loop table to ensure a
bumpless change from manual to auto control when a 0-to-1 power flow transition
is detected:
Sets setpoint (SP
Sets old process variable (PV
Sets bias (MX) = output value (M
The default state of the PID history bits is "set" and that state is established at
CPU startup and on every STOP-to-RUN mode transition of the controller. If power
flows to the PID box the first time that it is executed after entering RUN mode, then
no power flow transition is detected and the bumpless mode change actions will
not be performed.

Alarm Checking and Special Operations

The PID instruction is a simple but powerful instruction that performs the PID
calculation. If other processing is required such as alarm checking or special
calculations on loop variables, these must be implemented using the basic
instructions supported by the CPU.
9-96
) before switching to auto control. The PID
n
) = process variable (PV
n
) = process variable (PV
n-1
)
n
S7-200 Programmable Controller System Manual
)
n
)
n
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents