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 27, 2012, 01:31:01 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
Offset for multiple heads
Pages:
1
Go Down
« previous
next »
Author
Topic: Offset for multiple heads (Read 557 times)
0 Members and 1 Guest are viewing this topic.
fam891
Active Member
Offline
Posts: 12
Offset for multiple heads
«
on:
September 11, 2010, 12:16:34 AM »
Hi. I have searched this forum and couldn't find an answer to this question. So, I thought I would start a new topic. I have two CNC plasma tables with a plasma head and a marking punch. The marking punch on one table is 6 inches in the x direction, and 1 inch in the y direction away from the plasma torch tip. On the other table, the punch is 4 inches in the x and 2 inches in the y direction away from the torch tip. I use SheetCAM to generate the G-code for these two machines. Since I would like the Gcode to be used on both machines, I don't want to use the SheetCAM post processor to offset the tool for me (I would have to create twice as many Gcode files). What I would like to be able to do is have Mach3 offset somehow when each tool is selected. In other words, I would zero out each axis before I start a cut, and when the punch tool is selected by the Gcode, Mach3 would offset the coordinates so that the punch would be striking in the correct location. Does anyone know what the best method to do this would be?
Thanks,
Frank
Logged
fam891
Active Member
Offline
Posts: 12
Re: Offset for multiple heads
«
Reply #1 on:
September 11, 2010, 12:36:05 AM »
I should clarify one thing. My machine has a single head with two tools fixed to it, not multiple heads. I messed up when writing the topic.
Logged
Hood
Active Member
Offline
Posts: 17,358
Carnoustie, Scotland
Re: Offset for multiple heads
«
Reply #2 on:
September 11, 2010, 02:44:05 AM »
Best method at the moment would be to use work offsets for each tool, for example one tool could be in G54 coords and the other G55. That way the same code would work in both machines as you would have the offset on the machines different.
Hood
Logged
ASC
Active Member
Offline
Posts: 64
Re: Offset for multiple heads
«
Reply #3 on:
September 13, 2010, 09:42:45 AM »
I have a similar setup, a single tooling plate with a spindle, dispenser, and usb camera. I added several buttons to the main screen, labelled camera to spindle, camera to dispenser, dispenser to camera and spindle to camera. Each button contains a script that moves the x and y axes in incremental mode and then zeros both axes. This way, I can mill track with the spindle, and with the touch of a button I move the machine and can run the code again with the dispenser to fill the track. Next I can run the same code with the camera as the tool and do an inspection run!
Heres an example of the script I used if you want to go this route
Code("G91")
'switch to incremental
Code("G01 X-2.13 Y1.7192 F50")
'Move to dispenser position
Code("G90")
'switch back to absolute
DoButton(09)
Dobutton(08)
'zero x and y axes
Logged
Mr. Creosote
fam891
Active Member
Offline
Posts: 12
Re: Offset for multiple heads
«
Reply #4 on:
September 14, 2010, 08:36:49 AM »
Thanks guys. I appreciate the replies! I think I will use the G54/G55 method. However, I am not sure if it will work without some extra playing around. We use our machine in G54 coordinates all day long (we just put our material on the table in any location, zero the axis to the corner, and cut). I was wondering if the G54/G55 are relative to each other, or relative to machine coordinates? In other words, if I setup G55 to be -6,2, my machine coordinates are currently at 50,50, and my G54 coordinates are recently zero'd to 0,0, would changing from G54 to G55 make the machine want to move 56 inches in the - x direction, and 48 inches in the - y direction to get to 0,0, or make it want to move to -6,2, which would be relative to the G54 coords?
Frank
Logged
Hood
Active Member
Offline
Posts: 17,358
Carnoustie, Scotland
Re: Offset for multiple heads
«
Reply #5 on:
September 14, 2010, 09:02:42 AM »
They are from machine coords so you would need to alter them each time. Could easily be done via a macro I would think or you could have a button on screen to zero the G54, change to G55 enter the amount you want then change back to G54. Maybe also look at using G52 instead?
Hood
Logged
Hood
Active Member
Offline
Posts: 17,358
Carnoustie, Scotland
Re: Offset for multiple heads
«
Reply #6 on:
September 14, 2010, 09:35:41 AM »
If you added a VB button to your screen and put this in the button it should do what you want.
Code("G54")
Sleep 100
DoButton(8 )
DoButton(9)
DoButton(10)
Code("G55")
Sleep 100
Call SetOemDRO(800,***)
Sleep 100
Call SetOemDRO(801,***)
Sleep 100
Call SetOemDRO(802,***)
Sleep 100
Code("G54")
What would happen is you would jog XY and Z to where you want G54 zero then press that button, it would zero G54XYZ then change to G55 and set the values you want then back to G54.
You would of course need to put the values you want for G55 XY and Z into the code instead of the *** that I have.
Hood
Logged
fam891
Active Member
Offline
Posts: 12
Re: Offset for multiple heads
«
Reply #7 on:
October 03, 2010, 11:16:08 AM »
Thanks guys! I will give this a try and report back.
Frank
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...