Hello Guest it is May 24, 2022, 11:15:39 AM

Author Topic: need a macro for "temp" slaved axis/asap  (Read 2643 times)

0 Members and 1 Guest are viewing this topic.

need a macro for "temp" slaved axis/asap
« 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
   I can go make parts[what I know] and  PAY  $$  someone who knows this stuff.     

  best to contact me at  carlcnc@yahoo.com


Offline poppabear

  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: need a macro for "temp" slaved axis/asap
« Reply #1 on: April 08, 2007, 09:06:00 PM »
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

fun times