Контроллер Jenhome D1+ и map3e
Некорректные данные с регистров , как исправить
Так заведены регистры :
-
reg_name: “Urms L1”
address: 0x1410
reg_type: “input”
data_type: “u32”
precision: 2
scale: 0.000000152588
- reg_name: “Upeak L1”
address: 0x1810
reg_type: “input”
data_type: “s32”
precision: 2
scale: 0.01
byteorder: “little”- reg_name: "Urms L2" address: 0x1412 reg_type: "input" data_type: "u32" precision: 2 scale: 0.000000152588 - reg_name: "Upeak L2" address: 0x1812 reg_type: "input" data_type: "s32" precision: 2 scale: 0.01 byteorder: "little" - reg_name: "Urms L3" address: 0x1414 reg_type: "input" data_type: "u32" precision: 2 scale: 0.000000152588 - reg_name: "Upeak L3" address: 0x1814 reg_type: "input" data_type: "s32" precision: 2 scale: 0.01 byteorder: "little"
Показания регистров пиковые напряжения
/devices/wb-map3e_24/controls/Urms L1 223.64
/devices/wb-map3e_24/controls/Upeak L1 408.26
/devices/wb-map3e_24/controls/Urms L2 229.12
/devices/wb-map3e_24/controls/Upeak L2 98.54
/devices/wb-map3e_24/controls/Urms L3 229.24
/devices/wb-map3e_24/controls/Upeak L3 -226.55
По пиковым токам такая же проблема
-
reg_name: “Irms L1”
address: 5142
reg_type: “input”
data_type: “u16”
precision: 2
scale: 0.016
- reg_name: “Ipeak L1”
address: 6168
reg_type: “input”
data_type: “s32”
precision: 2
scale: 0.016
byteorder: “little”- reg_name: "Irms L2" address: 5144 reg_type: "input" data_type: "u16" precision: 2 scale: 0.016 - reg_name: "Ipeak L2" address: 6170 reg_type: "input" data_type: "s32" precision: 2 scale: 0.016 - reg_name: "Irms L3" address: 5146 reg_type: "input" data_type: "u16" precision: 2 scale: 0.016 - reg_name: "Ipeak L3" address: 6172 reg_type: "input" data_type: "s32" precision: 2 scale: 0.016
/devices/wb-map3e_24/controls/Irms L1 13.71
/devices/wb-map3e_24/controls/Ipeak L1 610.40
/devices/wb-map3e_24/controls/Irms L2 8.18
/devices/wb-map3e_24/controls/Ipeak L2 45.12
/devices/wb-map3e_24/controls/Irms L3 10.53
/devices/wb-map3e_24/controls/Ipeak L3 -708.69