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
hi,
understand that, u is uword, L is long, F is float.
i saw a table that is a modbus register of a device included "ULONG", at this point what should i do to read that register. i can get that and convert with c# its ok but i wonder that is there any other type of decleration in plcadressvalue section ?
thnks
if i need to read an unsigned long, what decleration should i use in PlcAddressValue? UL or LU is not working. eg. UL30001 or LU30001.