TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to build a Modbus driver in Go?

4 pointsby minaandrawosover 10 years ago

1 comment

valarauca1over 10 years ago
Oh wow you actually implemented transaction and protocols IDs? Most libraries don&#x27;t bother. I know the few I use in production don&#x27;t. They &#x2F;should&#x2F; be used for language extensions, but generally they aren&#x27;t.<p>Also not to be a bit pedantic but MODbus&#x2F;TCP is a super set of MODbus&#x2F;RTU. The distraction between ASCII and RTU is large, but existent because the size of a &quot;byte&quot; is variable in serial communication. I.E.: You can&#x27;t use MODbus&#x2F;RTU with a 7 DataBit serial connection.<p>Also if you get bored point your library at a good data center cisco router, the results are fun ;)
评论 #8664712 未加载