发表于:2006-05-17 14:00:00
6楼
RS-485 與 RS-232 不能直接相接, 其電氣信號不一樣, 需要透過轉換器(雙向)才行.
Device <==> 232/485 Converter <==> RS-485 Bus <==> 485/232 Converter <==> PC
您在編程時, 看到的仍是 RS-232 串口. 但您得將中間 RS-485 的半雙工通信模式考量進去.
RS-232、RS-422与RS-485标准及应用
http://bbs.gongkong.com/detail_old.asp?id=253505
Serial Communications in Win32
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp