Using Data Points in CODESYSΒΆ

To map the IEC60870-5-104 Data Points to CODESYS, use IEC 60870-5-104 Function Block Library. See documentation of IEC60870 Library for more information.

The created Data Points which are available at the global variable list have to be assigned to the corresponding Input of the Function Blocks of the IEC60870 Library Creating Configuration Data.

For each Data Point group type an equivalent function block type in IEC60870 Library exists.

The implemented functionality of the IEC60870-5-104 plug-in has the following characteristics:

  • Unique names: Names of all connections (Substation and Control Station) and all names of the data groups are unique
  • Unique addresses: All telecontrol addresses (consist of GADU1, GADU2, IA1, IA2, IA3) have to be unique within one telecontrol connection (all knots beneath 1 connection knot)
  • Aliases: For the project planning the plug-in generates constant data structure aliases as global variables (read only)

For each created connection (Substation / Control Station) at the Automation Builder the plug-in generates 1 data point in CODESYS. E.g.:

VAR_GLOBAL CONSTANT

Rec_sp_inf_16 : IEC60870_SinglePointInformation:=(Slot:=0, Con:=0, Idx:=17, NoDP:=1);

END_VAR