Posts: 3050
Threads: 18
Joined: Aug 2017
Reputation:
122
Try first reading via Read test. If it works try using this
https://forum.logicmachine.net/showthrea...+generator
------------------------------
Ctrl+F5
Posts: 2
Threads: 0
Joined: Jan 2022
Reputation:
0
Hello everyone,
does anybody have the profile for the energymeter from ABB (B24 112-100)?
I can´t get it to work. Thanky you!
Posts: 5066
Threads: 29
Joined: Jun 2015
Reputation:
256
@tthamm, do you have the communication working via read test? The device documentation is very clear, you only have to convert addresses from hex to decimal for testing.
Try reading Active import with these settings:
- Function: Holding register (#3)
- Address: 20480
- Data type: uint64
- Read swap: Word
The read value is in 0.01KWh. If the value is incorrect then try using different read swap modes.
Posts: 5066
Threads: 29
Joined: Jun 2015
Reputation:
256
LM does not have D0/D1 markings, but A/B/GND. A is positive, B is negative. Try swapping A/B lines and also check that the serial port settings match.
Posts: 3050
Threads: 18
Joined: Aug 2017
Reputation:
122
What is your profile?
PS. You should create separate thread for this.
------------------------------
Ctrl+F5
Posts: 108
Threads: 28
Joined: Sep 2015
Reputation:
0
Hi,
When using a profile and reading blocs of parameters, "read_count" refers to number of 16bit modbus registers or number of registers defined on "datatype"?
I mean if I use something like this:
{"name": "Input_Register_1",
"bus_datatype": "float32",
"type": "inputregister",
"datatype": "float32",
"address": 4,
"read_offset": 0,
"read_count": 4,
"writable": 0,
"value_delta": 1,
"value_multiplier": 1,
"units": "%"
},
{"name": "Input_Register_2",
"bus_datatype": "float32",
"type": "inputregister",
"datatype": "float32",
"address": 4,
"read_offset": 2,
"read_count": 4,
"writable": 0,
"value_delta": 1,
"value_multiplier": 1,
"units": "%"
}
Is this reading input register 4 as 32bit float and register 6 as 32bit float using a single modbus read command? (count is 4 because we're reading registers 4,5,6 and 7)
Or should I define read_count as 2 because I'm reading 2 32bit registers?
Thanks.