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 26, 2012, 11:53:29 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
G41, Strange movement, I can't figure out what dumb mistake I'm making!
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: G41, Strange movement, I can't figure out what dumb mistake I'm making! (Read 858 times)
0 Members and 1 Guest are viewing this topic.
Darc
Active Member
Offline
Posts: 177
G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
on:
September 27, 2010, 08:50:22 PM »
Below is a copy of a program that produces the strange movement.
If I enter a value for the corner radius on our grinding wheel it seems to offset correctly except when moving, it will move Y12 but also moves X the value of the wheel radius.
If you alter the tool diameter and watch the movement of the Y12 you will see what I mean.
Got me pooched!!.......Can someone please offer some insight?
(strange tapering of parallel movement)
#1=4 ;No of Cuts
#2=400 ;Feedrate
#3=0.05 ;Cut Size
#4=1. ;Corner Radius on Wheel
#6=[#1*#3] ;(No of Cuts * Depth of Cuts)
G90 G54 G21 G40
G41 G0 X0. Y0. P#4
M1
M98 P1 L[#1-1]
G40
M30
O1
G91 G0 X#3 Y[#3-[#3*2]]
G0 Y-18.
X5.
G1 Y12. F#2 ;Tapers this parallel movement the amount of radius comp that is put on
G2 X1. Y1. I1. J0.
G1 X5. ;Does this line correct (one axis only)
X5. Y5.
G0 X-16.
M99
«
Last Edit: September 27, 2010, 08:52:03 PM by Darc
»
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #1 on:
September 27, 2010, 09:42:38 PM »
IS this Mill or Turn code??? YOu mention grinder wheel radius.
(;-) TP
Logged
Darc
Active Member
Offline
Posts: 177
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #2 on:
September 27, 2010, 10:03:20 PM »
Oh, sorry forgot to mention, mill code, it's actually used on an XY stage for a tool and cutter.
Very much the same as a router, except uses a grinding wheel, not a cutter.
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #3 on:
September 27, 2010, 11:07:53 PM »
YOU have alot of things going on at once(;-). YOu may want to move the G41 inside of the SUB. AS is you have the G41 in effect in G90 mode then switch to G91 mode probably confused MACH.
Notice that the the Next G1 move after your G41 is the same line you have taper. Mach needs to have a move to comp the toolpath BEFORE it gets to the start point of the offset and it needs to be at least the same length as the radius you are comping(depending on version) SO it looks like MACH is using the move to comp itself ending up as a taper???
Just some thoughts, (;-) TP
Logged
Darc
Active Member
Offline
Posts: 177
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #4 on:
September 30, 2010, 04:43:24 PM »
Thanks BR549, but nah still no go.
It's really strange, if I enter G1 Y1 on the line before the G1 Y12. it adds the compensation into that small movement, so I thought I'll just get it to do that on a line earlier in the program.
But if I put it anywhere else it starts doing weird stuff, big circles and so on.
I can only get it to sorta work if I put a Y movement on the line before G1 Y12.
I does the comp correctly, except it comes in then moves out the comp amount, so therefore it would dive into the job, then pull away.
Hmmmmmmmm
«
Last Edit: September 30, 2010, 04:59:44 PM by Darc
»
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #5 on:
September 30, 2010, 08:14:30 PM »
YOU can't just add the comp anywhere it has to have a leadin to setup the comp for the cut and usally a leadout to end the comp. Might want to readup on using comp. It is a simple process BUT can get very complex to program by hand.
(;-) TP
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #6 on:
September 30, 2010, 09:04:31 PM »
OK I am deciphering your Parametric code I see the shape you are Grinding. WHat exactly is the code suppose to do after the first pass through the code?
(;-) TP
Logged
Darc
Active Member
Offline
Posts: 177
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #7 on:
September 30, 2010, 09:55:04 PM »
Take a small cut (Value #3) then repeat the cycle until the number of cuts has been completed.
Darc
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #8 on:
September 30, 2010, 11:02:42 PM »
Take a small cut where? further into the profile?
(;-)
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G41, Strange movement, I can't figure out what dumb mistake I'm making!
«
Reply #9 on:
September 30, 2010, 11:23:34 PM »
I see the #6 variable calculates a Value BUT I don't see where it is applied??
(;-) TP
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...