General query and groups

The sample program presented here shows an IEC 60870-5-104 master with High Level interface. The sample illustrates the definition of groups of data types. A general interrogation and a separate group 1 are configured. The general interrogation takes place every 30 seconds, group 1 is interrogated every 10 seconds. The communicated parameters include single points, bitstrings and measured values.

Download TwinCAT XAE Project (*.zip): IEC870_104_HighLevel_Master_inrogrps.zip

In the sample, the following parameters are set for the central station (master):

General query and groups 1:
  • The applications represent an exemplary implementation of the High Level interface. We make no claim to completeness and correctness. Set the IP address of the slave, both in the master part and in the slave part! Verify that port 2404 is not blocked by a firewall!
  • The connection is established after the start of the program. The data points are managed in the Global Variable List (GVL).