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"?

采纳的回答

Walter Roberson
Walter Roberson 2012-1-11
Needs R2010a or newer; see
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 个评论
Jill
Jill 2012-1-13
I do not see in the documentation where it says Rs422 is not supported at this time. Can you please direct me to where it says that because we need to use RS422 also for a different device.
Walter Roberson
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!

Translated by