FB_init

Method FB_init : BOOL
VAR_INPUT
    ipCommunication                  : ICommunication;
    aCID                             : ARRAY[1..16] OF BYTE;
END_VAR

VAR_INPUT

ipCommunication: Communication function block that implements the interface ICommunication.

aCID: Component Identifier. Sender's unique ID.

 

Example:

Declaration of the function block FB_sACN_Ex:

PROGRAM MAIN
VAR
    fbsACNex       : FB_sACN_Ex(fbUDP, aCID);
    fbUDP          : FB_UDP_CONNECTION;
    aCID           : ARRAY[1..16] OF BYTE;
END_VAR