github.com/simpleiot/simpleiot@v0.18.3/docs/user/modbus.md (about)

     1  # Modbus
     2  
     3  Modbus is popular data communications protocol used for connecting industrial
     4  devices. The specification is open and available at the
     5  [Modbus website](https://modbus.org/).
     6  
     7  Simple IoT can function as both a Modbus client or server and supports both RTU
     8  and TCP transports. Modbus client/server is used as follows:
     9  
    10  - **client**: typically a PLC or Gateway -- the device reading sensors and
    11    initiating Modbus transactions. This is the mode to use if you want to read
    12    sensor data and then process it or send to an upstream instance.
    13  - **server**: typically a sensor, actuator, or other device responding to Modbus
    14    requests. Functioning as a server allows SIOT to simulate Modbus devices or to
    15    provide data to another client device like a PLC.
    16  
    17  Modbus is a prompt response protocol. With Modbus RTU (RS485), you can only have
    18  one client (gateway) on the bus and multiple servers (sensors). With Modbus TCP,
    19  you can have multiple clients and servers.
    20  
    21  Modbus is configured by adding a Modbus node to the root node, and then adding
    22  IO nodes to the Modbus node.
    23  
    24  ![modbus](images/modbus.png)
    25  
    26  Modbus IOs can be configured to support most common IO types and data formats:
    27  
    28  ![modbus io config](images/modbus-io-config.png)
    29  
    30  ## Videos
    31  
    32  ### [Simple IoT Integration with PLC Using Modbus](https://youtu.be/-1PuBoTAzPE)
    33  
    34  <iframe width="791" height="445" src="https://www.youtube.com/embed/-1PuBoTAzPE" title="Simple IoT Integration with PLC Using Modbus" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
    35  
    36  ### [Simple IoT upstream synchronization support](https://youtu.be/6xB-gXUynQc)
    37  
    38  <iframe width="791" height="445" src="https://www.youtube.com/embed/6xB-gXUynQc" title="Simple IoT upstream synchronization support" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
    39  
    40  ### [Simple IoT Modbus Demo](https://youtu.be/iIZWxr482mI)
    41  
    42  <iframe width="791" height="445" src="https://www.youtube.com/embed/iIZWxr482mI" title="Simple IoT Modbus Demo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>