Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 02:24:25 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Mach3 Spindle Speed Problem
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Mach3 Spindle Speed Problem (Read 2630 times)
0 Members and 1 Guest are viewing this topic.
chrisjh
Active Member
Offline
Posts: 90
Mach3 Spindle Speed Problem
«
on:
October 28, 2008, 07:12:21 PM »
I am using Mach3 V3.041 with a Smooth Stepper in PWM mode. Base Frequency is 1000 (but the problem persists whatever Base Frequency I use).
The problem is very consistent and it doesn’t matter what method of requesting any Spindle Speed. (MDI using M and S commands or from any Spindle Toggle Buttons on any Mach3 Tab).
The problem with the spindle speed is as follows:
Select a speed (say 1000rpm). Spindle Override reads 1000 same as Spindle Speed and SRO reads “00”.
Toggle the spindle on. The actual speed of the spindle always starts at a slightly higher speed than that requested.
Pressing “Reset” under the Spindle Speed Tab always brings the speed back to correct requested speed and subsequent requests for speed changes (via Spindle Override or actual commands for a different speed) from there on are correct and consistent.
It appears that Mach3 is in some form of Spindle Override (approx +10%) when first started. I first noticed this problem a couple of years ago but ignored it and learned to live with it with my mill. However I and building a cnc lathe with a VFD controlled Spindle Motor and want better control over spindle speed.
Also there is another dialogue Tab under the Spindle Speed Tab labeled RPM. It always reads “0” regardless of what I do with Spindle Speed and it does not accept any characters typed into it even though it changes background when selected. So I ignore it. What is the purpose of this “RPM” Box and should it indicate something?
Regards
Chrisjh
Logged
HimyKabibble
V4 Screen Contributor
Offline
Posts: 1,348
Re: Mach3 Spindle Speed Problem
«
Reply #1 on:
October 28, 2008, 07:33:47 PM »
Chris,
Your spindle is open-loop, right? i.e. - you do not have a spindle speed encoder? I believe the "RPM" DRO will only be active if you have a spindle encoder, and it will show the actual spindle RPM, which is not necessarily exactly the same as the commanded RPM.
I have a sort-of similar problem with mine, and I also have a SmoothStepper. At low spindle speeds, when I turn the spindle on, it comes on too fast (sometimes 2X), then over a period of several seconds settles down to the correct speed. Mine is open-loop - no encoder (yet).
Regards,
Ray L.
Logged
Regards,
Ray L.
chrisjh
Active Member
Offline
Posts: 90
Re: Mach3 Spindle Speed Problem
«
Reply #2 on:
October 28, 2008, 09:01:27 PM »
Hi Ray,
I am currently testing all of my electronics on the bench open loop. Thanks for the pointer in the right direction. That would explain why the RPM box always displays "0". I often wondered about it but now makes sense. My intention is to run closed loop with a spindle pulse from a slotted disc or Hall effect sensor. I will trial a fully fedback system ASAP.
Thanks and Kind Regards
Chris
Logged
chrisjh
Active Member
Offline
Posts: 90
Re: Mach3 Spindle Speed Problem
«
Reply #3 on:
October 29, 2008, 07:35:01 PM »
I have done some more experimentation and Mach3 definitely has a bug in the Spindle Speed Control. The problem has nothing to with whether you use open or closed loop. I have tried 2 different computers using both Mach3 and Quantum with exactly the same repeatable results on my mill and my mockup of my lathe in progress. In both cases I am using PWM to control the spindle motors. The Mill uses a PWM to Analogue Converter Board and Motor Control Board to control the 1000W DC Brushless Motor. The lathe uses my own PWM to Analogue Converter to control a Danfoss Microdrive VFD to a conventional 3 phase AC Motor.
I am also using a Smooth Stepper (what a great leap forward in technology, I love it).
If you are using PWM, try this to see the problem:
Command Mach3 to go to any speed (say 750RPM) via the Spindle Speed Dialogue Box or MDI
When the spindle is running, press the "Reset" Button. You will notice a destinct drop in RPM.
You get the same results if you:
Command Mach3 to go to any speed (say 750RPM) via the Spindle Speed Dialogue Box or MDI
When the spindle is running, press the override "up" arrow twice. You will notice a destinct drop in RPM on the first press of the arrow and then the spindle will respond normally on the second and subsequent presses.
I have monitored the PWM steam out of Mach3 with my CRO and the PWM mark to space ratio (duty cycle) changes accordingly so the problem is definitely with Mach3.
Any hints as to how to correct or overcome this would be greatly appreciated.
Regards
Chrisjh
Logged
Warp9TD
Active Member
Offline
Posts: 40
Re: Mach3 Spindle Speed Problem
«
Reply #4 on:
October 29, 2008, 08:27:45 PM »
Hi Chris and Ray,
I played around with it a little, but I didn't see that happen. There are a number of variables though, and it would help me if you could e-mail your XML (and screen set if it is different (if you'd like)) to me so that I can run with the same exact parameters as you. Please send them to me
support@warp9td.com
if you want me to take a look.
Thanks,
Greg
Logged
HimyKabibble
V4 Screen Contributor
Offline
Posts: 1,348
Re: Mach3 Spindle Speed Problem
«
Reply #5 on:
October 29, 2008, 08:40:31 PM »
Greg,
On mine, it's really not a problem, since it always settles to the right speed before any movement takes place (I have a 5-second dwell on spindle start) and I've done nothing to determine if it's the SS or the CNC4PC analog output that causes that initial "surge". The spindle has been behaving well lately, after the problems a couple of weeks ago, so I'm afraid to touch it! :-)
Regards,
Ray L.
Logged
Regards,
Ray L.
jaja
Active Member
Offline
Posts: 68
Re: Mach3 Spindle Speed Problem
«
Reply #6 on:
September 22, 2010, 05:19:13 PM »
Quote from: chrisjh on October 29, 2008, 07:35:01 PM
Command Mach3 to go to any speed (say 750RPM) via the Spindle Speed Dialogue Box or MDI
When the spindle is running, press the override "up" arrow twice. You will notice a destinct drop in RPM on the first press of the arrow and then the spindle will respond normally on the second and subsequent presses.
I have monitored the PWM steam out of Mach3 with my CRO and the PWM mark to space ratio (duty cycle) changes accordingly so the problem is definitely with Mach3.
Any hints as to how to correct or overcome this would be greatly appreciated.
Regards
Chrisjh
Chrisjh,
Did you ever solved this problem from October 2008?
I have exactly the same problem. Command a lower speed, and the spindle speed will drop much to low before climbing up to the desired speed , and also hitting the override up button first drop the speed.
Found an answer???
gr jaja
Logged
chrisjh
Active Member
Offline
Posts: 90
Re: Mach3 Spindle Speed Problem
«
Reply #7 on:
September 22, 2010, 09:49:28 PM »
Hi Jaja,
The problem is not associated with Smoothstepper. It is a Mach3 bug.
I overcome the problem by inserting the following lines of code (or something similar) into every program.
This code is a soft start routine for my mill spindle.
G00 G17 G21 G40 G49 G50 G64 G69 G80 G90 G94 F1000
M6 T6 (Ø5mm Spot Drill)
M3 S750 (Start spindle at 750rpm but spindle goes to approx 850rpm)
G04 P100 (Dwell for 0.1secs)
S1000 (Increase speed to 1000rpm. Spindle goes to correct speed from here on)
G04 P100
S1500
G04 P100
S2000
G04 P100
S2500
M8 (Coolant on)
G00 Z10
G00 X0 Y0 Z3
Regards
Chrisjh
Logged
Sparky_NY
Active Member
Offline
Posts: 31
Re: Mach3 Spindle Speed Problem - Ever fixed? (same prob here)
«
Reply #8 on:
February 10, 2011, 12:02:51 PM »
I have the exact same problem, and found other reports of it but no fixes. Ver 3.043.040 here but apparently the bug has been around a while. I have seen at least 3 unrresolved reports of it.
Is there a fix? I see the workaround in the post above but that won't do any good from the MDI or just clicking the spindle on button.
«
Last Edit: February 10, 2011, 12:08:19 PM by Sparky_NY
»
Logged
chrisjh
Active Member
Offline
Posts: 90
Re: Mach3 Spindle Speed Problem
«
Reply #9 on:
February 10, 2011, 05:20:31 PM »
Hi George,
The problem still persists. I believe that this bug does not cause most users any problems so a fix doesn't get high priority.
You and I seem to be the only ones concerned.
I continue to use my extra lines of code in cnc programs or, when in manual mode, I am in the habit of automatically hitting spindle override reset to achieve the correct rpms.
Regards
Chrisjh
Logged
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...