Speedgoat analog output configuration
4 views (last 30 days)
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?
Dimitri MANKOV on 3 Jan 2022
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.