1
Tips & Tricks / Re: Modbus Addressing
« on: March 15, 2022, 09:54:21 AM »Some hints when using Modbus with AdvancedHMI.....
The most common addressing is supported such as:
40001
00001
10001
The default are signed integers, but you can force it to use unsigned by preceding the address by a "U". For example:
U40001
32 bit integers and 32 bit floating point are also supported by using the following prefixes:
F40001
L40001
Keep in mind that you are using 4 bytes, so L40001 may overlap L40002. Based on the device you are using. The consecutive 32 bit values may be L40001 and L40003
If you want to force a particular function number, then specify the function followed by a ":". for example:
3:0001
As of version 3.99b, a new prefix is supported for BCD. For example:
B40001
I have problem with addressing my modbus to communicate to Arduino, but only with 32 bit adrresses. "Normal" 16 bit work great, but when I write i.e. L40020 I can write 32 number but it is not send to a Arduino, on any address (40020,40021 or 40022).
I am new to AdvanecedHMI, what am I doing wrong?
I use Modbus RTU that communicate normal with other 16 bit addresses.