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, 02:28:23 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
Work offsets
Pages:
1
2
3
4
Go Down
« previous
next »
Author
Topic: Work offsets (Read 977 times)
0 Members and 1 Guest are viewing this topic.
Riley
Active Member
Offline
Posts: 43
Work offsets
«
on:
September 08, 2011, 09:21:24 AM »
I'm having trouble with changing work offsets in g code. Seems to work fine if I remove cutter comp. With cutter comp it does fine with the squares but when going to G56 and doing the circle it freaks out and comes up with some crazy toolpath. This was only coded for testing....any input would be great!
TODAY.txt
(0.58 KB - downloaded 27 times.)
«
Last Edit: September 08, 2011, 09:23:24 AM by Riley
»
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Work offsets
«
Reply #1 on:
September 08, 2011, 10:44:35 AM »
You cannot switch offsets WHILE in COMP. Does it work ok IF you turn off comp then switch then reapply comp?
(;-) TP
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Work offsets
«
Reply #2 on:
September 08, 2011, 11:10:17 AM »
OK I see you are working with Comp in SUBS.
First add the G54 to the startup safety line this sets the display position correctly in reference to the rest of the program.
After add it here the Program looks and runs ok. NOW be aware that Mach3 will draw the profiles as offsets BUT when it runs it doews NOT move to the profiles displayed position on the screen . IT WILL cut it correctly just not display the moves corretly.
(;-) TP
Logged
Riley
Active Member
Offline
Posts: 43
Re: Work offsets
«
Reply #3 on:
September 08, 2011, 01:57:29 PM »
Hmmm.....seems to work on the PC in the house. It does however keep going over the first toolpath like you stated. On my laptop it makes some crazy crop circles when running the circle toolpath on G56. config pages look exactly the same. I have to run three operations on the mill and wanted a test code. I will move on to the real thing with this outline and see what happens. Thanks for the reply!
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Work offsets
«
Reply #4 on:
September 08, 2011, 02:11:18 PM »
It is acutally drawing it correct when cutting as the Zero gets reset each time the Fixture changes. It should cut just fine.
On your laptop look at the IJ settings. Crop circles sound like it is set to abs instead of inc. You can change it with Gcode to make sure it is set correctly on program load.
(;-) TP
Logged
Riley
Active Member
Offline
Posts: 43
Re: Work offsets
«
Reply #5 on:
September 14, 2011, 09:04:53 PM »
I reinstalled mach on laptop and set config just like the pc in the house and the one on the mill, and it works fine. But the pc running the milling machine still wont run it correctly. All settings have been tripled checked and it just won't run it. If I call sub o1 for all three work offsets it is ok. If I change it to call sub o2 for all three offsets it still is ok. If I change it to any combination of o1 and o2......fail. It come up with some crazy toolpath for the third work offset. I even tried calling the offsets in the reverse order. If I take out cutter comp all is good, however that really does not help me much.
Try Again.txt
(0.54 KB - downloaded 21 times.)
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Work offsets
«
Reply #6 on:
September 14, 2011, 09:46:29 PM »
HIYA Riley, You were close(;-) Change the G41 to a G42. Also set your tool# 12 to about 0.050"diam to make SURE it clears that tight radius.
After changing those points it runs fine here.
(;-) TP
Logged
Riley
Active Member
Offline
Posts: 43
Re: Work offsets
«
Reply #7 on:
September 15, 2011, 07:46:23 PM »
Well here is where I'm at....both subs are totally identical and as long as I only call one of them the program works fine. If I get really crazy and want to call a different sub then things get sticky. I have included a photo of a program and its matching toolpath, one with all sub calls the same and the second program I asked it nicely to run sub 2 and it makes crop circles. Have tried many many different combinations and the results are the same.
all sub p1.jpg
(252.29 KB, 1280x934 - viewed 41 times.)
all sub p1.txt
(0.67 KB - downloaded 19 times.)
with sub p2.jpg
(260.88 KB, 1280x934 - viewed 42 times.)
with sub p2.txt
(0.67 KB - downloaded 20 times.)
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Work offsets
«
Reply #8 on:
September 15, 2011, 09:31:35 PM »
AH I see you found the known BUG in TComp and SUBS. It has always been there. AND there is NO KNOWN way to overcome the error that I know of . Last time I worked on it for 3 weeks straight trying to creat a workaround. NO LUCK
Sometimes you get LUCKY and do not disturb it and everything runs OK but certain combinations of multi subs AND TC sets it off.
Best to stay away from TC and subs. Subs by themselves run OK. The problem is Mach does NOT carry over some of the positional data from SUB TO SUB and it gets lost trying to apply the new TC. It will eventually find it ways BACK to the proper stop place givin enough room to roam.
(;-) TP
Logged
Riley
Active Member
Offline
Posts: 43
Re: Work offsets
«
Reply #9 on:
September 15, 2011, 09:47:13 PM »
so how does one run cutter comp on different work coordinates? This has to be an everyday occurrence for some people.
Logged
Pages:
1
2
3
4
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...