Instructions
9.2 PID_3Step
PID control
Function Manual, 03/2017, A5E35300227-AC
325
GetTransitTime.InvertDirection BOOL FALSE 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,
GetTransit-
Time.SelectFeedback
BOOL FALSE 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
GetTransitTime.State INT 0 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
GetTransitTime.NewOutput REAL 0.0 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
CycleTime.StartEstimation BOOL TRUE If StartEstimation = TRUE, the measurement of the
PID_3Step sampling time is started. Cy-
cleTime.StartEstimation = FALSE once measurement is
complete.
CycleTime.EnEstimation BOOL TRUE 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.
CycleTime.EnMonitoring BOOL TRUE 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.
CycleTime.Value REAL 0.1 PID_3Step sampling time in seconds
CycleTime.Value is determined automatically and is usually
equivalent to the cycle time of the calling OB.
CtrlParamsBackUp.SetByUser BOOL FALSE Saved value of Retain.CtrlParams.SetByUser
You can reload values from the CtrlParamsBackUp struc-
ture with LoadBackUp = TRUE.