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.

Modbus profiles examples
#23
Hi,

I tried create my own .json for PM Janitza UMG-103 device I have, can somebody a little more explain my error and some parameters?? I use notepad++ and JSON viewer plugin:

{
"product_code": "UMG-103",
"mapping": [{
"bus_datatype": 14,
"address": 19000,
"value_nan": [65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L1-N",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19002,
"value_nan": [65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L2-N",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19004,
"value_nan": [65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L3-N",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19006,
"value_nan": [65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L1-L2",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19008,
"value_nan": [65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L2-L3",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19010,
"value_nan": [
65472,
0],
"type": "register",
"units": "V",
"value_multiplier": 1,
"name": "Voltage L3-L1",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19012,
"value_nan": [65472,
0],
"type": "register",
"units": "A",
"value_multiplier": 1,
"name": "Apparent current, L1",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19014,
"value_nan": [
65472,
0],
"type": "register",
"units": "A",
"value_multiplier": 1,
"name": "Apparent current, L2",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19016,
"value_nan": [65472,
0],
"type": "register",
"units": "A",
"value_multiplier": 1,
"name": "Apparent current, L3",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19018,
"value_nan": [65472,
0],
"type": "register",
"units": "A",
"value_multiplier": 1,
"name": "Vector sum; IN=I1+I2+I3",
"datatype": "float32"
}
{
"bus_datatype": 14,
"address": 19020,
"value_nan": [65472,
0],
"type": "register",
"units": "W",
"value_multiplier": 1,
"name": "Real power L1",
"datatype": "float32"
}],
"manufacturer": "Janitza",
"name": "UMG-103",
"product_range": "PM",
"description": "Power meter UMG-103"
}

When I try upload profile to LM - I see error: "Expected comma or array end but found T_OBJ_BEGIN at character 234"
Questions:
1. Bus_datatype 14 What is it for? Not found in documentation for LM json creation;
2. Value_nan When to add/use such parameter? At Janitza found nothing..

Below some addresses I tried to add from Janitza UMG-103 manual:

Address List
Address Type RD/WR Designation Unit Remark
19000 float RD _ULN[0] V Voltage L1-N
19002 float RD _ULN[1] V Voltage L2-N
19004 float RD _ULN[2] V Voltage L3-N
19006 float RD _ULL[0] V Voltage L1-L2
19008 float RD _ULL[1] V Voltage L2-L3
19010 float RD _ULL[2] V Voltage L3-L1
19012 float RD _ILN[0] A Apparent current, L1
19014 float RD _ILN[1] A Apparent current, L2
19016 float RD _ILN[2] A Apparent current, L3
19018 float RD _I_SUM3 A Vector sum; IN=I1+I2+I3
19020 float RD _PLN[0] W Real power L1
19022 float RD _PLN[1] W Real power L2
19024 float RD _PLN[2] W Real power L3
19026 float RD _P_SUM3 W Sum; Psum3=P1+P2+P3
19028 float RD _SLN[0] VA Apparent power L1

Big thanks for helping

Hi again,
Found my errors by myself Smile Should be comma after every data massive Smile Good tool found for yourself checking of new .json file - JSON validator: https://jsonlint.com/
So questions are remained:

1. Bus_datatype 14 What is it for? Not found in documentation for LM json creation;
2. Value_nan When to add/use such parameter? At Janitza found nothing..
Reply


Messages In This Thread
Modbus profiles examples - by AEK - 15.06.2017, 07:43
RE: Modbus profiles examples - by morak - 15.06.2017, 10:59
Modbus profiles examples - by ELO - 17.10.2017, 05:29
RE: Modbus profiles examples - by admin - 21.10.2017, 06:05
RE: Modbus profiles examples - by Gadjoken - 23.10.2017, 08:53
RE: Modbus profiles examples - by thientiti01 - 24.11.2017, 07:52
RE: Modbus profiles examples - by AEK - 27.11.2017, 09:18
RE: Modbus profiles examples - by thientiti01 - 27.11.2017, 10:25
RE: Modbus profiles examples - by jetsetter - 30.11.2017, 12:22
RE: Modbus profiles examples - by admin - 30.11.2017, 12:36
RE: Modbus profiles examples - by m.j.sorokin - 30.11.2017, 17:29
RE: Modbus profiles examples - by jmir - 04.12.2017, 14:19
RE: Modbus profiles examples - by FatMax - 05.12.2017, 22:53
RE: Modbus profiles examples - by admin - 06.12.2017, 07:01
RE: Modbus profiles examples - by FatMax - 08.12.2017, 09:06
RE: Modbus profiles examples - by Kaveckiy - 13.09.2018, 06:24
RE: Modbus profiles examples - by fiLLLip - 03.01.2019, 05:52
RE: Modbus profiles examples - by Daniel - 08.03.2019, 11:35
RE: Modbus profiles examples - by AlexLV - 10.03.2019, 15:12
RE: Modbus profiles examples - by admin - 11.03.2019, 07:35
RE: Modbus profiles examples - by AlexLV - 11.03.2019, 11:47
RE: Modbus profiles examples - by Rick - 19.10.2020, 09:53
RE: Modbus profiles examples - by Daniel - 19.10.2020, 09:59
RE: Modbus profiles examples - by Rick - 19.10.2020, 10:16
RE: Modbus profiles examples - by stavros - 29.10.2020, 14:13
RE: Modbus profiles examples - by admin - 29.10.2020, 14:25
RE: Modbus profiles examples - by stavros - 30.10.2020, 10:38
RE: Modbus profiles examples - by stemic01 - 04.11.2020, 20:56
RE: Modbus profiles examples - by AnLi_HOUSE - 11.11.2020, 18:33
RE: Modbus profiles examples - by victor.back - 20.11.2020, 18:34
RE: Modbus profiles examples - by epps - 18.07.2021, 15:05
RE: Modbus profiles examples - by epps - 18.07.2021, 18:21
RE: Modbus profiles examples - by lasttrip - 06.08.2021, 06:14
RE: Modbus profiles examples - by admin - 06.08.2021, 08:14
RE: Modbus profiles examples - by edgars - 26.08.2021, 08:22
RE: Modbus profiles examples - by Daniel - 18.10.2021, 13:47
RE: Modbus profiles examples - by tthamm - 08.01.2022, 07:31
RE: Modbus profiles examples - by admin - 10.01.2022, 08:07
RE: Modbus profiles examples - by tthamm - 23.01.2022, 17:27
RE: Modbus profiles examples - by admin - 24.01.2022, 07:14
RE: Modbus profiles examples - by tthamm - 02.10.2022, 10:48
RE: Modbus profiles examples - by Dré - 04.10.2022, 15:09
RE: Modbus profiles examples - by gtsamis - 28.01.2022, 18:05
RE: Modbus profiles examples - by Daniel - 31.01.2022, 08:41
RE: Modbus profiles examples - by gtsamis - 31.01.2022, 08:48
RE: Modbus profiles examples - by Ian@GWTi - 21.03.2022, 11:10
RE: Modbus profiles examples - by jmir - 23.03.2022, 13:43
RE: Modbus profiles examples - by admin - 23.03.2022, 14:41
RE: Modbus profiles examples - by jmir - 23.03.2022, 15:05
RE: Modbus profiles examples - by khalil - 15.06.2022, 14:11
RE: Modbus profiles examples - by Daniel - 15.06.2022, 14:42
RE: Modbus profiles examples - by admin - 16.06.2022, 07:12
RE: Modbus profiles examples - by khalil - 16.06.2022, 13:59
RE: Modbus profiles examples - by Ian@GWTi - 22.07.2022, 14:27
RE: Modbus profiles examples - by admin - 26.07.2022, 06:23
RE: Modbus profiles examples - by Daniel - 03.10.2022, 07:54
RE: Modbus profiles examples - by tthamm - 03.10.2022, 18:04
RE: Modbus profiles examples - by Daniel - 04.10.2022, 07:39
Modbus profiles examples - by fabiorusco - 27.12.2022, 14:48
RE: Modbus profiles examples - by fabiorusco - 28.12.2022, 07:01
RE: Modbus profiles examples - by admin - 28.12.2022, 07:30
RE: Modbus profiles examples - by fabiorusco - 28.12.2022, 08:32
RE: Modbus profiles examples - by pritorianz - 10.03.2023, 10:12
RE: Modbus profiles examples - by AEK - 25.09.2023, 19:11
RE: Modbus profiles examples - by fabiorusco - 30.09.2023, 09:57
RE: Modbus profiles examples - by tomnord - 30.09.2023, 15:25
NIBE S1155 Modbus profile - by merel - 25.01.2024, 09:46
LG AWHP Modbus RTU Profile - by KoBra - 08.04.2023, 13:16

Forum Jump: