User Tools

Site Tools


connections

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
connections [2021/07/21 12:15]
emozolyak [Add preset device connections]
connections [2021/08/06 09:37] (current)
emozolyak
Line 1: Line 1:
 ====== Connections ====== ====== Connections ======
 +{{  :onnection_new_logo_.png?nolnk&40}}
 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 - use the //New Connection// button on //Registers// page or use //Add device// dialog, which allows to load built-in preset register maps for some devices. (The latter will be explained in the end of the section.)+There are 2 options to create a new connection
 +  *Use the //New Connection// button on //Registers// page  
 +  *Use //Add device// dialog, which allows to load built-in preset register maps for some devices. (The latter will be explained in the end of the section.)
  
 {{ ::add_conn_new_1.png?direct&600 |}} {{ ::add_conn_new_1.png?direct&600 |}}
Line 9: Line 12:
 ===== 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?direct&600 |}}+ 
 +{{ ::new_conn_add_figures.png?direct&600 |}}
  
 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 36: Line 40:
  
 ==== TCP networks ==== ==== TCP networks ====
-{{ :comm_tab_for_tcp.png?direct&600 |}}+{{ ::new_conn_comm_properties.png?direct&600 |}} 
   ***Timeout**,ms - Timeout for response on the bus, ms.   ***Timeout**,ms - Timeout for response on the bus, ms.
   ***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 53:
 ==== 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?direct&800 |}}+ 
 +{{ ::serial_com_options_fig.png?direct&600 |}} 
 + 
   -**(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)
Line 58: Line 66:
 There are preset connections you can add in one-click from the register list tree. There are preset connections you can add in one-click from the register list tree.
  
-{{ ::preset_device_insert.png?direct&800 |}}+{{ ::preset_device_insert.png?direct&600 |}}
  
-There is a few device presets.+<wrap em>After the creation, you need to edit connection to finish it creation: replace default net address  
 +and enable the connection.</wrap>
  
-After the creation will be done, you need to edit connection to finish it creation. 
-{{ conn:add:need_to_activate.png?direct&800 |}} 
- 
-After that, it will be ready to turn it on. 
-{{ conn:add:need_to_turn_on.png?direct&800 |}} 
-Here is a connection established and data acquired. 
 ==== Diagnostic preset registers ==== ==== Diagnostic preset registers ====
 There are also a diagnostic solution for your project included. \\  There are also a diagnostic solution for your project included. \\ 
 It is called "WebHMI Health registers". It is called "WebHMI Health registers".
  
-{{ conn:add:health_reg.png?direct&800 |}}+{{ ::add_health_registers.png?direct&600 |}} 
 + 
 +It is a bunch of registers, which intended to show the status of WebHMI. The logging option is turned on for them, so you can immediately analize the system behaviour in custom graphs.
  
- It is a bunch of registers, which intended to show the status of WebHMI.  +{{ ::health_registers_example.png?direct&600 |}}
-{{ conn:add:health_reg_works.png?direct&800 |}} +
-It is also logging enabled by default to make it possible create a graph with average load or input voltage for example. +
-{{ conn:add:create_custom_graph.png?direct&800 |}} +
-{{ conn:add:custom_graph_settings.png?direct&800 |}}+
  
 +If the registers of the device being added can be nested inside another similar connection (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. 
  
-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+{{ ::add_device_1.png?direct&600 |}}
  
-{{ ::add_device_1.png?direct&400 |}} 
  
-  Don't forget to correct the default settings for network address, port etc. after adding a device.