Hello Guest it is August 15, 2020, 04:52:10 AM

Author Topic: Need Help Controlling Spindle  (Read 7061 times)

0 Members and 1 Guest are viewing this topic.

Offline Xye

*
  •  12 12
    • View Profile
Need Help Controlling Spindle
« on: December 24, 2011, 07:04:59 AM »
Ok I've connected my VFD to my breakout board but cannot seem to get mach to do anything.

Attached are pictures of the terminals of both. I have wired:

Vin to +10V
Out to FiV
0V to GND

CP1 to FWD
CP2 to GND

If I'm honest this was just my best guess at what should go where.

problem is i'm not sure if I'm not setting it up right in Mach or if i've wired it wrong so it can't work....

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: Need Help Controlling Spindle
« Reply #1 on: December 24, 2011, 12:04:51 PM »
Where are the Vin, Out, 0v, CP1 and CP2 ?  I don't see those labels in either picture. 

Have you set up your spindle controll in mach for a pwm spindle?

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Xye

*
  •  12 12
    • View Profile
Re: Need Help Controlling Spindle
« Reply #2 on: December 24, 2011, 12:10:54 PM »
Those labels are down the right hand side of the BO board (its a poor picture but its from their manual)

Spindle control is set to pwm but i'm unsure what numbers to put in the ports and pins config menu
« Last Edit: December 24, 2011, 12:12:31 PM by Xye »

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: Need Help Controlling Spindle
« Reply #3 on: December 24, 2011, 12:30:51 PM »
Xye, make your descriptions match the labels we can see.  I can see the labels in the box but not the ones on the BOB.  I can guess at whic ones are related but........

While your doing that I'll be getting some things together for you to help configure Mach.

Quote
Attached are pictures of the terminals of both. I have wired:

Vin to +10V
Out to FiV
0V to GND

CP1 to FWD
CP2 to GND


Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Xye

*
  •  12 12
    • View Profile
Re: Need Help Controlling Spindle
« Reply #4 on: December 24, 2011, 12:42:18 PM »
Sorry I can't seem to edit my first post (get stuck with the green loading bar at the top)

Vin (+10V) to +10V
Out (AVI: Analogue input) to FiV
0V (ACM: Analogue Ground) to GND

CP1 (FWD/Stop) to FWD
CP2 (Digital Ground) to GND

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: Need Help Controlling Spindle
« Reply #5 on: December 24, 2011, 12:42:49 PM »
Have a look here, page 50.

http://www.machsupport.com/docs/Mach3Mill_Install_Config.pdf

The docs on your bob should tell you what port/pins control the analog output.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: Need Help Controlling Spindle
« Reply #6 on: December 24, 2011, 12:47:39 PM »
I think your wireing is correct.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Xye

*
  •  12 12
    • View Profile
Re: Need Help Controlling Spindle
« Reply #7 on: December 24, 2011, 12:51:38 PM »
This is the manual:

http://dl.dropbox.com/u/53958419/UIM2901%20Mach3%20BOB%20110718.pdf

It is somewhat sparse in information about setting up the spindle. I mean I see Pin1 should control the spindle PWM...

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: Need Help Controlling Spindle
« Reply #8 on: December 24, 2011, 01:10:04 PM »
Page 8 shows some jumper settings to use PWM.  Have you got those set correctly?

It does look like pin 1 will be used for spindle control.  So, in the ports and pins config you will enable spindle and set the port number to the port you have the bob hooked to and the pin number for step (I think) will be pin 1.

Post your XML and I'll have a look.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Xye

*
  •  12 12
    • View Profile
Re: Need Help Controlling Spindle
« Reply #9 on: December 24, 2011, 05:08:24 PM »
Where do I find the XML?