Understaning PWM

More
5 years 3 months ago #214189 by PCW
Replied by PCW on topic Understaning PWM
You also need to get the polarities of the PWM and enables signal going to the SPINx1 correct

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

More
5 years 3 months ago #214197 by hairyMug
Replied by hairyMug on topic Understaning PWM
definitely the spinx as the signal from the 7i96 looks good...
I switched the "wiper" and "ref" but it only knocked the rpms to 6800...
Going to try flipping the PWM and see if that helps... but at least I see light at the end of a long tunnel..

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

More
5 years 3 months ago #214206 by hairyMug
Replied by hairyMug on topic Understaning PWM
No matter what I do, it refuses to work and, using the docs for PWMGEN, there are parameters that are not there in this PWMGEN object...
I've switched all I can possibly switch wire-wise... I GIVE UP!

Being a glutton for punishment, (and I have to get my spindle controlled), my VFD supports a rs485 interface so I'm going to look at that as an alternate method of spindle control...
I am hoping to find some info on the rs485 interface of the 7i96...

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

More
5 years 3 months ago #214214 by PCW
Replied by PCW on topic Understaning PWM
Did you verify:

1. +5V to +15V on SPINX1 SP+ relative to SPINX1 SP-
2. SPV = 0V when unconnected to 7I96
3. SPINX1 PWM connected to 7I96 TB2 pin 3 (PWM+)
4. SPINX1 DIR connected to 7I96 TB2 pin 5 (DIR+)
5. SPINX1 /ENA driven by a SSR output (OUT+ to SPINX1 /ENA
OUT- to GND)

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

More
5 years 3 months ago #214386 by andypugh
Replied by andypugh on topic Understaning PWM

No matter what I do, it refuses to work and, using the docs for PWMGEN, there are parameters that are not there in this PWMGEN object...

You are maybe looking at the wrong pwmgen.

For the Mesa cards, the pwmgen is (badly) documented here:
linuxcnc.org/docs/2.8/html/man/man9/hostmot2.9.html#pwmgen

The software pwmgen is here (you probably don't want to use this one, it's largely for the parallel port)
linuxcnc.org/docs/2.8/html/man/man9/pwmgen.9.html

And, for completeness:
linuxcnc.org/docs/2.8/html/drivers/pico-ppmc.html

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

More
5 years 3 months ago #214410 by hairyMug
Replied by hairyMug on topic Understaning PWM
all voltages spec'ed by PCW are as stated...
Thanks for the alternate doc link Andy...

I have a feeling the PWM (as well as DIR) polarity need to be reversed as when I start, the VFD shows REV rotation...
>> It's a cross between and elephant and a rhino... Ele-if-I-no...

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

Time to create page: 0.384 seconds
Powered by Kunena Forum