how can i use the read test ? Could u explain me step by step ? TNX
REGISTER FORMATS
The DCOM documentation uses Modbus Register Offset numbering for all registers. A register is specified by the function type (Holding or Input) and the Register Offset. The register offset is a value between 0 and 65535.
To use the alternative Modicon register addressing mode 3xxxx and 4xxxx it is necessary to perform a conversion. The
Modicon Base Holding register is 40001, and the Modicon Base Input register is 30001. To convert DCOM registers to Modicon format, add the DCOM Register Offset to the Modicon Base Register.
First set the RTU settings to match settigs of your slave then just press RTU test, From manuals select one register of which you know what the value should be and try setting it up. Manuals defines it fairly clear.
21.06.2024, 15:09 (This post was last modified: 21.06.2024, 17:39 by arturfra.)
i'm not able to find "RTU test" in the modbus tab, i can see only RTU Setting, i set to to rtu-1 because i've the dcom on that port, aftert that i can see "scan rtu" and "read test", no rtu test...
i did this one and it seems to work, i tested the Leaving Water Main Cooling Setpoint Temperature and it's really 14°C
Here is the documentation but you already have the 3 registers and based on device documentation just copy paste and change relevant parameters. https://kb.logicmachine.net/misc/modbus-profile/
22.06.2024, 12:51 (This post was last modified: 23.06.2024, 16:48 by arturfra.)
(21.06.2024, 18:18)Daniel Wrote: Here is the documentation but you already have the 3 registers and based on device documentation just copy paste and change relevant parameters. https://kb.logicmachine.net/misc/modbus-profile/
thank you for your help, check if my attached (incomplete) file is OK and please tell me how I can know if a register is writable or not (I think holding is writable and input not) and how I know the bus_datatype format, I should go forward but I'm not sure for next registers because there are formats as text16, temp16, etc
It looks OK but you have to test it. The manuals should clearly define which register is writable and which do not. There is no rule for this but inputregister should be read only. This manual do not explain it well so ether contact manufacture or try and test. The bus_datatype is just your choice of dpt in LM you want the data to be used. If you use different "datatype" and "bus_datatype" then LM will convert it.