nymea-plugins-modbus/modbuscommander
Simon Stürz 29a9e17b53 Modbuscommander: Update network device discovery 2024-12-16 15:45:09 +01:00
..
translations Update translations 2023-01-17 09:11:50 +01:00
README.md fixed typos and extended readme 2020-12-07 21:52:56 +01:00
integrationpluginmodbuscommander.cpp Modbuscommander: Update network device discovery 2024-12-16 15:45:09 +01:00
integrationpluginmodbuscommander.h Allow creating multiple connections on one ModbusTcpMaster 2023-08-09 14:40:52 +02:00
integrationpluginmodbuscommander.json ModbusCommander: Fix value state name typo 2023-05-24 14:15:04 +02:00
meta.json Add modbus technology to all plugin meta files 2022-01-27 23:03:36 +01:00
modbus.svg added modbus commander 2020-06-16 13:28:52 +02:00
modbuscommander.pro Update modbuscommander plugin to libnyma-modbus 2022-06-03 10:20:25 +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/