FB_init
VAR_INPUT
Method FB_init : BOOL
VAR_INPUT
ipCommunication : ICommunication;
aCID : ARRAY[1..16] OF BYTE;
END_VAR
ipCommunication: Communication function block that implements the interface ICommunication
.
aCID: Component Identifier. Sender's unique ID.
Example:
Declaration of the function block FB_sACN
.
PROGRAM MAIN
VAR
fbsACN : FB_sACN(fbUDP, aCID);
fbUDP : FB_UDP_CONNECTION;
aCID : ARRAY[1..16] OF BYTE;
END_VAR