connections
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
connections [2020/06/02 09:08] – [Adding built-in device connections] emozolyak | connections [2021/07/21 13:02] – [Diagnostic preset registers] emozolyak | ||
---|---|---|---|
Line 2: | Line 2: | ||
The connection determines which communication driver and what parameters WebHMI will use to exchange data with the equipment. The list of the connection settings and their meaning is given in this section. | The connection determines which communication driver and what parameters WebHMI will use to exchange data with the equipment. The list of the connection settings and their meaning is given in this section. | ||
- | There are 2 options to create a new connection | + | There are 2 options to create a new connection: |
+ | *Use the //New Connection// | ||
+ | *Use //Add device// dialog, which allows to load built-in | ||
{{ :: | {{ :: | ||
Line 9: | Line 11: | ||
===== Basic Info Tab ===== | ===== Basic Info Tab ===== | ||
After selecting a connection to edit, the page with **Basic info** tab is opened: | After selecting a connection to edit, the page with **Basic info** tab is opened: | ||
- | {{ :conn_basic_tab_review.png? | + | |
+ | {{ :: | ||
The group **(1)** of settings is common for any kind of communication protocol: | The group **(1)** of settings is common for any kind of communication protocol: | ||
Line 16: | Line 19: | ||
***Serial number** - for documenting purposes, to track physical device used in this connection | ***Serial number** - for documenting purposes, to track physical device used in this connection | ||
***SKU** - for documenting purposes, manufacturer model number to identify the type of device (Stock Keeping Unit) | ***SKU** - for documenting purposes, manufacturer model number to identify the type of device (Stock Keeping Unit) | ||
- | ***Category** - grouping connections into logical groups, for organising | + | ***Category** - grouping connections into logical groups, for organizing |
***Device Model** - type of device and its protocol to connect to | ***Device Model** - type of device and its protocol to connect to | ||
***Protocol** - more specific protocol subtype, if there are many options (like RTU/ | ***Protocol** - more specific protocol subtype, if there are many options (like RTU/ | ||
Line 23: | Line 26: | ||
The rest settings **(2)** of **Basic tab** may vary depending on type of protocol (below those ones for Modbus TCP): | The rest settings **(2)** of **Basic tab** may vary depending on type of protocol (below those ones for Modbus TCP): | ||
***Device address** - the address of the connected device on the network | ***Device address** - the address of the connected device on the network | ||
- | ***Address base (offset)** - to automatically shift the register address before | + | ***Address base (offset)** - to automatically shift the register address before |
***TCP port*** - TCP port used for the protocol | ***TCP port*** - TCP port used for the protocol | ||
***Unit identificator** | ***Unit identificator** | ||
Line 36: | Line 39: | ||
==== TCP networks ==== | ==== TCP networks ==== | ||
- | {{ :comm_tab_for_tcp.png? | + | {{ :: |
***Timeout**, | ***Timeout**, | ||
***Read errors to skip scan** - System will stop trying to read connection if there will be more than X errors in requesting registers. | ***Read errors to skip scan** - System will stop trying to read connection if there will be more than X errors in requesting registers. | ||
Line 48: | Line 52: | ||
==== Serial networks ==== | ==== Serial networks ==== | ||
Below only the settings unique for serial bus are explained. Please refer to previous section. | Below only the settings unique for serial bus are explained. Please refer to previous section. | ||
- | {{ :comm_tab_for_serial.png? | + | |
+ | {{ :: | ||
+ | |||
-**(1)** - these are standard serial port settings | -**(1)** - these are standard serial port settings | ||
-**Stabilization pause**,ms - Pause to stabilize the RS-485 bus before initiating an exchange for this connection. (Sometimes it may be necessary when operating at a high speed or on an inconsistent line, with a specific device - the end of the transmission with the previous device causes a transient process that can interfere with the line for the next device) | -**Stabilization pause**,ms - Pause to stabilize the RS-485 bus before initiating an exchange for this connection. (Sometimes it may be necessary when operating at a high speed or on an inconsistent line, with a specific device - the end of the transmission with the previous device causes a transient process that can interfere with the line for the next device) | ||
-**Mode** - //Normal// mode is when WebHMI polls the device. //Virtual UART// mode is when WebHMI activates special driver to enable external access to that serial port via TCP socket. Please refer for more details to [[Virtual UART]] function page. | -**Mode** - //Normal// mode is when WebHMI polls the device. //Virtual UART// mode is when WebHMI activates special driver to enable external access to that serial port via TCP socket. Please refer for more details to [[Virtual UART]] function page. | ||
- | ===== Adding built-in | + | ===== Add preset |
+ | Beginning with 4.0.4161 there is a new function '' | ||
+ | |||
+ | There are preset connections you can add in one-click from the register list tree. | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | <wrap em>After the creation, you need to edit connection to finish it creation: replace default net address | ||
+ | and enable the connection.</ | ||
+ | |||
+ | ==== Diagnostic preset registers ==== | ||
+ | There are also a diagnostic solution for your project included. \\ | ||
+ | It is called " | ||
+ | |||
+ | {{ :: | ||
- | There are built-in connections | + | It is a bunch of registers, which intended to show the status of WebHMI. The loggin option is turned on for them, so you can immediatly analize |
- | {{ ::add_conn_new_2.png? | + | {{ ::health_registers_example.png? |
- | This feature is available since the fw version of 4.0.4161. | + | If some device can be nested inside another (e.g. 7bit(tm) AipPoint sensor inside 7bit(tm) AirGate MQTT connection or WebHMI Health registers inside other WebHMI internal connection) the option to create a category in that connection will be offered. |
{{ :: | {{ :: | ||
- | Don't forget to correct the default settings for network address, port etc. after adding, because the devices are | + | Don't forget to correct the default settings for network address, port etc. after adding |
- | added with default presets. | + | |
connections.txt · Last modified: 2024/02/02 08:48 by emozolyak