Skip to main content
Version: 2.2.1

Modbus Master Specification

Protocol

  • TCP
  • Serial Port : RTU / ASCII

Function Call

  • 01 Read Coils
  • 02 Read Discrete Inputs
  • 03 Read Holding Registers
  • 04 Read Input Registers
  • 05 Write Single Coil
  • 06 Write Single Register
  • 15 Write Multiple Coils
  • 16 Write Multiple Registers
  • 23 Read/Write Multiple Registers

Data Trigger by

  • Cyclic / Data Change

Endian Swap

  • None / Byte / Word / Byte and Word

Data Scaling

  • None / Slop-intercept / Point-slope

Tag Data Type

  • raw / boolean / int16 / int32 / int64 / uint16 / uint32 / uint64 / float / double / string

Web UI, RESTful API and Remote Management

Modbus Master application allows you to manage settings in variable ways.

FeatureWeb GUIRESTful APIAzure Direct MethodMQTT Topic
Start/Stop Modbus Master AppOOOO
Create slave device - TCP / SerialOOOO
Enable/Disable slave deviceOOOO
Setting TCP slave device parametersOOO
Setting Serial slave device parametersOOOO
Delete slave deviceOOOO
Create command by function callOOOO
Create tag associated with commandOOOO
Apply endian swap on tag dataOOOO
Apply data scaling on tag dataOOOO
Update/Delete commandOOOO
Update data trigger modeOOO
Import/Export commands as CSV fileOO
Import/Export Modbus configuration as CSV fileOO
Enable/Disable slave device fail eventOOOO
Enable/Disable function call fail eventOOOO

Please refer to ThingsPro Edge V2.0.0 Restful API

limitation and constrain on device UC-8112A-ME

ItemMax ValueNote
Max Serial Slave Device #31Able to create max 31 serial slave device.
Max TCP Slave Device #32Able to create max 32 TCP slave device.
Max Command #2048Support max 2048 commands across all slave devices.
Max Tag #2048Support max 2048 tags across all commands.
Max Command # in a Serial Port128Support max 128 commands for a serial slave device.
Max Command # in a TCP Port2048Support max 2048 commands for a TCP slave device.

Modbus Master application support big integer range is:

Data TypeMinMax
Int64-922337203685477922337203685477
Unsigned int6401,844,674,407,370,954

Performance benchmark on device UC-8112A-ME.

Environments:

  • Running period: 15 minutes
  • Slave device: one TCP slave device, two serial slave devices
  • Others application: No
Tags #Polling Interval (ms)1 mins5 mins15 mins
5010000.580.530.48
10010000.810.770.62
15010000.580.540.55
20010000.770.920.8
25010000.830.820.85
30010002.031.391.13

The result represents: the UC-8112A-ME gateway device is capable of fetching 250 tags per second over the Modbus protocol.

Last updated on 2022-05-04 by Aeluin Chen (陳映攸)