General questions about using the Instrument control toolkit in Simulink for 485 connection
1 次查看(过去 30 天)
显示 更早的评论
I have just installed a Quatech four channel Rs-422/485 asynchronous communications port adapter on my computer and am trying to send data out the port using the Instrument Control Toolbox (ICT) in Simulink. The device is a 422/485 (ie. can be configured as either). I do not know how to set it up with the ICT so it is configured as a 485 port. Also in reading the ICT documentation it talkes about specific stuff to do in matlab if you want to handle flow control (i.e. if set for software handshaking or hardware handshaking). Do I need to control this myself or will it be handled if I just leave flow control to "none"?
0 个评论
采纳的回答
Walter Roberson
2012-1-11
Needs R2010a or newer; see
<http://www.mathworks.com/support/solutions/en/data/1-2JADUW/index.html?product=SL&solution=1-2JADUW>
There is specific documentation indicating RS485 support in CT; see http://www.mathworks.com/help/toolbox/instrument/f20-63744.html . I do not at the moment see any specific configuration for RS485, but I note that RS422 is not supported at this time, so possibly the configuration is automatic somehow.
2 个评论
Walter Roberson
2012-1-13
Sorry I misread the documentation; I do see RS422 support mentioned. And now I have no idea how it knows whether RS422 or RS485 are intended.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!