Hello Guest it is March 28, 2024, 05:28:24 AM

Author Topic: MACH3 spindle behaviour  (Read 4256 times)

0 Members and 1 Guest are viewing this topic.

MACH3 spindle behaviour
« on: May 06, 2018, 06:20:00 AM »
Hello,
I have 2 problems with my spindle.
1. if I set M3 S10000 the spindle starts but the VFD says 12969 RPM (I measured it with a laser and the VFD number is +/- 1% correct). I managed to bring all 3 inline (MACH3, VFD, Spindle ) with the minimum speed in the spindle pulley setting but if i then use a different speed e.g. 15000RPM it is off again. I tried to auto calibrate the spindle but that didn't help at all. It seams that the spindle speed curve is just not linear. Any suggestions  on how to takle that problem?
2. If the spindle is running (M3 S10000) and i try to increase or decrease the speed with e.g. M3 S15000 it just always goes to full speed (24000RPM).

My Setup:
- Mach3 on a Laptop
- Simple Mach3 breakout board with parallel port
- Huanyang VFD
- 2.2kw air cooled Chinese Spindle 0-24000RPM

Thanks
Flo

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: MACH3 spindle behaviour
« Reply #1 on: May 06, 2018, 07:25:07 AM »
Hi Flo,

Mach3 using the Parallel Port is a combination that is not recommended / intended to be used with a laptop. You may get away with it but you will always encounter problems of one sort or another and this spindle issue may just be one of them.
Either, use a dedicated PC or an external motion controller with your laptop but they must be dedicated computers and not connected to the internet / receiving updates etc.

Tweakie.
PEACE
Re: MACH3 spindle behaviour
« Reply #2 on: May 06, 2018, 07:29:08 AM »
I heard people saying this that is why I looked for one that would work and also changed all settings accordingly in the BIOS.
Also stepper and everything else works just fine.
I wonder how the Auto-Calibrate should work since there is no feedback of the actual RPM or anything and also no feedback line from the VFD

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: MACH3 spindle behaviour
« Reply #3 on: May 06, 2018, 07:39:42 AM »
You will need (single slot) sensor feedback from the spindle for the Auto Calibrate function.

Quote
Also stepper and everything else works just fine.

Maybe, but don't count on it.  ;)

Tweakie.
PEACE

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: MACH3 spindle behaviour
« Reply #4 on: May 06, 2018, 07:50:07 AM »
i assume you use 0-10V for spindle setpoint.
so take a Voltmeter and check the 0-10V is linear to your S-Value first.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: MACH3 spindle behaviour
« Reply #5 on: May 06, 2018, 09:36:04 AM »
I had the same issue on a Huanyang VFD on a UC100 controller, non-linear 0-10v scale. I changed the VFD to a Bosch item and it worked perfectly after that.
Re: MACH3 spindle behaviour
« Reply #6 on: May 06, 2018, 10:00:44 AM »
I just tried building my own index sensor with a inductive sensor, hocked it up to P10 and defined it as an index pulse. But obviously the sensor can not handle the high RPMs.
What would i use instead and how do I hock it up?

I also measured the Voltage:
Mach3   VFD   volt
5000       9900   1,62
6000     10455   1,94
7000     11030   2,27
8000     11660   2,64
9000     12290   3,0
10000   12940   3,39
11000   13600   3,76
12000   14300   4,17
13000   14970   4,56
14000   15600   4,96
15000   16440   5,41
16000   17170   5,84
17000   18000   6,32
18000   18770   6,77
19000   19560   7,23
20000   20455   7,74
21000   21300   8,24
22000   22252   8,8
23000   23160   9,32
24000   23890   9,75
« Last Edit: May 06, 2018, 10:03:28 AM by flobo »
Re: MACH3 spindle behaviour
« Reply #7 on: May 06, 2018, 10:37:38 AM »
Hi,
many inductive sensors have a low bandwidth, 50-100 Hz and such sensors are not adequate for index signaling. Hall sensors are appropriate.

Is there a particular reason you need really accurate speed? In most cases you just set the speed, often as fast as it will go, and leave it there. Who really
cares what speed it is?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: MACH3 spindle behaviour
« Reply #8 on: May 06, 2018, 11:03:55 AM »
you also may take a look here:

https://www.machsupport.com/forum/index.php?topic=31386.0

where am other user has solved the Problem with "handmade" spindle calibration.

because if i have a look to your values, even the 0-10V Signal is not linear.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: MACH3 spindle behaviour
« Reply #9 on: May 06, 2018, 05:35:05 PM »
@ joeaverage thanks for the hall effect sensor tip. will try that. And yes I could just set the speed so it ends up being the right settings but i would like to experiment with a few different Spindle speed settings. And also I would like to get it right ;)

@TPS this sounds like a good solution if I can't get the hall effect sensor working. Thanks!