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, 10:46:02 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
Mach Discussion
General Mach Discussion
zeroing Z axis via a MAchine Op header file (ie via g-code itself)
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: zeroing Z axis via a MAchine Op header file (ie via g-code itself) (Read 239 times)
0 Members and 1 Guest are viewing this topic.
peskywinnets
Active Member
Offline
Posts: 27
zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
on:
January 14, 2012, 03:14:56 PM »
I might be going mad, but I'm sure I saw some funky g-code (somewhere or other) where mach3 would read the g-code & start descending the z axis until the probe pin changed value & then set the Z axis to zero.
My wish is to incorporate such gcode into a machine op 'header' file in CAM software - when I generate the g-code each tool change would have the auto zero g-code incoprated into the main g-code output file. Therefore, when I change a tool, I just simply press run, the new tool will descend until it probes 0 then contnue on with the cycle (which saves the faff of using a manual touch/probe plate)
Logged
Hood
Active Member
Offline
Posts: 17,368
Carnoustie, Scotland
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #1 on:
January 14, 2012, 03:45:12 PM »
Do a search for auto zero or auto tool zero and you should come up with plenty info.
Hood
Logged
peskywinnets
Active Member
Offline
Posts: 27
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #2 on:
January 14, 2012, 03:48:42 PM »
I will (but didn't cos I reckoned it'd pull back plenty of the wrong info ...most stuff is related to vbscript & touch off plates)...I just seek the g-code to start mach3 hunting for zero from within the g-code file & then the g-code for zeroing the z axis.
Logged
Hood
Active Member
Offline
Posts: 17,368
Carnoustie, Scotland
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #3 on:
January 14, 2012, 04:01:18 PM »
But is that not what you would need for this? ie a mcode that runs the auto zero routine. If not how else is Mach going to know when the tool is zeroed?
Hood
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
Offline
Posts: 1,994
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #4 on:
January 14, 2012, 04:10:46 PM »
Here is a very helpful thread to read through, at least I "think" this is what you're after?
http://www.cnczone.com/forums/mach_wizards_macros_addons/100594-mach_3_tool_setter_big-tex.html
Dave
Logged
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !
Dave->
peskywinnets
Active Member
Offline
Posts: 27
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #5 on:
January 14, 2012, 04:12:25 PM »
Thanks but no...that was vbscript (which I have already but needs me to manually touch off after each tool change).
I'm hoping to deploy such a solution when milling copper clad fr4 ...the clamp I use to hold the copper board is grounded (therefore so is the fr4 copper clad surface - well at least initially ie before too much isolation milling takes place!) - so the engraving tool descends touches the copper clad surface, the 'probe pin' changes condition - mach3 then knows, zeros the Z dro & continues with the g-code. I'm pretty sure I saw some g-codes once that do this mach3 auto-zero hunting/zeroing but from within the g-code file itself.
«
Last Edit: January 14, 2012, 04:16:11 PM by peskywinnets
»
Logged
Hood
Active Member
Offline
Posts: 17,368
Carnoustie, Scotland
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #6 on:
January 14, 2012, 04:15:41 PM »
That is just the same thing, instead of moving off to a plate you would just be using the workpiece as the plate. Still exactly the same kind of macro needed, you would then just have the mcode for that macro in your G Code at each tool change. You could also have it in the M6 macro I suppose.
Hood
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
Offline
Posts: 1,994
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #7 on:
January 14, 2012, 04:16:02 PM »
Doesn't this mean you just need an insulating layer on your touch plate?
Dave
Logged
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !
Dave->
ger21
Global Moderator
Online
Posts: 2,619
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #8 on:
January 14, 2012, 04:17:32 PM »
I have the auto zero incorporated in my M6 macro, so that when I change tools the new tool get's zeroed automatically. But I use a fixed probing plate for the toolchanges, like the Big Tex version above.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
Hood
Active Member
Offline
Posts: 17,368
Carnoustie, Scotland
Re: zeroing Z axis via a MAchine Op header file (ie via g-code itself)
«
Reply #9 on:
January 14, 2012, 04:18:31 PM »
I see you edited, if you already have that code then all you do is put it into a notepad file and save as something like M123.m1s and place in your profiles macro folder. Then every time you call m123 from your code it will do that routine.
Hood
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...