Replies: 5 comments 6 replies
-
I would check your cabling first. Connections that are marginal can be effected by heat / cool conditions and also vibrations. Since you have both timeout and CRC errors, to me, this is the most likely problem. The connections between the RS-232 converter and the pi as well as the connections between the RS-232 and the controller should be checked. |
Beta Was this translation helpful? Give feedback.
-
You were spot on as one of the screw terminals on the serial line was a little loose. I tightened it and so far no CRC or timeout errors. thanks! |
Beta Was this translation helpful? Give feedback.
-
I hate to admit I might have rushed to victory too quickly:( I still this issue happening but what is very strange is that the only time I am getting "Not Receiving Data" with many timeouts and CRC errors happen to happen daily at exactly 4AM or 5AM and sometimes around 9A or ~10PM I know this sounds very strange but I am thinking maybe something wrong with my RPI3 that is doing something and starving the CPU to process the serial interface. I have also checked for any CRON jobs happening at exactly 4 or 5AM but no luck! I have updated the RPI to its latest version and still having issue. I am now thinking maybe time to reinstall the RPI OS and start fresh. Any recommendation is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hi below is the snapshot of the monitor page and you can see nothing abnormal being reported on CPU Freq, UV etc: Communication Stats :
what is really strange is the exact times/repeatable times when I get the notifications of the communication errors! |
Beta Was this translation helpful? Give feedback.
-
hi I have triple checked the wiring and all looks great. I even put scope on the TX and RX lines and the signal levels and transitions look ok as well. Note that when I am getting timeout errors, the generator is not running. So honestly I am at a loss and now suspecting something has gone wrong with my controller:( or the genmon hat. What is really puzzling if there is a signal integrity issues, then why on earth this is happening 4AM every day - truly a strange issue I am experiencing all of a sudden. One thing worth mentioning is that my generator is due for "Service A" maintenance since June 1 and oddly enough my issues started around the ~time frame. |
Beta Was this translation helpful? Give feedback.
-
Hi All
My Genmon SW running on RPI3 with purchased Genmon HAT has been working flawlessly for the last 6+ months however, over the last couple of days, I am seeing tons of errors happening and don't know the root cause so any help is greatly appreciated.
Below is a snapshot of the serial monitor page:
Communication Stats :
Packet Count : M: 38058, S: 35950
CRC Errors : 42
CRC Percent Errors : 0.11%
Timeout Errors : 2048
Timeout Percent Errors : 5.38%
Modbus Exceptions : 0
Validation Errors : 0
Sync Errors : 0
Invalid Data : 0
Discarded Bytes : 18
Comm Restarts : 1
Packets Per Second : 6.93
Average Transaction Time : 0.0312 sec
Modbus Transport : Serial
Serial Data Rate : 9600
running the latest FW revision: V1.19.03
I have restarted the genmon app, restarted the RPI and still the same issue
thanks in advance,
Beta Was this translation helpful? Give feedback.
All reactions