7i97t Mesaflash Problem

More
31 Dec 2025 19:06 #340790 by PCW
Replied by PCW on topic 7i97t Mesaflash Problem
Yes, in the hal file, the analog outputs are all controlled by PWM values.

The actual PWM value shoudl be set by the output of a PID component that
in turn reacts to the difference in the encoder position to LinuxCNCs
commanded position.

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 19:13 #340792 by Robin123
Replied by Robin123 on topic 7i97t Mesaflash Problem
Yes, the value comes from the PID. My power amplifier is a -10/+10V. Is the value a voltage value? If the value is, for example, 17, I measure at the Mesa only 0.35V.

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 19:40 #340796 by PCW
Replied by PCW on topic 7i97t Mesaflash Problem
The output voltage should be PWMvalue/PWMscale

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 19:44 #340797 by Robin123
Replied by Robin123 on topic 7i97t Mesaflash Problem
I'm talking about the PWM value. So this value is a voltage value? Like 17V? I know how to limit this value. But I never measure this value on the Mesa. It's always only 0.35V as soon as I enable it.

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 20:29 - 31 Dec 2025 20:31 #340804 by PCW
Replied by PCW on topic 7i97t Mesaflash Problem
The output voltage should be PWMvalue/PWMscale

So if PWMscale is 10 the output voltage=PWMvalue
Last edit: 31 Dec 2025 20:31 by PCW.

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 20:34 #340805 by Robin123
Replied by Robin123 on topic 7i97t Mesaflash Problem
But no matter what the value is set to or how I change the scale, the Mesa only ever outputs ~0.35V. Or are there jumpers or something similar on the Mesa hardware that I need to adjust?

Thank you so much for your help! I really appreciate it.

Please Log in or Create an account to join the conversation.

More
31 Dec 2025 20:46 #340807 by PCW
Replied by PCW on topic 7i97t Mesaflash Problem
Hard to tell whats going on could be you have the wrong output
or there's a hal or hardware issue. To determine whats going on,
can you run LinuxCNC, enable motion, and then in a terminal window run:

halcmd show all | grep pwm > pwm,.txt
 
and then post pwm.txt here





 

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum