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 23, 2012, 03:30:33 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
FAQs
M98
Pages:
1
Go Down
« previous
next »
Author
Topic: M98 (Read 1396 times)
0 Members and 1 Guest are viewing this topic.
Mario25
Active Member
Offline
Posts: 9
M98
«
on:
January 28, 2009, 05:03:07 PM »
Hi guys,
as this is my first time to program something to use Mach3 mill I decided to do something really easy, this is what I have programed:
O1000
G54 G94 G90 G21
M6 T1
G43 H01 G0 Z50
G0 X0 Y0
M98 P50 2000
G80
G0 Z10 M30
O2000
G81 R2 Z-12
G91 X5
G90 M99
What I notice is that Mach3 do not seem to accept M98, is there any one who could help me? Does Mach3 has a different code to call the sub-program?
Thank you very much for your help.
Mario
Logged
Chip
Global Moderator
Offline
Posts: 2,057
Gainesville Florida USA
Re: M98
«
Reply #1 on:
January 30, 2009, 01:16:40 AM »
Hi, Mario
Try this'
O1000
G54 G94 G90 G21
M6 T1
G43 H01 G0 Z50
G0 X0 Y0
M98 P2000 L50; P2000 calls O2000, L50 repeat's it 50 times
G80
G0 Z10 M30
O2000
G81 R2 Z-12
G91 X5
G90 M99
% ;need this or blank line feed also
Chip
Logged
Mario25
Active Member
Offline
Posts: 9
Re: M98
«
Reply #2 on:
January 31, 2009, 08:37:18 PM »
Hi Chip,
Thanks for your reply, I just tried it and it only does two holes for some reason, I do not understand because everything seems to be OK.
With my program I could not even make one hole so eventually we will get there
Any other suggestion you could do.
Many thanks.
Mario
Logged
Mario25
Active Member
Offline
Posts: 9
Re: M98
«
Reply #3 on:
January 31, 2009, 08:53:33 PM »
Hi Chip,
I went back to the program on Mach 3 and I only noticed now that it does not accept M99 although it is written on the file which I load.
I already tried several times and ways but I can not manage to load the M99 and that is probably the reason it only drills two holes.
Any way if you have any idea please let us know.
Thanks once more for your concern.
Mario
Logged
Chip
Global Moderator
Offline
Posts: 2,057
Gainesville Florida USA
Re: M98
«
Reply #4 on:
January 31, 2009, 09:59:22 PM »
Hi, Mario
Your leaving out the % or line feed at the bottom of your G-code.
Chip
Chip_013_Jan._31_21.41.jpg
(32.31 KB, 959x509 - viewed 111 times.)
Mario25_M98_code.txt
(0.21 KB - downloaded 74 times.)
Logged
Sam
THIS SPACE FOR RENT.
Global Moderator
Offline
Posts: 834
Re: M98
«
Reply #5 on:
January 31, 2009, 10:37:47 PM »
Also, if your not wanting to drill each hole twice, you need to put the "G80" in the line after the "G81"
The max number of repeats is 998 I think.
Logged
"I sometimes think we consider the good fortune of the early bird and overlook the bad fortune of the early worm." FDR - 1922
"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Mario25
Active Member
Offline
Posts: 9
Re: M98
«
Reply #6 on:
February 01, 2009, 09:55:07 PM »
Hi Chip,
thanks a lot it works perfect, I only now worked out what you mean by %, it is just a something after the last line of the program to accept M99.
I thought I had to put some kind of percentage value for example 20% or whatever and did not realize it was only necessary to put the % signal.
Best regards.
Mario
«
Last Edit: February 02, 2009, 09:07:41 AM by Mario25
»
Logged
Mario25
Active Member
Offline
Posts: 9
Re: M98
«
Reply #7 on:
February 01, 2009, 10:32:22 PM »
Hi Sam,
that is well pointed, I tried it and really only drills the hole once and then goes to the next one , so with this two ways of drilling we can choose which one suit us better.
Thank you both, it was a great help.
Mario
«
Last Edit: February 01, 2009, 10:37:29 PM by Mario25
»
Logged
Chip
Global Moderator
Offline
Posts: 2,057
Gainesville Florida USA
Re: M98
«
Reply #8 on:
February 02, 2009, 12:39:24 AM »
Hi, Mario
It's a good habit to get into, Most if not all Cam software allows it.
O1000
G54 G94 G90 G21
M6 T1
G43 H01 G0 Z50
G0 X0 Y0
M98 P2000 L50 ;M98 P50 2000, P2000 calls O2000, L50 repeat's it 50 times
G80
G0 Z10
M30
% ;You can put it hear also
O2000
G81 R2 Z-12
G91 X5
G90 M99
% ;Need this or blank line feed
Glad I could help, Chip
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...