nymea-plugins-modbus/modbuscommander
Simon Stürz 352413563f Use new modbus RTU hardware resource for the modbus commander plugin
Use new modbus RTU hardware resource for the modbus commander plugin

Fix action abort for RTU actions and fix connected state fro child RTU things

Fix modbus rtu client and make it work with the basic resource component

Remove modbusrtu master from project file

Remove custom modbus rtu master include
2021-06-27 17:22:41 +02:00
..
translations improved rediscovery 2020-12-02 12:47:21 +01:00
README.md fixed typos and extended readme 2020-12-07 21:52:56 +01:00
integrationpluginmodbuscommander.cpp Use new modbus RTU hardware resource for the modbus commander plugin 2021-06-27 17:22:41 +02:00
integrationpluginmodbuscommander.h Use new modbus RTU hardware resource for the modbus commander plugin 2021-06-27 17:22:41 +02:00
integrationpluginmodbuscommander.json Use new modbus RTU hardware resource for the modbus commander plugin 2021-06-27 17:22:41 +02:00
meta.json added modbus commander 2020-06-16 13:28:52 +02:00
modbus.svg added modbus commander 2020-06-16 13:28:52 +02:00
modbuscommander.pro Use new modbus RTU hardware resource for the modbus commander plugin 2021-06-27 17:22:41 +02:00

README.md

Modbus Commander

A nymea integration plugin to send Modbus RTU or TCP requests.

Usage

Set up one Modbus RTU or TCP client first. Afterwards a register thing can be set-up and during the setup process the modbus client can be selected.

Supported Things

  • Modbus TCP client
    • Modbus TCP interface
    • IP Address and Port of the target device are requried.
  • Modbus RTU client
    • Modbus RTU interface
    • All available serial ports will be discovered.
    • Baudrate, data bits, stop bits and parity are required.
  • Coil
    • Writes and reads a single Modbus Coil
    • Modbus device- and register address are required.
  • Discrete input
    • Reads a single Modbus discrete input
    • Modbus device- and register address are required.
  • Input register
    • Reads a single Modbus input register
    • Modbus device- and register address are required.
  • Holding register
    • Writes and reads a single Modbus holding register
    • Modbus device- and register address are required.

Requirements

  • The package 'nymea-plugin-modbuscommander' must be installed.
  • For Modbus RTU, a serial port must be available.
  • For Modbus TCP, the target deviecc must be in the same network.

Settings

Plug-In Configuration

Update interval

Defines the interval for register polling in seconds. Minimum and default value is 1 second.

Modbus TCP & RTU Client Settings

Timeout

Default value is 100 ms, the minimum timeout is 10 ms. The timeout is used by the Modbus client to determine how long it waits for a response from the server. The request failes if the response is not received within the given timeout.

Number of retries

Sets the number of retries a client will perform before a request fails. The default value is set to 3.

More

http://www.modbus.org/