Create and configure the PLC-FB
Navigate to Configuration Parameters > Code Generation > TC PlcFb General.
Check the checkbox Generate TwinCAT PLC Function Block here. In the standard configuration, the checkbox is checked.
![Create and configure the PLC-FB 1:](Images/png/11510392203__Web.png)
The further settings concern the handling of floating point exceptions for the PLC-FB. These must be made separately to the settings for the TcCOM object, see Exception handling.