Hello, this is my first thread, and Im seeking advice from the experts as I'm at my wits end.
I've connected to a hager energy meter (I've already contacted their customer support) to my windows laptop, where Im running SSCOM to communicate with the metering. When I try and communicate, I either receive incorrectly formatted responses, where the slave address and function code aren't the same ones I sent it to, the response is too short, nothing matches what it's supposed to be, etc, or I receive correctly formatted responses that can't possibly be right, like having a voltage of 0, when I expect something closer to 100V. And I'll receive a mix of these responses for identical communication sent out.
I've triple checked the settings, that everything is on the correct port, baud rate, serial port, everything I can think of. I've checked the information Im sending, and I think it's correct but perhaps one of you could point out what Im missing.
When I treat the start addresses as literal decimals, minus 30000, I get wacky responses. If I convert the 30xxx from hex to decimal, I get an exception response error (top of ss). In both situations, the energy meter shows that RS 485 communication is taking place.
I've connected to a hager energy meter (I've already contacted their customer support) to my windows laptop, where Im running SSCOM to communicate with the metering. When I try and communicate, I either receive incorrectly formatted responses, where the slave address and function code aren't the same ones I sent it to, the response is too short, nothing matches what it's supposed to be, etc, or I receive correctly formatted responses that can't possibly be right, like having a voltage of 0, when I expect something closer to 100V. And I'll receive a mix of these responses for identical communication sent out.
I've triple checked the settings, that everything is on the correct port, baud rate, serial port, everything I can think of. I've checked the information Im sending, and I think it's correct but perhaps one of you could point out what Im missing.
When I treat the start addresses as literal decimals, minus 30000, I get wacky responses. If I convert the 30xxx from hex to decimal, I get an exception response error (top of ss). In both situations, the energy meter shows that RS 485 communication is taking place.
Attachments
-
212.8 KB Views: 9
-
401 KB Views: 19
-
378 KB Views: 19





