![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi, I have a VB script that I copied form http://cockrum.net/cnc.html . Im using the touchplate code to auto-zero my axes. Currently in Mach3 I have to go to Operator->VB Script Editor then run the VB script from there, but it would be less hassle if i could assign the code to the standard "zero x", "zero y" and "zero z" buttons on the existing Mach3 screen. It would also be nice to make a button that homes all three axes. I can't seem to find how to do this in the Mach3 settings. Any help is greatly appreciated Adam |
|
#2
| |||
| |||
| rename it for example m2000 save it in your current macro file. (my computer, mach3,macros, my mill etc?) just type into mdi m2000 if you want to add a button to a screen download machscreen. very easy to use after about 10 mins youl be able to do anything with the mach screens!
__________________ so much to learn, so much to pass on. |
|
#5
| |||
| |||
| yes. just open the page you want in machscreen in the smaller box you will see add and a drop down list select button cursor on screen where you want it and click then edit the button in the properties box save the screen set as a different name if you want when your done. in mach select view, loadscreens and select the new name save settings under view tab (ive had to add 100 leds, 18 buttons to one of my screens)
__________________ so much to learn, so much to pass on. |
| Sponsored Links |
|
#7
| |||
| |||
| Thanks, That went smoother than I expected! Can I please ask what Gcode I would use to set the x,y or z coorinate to a defined number? This is my current Z-axis zeroing code: Message( "Auto Zeroing..." ) If IsSuchSignal (22) Then code "G31 Z-3 F20" While IsMoving() Wend Call SetDRO( 2, .060 ) code "G1 Z1" End If Trouble is, if by some freak instance the z-coordinate is less than -3, it will actually move upwards rather than downwards when I press the auto-zero button. If I could set Z to something like 10 inches before the G31 command in the code, this problem would be resolved. |
|
#8
| ||||
| ||||
However, SetDRO is from older versions of mach3. You should be using SetOEMDRO instead, SetOEMDRO(802,10) should set the Z DRO to 10. A list of the OEM DRO numbers is here. http://www.machsupport.com/MachCusto...title=OEM_DROs
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#9
| ||||
| ||||
| You might want to browse through these threads. http://www.cnczone.com/forums/showthread.php?t=36099 http://www.cnczone.com/forums/showth...wpost&t=100594
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easiest way to learn Surfcam? | rbest27 | Surfcam | 25 | 04-15-2011 08:28 PM |
| Easiest CAM - Ultimax interface? | parkerbender | HURCO | 2 | 01-29-2010 07:50 PM |
| Newbie- Easiest tool path for this? | Hoverflyer.mk2 | Mastercam | 1 | 05-24-2009 09:02 PM |
| Need Help!- What is the easiest software out there | reeftoker75 | General CAM Discussion | 9 | 04-08-2009 11:47 AM |
| Easiest 3D drawing program | NeoMiller | Autodesk Software (Autocad, Inventor etc) | 1 | 10-23-2003 05:56 AM |