Network variablesΒΆ

Note

The use of network variables must be supported by the target system and must be activated in the target settings (category Network functionality).

By an automatic data exchange (compare this to the non-automatic data exchange via the Parameter Manager) it is possible to update the value of a network variable on several controller systems within a CoDeSys compatible controller network. This requires no controller-specific functions but the network subscribers must use identical declaration lists and matching transfer configurations for network variables in their projects. In order to make this possible it is recommended that the declaration not be entered manually in each controller application, but loaded from a separate file when creating the list.

For the exchange of network variables it is necessary that the variables are used in a cyclic or free-wheeling task or in PLC_PRG. It is not sufficient to declare them in the declaration part of the POU! If the variables are used in several tasks/PLC_PRG, then at data exchange that task will be regarded which has the highest priority.