You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
322 B

4 months ago
FUNCTION_BLOCK BS_PID
VAR_INPUT
RUN : BOOL ;
STOP_D : BOOL ;
STOP_I : BOOL ;
SET : REAL ;
FB : REAL ;
Kfb : REAL := 1.0 ;
Kp : REAL := 30.0 ;
Ti : REAL := 150.0 ;
Td : REAL ;
Dead_Band : REAL ;
Ymax : REAL ;
Ymin : REAL ;
END_VAR
VAR_OUTPUT
OUT : REAL ;
END_VAR
END_FUNCTION_BLOCK