Reading and Writing from CODESYS VariablesΒΆ

Monitoring direction, reading

For reading in monitoring direction you connect an attribute (DA) with R-access (read) a CODESYS monitoring variable (see Properties).

The following dataflow variants are possible:

  • from the IEC 61850 Server to the connected IEC 61850 Client to read a CODESYS monitoring variable
  • from an I/O module to the IEC 61850 Server to the connected IEC 61850 client to read an I/O module pin.

Control direction, writing

For writing in control direction you connect an attribute (DA) with W-access (write) to a CODESYS control variable (see Properties).

The following dataflow variants are possible:

  • from a connected IEC 61850 client to the IEC 61850 Server to write a CODESYS-variable
  • form the connected IEC 61850 client to the IEC 61850 Server to an I/O module to write the I/O module pins.

Monitoring direction + control direction, reading an writing

It may be the case that the IEC 61850 client will read the monitoring variable of an attribute and will write the control variable of the same attribute. Monitoring variable and control variable must not be the sameCODESYS variable.

In monitoring direction the data flow takes place from the IEC 61850 Server to the connected IEC 61850 client to read the CODESYS monitoring variable.

In control direction the data flow takes place from the connected IEC 61850 client to the IEC 61850 Server to write the CODESYS control variable.