IO Code

This function may be used to automatically generate the necessary program code for referencing hardware terminals to the PLC and BACnet objects. The generated code is created as a program in the PLC.

1. To start the IO Code generation, navigate to the BACnet server and select the Settings dialog.

IO Code 1:

2. Select the hardware and use the button IO Code.
Digital and Analog input and output terminals and channels are detected and the program code is generated.

IO Code 2:

3. Using the button Create in Plc generates the code as a program in the folder POUs/BACnet_IoBus.
4. Call this program cyclically, e. g. from the POU MAIN.
IoBus_0_Device_2_EtherCAT();