MQTT GDASWith this function block the controller is connected to the GDAS server. The connection is exclusively encrypted (TLS).
Outputs |
||
| VB |
Connected |
Output is 1 when connected to the GDAS server. |
Parameters |
||
| Filter |
The filter dialog is opened via the "..." button.
Here it is defined which variables are exchanged with the GDAS
server. Variables are dragged from the variable window into the
dialog via drag&drop. For each variable a deviation
and a time can be set (see table
"Filter dialog" further below). |
|
| Installation ID |
Identifier of the installation assigned by the
portal, at the same time the user name on the MQTT server.
Mandatory. |
|
| Installation password |
Password on the MQTT server assigned by the portal.
Mandatory. |
|
| Remote access |
The dialog for remote access to devices in the
installation network is opened via the "..." button (see section
"Remote access to devices in the installation network" further
below). |
|
| Address |
The variable to be transmitted. Variables are added
from the variable window via drag&drop. A click on
the address highlights the variable in the variable window. |
| Deviation |
Minimum deviation of the value at which a new
message is sent. At 0 every value change is sent. |
| Time |
Time in seconds to limit the send rate. When
adding a variable that is not a bit variable (EIS 1),
120 seconds is suggested automatically. |
| Comment |
Comment of the variable from the variable window (for
information only, is not transmitted). |
| Remote access active |
Main switch. If it is not set, no device can be
reached. In existing projects it is switched off. |
| Name |
Designation of the device under which it is
addressed. Letters, digits, "-" and "_" are allowed, at most 32
characters. The name must be unique within the project. |
| IP address |
IPv4 address of the device in the installation
network. Host names are not permitted. |
| Port |
Port of the device, for example 80 for a web
interface, 443 for HTTPS or 22 for SSH. |
| Protocol |
TCP or UDP. TCP is the normal case (web interfaces,
SSH). UDP is intended for device protocols that do not use TCP. With
UDP there is no connection: the controller passes on individual
datagrams, losses are not requested again. Discovery via broadcast or
multicast is not possible, and protocols that switch to another port
after the first packet do not work. |
| Active |
Only devices with the check mark set can be reached.
This allows an access to be prepared and released only when
needed. |
| Comment |
Free text, for information only. It is not
transmitted. |
| Key |
Secures the transmission. The key is generated
automatically when the dialog is opened for the first time, copied
to the clipboard with "Copy" and entered once in the portal. The key
itself is never transmitted. "Generate new" invalidates the previous
key - it then has to be entered in the portal again. |