Modbus 32-bit registers - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Modbus 32-bit registers (/showthread.php?tid=2699) |
Modbus 32-bit registers - MarcusH - 26.06.2020 Hi I got an Eaton nzm-xmc-tc-mb, this unit got a 32-bit register with High byte and low byte. I've never worked with this before so im having probles understanding how it works. I think I understand the logic, but I got no idea how I should pull the data and write it. Register manual (PDF document): https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwiG_9nlgp3qAhXuh4sKHaTZDLkQFjABegQIAxAB&url=ftp%3A%2F%2Fftp.moeller.net%2FDOCUMENTATION%2FAWB_MANUALS%2FMN01219001Z_EN.pdf&usg=AOvVaw1fqpTFseIkF9NK7jSPWqJn Can someone explain how this works and maybe give me a starter script to get me going? Best regards Marcus H RE: Modbus 32-bit registers - Daniel - 26.06.2020 Hi Just try RTU read test with int32 and see what you get. In Modbus this is normal that you read several registers for single value. BR RE: Modbus 32-bit registers - admin - 26.06.2020 You should create a profile instead of using scripts. See this thread for some examples: https://forum.logicmachine.net/showthread.php?tid=839 RE: Modbus 32-bit registers - MarcusH - 26.06.2020 Hi, Thanks Daniel, seems like i wasn't that far off after all. I keep getting this error, Resource temporarty unavailable. Is this an LM error or an device error? I use script only when i want to read values for test, i find this much easier. When i get the values and understand the register i can, make my own register. Thanks for the link RE: Modbus 32-bit registers - Daniel - 26.06.2020 If you use RTU read test then you straight have all the parameters for profile, much simpler for me. |