如何与rs485串口通信 [英] how to communicate with rs485 serial port
本文介绍了如何与rs485串口通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用rxtxcomm.jar与rs232串口进行了通信但是它只向rs232发送数据我想将数据发送到rs485感谢任何帮助...
i have done a communication with rs232 serial port using rxtxcomm.jar but it sending data only to rs232 i want to send data to rs485 thanks for any help...
推荐答案
RS485
上的通信物理与RS232
不同,即你需要在PC
一侧使用不同的适配器(例如USB
加密狗)。也就是说,这种差异对应用软件几乎没有任何影响:你基本上处理的是你之前使用过的虚拟串口。
Communication onRS485
is physically different from theRS232
one, that is you need a different adapter (e.g.USB
dongle) on thePC
side. That said, such difference has almost no impact on the application software: you basically deal with the same virtual serial port you did before.
这篇关于如何与rs485串口通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文