Effacer les filtres
Effacer les filtres

General questions about using the Instrument control toolkit in Simulink for 485 connection

1 vue (au cours des 30 derniers jours)
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"?

Réponse acceptée

Walter Roberson
Walter Roberson le 11 Jan 2012
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 commentaires
Jill
Jill le 13 Jan 2012
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 le 13 Jan 2012
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by