Examples

Used controlled or control station parameters:

PLC project

Documentation

Description

LowLevelSlaveSample.zip

 

Simple Slave-Application which uses the TwinCAT IEC60870-5-104 Transport Interface. MAIN implements the link connection/disconnection and simple TX/RX- data exchange:

  • Data points in monitoring direction: M_SP_NA_1(IOA:=100) and M_BO_TB_1(IOA:=400). Data points in control direction: C_SC_NA_1(IOA:=10);
  • Simple implementation of clock synchronisation command: C_CS_NA_1(IOA:=0);
  • Simple implementation of general interrogation command: C_IC_NA_1(IOA:=0);
  • Simple implementation of single command: C_SC_NA_1(IOA:=10);
  • Simple implementation of counter interrogation command: C_CI_NA_1(IOA:=0);

LowLevelMasterSample.zip

 

Simple Master-Applikation which uses the TwinCAT IEC60870-5-104 Transport Interface. MAIN implements the link connection/disconnection and simple TX/RX- data exchange:

  • Simple general interrogation is send every 20 seconds: C_IC_NA_1(IOA:=0);
  • Rising edge at variable bSCmd starts simple single command execution: C_SC_NA_1(IOA:=10);
  • Rising edge at variable bClockSyn starts simple clock synchronisation command execution: C_CS_NA_1(IOA:=0);