plasmapper/pl_modbus

1.4.1

Latest
uploaded 1 day ago
Modbus C++ class component for ESP-IDF

7 examples

  • network_client
    This example demonstrates a Modbus client that connects via Wi-Fi, reads data from holding registers, and prints values every second.
    2.27 KB
  • network_server
    This example demonstrates a Network Modbus server at port 502, configured with a Wi-Fi interface and parameters for client connections.
    2.56 KB
  • server_memory_areas
    This example demonstrates creating a UART Modbus server with various memory areas, including holding and input registers.
    2.41 KB
  • server_user_defined_function
    The CustomModbusServer class extends ModbusServer to implement a user-defined function with function code 100, allowing it to respond with a byte and a random data array.
    2.13 KB
  • uart_client
    This example demonstrates a UART Modbus client using UART0, which reads and writes holding registers and coils.
    1.79 KB
  • uart_server
    This example demonstrates a UART Modbus server using UART0, configured with specific parameters for communication.
    1.74 KB
  • usb_server
    This example demonstrates creating a USB Modbus server using the Modbus RTU protocol with a single buffer for multiple memory areas.
    1.68 KB