Re: Strange issues with RS485 Communications
Posted: Tue Sep 25, 2012 3:27 pm
Hello Alfonso,
I have seen very similar data to this. The data you are showing is quite garbled.
The first thing I look at is, are my serial settings correct? Do you have your serial port set to 9600 baud, 7 data bits, even parity, and no flow control? Now that I look at your screenshot again it looks like you do have this.
The second questions would be, what type of communication converter are you using? Is it one of ours? If you use incorrect biasing resistors you can get data that looks like this (a bunch of 20s rather than a bunch of 30s, 99% of the response should be bytes that start with a 3: 31, 32, 33 etc.)
Do you have more than one meter connected to the RS485 bus? If you do, you will need to format the meter request with the meter number included. You are sending a request to meter number 999999999999 (12 9s is the default address) this will only work if one meter is connected. If you have more than one meter connected, all of the meters will respond at the same time, and flood the RS485 bus. This will look like garbled data. What is your meter number? I can help you format the meter request if you would like.
Are you able to read your meters with our EKM Dash software? If you can, you can use the "Hex Inspector" to sniff the serial traffic.
Please let us know if you have any questions.
I have seen very similar data to this. The data you are showing is quite garbled.
The first thing I look at is, are my serial settings correct? Do you have your serial port set to 9600 baud, 7 data bits, even parity, and no flow control? Now that I look at your screenshot again it looks like you do have this.
The second questions would be, what type of communication converter are you using? Is it one of ours? If you use incorrect biasing resistors you can get data that looks like this (a bunch of 20s rather than a bunch of 30s, 99% of the response should be bytes that start with a 3: 31, 32, 33 etc.)
Do you have more than one meter connected to the RS485 bus? If you do, you will need to format the meter request with the meter number included. You are sending a request to meter number 999999999999 (12 9s is the default address) this will only work if one meter is connected. If you have more than one meter connected, all of the meters will respond at the same time, and flood the RS485 bus. This will look like garbled data. What is your meter number? I can help you format the meter request if you would like.
Are you able to read your meters with our EKM Dash software? If you can, you can use the "Hex Inspector" to sniff the serial traffic.
Please let us know if you have any questions.