IPv4Address (FB)¶
FUNCTION_BLOCK PUBLIC FINAL IPv4Address IMPLEMENTS IIPv4Address, IIPv4Address_Internal
Encapsulates an IP address of version 4.
Static initialization, as shown in the following code snippet.
VAR
myIPAddress : NBS.IPv4Address := (ipAddress:='192.168.100.101');
END_VAR
Dynamic initialization, as shown in the following code snippet.
myIPAddress.SetInitialValue('192.168.100.101');
- InOut:
Scope
Name
Type
Initial
Input
ipAddress
‘’
Properties:
Methods:
Structure: