User Tools

Site Tools


supported_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
supported_protocols [2019/01/09 14:31] – old revision restored (2019/01/09 14:30) emozolyaksupported_protocols [2019/01/09 14:34] – [The protocols supported] emozolyak
Line 13: Line 13:
   *[[siemens_ppi| Siemens PPI ]]   *[[siemens_ppi| Siemens PPI ]]
   *[[siemens_iso| Siemens S7 Communicatoin (Iso-Over-Tcp) ]]   *[[siemens_iso| Siemens S7 Communicatoin (Iso-Over-Tcp) ]]
 +  *[[1wire| 1Wire bus for temperature sensors]]
 +  *[[broadlink_sps3| Broadlink SPS3]]
  
  
Line 43: Line 45:
  
  
-===== 1-Wire ===== 
  
-Since WebHMI version 1.11.0.3453 1-Wire protocol support were added. 
  
-At the current moment, it is possible to poll the DS18x20 family of sensors. To work with the 1-Wire bus you need a special USB adapter. E.g. like this one: 
  
-{{::usb-1-wire.jpg?direct&200|}} 
  
-When creating a connection, you must select: 
-  *PLC model: 1-Wire 
-  *Protocol: DS18x20 or DS2480 depending on the adapter you use 
  
-{{::1wire_select_adapter.png?direct&500|}} 
- 
-Device: corresponding USB UART adapter. 
- 
-{{::1wire_select_bus.png?direct&800|}} 
- 
-When creating a register for thermometers, it is necessary to specify such register address format: "T" + thermometer address in hexadecimal. For example, **T28FFC85115150131**. 
- 
-For more convenient use of the system, under the address line of the register address, a link appears //Select 1-Wire device...//: 
-{{::one_wire_search.png?direct&600|}} 
- 
-If you click on it, the system will search for all devices on the 1-Wire bus and a new window will pop up where all these devices will be listed. For thermometers DS18x20 in the corresponding line will be a link with the correct register address for this thermometer. If you click on this address, the window will automatically close and the selected address will be inserted in the address field of the register:  
-{{::select_1w_sensor.png?direct&600|}} 
- 
-  P.S. The speed of reading 1-wire values ​​depends strongly on the selected UART-converter. So, the adapters on the  
-  FTDI chip will make big delays due to LatencyTimer's timeout. Reading one temperature reading on this adapter  
-  takes about 100ms. 
- 
-===== Broadlink SP3S ===== 
- 
-{{::broadlink_sps3.png?direct&150 |}} 
-Since version 2.10, WebHMI supports the Broadlink SP3S smart socket protocol. 
- 
-At the moment, supported protocol data are - state of the socket (on / off) and the power consumption. 
- 
-Following addressing map for the registers of the Broadlink SP3S socket is adopted: 
-^Register address ^Description ^Data type ^Reading/Writing^ 
-|DO1 |Digital Output 1. Allows switching on/off and read its state |Bit |Read/Write| 
-|P1 |Power Consumption, Watts |Double Word, Float, 32 IEEE 754 |Read/-| 
  
 ===== Implemented using custom protocol mechanism ===== ===== Implemented using custom protocol mechanism =====
supported_protocols.txt · Last modified: 2022/08/24 08:54 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki