Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Xye 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....
-
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
-
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
-
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.
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
-
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
-
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
-
I think your wireing is correct.
Brett
-
This is the manual:
http://dl.dropbox.com/u/53958419/UIM2901%20Mach3%20BOB%20110718.pdf (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...
-
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
-
Where do I find the XML?
-
Ok heres the XML i think....
-
Have sent you a PM.
Hood
-
Ok. I fiddled around with the VFD's settings and now as soon as I start up Mach the spindle spins up. Before that with the computer just in windows the spindle is stationary. Changing settings within Mach doesn't seem to effect the spindle speed or anything else.
Attached is the latest XML file
-
Ok just had a look at the xml, you have the spindle CW/CCW enabled and set to OutPut 1 but you have not set up and enabled OutPut 1. You have The spindle Dir pin set to Pin 1 so I am thinking if you set that to pin 0 then go to Outputs page and enable OutPut 1 and set it for Pin 1 Port 1 it may be all you need.
Hood
-
Ok that does seem to have helped somewhat, although the spindle never actually stops when Mach is running I am able to make it go fast by clicking the "Spindle CW F5" or slow down to its normal running speed
-
Will have a look at the docs you provided later on this evening when I get home from the workshop, got a few jobs to get done closing time so have to get on with them.
Hood
-
Ok looking at the manual it would seem that Pin 1 is the step, so you would set that for the Spindles Step pin. I am unsure what the Output 1 pin should be set to as it seems to suggest you connect that to CP1 on the BOB but there is no mention at all in the manual of it other than the pic on page 4. If you disable the Chargepump then maybe you could use Pin 17 but to me it is not clear at all.
Hood
-
Ok attached is the latest XML....
I have been experimenting with pin 14 and 17. Setting 14 as the Step pin (and pin 17 as the output) I get a click from the VFD when I press the "Spindle CW F5" button to turn it on. (For the briefest of moments the run button is illuminated)
However if I set both the Step Pin and Output Pin to 17 the spindle spins up (to as fast as it can go) when an Estop has been done....
-
Have you tried pin 1 as the Step pin?
Hood
-
You must be getting pretty sick of me now Hood... But here is the latest:
I have been playing around with Enable1 under the Output signals.
Setting the pin to 1 means when i press the spindle start button, the F value increases on the VFD (Spindle off ~70, Spindle On ~ 350)
Setting the pin to 17 gives the same Run sign illumination for the briefest of instants when Spindle start is pressed (only to start not to stop)
Setting the pin to 14 has no visible effect.
This was done with the Step and Dir Pins in Motor Outputs set to 0
-
I am not really familiar with VFD setup as I have only used servo spindles under Mach control. I think however you will need the spindle Step Pin set to 1 and the Dir set to 0. After that I am not quite sure as the documentation is basic (to put it politely ;) ) for your BOB. Disabling the Chargepump via the jumpers and using Pin17 as the pin for OutPut 1 is my best guess.
Hood
-
YES!
Changing those Jumpers did the trick.
Now all that remains to be done is proper calibration of the spindle speed.
Thanks For all your Help Hood
-
;D
Thanks Hood
Brett
-
LOL probably didnt understand your deep south accent Brett :D
Hood