T_IPv4AddrArr
TYPE T_IPv4AddrArr: ARRAY[0..3] OF BYTE;
END_TYPE
The variable of this type is a array of bytes containing the (IPv4) Internet Protocol network address. 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 |
---|---|---|
TwinCAT v2.10.0 Build > 1340 | PC or CX (x86, ARM) | TcSystem.Lib |