ST_AmsRouteEntry

TYPE ST_TcRouterStatusInfo
STRUCT
    sName       : STRING(MAX_ROUTE_NAME_LEN);
    sNetID      : T_AmsNetId;
    sAddress    : STRING(MAX_ROUTE_ADDR_LEN);
    eTransport  : E_RouteTransportType;
    tTimeout    : TIME;
    dwFlags     : DWORD;
END_STRUCT
END_TYPE

sName: Symbolic name of the remote TwinCAT system. This name can be chosen freely. The maximum string length is limited through a constant (default: 31 characters).

sNetID: Network address of the remote TwinCAT system.

sAddress: System address in relation to the respective transport layer. If TCP/IP is used as the transport layer the IP address is specified here. The maximum string length is limited through a constant (default: 79 characters).

eTransport: Transport layer used for carrying AMS messages. Currently only the TCP/IP transport layer is supported.

tTimeout: Timeout time. (reserved, not used).

dwFlags: Additional options (reserved, not used).

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.9.0 Build > 1033

TwinCAT v2.10.0 Build > 1257

PC or CX (x86)

TcUtilities.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301

CX (ARM)