T_AmsNetIdArr

TYPE T_AmsNetIdArr : ARRAY[0..5] OF BYTE;
END_TYPE

The variable of this type is a array of bytes containing the AMS network identifier. The address bytes are represented in network byte order. E.g. '127.16.17.3.1.1' is represented as:

byte[0] = 127
byte[1] = 16
byte[2] = 17
byte[3] = 3
byte[4] = 1
byte[5] = 1

Example: F_ScanAmsNetIds

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)