T_IPv4AddrArr

The variable of this type is a array of bytes containing the (IPv4) Internet Protocol network address.

TYPE T_IPv4AddrArr: ARRAY[0..3] OF BYTE;
END_TYPE

The address bytes are represented in network byte order.
E.g. '172.16.7.199' is represented as:

byte[0] := 172
byte[1] := 16
byte[2] := 7
byte[3] := 199

Example: F_ScanIPv4AddrIds

Requirements

Development environment

Target system type

PLC libraries to include (Category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_System (System)