Skip to content
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

[WIP] Add 485 deadtime enforcement #61

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

altendky
Copy link
Contributor

@altendky altendky commented Dec 7, 2018

http://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf

2.5.1.1 MODBUS Message RTU Framing

In RTU mode, message frames are separated by a silent interval of at least 3.5 character times.

WIP for:

http://www.modbus.org/docs/Modbus_over_serial_line_V1_02.pdf

2.5.1.1 MODBUS Message RTU Framing

In RTU mode, message frames are separated by a silent interval of at
least 3.5 character times.
Especially in older versions, `time.sleep()` may return early.

https://docs.python.org/3.7/library/time.html#time.sleep
@altendky
Copy link
Contributor Author

For what it's worth, I'd call this a bug fix. It's been over a year but as I recall the existing code doesn't follow the Modbus standard to the point that it was actually causing problems.

@altendky altendky closed this Feb 17, 2021
@altendky altendky deleted the deadtime branch February 17, 2021 14:08
@altendky altendky restored the deadtime branch February 17, 2021 15:23
@altendky
Copy link
Contributor Author

Closure was accidental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants