Machsupport Forum
		Mach Discussion => General Mach Discussion => Topic started by: carlcnc on April 08, 2007, 08:38:35 PM
		
			
			- 
				
 I need a function [macro] that will temporarily   slave my A axis[spindle#2] to my Z axis[spindle1]
 Art suggested I slave C to Z in cfg,then write a Macro to swap C&A , and then a macro[another one?] to cancel the swap.
 
 I searched all over for an oem  code for "swapaxis" but it must not exist.
 
 I could sweat blood for days trying to learn VB and writing macros to do what one of you guys could whip out in a matter of minutes
 OR
 I can go make parts[what I know] and  PAY  $$  someone who knows this stuff.
 
 best to contact me at  carlcnc@yahoo.com
 
 thanks
 Carl
- 
				Like Art said, set up your config to slave Z and C then:
 
 The drop a "Button" on your screed that says "Swap A and C" for the label
 In the button put the VB script:  swapaxis( 3,5)
 
 Drop another button on your screen with "reset A and C" for the label
 In the button put: ResetSwappedAxis()
 
 If you don't want to fool with it, send me your screen set, and mark the area you want the buttons and I will do it for you.
 email:  poppabear (at) hughes.net
 
 Scott