Quick start

Simple project including complete sources is to be found here: IEC 60870-5-104 Controlled Station-High-Level example.

Interoperability list is to be found here: Interoperability check list

Overview of error codes is to be found here: Error Error codes

Brief instruction

  1. Create a new PLC project and link the PLC library: Tc2_IEC60870_5_10x.
  2. Apply an instance of the T_HSERVER variable (connection handle) at the main program and initialize it once at the program part by calling of the F_CreateServerHnd function with the fitting parameters.
  3. Configuration of data points: Apply an array variable of ST_IEC870_5_101AODBEntry. Every array element corresponds to a data point. Configure the data points via the function F_iecInitAOEntry zat runtime (e.g. at an init step).
  4. Apply an instance of the des protocol block FB_IEC870_5_104Slave at the main program, configure it and call it.
    The system and protocol parameter are to be configured according to the parameter of the control station.