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 27, 2012, 11:04:34 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
Spindle RPM lock error while threading
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: Spindle RPM lock error while threading (Read 730 times)
0 Members and 1 Guest are viewing this topic.
axion68
Active Member
Offline
Posts: 6
Spindle RPM lock error while threading
«
on:
June 09, 2011, 12:22:50 AM »
I am setting up a new machine and am stuck on threading using the thread wizard. I can disable spindle feedback and it runs the code just fine. If I enable spindle feedback it gets to the point of locking spindle rpm and stalls with a non-numerical number locked(see attached screenshot). I am picking up a index pulse and mach 3 sees rpm. Can someone guide me in the right direction?
Thanks
Jacob
Spindle-RPM-Lock-Error.jpg
(134.97 KB, 1024x709 - viewed 56 times.)
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Spindle RPM lock error while threading
«
Reply #1 on:
June 09, 2011, 03:13:42 AM »
The diagnostics should not be used now, it was meant for earlier versions whilst Art was trying to figure out where problem were. Disable the plugin and see if it works.
The things you need for threading are
Use Index input(Not Timing)
Take the tick out of disable Spindle relays, even if your spindle is totally manually controlled
Use spindle feedback in sync mode
Have Index debounce low, I always have 0 but some need a small amount
Make sure your spindle pulley setup is correct if controlling from Mach as you need the spindle speed set to Max there for the gear you are using (if any)
Call the spindle from Code, MDI by using a M3 or M4
Hood
Logged
axion68
Active Member
Offline
Posts: 6
Re: Spindle RPM lock error while threading
«
Reply #2 on:
June 09, 2011, 11:16:05 AM »
Ok, I have disabled the diagnostics with no success. I do have an index input (oops, timing is stuck in my head from ignitions), mach 3 has full spindle control and I am in sync mode. My debounce interval is set at 120 and index debounce is set at 75. I have tried setting the debounce values from 0-200 with no luck. I am calling the spindle speed from MDI before I run the code. Anything else I should check or try?
Thanks again!
Jacob
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Spindle RPM lock error while threading
«
Reply #3 on:
June 09, 2011, 11:53:35 AM »
Can you attach your xml please and I will see if I can find a problem.
Hood
Logged
axion68
Active Member
Offline
Posts: 6
Re: Spindle RPM lock error while threading
«
Reply #4 on:
June 09, 2011, 01:01:22 PM »
XML attached.
Thanks again, I really appreciate it.
axion68-mach3turn.xml
(104.79 KB - downloaded 16 times.)
«
Last Edit: June 09, 2011, 01:03:26 PM by axion68
»
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Spindle RPM lock error while threading
«
Reply #5 on:
June 09, 2011, 01:55:00 PM »
Seems to be working fine here when I simulate the index pulse. What is the code that you are using? Could you be trying to move faster than your Z axis is capable of ?
Hood
Logged
axion68
Active Member
Offline
Posts: 6
Re: Spindle RPM lock error while threading
«
Reply #6 on:
June 09, 2011, 03:04:50 PM »
G0 G40 G18 G80 G50 G90
T101M6
G00 X1.66
G00 Z0
G00 X1.66
M03 S500
G76 X1.6 Z-0.5 Q0 P0.05 J0.005 L45 H0.01 I29 C0 B0.005 T0
M9
M5
M30
That was from the threading wizard. Just trying to see it in action. The only thing I have done was remove "G00 G53 X0 Z0" from the 2nd line because I don't have any switches. What is weird is the code works when I disable spindle feedback. The Z axis should move at that speed. I have also turned the rpm way down just to see if that was the case and no dice. The spindle turns on and it just hangs after that.
Thanks again
Jacob
Logged
Hood
Active Member
Offline
Posts: 17,366
Carnoustie, Scotland
Re: Spindle RPM lock error while threading
«
Reply #7 on:
June 09, 2011, 03:09:41 PM »
When the sync is disabled it will work fine as it is not looking for the index, it is basically in simulation mode.
Dont know why its not working for you unless your index pulse is not stable enough, however the diagnostics above looked OK, even though they should not be used with later drivers.
It is the Index Debounce that p[ertains to the Index pulse so set that to zero and see if your RPM readings are stable.
Hood
Logged
RICH
Global Moderator
Offline
Posts: 4,709
Re: Spindle RPM lock error while threading
«
Reply #8 on:
June 09, 2011, 05:42:47 PM »
What are you using to get the index pulse? ie; slotted disc....a reed switch by any chance?
What version of Mach?
See page 9 of Threading on the Lathe-Mach3 Turn and do the triggering test.
Always use the "Calc number of passes" in the wizard as that will warn you if you are exceeding you max velocity for a given spindle rpm for the thread.
RICH
Logged
axion68
Active Member
Offline
Posts: 6
Re: Spindle RPM lock error while threading
«
Reply #9 on:
June 09, 2011, 11:16:22 PM »
I tried the index debounce at 0 with no luck. Anything after 375 and my rpm reads wrong. I have tried several settings between 0 and 375.
I am getting an index pulse from a magnetic pickup and have done the triggering test.
I am using the latest stable version of mach 3.
Does anyone know if the current version of Mach 3 will show a locked rpm in the diagnostic information plugin even though it might not be compatible anymore? I think that has something to do with my problem as it does not lock on a number (see attached pic in first post).
Thanks again
Logged
Pages:
1
2
3
»
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...