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

Modbus function 6 response reading error #3

Closed
Tigr7 opened this issue Dec 16, 2015 · 3 comments
Closed

Modbus function 6 response reading error #3

Tigr7 opened this issue Dec 16, 2015 · 3 comments

Comments

@Tigr7
Copy link

Tigr7 commented Dec 16, 2015

Спасибо большое за оперативный ответ!

Собрал новую версию. С настройками связи тут все нормально, так как чтение с регистров идет на УРА!
Но вот с записью та же проблема - после попытки изменить регистр 6 функцией вылетает ошибка, а демон зацикливается.

Запускал так: sudo mbusd -p /dev/ttyUSB0 -s 9600 -P 502 -d -v9

mbus.txt

@3cky 3cky changed the title RE: mbus-0.2.1 Modbus function 6 response reading error Dec 17, 2015
@3cky 3cky closed this as completed in 85943e8 Dec 17, 2015
@3cky
Copy link
Owner

3cky commented Dec 17, 2015

Поправил алгоритм чтения ответов функции 6 и подобных, попробуйте скачать и собрать мастер-версию https://github.com/3cky/mbusd/archive/master.zip

@Tigr7
Copy link
Author

Tigr7 commented Dec 18, 2015

Спасибо огромное!! Работает отлично и стабильно!!! Поставил на 12 часов. Больше миллиона запросов и записей - ни одной ошибки! Очень круто!! Спасибо!!!!!
Можно мне давать ссылку на эту версию на форумах по соответствующей тематике?

@3cky
Copy link
Owner

3cky commented Dec 18, 2015

Отлично, я поднял версию mbusd до 0.2.2, она доступна в releases, и ссылку лучше давать именно на нее: https://github.com/3cky/mbusd/releases/tag/v0.2.2

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

No branches or pull requests

2 participants