Siemens 7KT PAC1600 Energy Meter - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Siemens 7KT PAC1600 Energy Meter (/showthread.php?tid=5028) |
Siemens 7KT PAC1600 Energy Meter - alias74 - 15.10.2023 Hi @all, I want to connect a Siemens 7KT PAC1600 Energy Meter to the universal Modbus Slave running on LM. from reading test the result is corect : see the attached immage. Please see also the atache manual with the modbuss adress (this are working for nodered) I need you help for create a .json file that map the Read Input Registers [4] , only an example, the rest il will do from the manual
7KT_Multimetro_it-IT (1).pdf (Size: 3.87 MB / Downloads: 4)
Many thanks for your help! Best regards Costantino RE: Universal Modbus TCP/RTU Slave - Erwin van der Zwart - 15.10.2023 This has nothing to do with Modbus slave script.. Using the controller as slave means that you can read/write to the controller from another Modbus master device and is not needed for devices like meters as those are slave devices itself.. You don’t need this script sample for your device, you just need to create a JSON profile with the registers of interest of your metering device and add it to the Modbus tab profiles and create the slave device with correct meter communication settings. See: https://openrb.com/docs/modbus.htm and the many sample on this forum. RE: Universal Modbus TCP/RTU Slave - alias74 - 16.10.2023 Thanks Erwin, The json I did it: Uploated on the LM, add the Multimeter, mapping the inputregister to the virtual adresses: But no reading: What im doing wrong ? Thanks PS, the error is: RE: Siemens 7KT PAC1600 Energy Meter - admin - 16.10.2023 Do not use read_offset, remove it from all mapping entries. value_multiplier should be inverse of the current value (100 -> 0.01, 10000 -> 0.0001). You might need to add a read_swap parameter, use read test to determine which swap is correct. RE: Siemens 7KT PAC1600 Energy Meter - alias74 - 16.10.2023 Thank admin, it workinh with this: "{ "manufacturer": "Siemens", "description": "7KT1682", "mapping": [ { "name": "Voltage L1", "bus_datatype": "float32", "type": "inputregister", "address": 2, "datatype": "int32","read_swap":"w", "value_multiplier": 0.01, "units": "V" }, { "name": "Amperage L1", "bus_datatype": "float32", "type": "inputregister", "address": 8, "datatype": "int32", "read_swap":"w", "value_multiplier": 0.001, "units": "A" }, { "name": "Energy L1", "bus_datatype": "float32", "type": "inputregister", "address": 20, "datatype": "int32","read_swap":"w", "value_multiplier": 0.001, "units": "W" } ] }" |