Function Block Call in STΒΆ

HACS31PID(
ACTUAL                 := hapid_actual,
SET_POINT              := hapid_set_point,
KP                     := hapid_kp,
TN                     := hapid_tn,
TV                     := hapid_tv,
Y_MANUAL               := hapid_y_manual,
Y_OFFSET               := hapid_y_offset,
Y_MIN                  := hapid_y_min,
Y_MAX                  := hapid_y_max,
MANUAL                 := hapid_manual,
RESET                  := hapid_reset);
hapid_y                := HACS31PID.A;
hapid_limits_active    := HACS31PID.LIMITS_ACTIVE;
hapid_overflow         := HACS31PID.OVERFLOW;