Hello Guest it is April 15, 2024, 08:39:47 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - lcvette

Pages: « 1 2 3 4 5 6 7 »
General Mach Discussion /
« on: October 19, 2014, 11:36:05 AM »
Thanks handsmfg, 

My controller has a built in hall sensor with one pulse per revolution, I'm researching now how to hook it up through the breakout board.  But unfortunately my instruction booklet for the motor is written in a way that is difficult to follow in its Chinese to English translation and I'm having some frightening images of burning up something electrical.

The link to the motor controller is here:


Being I have only hooked up inputs for a tool touch pad and probe that used onboard connections and no external power source, I'm a little apprehensive about connecting this thing.

I am running the cnc4pc c11g rev. 8 BOB and I couldn't find any information on the site or manual about this. 

Link to BOB here:


I'm sure it's simple, however I generally over complicate electrical components because I have historically found when I screw up it is expensive with lots of waiting for new parts to arrive to correct things... And trying to put the smoke back into things is not something I have mastered yet... Lol..

If the manual is clear to an electronics guru and they have a few spare moments to explain the connections and a rough explanation of what the functions are so I understand better it would be greatly appreciated!



Thank you, I am going to read about macros.... Lol.  That sounds like a viable solution, and I'm sure learning macros is something I need to get to any how...

That and brains.... Every time I consider investigating brains.... I always somehow find something else to busy myself with... Lol

Thanks Hood!

General Mach Discussion /
« on: October 18, 2014, 04:33:14 PM »
I am seeing exactly 10v at commanded max of 6000rpm

I see voltage change for anything lower than commanded 6000rpm

The lowest speed the motor will turn steadily without wobbling through mach step/Dir analog is ~500rpm (with the supplied manual key controller it would be pretty stable rpm from 400-6000 whatever you set it too).  To achieve actual motor speed of ~500rpm through mach I have to command m3 s1000.  And voltage output at the 0-10v analog out on the C11G breakout board shows 1.35v.

Commanding 2000rpm in mach achieves 1578rpm and so on getting gradually closer to commanded rpm the higher you get toward the max of 6000.

So it appears that the voltage output scale needs to be adjusted.

Is this possible to do without changing the system to a closed loop setup with an index pulse card tied into mach?

Is there a way to create a file or brain or something?

Thanks guys for looking in!


General Mach Discussion /
« on: October 18, 2014, 03:19:27 PM »
Is there a way to customize the linearity.dat file for custom scaling?

General Mach Discussion /
« on: October 18, 2014, 02:54:16 PM »
And I did the linearity.DAT delete which was the first step in the support documents article

General Mach Discussion /
« on: October 18, 2014, 02:51:38 PM »

Correct, the motor and controller have a predefined operating range programmed in the controller which is 400-6000rpm... I set the pulley configuration in mach to a 1:1 ratio and those rpm min/max settings.

From my paper graphing it appears that the controller is closer to linear as it gets closer to max rpm.

The biggest error is closest to minimum rpm.  I made adjustments in motor tuning to try starting from the bottom and working my way up and as I expected from my findings, when I tuned the min rpm 400 to function properly, commanding higher rpm was off by a much greater margin then when starting from the top and tuning down.

This leads me to believe that the controller wants a non linear voltage curve specifically early on in the lower rpm range and then closer to linear in the upper rpm range.

Am I explaining it properly? Am I making any sense to you?

Please let me know your thoughts!



Hey guys,

I am finishing up installing a new BLDC spindle motor and have tried numerous times to get the rpm range tuned in with little success.  the range is 400-6000rpm,  I have adjust about eveything but cannot seem to get the scaling right.  I have followed the instructions of the manual and the post in the support documents section here on the forum and the problem i have is i believe my controller needs more voltage earlier to get the motor spinning.  when i set everything up for the linearity scaling exercise i was able to get peak RPM perfect and as i went down in RPM it continuously was slower and slow then the commanded rpm until finally i had no spindle movement and was commanding around 1000rpm.... I have played with every setting and when i get the spindle moving at low rpm the range is off on the top by being faster then commanded.  and i also have tried adjusting the pot on the c11g board to try and make changes but i cannot seem to get this licked.

my question, is it possible to manually scale the Spindle rpm commanded 0-10v analog output and graph it to get things where they need to be?

Thanks in advance!!


Awesome Hood, Thanks so much!

Yes that would be the easiest way if you were planning on using the 360 degree rollover and short rotation on G0 options in Mach.
You want to move one rotation of the stepper but make Mach think it has only moved 30 degrees  you would just work out the steps needed to rotate the motor 1 rev and divide by 30 and that would be your steps per unit. So you command a move of 30 degrees it would rotate 360 on the motor.


That makes the most sense to me right now.  there wouldn't be any feed back to mach this way but seems to be the quickest way of getting it moving in the correct increments.

is there a place on here to review and learn how to write a macro or code for a tool change where i could learn how to get the parameters for a tool change right? 

use a sensor on the mechanism and count two pulses from the geneva mech for one position change

Not sure i follow exactly, be mindful that i have not yet even looked into mach tool change operations yet, just starting to get some information so i am not totally lost once i am done machining all the parts for the tool changer.

Thanks guys!

Hey everyone,

I am at the end of my ATC design and have been trying to decide what to do for driving the tool carosel.  I would prefer to use a geneva mechanism for spinning it for more accurate indexing of the tools but have not yet done any looking into how I would control it with Mach.  several things come to mind that may or may not be an issue.  how to have mach understand which tool position it needs to go to when called in a tool change command.  hmm.. that was a bit vague, let me clarify,  if i were using a belt drive setup, i would do it by degrees, my tool changer is a 12 tool unit so i would have tool 1 be 0 degrees and each proceeding tool would be +30 degrees.  so:

T1 - 0
T2 - 30
T3 - 60
T4 - 90... and so on until you are back around at 0

with the geneva wheel, would you do it the same way and just account for each rotation of the stepper to be a block of 30 degrees?  any help or direction on this would be greatly appreciated!



Pages: « 1 2 3 4 5 6 7 »