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, 04:38:20 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
Oxy Fuel preheat time in Mach3
Pages:
1
Go Down
« previous
next »
Author
Topic: Oxy Fuel preheat time in Mach3 (Read 614 times)
0 Members and 2 Guests are viewing this topic.
Johnny Storm
Active Member
Offline
Posts: 105
Oxy Fuel preheat time in Mach3
«
on:
February 23, 2011, 04:10:58 PM »
Hi, I have a home made oxy fuel cutting cnc machine 5ft x 10ft, i have made several test cuts and seems to work well, but I have a little problem with the preheat.
I´m draw in Autocad, then i put the DXF file in ProNest and there generate the G-Code for Mach3, ok all fine but but i no have idea how set the preheat dely time before the machine start the cut.
For the moment y try with this: I modify the file C:\Mach3\macros\plasma\m4.m1s
Sleep 25000 (this example is for a delay of 25 seconds)
activateSignal(OUTPUT1) (this activate the selenoid to open the oxigen)
Sleep 1000 (I use this time for the initail penetracion before machine moves)
This method works for me, but i don't like!!!, anybody know a better method? or a screenset with a DRO to put that time in seconds or someting like that?
sorry for my bad english, tanks
this is my machine and a sample cuts in .250 inch
DSCN4884.JPG
(127.17 KB, 1280x960 - viewed 80 times.)
DSCN4882.JPG
(83.98 KB, 1280x960 - viewed 64 times.)
«
Last Edit: February 23, 2011, 04:26:14 PM by gzm.pepe
»
Logged
Hood
Active Member
Online
Posts: 17,366
Carnoustie, Scotland
Re: Oxy Fuel preheat time in Mach3
«
Reply #1 on:
February 23, 2011, 04:45:29 PM »
You could have a user DRO (or several) on the screen and have your M4 macro look to it for its value.
Hood
Logged
Johnny Storm
Active Member
Offline
Posts: 105
Re: Oxy Fuel preheat time in Mach3
«
Reply #2 on:
February 23, 2011, 04:50:19 PM »
Quote from: Hood on February 23, 2011, 04:45:29 PM
You could have a user DRO (or several) on the screen and have your M4 macro look to it for its value.
Hood
thanks Hood, you can tell me the script can use for do that?
Logged
Hood
Active Member
Online
Posts: 17,366
Carnoustie, Scotland
Re: Oxy Fuel preheat time in Mach3
«
Reply #3 on:
February 23, 2011, 04:59:34 PM »
Not great at VB but something like this MIGHT WORK
DRO1 = GetUserDRO(2222)
DRO2 = GetUserDRO(2223)
Sleep (DRO1)
activateSignal(OUTPUT1)
Sleep (DRO2)
Hood
Logged
rrc1962
Active Member
Offline
Posts: 434
Re: Oxy Fuel preheat time in Mach3
«
Reply #4 on:
February 23, 2011, 06:45:19 PM »
The G code for a dwell is "G4 P1". 1 being the number of seconds to delay. If Mach is set to dwell in milliseconds, you would use 1000 to represent 1 second. You could have your CAM drop the G4 in the program or have your CAM insert a macro. A macro might look something like this...DRO1234 would be a user DRO where you enter the dwell time.
code "G4 P" & getUserDRO(1234)
You could use the same code inside the M3 macro, but I prefer having it separate.
Logged
Johnny Storm
Active Member
Offline
Posts: 105
Re: Oxy Fuel preheat time in Mach3
«
Reply #5 on:
February 23, 2011, 06:52:50 PM »
Quote from: Hood on February 23, 2011, 04:59:34 PM
Not great at VB but something like this MIGHT WORK
DRO1 = GetUserDRO(2222)
DRO2 = GetUserDRO(2223)
Sleep (DRO1)
activateSignal(OUTPUT1)
Sleep (DRO2)
Hood
Thanks Hood you are my hero!! works perfect,
Logged
Johnny Storm
Active Member
Offline
Posts: 105
Re: Oxy Fuel preheat time in Mach3
«
Reply #6 on:
February 23, 2011, 06:53:58 PM »
Quote from: rrc1962 on February 23, 2011, 06:45:19 PM
The G code for a dwell is "G4 P1". 1 being the number of seconds to delay. If Mach is set to dwell in milliseconds, you would use 1000 to represent 1 second. You could have your CAM drop the G4 in the program or have your CAM insert a macro. A macro might look something like this...DRO1234 would be a user DRO where you enter the dwell time.
code "G4 P" & getUserDRO(1234)
You could use the same code inside the M3 macro, but I prefer having it separate.
Thanks rrc1962 it's a great solution too
Logged
Hood
Active Member
Online
Posts: 17,366
Carnoustie, Scotland
Re: Oxy Fuel preheat time in Mach3
«
Reply #7 on:
February 23, 2011, 07:21:36 PM »
Ha ha well I am amased VB that IO wrote works first attempt
Hood
Logged
Hood
Active Member
Online
Posts: 17,366
Carnoustie, Scotland
Re: Oxy Fuel preheat time in Mach3
«
Reply #8 on:
February 23, 2011, 08:20:59 PM »
oops clumsy fingers, must have hit the I and O key at the same time, should have just been I.
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...