plasmapper/pl_modbus

1.3.0

Latest
uploaded 5 days ago
Modbus C++ class component for ESP-IDF

7 examples

  • network_client
    This example demonstrates a Modbus client using ESP Wi-Fi to read holding registers and coils from a network.
    2.27 KB
  • network_server
    This example creates a Network Modbus server on port 502 with a maximum of 2 clients and specific memory mapping.
    2.56 KB
  • server_memory_areas
    This example demonstrates a UART Modbus server setup using UART0 with various memory areas and configurations.
    2.41 KB
  • server_user_defined_function
    The CustomModbusServer class implements a user-defined function in Modbus, responding with a byte and a random byte array.
    2.12 KB
  • uart_client
    This example demonstrates a UART Modbus client using UART0, with parameters set to 115200 bps and operations on holding registers and coils.
    1.79 KB
  • uart_server
    This example demonstrates the creation of a UART Modbus server using UART0, configured for the Modbus RTU protocol.
    1.74 KB
  • usb_server
    The USB Modbus server utilizes USB as a port with the Modbus RTU protocol and is configured with station address 1.
    1.68 KB