I am trying to fathom out how to read a Orno WE 515 Modbus meter.
The table of Registers for this meter shows:
At present in my emonhub.conf I have
[[WE515]] Type = EmonHubMinimalModbusInterfacer [[[init_settings]]] device = /dev/ttyUSB0 baud = 9600 parity = even datatype = int [[[runtimesettings]]] pubchannels = ToEmonCMS, read_interval = 10 nodename = we515 [[[[meters]]]] [[[[[we515a]]]]] address = 1 registers = 304, 305, 314, 321, 344 names = Frequency, Voltage, Current ,Power ,PowerFactor precision = 2, 2, 3, 3, 3 scales = 0.01, 0.01, 0.001, 0.001, 0.001
This works for low values of current and power because it is reading the ‘low byte’ values of the current and power values, but clearly this is not going to work when the current drawn is large enough that the ‘high byte’ values of the 139H-13AH and 140H-141H registers are being used.
So how do I read both 139H and 13AH registers and combine them to represent the true measured current values and the 140H and 141H registers for the Power measurement ?
Presently I’m testing using a USB to RS485 adaptor, but later I will want to change to use a Ethernet/Wifi to RS485 device (probably the WaveShare DIN Rail version) and so presumably I will need to change to using the EmonModbusTcpInterfacer (once I fathom out the how to configure the WaveShare unit).