Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 modbus 中做一个项目,我在 TCP 中构建了读取线圈的请求,但我不知道如何为串行端口执行此操作,任何人都可以帮助构建这个。
看来您正在使用 C#。在这种情况下,我建议您使用nmodbus库。它是开源的,允许您通过 TCP 和串行协议执行任何 Modbus 操作。