Siemens SIMATIC S7-1200 Function Manual page 325

Pid control
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Tag
GetTransitTime.InvertDirection BOOL
GetTransit-
Time.SelectFeedback
GetTransitTime.State
GetTransitTime.NewOutput
CycleTime.StartEstimation
CycleTime.EnEstimation
CycleTime.EnMonitoring
CycleTime.Value
CtrlParamsBackUp.SetByUser BOOL
PID control
Function Manual, 03/2017, A5E35300227-AC
Data type Default
FALSE
BOOL
FALSE
INT
0
REAL
0.0
BOOL
TRUE
BOOL
TRUE
BOOL
TRUE
REAL
0.1
FALSE
Description
If InvertDirection = FALSE, the valve is fully opened, closed,
and then reopened in order to determine the valve transition
time.
If InvertDirection = TRUE, the valve is fully closed, opened,
and then closed again.
If SelectFeedback = TRUE, then Feedback_PER, or Feed-
back is taken into consideration in the transition time meas-
urement.
If SelectFeedback = FALSE, then Actuator_H and Actua-
tor_L are taken into consideration in the transition time
measurement.
Current phase of the transition time measurement
State = 0: Inactive
State = 1: Open valve completely
State = 2: Close valve completely
State = 3: Move valve to target position (NewOutput)
State = 4: Transition time measurement successfully
completed
State = 5: Transition time measurement canceled
Target position for transition time measurement with position
feedback
The target position must be between "High endstop" and
"Low endstop". The difference between NewOutput and
ScaledFeedback must be at least 50% of the permissible
control range.
If StartEstimation = TRUE, the measurement of the
PID_3Step sampling time is started. Cy-
cleTime.StartEstimation = FALSE once measurement is
complete.
If EnEstimation = TRUE, the PID_3Step sampling time is
calculated.
If CycleTime.EnEstimation = FALSE, the PID_3Step sam-
pling time is not calculated and you need to correct the
configuration of CycleTime.Value manually.
If EnMonitoring = TRUE, the PID_3Step sampling time is
monitored. If it is not possible to execute PID_3Step within
the sampling time, the error 0800h is output and the operat-
ing mode is switched. ActivateRecoverMode and ErrorBe-
haviour determine which operating mode is switched to.
If EnMonitoring = FALSE, the PID_3Step sampling time is
not monitored, the error 0800h is not output, and the operat-
ing mode is not switched.
PID_3Step sampling time in seconds
CycleTime.Value is determined automatically and is usually
equivalent to the cycle time of the calling OB.
Saved value of Retain.CtrlParams.SetByUser
You can reload values from the CtrlParamsBackUp struc-
ture with LoadBackUp = TRUE.
Instructions
9.2 PID_3Step
325

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents