Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
December 02, 2008, 09:05:17 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
G-Code, CAD, and CAM
G-Code, CAD, and CAM discussions
Simple G code example needed
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Simple G code example needed (Read 1249 times)
0 Members and 1 Guest are viewing this topic.
Kristin D
Active Member
Offline
Posts: 203
Take that you LazyCam, next stop the glue factory!
Simple G code example needed
«
on:
July 21, 2008, 07:20:27 PM »
Ha, thought I knew what I was doing almost, finally got the X & Z axis motors mounted on my Taig,
Wrote a bit of code:
g0 z0
g1 z .25
g0 z0
g1 x .01
g1 z .25
g0 x 0
g0 z0
g1 x .2
g1 z .25
etc...
Sure there is an easier way with loops but can't find the examples I have seen here.
All I want to do at the moment is say take a piece of round stock in the lathe, and turn say .5 long with repeat passes off .010" for the purpose of taking a video, I also seem to have forgotten how to put a dwell time in as I would like to have say 15-30 seconds to man the camera after I hit cycle start. Think that is g4 but can't remember the syntax like g4 P30?
Thanks
Kristin
«
Last Edit: July 21, 2008, 07:24:45 PM by Kristin D
»
Logged
Hood
Active Member
Online
Posts: 4,904
Carnoustie, Scotland
Re: Simple G code example needed
«
Reply #1 on:
July 21, 2008, 08:17:02 PM »
yep G4 P30 would be a 30 second delay, unless however you have it set for millisecond, check on the general config page.
And just use a wizard, put in start and finish Dia, Start and finish Z and DOC for a pass and you will get all the code written for you
Hood
Logged
Kristin D
Active Member
Offline
Posts: 203
Take that you LazyCam, next stop the glue factory!
Re: Simple G code example needed
«
Reply #2 on:
July 21, 2008, 08:22:11 PM »
using the demo version and I don't find any wizards for that (darn wizards!) I think Jimpinder had an example of a loop & repeat thing but unable to locate the thread.
Kristin
Logged
RICH
Global Moderator
Online
Posts: 512
Re: Simple G code example needed
«
Reply #3 on:
July 21, 2008, 08:34:33 PM »
Kristin,
Try using one of the wizards to generate the code and the add the dwell in after each pass.
See attached files.
RICH
kristin_TURN_OD.txt
(0.35 KB - downloaded 19 times.)
kristin_WIZARD_TURN_OD.jpg
(33.95 KB, 640x378 - viewed 220 times.)
kristin_MACH_SCREEN.jpg
(38.1 KB, 640x361 - viewed 217 times.)
Logged
Overloaded
Global Moderator
Online
Posts: 1,148
Re: Simple G code example needed
«
Reply #4 on:
July 21, 2008, 08:41:19 PM »
Good timing Rich
Here is the code too...ready to go. (cept maybe the feed rates, I run fast as I can)
ScreenHunter_09_Jul._21_21.35.gif
(21.33 KB, 1042x522 - viewed 215 times.)
Turn.tap
(1.39 KB - downloaded 16 times.)
«
Last Edit: July 21, 2008, 08:42:51 PM by Overloaded
»
Logged
You must learn from the mistakes of others. You cant possibly live long enough to make them all yourself.
Kristin D
Active Member
Offline
Posts: 203
Take that you LazyCam, next stop the glue factory!
Re: Simple G code example needed
«
Reply #5 on:
July 21, 2008, 08:41:40 PM »
Rich,
Where are the wizards located? When I click wizards in Mach turn I don't recognise which one may be the one you used.
Kristin
Logged
Overloaded
Global Moderator
Online
Posts: 1,148
Re: Simple G code example needed
«
Reply #6 on:
July 21, 2008, 08:48:00 PM »
Wizards/Pick Wizard/Turning/Run/OD Turning, OD Fillet
If you leave the Radius at 0.000, it will turn to a square corner.
«
Last Edit: July 21, 2008, 08:49:40 PM by Overloaded
»
Logged
You must learn from the mistakes of others. You cant possibly live long enough to make them all yourself.
Kristin D
Active Member
Offline
Posts: 203
Take that you LazyCam, next stop the glue factory!
Re: Simple G code example needed
«
Reply #7 on:
July 21, 2008, 08:53:25 PM »
Quote from: Overloaded on July 21, 2008, 08:48:00 PM
Wizards/Pick Wizard/Turning/Run/OD Turning, OD Fillet
If you leave the Radius at 0.000, it will turn to a square corner.
Turning is not there! Only Teach, Teach rev 1.4 and Thread milling, I am running the demo version.
Kristin
Logged
Overloaded
Global Moderator
Online
Posts: 1,148
Re: Simple G code example needed
«
Reply #8 on:
July 21, 2008, 09:01:20 PM »
Which screen set are you using ?
Click: View/Load Screens/then at the bottom,files of type, Turn files.lset/1024.lset
ScreenHunter_11_Jul._21_21.58.gif
(12.83 KB, 531x315 - viewed 222 times.)
ScreenHunter_12_Jul._21_21.59.gif
(13.83 KB, 512x353 - viewed 221 times.)
Logged
You must learn from the mistakes of others. You cant possibly live long enough to make them all yourself.
Kristin D
Active Member
Offline
Posts: 203
Take that you LazyCam, next stop the glue factory!
Re: Simple G code example needed
«
Reply #9 on:
July 21, 2008, 09:13:52 PM »
Nope it's just not there. Loaded the lset screen and nothing in the wizards looks like you discribe.
Kristin
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.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****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
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...