User Tools

Site Tools


custom_protocols

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
custom_protocols [2021/07/13 11:12] – [The examples of custom protocols] emozolyakcustom_protocols [2021/07/23 14:02] – [Creating a Protocol] emozolyak
Line 21: Line 21:
 To go to the list of user protocols, click on the button "Custom protocols" the Setup -> Registers -> Tools sub-menu. To go to the list of user protocols, click on the button "Custom protocols" the Setup -> Registers -> Tools sub-menu.
  
-{{ ::add_custom_protocol.png?direct |}}+{{ ::add_custom_protocol.png?direct&600 |}}
  
 You will be taken to the protocol management page. In this example, we see two demonstration protocols - ModBus TCP Demo and ModBus ASCII Demo: You will be taken to the protocol management page. In this example, we see two demonstration protocols - ModBus TCP Demo and ModBus ASCII Demo:
  
-{{ ::custom_prot_list.png?direct&600 |}}+{{ ::custom_prot_list.png?direct&400 |}}
  
 Let's look at the page for editing the ModBus TCP Demo protocol: Let's look at the page for editing the ModBus TCP Demo protocol:
Line 40: Line 40:
 The regular expression must ensure that the register address is validated on the register editing page (when this protocol is selected). Example: The regular expression must ensure that the register address is validated on the register editing page (when this protocol is selected). Example:
  
-{{ ::custom_prot_addr_valid.png?direct&912 |}}+{{ ::custom_prot_addr_valid.png?direct&600 |}}
  
 We also see a convenient code editor. It supports formatting, highlighting and validation of syntax. So it's convenient to write the code  We also see a convenient code editor. It supports formatting, highlighting and validation of syntax. So it's convenient to write the code 
Line 446: Line 446:
 As an example we've made (partually) several protocols: As an example we've made (partually) several protocols:
  
-  *[[http://docs.webhmi.com.ua/modbus_tcp_custom|ModBus TCP]] +  *[[modbus_tcp_custom|ModBus TCP]] 
-  *[[http://docs.webhmi.com.ua/modbus_ascii_custom|ModBus ASCII]] +  *[[modbus_ascii_custom|ModBus ASCII]] 
-  *[[http://docs.webhmi.com.ua/modbus_rtu_custom|Modbus RTU]]. +  *[[modbus_rtu_custom|Modbus RTU]]. 
-  *[[http://docs.webhmi.com.ua/http_get_custom | HTTP request example]]+  *[[http_get_custom | HTTP request example]]
   *Other devices that were connected using [[http://docs.webhmi.com.ua/examples_of_webhmi_connections_to_various_devices|custom protocols]]   *Other devices that were connected using [[http://docs.webhmi.com.ua/examples_of_webhmi_connections_to_various_devices|custom protocols]]
  
custom_protocols.txt · Last modified: 2023/02/21 17:52 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki