E_IEC870_DEVICE_TYPE

TYPE E_IEC870_DEVICE_TYPE :
(
    eIEC870_101_SLAVE := 0, (* Secondary (responding) station *)
    eIEC870_101_MASTER := 1, (* Primary (initiating) station *)

    eIEC870_102_SLAVE := 2, (* Secondary (responding) station *)
    eIEC870_102_MASTER := 3, (* Primary (initiating) station *)

    eIEC870_103_SLAVE := 4, (* Secondary (responding) station *)
    eIEC870_103_MASTER := 5 (* Primary (initiating) station *)
);
END_TYPE

Protocol and device type.

Requirements

Development Environment

Target System

PLC libraries to include

TwinCAT v2.10.0 Build >= 1307

PC or CX (x86, ARM)

TcIEC870_5_101Link.Lib

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