ST_IEC870_5_104GrpStatus

Status of an IEC870-5-104 slave group.

Syntax

TYPE ST_IEC870_5_104GrpStatus:
STRUCT
    nConnected : DWORD := 0;
    nSuspended : DWORD := 0;
    nDTStarted : DWORD := 0;
END_STRUCT
END_TYPE

nConnected: Number of established TCP/IP connections (ESTABLISHED).

nSuspended: Number of connections whose state is in the process of changing (CONNECTED->DISCONNECTED or DISCONNECTED->CONNECTED).

nDTStarted: Number of connections with active data transfer.

Requirements

Development environment

Target system type

PLC libraries to be linked (category group)

TwinCAT v3.1.4012.0

PC oder CX (x86, x64, ARM)

Tc2_IEC60870_5_10x (Communication->IEC60870)
Tc2_SerialCom (Communication->Serial)
Tc2_TcpIp (Communication->TcpIp)
Tc2_Utilities (System)