Übersicht Network Bridge

This function block is used to establish a connection to another control. This allows several controllers to be combined into one project. For example, to connect several autonomous controllers with a central visualization.

With a connection, not all variables are transferred, but only these main groups which were specified in the Filter parameter.



Ausgänge

ST
Status
Status of the connection:
  • 0: Not connected
  • 1: Connected
  • 2: Connected and Authenticated
  • -1: Network error
  • -2: Connection error (e.g.: IP address incorrect)
  • -3: Authentication error (password incorrect)
VB
Connected
1 if Connected and Authenticated otherwise 0.
TI
Received
Telegrams received
TO
Sent
Telegrams sent

Parameter

Filter MG
At least one main group must be specified as a filter in this parameter. Only variables from this main group are transferred. Several main groups can be separated by semicolons (";").
Offset MG
Offset main group. When a variable is received, this offset is added to the main group, when it is sent, it is subtracted. If several controllers are connected, this offset can be used to define a separate main group for each controller; the main groups at the connected controllers can always remain the same.

For example, the main groups 100,101,102 etc. are created at the central controller, 100 is the first controller, 101 the second. Only the main group 100 is applied to the connected controllers. Offset 0 is specified for the first controller, 1 for the second, etc., so that the projects at the connected controllers can always be the same.
Direction
  • Bidirectional: The transmission takes place in both directions. With this setting one must pay attention that no loops arise, for example master sends a variable, slave changes this and sends, master changes and sends again and so on. Such errors can be detected via the TO/TO outputs if an excessive number of telegrams are displayed here in a short time.
  • Send: Only variables are sent.
  • Received: Only variables are received.
IP Adress
IP address of the controller to connect to. DNS name and port can also be specified, for example xy.dyndns.org:2000 if forwarding of the default port is not possible.

Important: If controllers are connected via the Internet, care must be taken to ensure a stable connection and that the DNS names can always be resolved, otherwise the controller may be blocked.
Password
Password, this is the password that is specified when setting up a connection to the controller.


See also general parameters of all function blocks.