This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Siemens 7KT PAC1600 Energy Meter
#1
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
.pdf   7KT_Multimetro_it-IT (1).pdf (Size: 3.87 MB / Downloads: 4)

Many thanks for your help!

Best regards
Costantino
Reply
#2
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.
Reply
#3
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:
   
Reply
#4
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.
Reply
#5
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" }
]
}"
Reply


Forum Jump: