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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
connections [2018/07/27 20:15] akuzmukconnections [2018/07/27 20:33] akuzmuk
Line 1: Line 1:
-====== Connections =====+====== Connections ======
 The connection determines which communication driver and what parameters WebHMI will use to exchange data with the equipment. The list of the connection settings their meaning is given here.  The connection determines which communication driver and what parameters WebHMI will use to exchange data with the equipment. The list of the connection settings their meaning is given here. 
  
 To create a new connection use the **New Connection** button on **Registers** page.  To create a new connection use the **New Connection** button on **Registers** page. 
- 
-{{:add_conn_from_scratch.png?direct&912|}} 
  
 {{::add_new_conn2.png?direct&912|}} {{::add_new_conn2.png?direct&912|}}
Line 10: Line 8:
 There are 2 ways to edit existing connection: There are 2 ways to edit existing connection:
  
-{{::select_conn_to_edit.png?direct&912}}+{{ :select_conn_to_edit.png?direct&600 |}}
  
-==== 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&800|}}+{{ :conn_basic_tab_review.png?direct&600 |}}
  
-The group **(1)** of setting is common for any kind of connection communication protocol: +The group **(1)** of settings is common for any kind of communication protocol: 
   ***Title** - the name of the connection that will be displayed when working with the project   ***Title** - the name of the connection that will be displayed when working with the project
-  ***Description** - explanation for role and function of the connection +  ***Description** - user-defined description of the connection 
-  ***Serial number** - for docunmenting purpose, to track physical device used in this connection +  ***Serial number** - for documenting purposes, to track physical device used in this connection 
-  ***SKU** - for documening purpose, 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 organizing a large list of devices.+  ***Category** - grouping connections into logical groups, for organising a large list of devices.
   ***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 indication, if there are many options (like RTU/ASCII/TCP etc. ) +  ***Protocol** - more specific protocol subtype, if there are many options (like RTU/ASCII/TCP etc. ) 
-  ***Script alias** - if you have the same type of devices and use scripts to process data in them, it is convenient to copy the same scripts (with the same references to the registers.) Using the connection variable name, you can choose which connection you want to use to access the register by its name in the lua script.+  ***Script alias** - if you have the same type of devices and use scripts to process data in them, it is convenient to copy the same scripts (with the same references to the registers)Using the connection variable name, you can choose which connection you want to use to access the register by its name in the Lua script.
  
-The rest settings **(2)** of Basic tab may vary with different types of protocols (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 apllying it to the transmission telegram (for Modbus family protocols).   ***Address base (offset)** - to automatically shift the register address before apllying it to the transmission telegram (for Modbus family protocols).
   ***TCP port*** - TCP port used for the protocol   ***TCP port*** - TCP port used for the protocol
   ***Unit identificator**  - slave Id in the Modbus network. This number passes through Modbus TCP gateways to serial bus.    ***Unit identificator**  - slave Id in the Modbus network. This number passes through Modbus TCP gateways to serial bus. 
-    ***Disable** - disables/enables communication for this connection +  ***Disable** - disables/enables communication for this connection 
-    ***Simulate device** - the ability to simulate the presence of the device in the network (simulation mode), with possibility to write and read 'virtual' registers of this device.+  ***Simulate device** - the ability to simulate the presence of the device in the network (simulation mode), with possibility to write and read 'virtual' registers of this device.
  
 Please refer to specific communication protocols documentation and WebHMI application examples for more info.  Please refer to specific communication protocols documentation and WebHMI application examples for more info. 
  
-==== Communication tab ====+===== Communication tab =====
  
-Communication tab settings differ a bit for connections based on serial bus and TCP/IP network. Some settings are common to both of them. +**Communication tab** settings differ a bit for connections based on serial bus and TCP/IP network. Some settings are common to both of them. 
  
-=== TCP networks === +==== TCP networks ==== 
-{{::comm_tab_for_tcp.png?direct&800|}}+{{ :comm_tab_for_tcp.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.
-  ***Allow group read operations** checkbox - Allows using group read operations for Modbus protocols. Below is the max. Number of registers to this group. +  ***Allow group read operations** checkbox - Allows using group read operations for Modbus protocols. Below is the max number of registers to this group. 
-    ***Max.register in group** - is the maximal number of data units to be read in the transmission packet of the given communication protocol  +    ***Max register in group** - the maximum number of data units to be read in the transmission packet of the given communication protocol  
-  ***Disable reads when errors occur** checkbox - temporarily disables the problem connection automatically in order to save an acceptable scan time. It is necessary to specify how many faulty scans and the number of read errors in each of them used to automatically turn off. Interval disable polling - sets how many minutes the connection is disconnected+  ***Disable reads when errors occur** checkbox - temporarily disables the problematic connection automatically in order to save an acceptable scan time. It is necessary to specify how many faulty scans and the number of read errors in each of them will trigger automatically turn off this connectionConnection will be turned off for the interval specified in **Disable time interval disable** field
     ***Scans with errors count** - errorneous scan counter, reaching this counter if the first conditions to temporarily switch off the connection     ***Scans with errors count** - errorneous scan counter, reaching this counter if the first conditions to temporarily switch off the connection
     ***Registers with error count** - errorneous register read counter, reaching this counter if the second condition to temporarily switch off the connection     ***Registers with error count** - errorneous register read counter, reaching this counter if the second condition to temporarily switch off the connection
     ***Disable time interval, minutes** - timeout to enable communication again after having been disabled     ***Disable time interval, minutes** - timeout to enable communication again after having been disabled
  
-=== 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|}}+{{ :comm_tab_for_serial.png?direct&800 |}}
   -**(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, when operating at a high speedan 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 COM port 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 COM port]] function page.
  
connections.txt · Last modified: 2024/02/02 08:48 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki