FUNCTION_BLOCK FINAL IPAddressSet IMPLEMENTS IIPAddressSet, IIPAddressSet_Internal
Represents a set of IIPAddress instances
Static initialization, as shown in the following code snippet.
VAR
myFirstPublisher : NBS.IPv4Address := (ipAddress:='224.0.100.20');
mySecondPublisher : NBS.IPv4Address := (ipAddress:='224.0.100.30');
myPublisherSet : ARRAY[0..1] OF NBS.IIPAddress := [myFirstPublisher, mySecondPublisher];
myMulticastSet : NBS.IPAddressSet := (paitfIPAddress:=ADR(myPublisherSet[0]), udiSize:=SIZEOF(myPublisherSet));
END_VAR
InOut: |
|