ST_IEC870_5_101ClockPollParams

Configuration parameters for the cyclic clock synchronization command. The station sending the clock synchronization commands has its own internal software clock. During station initialization, this clock is synchronized with the local Windows system time (the time shown in the Windows taskbar). During operation, the destination stations are synchronized with the time of the internal software clock via the clock synchronization commands.

Syntax

TYPE ST_IEC870_5_101ClockPollParams:
STRUCT
    asduAddr        : DWORD := IEC870_ASDUADDR_SYSPARA;
    tPollCycle      : TIME := T#60s;
    bEnable         : BOOL := FALSE;
END_STRUCT
END_TYPE

asduAddr: Destination address of the time synchronization command (common ASDU address).

tPollCycle: Cycle time of the time synchronization command.

bEnable: Activates/deactivates the cyclic clock synchronization commands.

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)