Ducumentation / Plugin Amendment Suggestion - Modbus

Here is where you can request new features or special features.

Ducumentation / Plugin Amendment Suggestion - Modbus

Postby Robertspark » Fri Aug 31, 2018 12:33 pm

Would it be possible to add to the Modbus Manual and the plugin that the 8 function types:
Read Coils, Read HoldingRegisters, Read InputRegisters, Read Inputs,
Write SingleCoil, Write Single Register, Write MultipleCoils, Write MultipleRegisters.

These are sometimes referred to in manufactures manuals by their Hex references (such as the manuf manual extract below):
Read Coils 0x01 or 01 hex or 1 DEC,
Read Holding Registers 0x03 or 03 hex or 3 DEC,
Read Input Registers 0x04 or 04 hex or 4 DEC,
Read Inputs 0x02 or 02 hex or 2 DEC,
Write Single Coil 0x05 or 05 hex or 5 DEC,
Write Single Register 0x06 or 06 hex or 6 DEC,
Write Multiple Coils, 0x0F or 05 hex or 15 DEC
Write Multiple Registers 0x10 or 10 hex or 16 DEC.

It is then easier to know (from the attached manual extract) to select "Write Single Register" as the function type when creating an "add Function" within the plugin.

Likewise the "Modbus start Register" within the Add function of the UCCNC plugin is a Decimal Address, so when the manual says 0200H (hex) or as per the example manual extract Starting Data Address 02H 00H, you need to convert this to Decimal which is "512"
2018-08-31 11_03_03-DELTA_IA-ASD_ASDA-A2_UM_EN_20180611.pdf.png
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2109, Neuron Lite
UCCNC v1.2108 Macro Manual
Posts: 1331
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Return to Feature Request

Who is online

Users browsing this forum: No registered users and 4 guests