-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDM 72D reboots if Modbus reads are too fast #50
Comments
this is very strange behavior in a professional device...even if the next query comes too early, it should answer with an error or not answer at all but not reboot itself ... readVal procedure is assumed to read one value, Please read this: one thing is for sure - this library does not contain the correct modbus protocol implementation EDIT: I'll probably use the flush routine to reading garbage responses and use this time as the interval time for the next reading |
and rename MAX_MILLIS_TO_WAIT to WAITING_TURNAROUND_DELAY potential bug fix for #50
Try current master, Not tested by me yet! |
Thanks!
13.01.2021 07:15:34 reaper7 <[email protected]>:
… Closed #50[#50].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub[#50 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AA3RDHNA7JIHYHSFH3PZ2T3SZU3ALANCNFSM4U3KMLQQ].
[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAABHNCSVQICAgIfAhkiAAAACtJREFUeJztwQENAAAAwqD3T20ON6AAAAAAAAAAAAAAAAAAAAAAAAAAAD4MUUgAARy2AfAAAAAASUVORK5CYII=###24x24:true###][Tracking-Bild][https://github.com/notifications/beacon/AA3RDHPBYI7K4QJ3UHNEZFTSZU3ALA5CNFSM4U3KMLQ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGO7JIB6QY.gif]
|
Hi reaper7
Thanks for this great library and the examples.
I am working with SDM 120C & SDM72D. With the SDM 120C requests can be done without any delay. When I try the same with SDM72D the energy meter reboots after 1 or 2 requests, so that the transmission of more than 1 measure in the read intervall does not work stable. I got it stabilized by putting a delay of 500 ms after the sdm.readVal request.
I am using the example "sdm_live_page_esp8266_hwserial.ino" with a swapped hwSerial on pins 13/15. I had made the same experiences with ESPeasy using the SDM plugin (testing)
Has anybody else made similar experiences or is something wrong with the energy meter SDM72D.
In my experimental setup I have just connected L1 and N to 230V. I have not tried it with 3 phases.
I want to bring ESPeasy to work with the SDM 72D and are willing to port the new SDM library to the ESPeasy framework.
So far it is still using the old SDM lib with the separate constants for the different energy meters.
Regards
Dirk
sdm_live_page_esp8266_hwserial.ino.txt
The text was updated successfully, but these errors were encountered: