FB_BA_Actuator_3Point
The function block is used to control a 3-point actuator, e.g. a 3-point flap or a 3-point valve.
The command for opening the actuator is connected to output bOpen.
The command for closing the actuator is connected to output bClose.
In automatic mode (udiOpMode=0) the control commands of bCmdOpen and bCmdClose are forwarded directly to the outputs bOpen and bClose.
The udiOpMode input is used to determine the operating mode of the 3-point actuator:
- 0 = Automatic
- 1 = Stop (bOpen = bClose = FALSE)
- 2 = Close
- 3 = Open
VAR_INPUT
bEn : BOOL;
bAutoOpen : BOOL;
bAutoClose : BOOL;
udiOpMode : UDINT
bEn: General enable of the function block.
bAutoOpen: Command to open the actuator.
bAutoClose: Command to close the actuator.
udiOpMode: Select operating mode (0 = Automatic, 1 = Stop (bOpen = bClose = FALSE), 2 = Close, 3 = Open)
VAR_OUTPUT
bOpen : BOOL;
bClose : BOOL;
bOpen: Open control output.
bClose: Close control output.
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.7 | Tc3_BA from v1.1.6.0 |