Mesa 7i96 + 7i85s PWM VFD Control

More
15 Nov 2023 15:36 #285518 by PCW
Is 7I85S TB1 pin 11 low (close to 0V) before LinucCNC is running?
(relative to ground = TB1 pin 10, TB1 pin 12 should not be connected to anything)

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

More
15 Dec 2023 14:07 #288217 by Redneck92
Hello Mister PCW,

I´m sorry that it took me so long but my wife was in the hospital for a few weeks and I could not get to it.

7i85S TB1 Pin 11 is 0 volt when I measure it to TB1 Pin 10 when Linuxcnc is not running.
If I start Linuxcnc it jumps up to 4,90 volts without doing anything but starting Linuxcnc.

When I invert the PWM output with the code line in my hal that you gave me scenario is as follows:
TB1 Pin 11 0 Volts when Linuxcnc is not running.
When I start Linuxcnc and enable the machine it stays at 0 Volts. 
When I run an MDI Command like M3 S3000 or any other value, TB1 Pin11 stays at 0 volts.
 

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

More
15 Dec 2023 14:25 #288218 by PCW
That suggests that the PWM value or enable are not connected in your hal file

A easy way to check is to start LinuxCNC, run your MDI command to start
the spindle and then run this command in a terminal:

halcmd show all | grep pwm > pwm.txt

and post the pwm.txt file here

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

More
15 Dec 2023 15:48 #288225 by Redneck92
I will give that a try net week.
My Thin Client PC just shit it's pants again as we speek.

Turns out these Esprimo Mini PC's have bad Problems with the internal power supply. Switching to an Dell optiplex now.
F*cks me up bad this Situation.

I'll report back when it is up and running again

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

More
21 Dec 2023 20:52 #288785 by Redneck92
Hello Mister PCW

That grep command did not work for me. I manually collected all data that is about the spindle or the pwm gen.
I hope that this is of use.

It says that the "bit Spindle enabled" is FALSE. but I cant see any Problem.

I attach my hal file aswell.

Thank you in advance as always.

 
Attachments:

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

More
21 Dec 2023 21:33 - 21 Dec 2023 21:50 #288789 by PCW
bit FALSE spindle-enable
==> hm2_7i96.0.pwmgen.00.enable
==> hm2_7i96.0.ssr.00.out-01
==> pid.s.enable



The PWM enable is not true so no PWM output would be expected


EDIT: Your hal file appears to be missing:

net spindle-enable => spindle.0.on

also:

net spindle-vel-cmd-rpm => hm2_7i96.0.pwmgen.00.value

should be:

net spindle-vel-cmd-rpm-abs => hm2_7i96.0.pwmgen.00.value
Last edit: 21 Dec 2023 21:50 by PCW.

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

More
22 Dec 2023 09:17 #288815 by Redneck92
Good Morning Mister PCW,

that actually did the trick. Its working now how it should.

I´m so grateful for your help and support. I would not have get this running without your help.

I don´t know how to thank you enough for the help. Is there a way I can send you a few bucks for your time and effort?  
 
The following user(s) said Thank You: tommylight

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

Time to create page: 0.082 seconds
Powered by Kunena Forum