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, 03:16:18 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
Pierce delay for plasma
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Pierce delay for plasma (Read 1124 times)
0 Members and 2 Guests are viewing this topic.
rrc1962
Active Member
Offline
Posts: 434
Re: Pierce delay for plasma
«
Reply #10 on:
February 17, 2011, 05:49:30 PM »
This is how I do it...
Do While Not isActive(THCON)
x = x + 1
sleep 1000
If x = 3 then
MsgBox("OK To Move Timed Out")
code "M30"
Exit Do
End If
Loop
This will stall until either a good arc is seen or the loop times out. I have it set for 3 seconds.
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Pierce delay for plasma
«
Reply #11 on:
February 18, 2011, 04:46:24 AM »
Unfortunately this doesn't improve the situation. No offence intended but it potentially makes it worse.
Just as one example, compare the resultant pierce delay if arcok activates just before the sleep, with what it would be if arcok activates just a few microseconds later after the sleep begins.
Ian
EDIT: I've just thought of another issue about this whole problem but I'll check it out first.
«
Last Edit: February 18, 2011, 04:56:55 AM by stirling
»
Logged
matttargett4
Active Member
Offline
Posts: 78
Re: Pierce delay for plasma
«
Reply #12 on:
February 18, 2011, 04:59:35 AM »
Morning,
I tried the modification to the m3 macro and it seems to work for me............
Matt
Logged
stirling
Global Moderator
Online
Posts: 1,190
UK
Re: Pierce delay for plasma
«
Reply #13 on:
February 18, 2011, 05:04:44 AM »
which one Matt?
Logged
matttargett4
Active Member
Offline
Posts: 78
Re: Pierce delay for plasma
«
Reply #14 on:
February 18, 2011, 05:48:43 AM »
Do While Not isActive(THCON)
x = x + 1
sleep 1000
If x = 3 then
MsgBox("OK To Move Timed Out")
code "M30"
Exit Do
End If
Loop
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Pierce delay for plasma
«
Reply #15 on:
February 18, 2011, 08:16:19 AM »
I can see how it could get trapped after the sleep and before the x comparison if x = 3. It's probably never been an issue because it has never taken longer than 3 seconds to light the arc. If it takes longer than that, there is a problem and the arc is not going to light at all, which times it out. If THCON goes on before the sleep and x < 3, you would just see a slightly longer delay worse case. That could be happening, but I haven't really noticed it. Changing it to this should solve both...
Do While Not isActive(THCON)
x = x + 1
sleep 1
If x = 3000 then
MsgBox("OK To Move Timed Out")
code "M30"
Exit Do
End If
Loop
Virtually removes any possible delay where arc lights before the sleep and x < 3000 and reduces the gap to where it could get stuck between sleep and x = 3000 to only 1ms. Still a remote chance it could happen. You could bump the time to 5000. If the arc doesn't light in 5000ms you can rest assured that it's not going to light for some reason.
You could remove the sleep completely, but that you'd have to experiment with the timeout number to get a suitable timeout. I think when I tried it I was using something like 12000.
I actually use this in a separate macro that I insert just after the M3.
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...