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:59:49 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
Two heads
Pages:
1
Go Down
« previous
next »
Author
Topic: Two heads (Read 570 times)
0 Members and 1 Guest are viewing this topic.
pjchick
Active Member
Offline
Posts: 2
Two heads
«
on:
January 10, 2011, 08:50:33 AM »
Hello all
I'm currently building my first CNC router and am planning on using Mach3 to control it. My design is a moving gantry style, however with abit of a twist.
I'm planning on mounting two 'machining heads' onto the Y Gantry. The first head will have my router, the second will probably have a laser diode for burning/etching. Both heads will have separate Y and Z axis steppers but they will share the same X axis.
When 'head A' is in use, 'head B' is parked at one end of the Y gantry out of the working envelope. When I want to tool change I would like to park 'head A' at the other end of the Y gantry (again out of the working envelope) then bring in 'head B' to continue.
So I would need to control 1 X-axis, 2 Y-axis and 2 Z-axis.
Could such an arrangement be possible to control with Mach 3?
Regards
Peter
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: Two heads
«
Reply #1 on:
January 10, 2011, 09:14:30 AM »
Yes its possible, two ways to do it.
One is have your code call X Y and Z commands for one and X A and B for the other.
The other option would be to use the swap Axis feature in Mach so that when you use it the Y and A pins will swap and Z and B will swap. That will mean you will still be able to use Y and Z commands. Problem you would have is you would have to make sure you reference each axis before and after you swap or you could end up in trouble. Well its not really a problem but just more that you would have to make sure you did it.
For both you would either need to take the offset into account in your code or use fixture offsets.
Hood
«
Last Edit: January 10, 2011, 09:16:33 AM by Hood
»
Logged
ASC
Active Member
Offline
Posts: 64
Re: Two heads
«
Reply #2 on:
January 10, 2011, 09:41:33 AM »
If it was up to me I would have both heads mounted on a single tooling plate with some kind of actuator to move them into the work envelope. But hey, if you can afford another ball screw why not!
I'd probably set it up using seperate XML files for each head and switch the Y and Z pin assignments with A and B as hood suggested. Maybe have a script or macropump to park the secondary head in a safe zone when the primary head is active.
Whatever happens this sounds like a really unique machine and can't wait to see it in action!
Logged
Mr. Creosote
ger21
Global Moderator
Offline
Posts: 2,619
Re: Two heads
«
Reply #3 on:
January 10, 2011, 10:50:47 AM »
Quote from: Hood on January 10, 2011, 09:14:30 AM
Yes its possible, two ways to do it.
One is have your code call X Y and Z commands for one and X A and B for the other.
The other option would be to use the swap Axis feature in Mach so that when you use it the Y and A pins will swap and Z and B will swap. That will mean you will still be able to use Y and Z commands. Problem you would have is you would have to make sure you reference each axis before and after you swap or you could end up in trouble. Well its not really a problem but just more that you would have to make sure you did it.
For both you would either need to take the offset into account in your code or use fixture offsets.
Hood
According to the Wiki, you can't swap two pairs of axis. Only one Swapaxis() can be in effect at a time.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
Dan13
Active Member
Offline
Posts: 759
Re: Two heads
«
Reply #4 on:
January 10, 2011, 01:46:23 PM »
This is correct, Gerry. At least with the Smooth Stepper it is. Unless you do ResetAxisSwap() after a SwapAxis() using another SwapAxis() wouldn't work.
Hood's first suggestion seems to be the only way. Of course you can also go to the Ports and Pins and swap the pins manually as well.
Dan
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: Two heads
«
Reply #5 on:
January 10, 2011, 04:24:37 PM »
Ah yes forgot about that.
Hood
Logged
pjchick
Active Member
Offline
Posts: 2
Re: Two heads
«
Reply #6 on:
January 10, 2011, 04:36:10 PM »
I was thinking about switching the step/dir signals at the breakout board. When I want to change head my tool change macro would park headA then switch a logic output. This logic output from the parallel port would control some transistor switch logic that would then divert the step/dir signals to headB. The macro would then move headB to the correct position to resume the job.
Does that sound feesable?
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: Two heads
«
Reply #7 on:
January 10, 2011, 05:00:14 PM »
I am sure Simpson did something like that for his rotary axis, I will have a look and see if I can find it.
Hood
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: Two heads
«
Reply #8 on:
January 10, 2011, 05:04:01 PM »
Ok heres the thread is talked about, might need to read some before or some after this actual post for full info.
http://www.machsupport.com/forum/index.php/topic,11422.msg99637.html#msg99637
Hood
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Two heads
«
Reply #9 on:
January 11, 2011, 01:42:11 AM »
Right Hood. Steve did this with an external board which receives a signal from Mach and swaps the pins of two axes. Using two of this boards should do what's asked for. He was intending to be selling them, so may be contact him and ask.
Dan
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...