Generate IEC61850 codePermalink

When all IEC 61850 related configuration is done according to the previous chapters, it must be translated into IEC 61131 code using the menu entry “IEC61850   Generate code”.

SC_2022_AB_IEC_generate_code

After a few seconds (depending on the IEC 61850 server size), the following IEC 61131 code is generated below “Application” in the “Devices” tree:

  • Folder “IEC61850 Generated POUs”, containing IEC 61131 code for all IEC 61850 functionality including the global variable list “IEC61850_Generated_GVL”, which contains auto generated variables which must be connected to the application “PLC_PRG (PRG)”.

  • Task “IEC61850Task1”, calling the code in a task which is configured in the configuration window of IEC 61850 Server object.

    ⮫ “Configuration of IEC 61850 server with logical nodes”