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 26, 2012, 12:24:44 AM
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
Third party software and hardware support forums.
SmoothStepper USB
(Moderator:
Warp9TD
)
Problem when stopping execution
Pages:
1
Go Down
« previous
next »
Author
Topic: Problem when stopping execution (Read 757 times)
0 Members and 2 Guests are viewing this topic.
elpablito
Active Member
Offline
Posts: 122
Problem when stopping execution
«
on:
March 31, 2010, 11:33:32 PM »
I had this problem many times. I would like to know if everybody has the same issue or am I doing something wrong.
I have a smoothstepper running my router.
Lets say that I have my machine references and zeroed and I start the program execution. I notice that something is going wrong and cant wait for feedhold to compelte so I push STOP (not e-stop button, just stop) in the middle of a move. The machine stops immediately, but all references are lost. My zero position is lost, and machine coordinates are no longer valid. I can even trip into a limit switch if i jog.
My guess is that this happens because the stop tells the SSto halt immediately, but SS does not communicate back the exact position where it stopped so Mach does not know wjere it stopped.
Is this a known issue? Can it be solved?
Thanks
Logged
Hood
Active Member
Offline
Posts: 17,339
Carnoustie, Scotland
Re: Problem when stopping execution
«
Reply #1 on:
April 02, 2010, 08:36:54 AM »
Stop is basically the same as an E-Stop whether it is with the parallel port or Smoothstepper. Mach stops the pulses immediately and as it is open loop it has no way of knowing exactly where the axis is as it is most likely the axis has moved on a bit with the momentum.
Hood
Logged
elpablito
Active Member
Offline
Posts: 122
Re: Problem when stopping execution
«
Reply #2 on:
April 02, 2010, 12:38:07 PM »
Thanks for your answer Hood.
If that is the case, maybe thats not the kind of stop I need, neither feedhold that is far too slow because it empties its queue before stopping.
Can a stop be implemented that deaccelerates the current move in a fast but controlled way?
Doesnt mach know at every time the pulse count it has sent to a motor or there is some hardware limitation I dont know?
Thanks
Logged
Hood
Active Member
Offline
Posts: 17,339
Carnoustie, Scotland
Re: Problem when stopping execution
«
Reply #3 on:
April 02, 2010, 12:59:26 PM »
Mach knows how many pulses it has sent out but it does not know if the motor has moved that amount or if its moved less or more. Pressing the Stop will likely lead to the motors moving on so Mach has no way of knowing that and neither does the SmoothStepper.
You can speed up the response of the feedhold with the SmoothStepper by increasing the controller frequency but how much you can increase it to will depend on how good your USB communication is, I have run at 4KHz with no issues but decided to drop back to 2KHz as the feedhold is plenty fast at that with my setup.
Hood
Logged
elpablito
Active Member
Offline
Posts: 122
Re: Problem when stopping execution
«
Reply #4 on:
April 02, 2010, 01:06:40 PM »
I tried that, but even with a higher frequency the feedhold will complete its queue or at least the current move, that may be long.
Why cant it just deacccelerate the current move as fast as possible stopping to a know state and then on resume doing the whole move again if neccesary?
Logged
Hood
Active Member
Offline
Posts: 17,339
Carnoustie, Scotland
Re: Problem when stopping execution
«
Reply #5 on:
April 02, 2010, 02:17:36 PM »
Certainly doesnt take long for me at 2KHz, well under a second and it doesnt wait until a move is finished.
What revision of plugin are you using also what rev of Mach.
What kind of machine do you have?
Hood
Logged
Pages:
1
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...