Pulling out my hair trying to set up a spindle on 7i96

  • baikal718
  • Away
  • New Member
  • New Member
More
11 Jan 2025 21:38 - 11 Jan 2025 21:49 #318709 by baikal718
Hey, everyone.I'm doing a linuxcnc conversion on a ShopSabre 23 machine. Just got a 7i96 board in the mail and have been setting it up on my desk. It's been good so far, got the relays and endstops working. Unfortunately the spindle is giving me some trouble. We have an 18k rpm spindle driven by Mitsubishi A800 VFD which accepts 5-10 analog speed control.

I was under the impression that I would be able to convert PWM into analog voltage with this card and that's how I set it up in the Pncconf 18000 rpm at 5v, but the rpm readout in qtdragon only goes up to 500 for some reason. The spindle setup looks like another stepper config and I'm confused about the scale. I've read pretty much every spindle related post here which lead me to more confusion since everybody has different hardware.I haven't flashed any firmware on the card, just working with the stock one that it came with.I have a PWM to analog converter board

Here is the VFD manual   you can find the speed control on page 115

Can somebody please steer me into the right direction?I will include my ini an hal files just in case.
Attachments:
Last edit: 11 Jan 2025 21:49 by baikal718.

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

More
11 Jan 2025 21:54 #318711 by ihavenofish
You need the 7i96S for spindle control.

You may have purchased the wrong one by mistake. I almost did that!

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

More
11 Jan 2025 21:57 #318713 by PCW
You would need to use firmware that has a PWM output to drive
your PWM to analog circuit, like 7i96d_1pwm.bit.

This firmware replaces stepgen4 STEP and DIR with PWM 0
PWM/DIR

To use pncconf to set up the spindle PWM, you would also need to use
the discover option (so pncconf knows there's a PWMGEN available)


 
The following user(s) said Thank You: baikal718

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

  • baikal718
  • Away
  • New Member
  • New Member
More
12 Jan 2025 01:06 #318725 by baikal718
Yeah, I wanted the S version, but they were out of stock, so I jumped on what was available. I’ve been trying to get ahold of a Mesa card for a while, but with the chip shortage everything was out of stock. I’ve seen people driving analog spindles with the PWM output from the 4th motor driver through a converter, it’s definitely doable. I’m just not too sure about the software side of things.

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

  • baikal718
  • Away
  • New Member
  • New Member
More
12 Jan 2025 01:20 #318726 by baikal718
Aaahhh thank you. I got a bit nervous after opening the firmware folder and seeing so many different versions. I will try as soon as I get to work Monday and report back.
Thanks again

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

Time to create page: 0.059 seconds
Powered by Kunena Forum