Dupline Mastergenerator G3800 modbus / counter G4420 7401

Hi,

I have a Dupline mastergenerator G3800 and want to get counter data (G4420 7401) into home assistant via modbus. I already managed to switch lights via the modbus but I dont get the counter work. Via register 512 I get some data but this are not the correct values.
Does anyone knows how this works?

Help is appreciated. Thanks.