Speedgoat analog output configuration

5 vues (au cours des 30 derniers jours)
Robert Braun
Robert Braun le 18 Juil 2019
Hi,
I have a simulink model, that gives a value between 0 - 7000. I want to output it via Analog Output Block (module IO397-50k). So I can chosse between different modes of the module (like 5V, +-5V, 10V, +-10V...). But where do I choose the reference?
E.g. if I choose 5V as mode, where can I set 5V = 7000 (or something else)? Or does Matlab scale things like these automatically?

Réponses (1)

Dimitri MANKOV
Dimitri MANKOV le 3 Jan 2022
Hi Robert,
The answer to your question can be found in the Speedgoat documentation here. In short, you can directly feed the desired voltage value to the IO397 Analog Output block, which will pass the information to the module and generate the corresponding voltage level. The mapping of a certain signal range (like 0 - 7000 to 0V - 5V in your case) has to be done manually in your Simulink model before connecting the signal to the IO397 Analog Output block.

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by