E_IEC870_5_101InitSeqStep

Commands to be executed once ( initialisation sequence ) after receipt of M_EI_NA_1 ( end of initialisation ) or after the communication establishment with the slave device.

TYPE E_IEC870_5_101InitSeqStep :
(
    eIEC870_ISTEP_UNUSED := 0,      (* Do nothing *)
    eIEC870_ISTEP_CLOCK,    (* Send clock synchronization command *)
    eIEC870_ISTEP_TEST,     (* Send test command *)
    eIEC870_ISTEP_GENRO,    (* Send general interrogation command *)
    eIEC870_ISTEP_CORO,     (* Send counter interrogation command *)
    eIEC870_ISTEP_COMMAND,  (* Send general command *)
    eIEC870_ISTEP_DELAY     (* Delay timer *)
);
END_TYPE

Initialisation step

Description

eIEC870_ISTEP_UNUSED

The initialisation step is not used.

eIEC870_ISTEP_CLOCK

The server is to send a clock synchronization command.

eIEC870_ISTEP_TEST

The server is to send a test command.

eIEC870_ISTEP_GENRO

The server is to send a general interrogation command.

eIEC870_ISTEP_CORO

The server ist to send a general conunter interrogation command.

eIEC870_ISTEP_COMMAND

The server is to send commands once (all data points in controlling direction: single-points, double-points, set-point commands and so forth).

eIEC870_ISTEP_DELAY

The server is to wait the specified number of time prior execution of the next initialization step command

Requirements

Development Environment

Target System

PLC Libraries to include

TwinCAT v2.10.0 Build >= 1301

PC or CX (x86, ARM)

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