Hello Guest it is May 16, 2021, 05:52:09 AM

Author Topic: Plasma tube cutting  (Read 32923 times)

0 Members and 1 Guest are viewing this topic.

Re: Plasma tube cutting
« Reply #10 on: December 24, 2010, 07:29:08 AM »
 :)

Offline geast

*
  •  46 46
    • View Profile
Re: Plasma tube cutting
« Reply #11 on: December 24, 2010, 07:39:53 AM »
Does SwapAxis() operate on maxCL mode?

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Plasma tube cutting
« Reply #12 on: December 24, 2010, 08:05:13 AM »
Does SwapAxis() operate on maxCL mode?


Dont know but likely it wont, give it a try and see though as thats the only way to know for sure. If it works please let us know.
Hood

Offline geast

*
  •  46 46
    • View Profile
Re: Plasma tube cutting
« Reply #13 on: December 24, 2010, 08:24:46 AM »
I just make a button with code SwapAxis(0,3) but it didnt make anything.
I also check the configuration for a change at the pins and port screen, for motor output but nothing changed also.
Do i have to restart every time i hit the button ?

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Plasma tube cutting
« Reply #14 on: December 24, 2010, 08:38:43 AM »
Looks like it doesnt work with MaxCL then. :( You wouldnt see any changes in Ports and Pins, just the axis would swap.In other words if you commanded an X Axis move the motor on the A would actually move and vice versa.
Hood

Offline geast

*
  •  46 46
    • View Profile
Re: Plasma tube cutting
« Reply #15 on: December 24, 2010, 09:23:00 AM »
So the only way to do it is by electrical swap the pins with a relay.

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Plasma tube cutting
« Reply #16 on: December 24, 2010, 09:23:45 AM »
Haven't really read all the thread properly so forgive me if I'm out of line. swapAxis is a bit quirky and there's a couple of things to bear in mind when using it.

You can only call it once. That is you must then call resetAxisSwap before calling it again.
When you call swapAxis you'll see the change in step/dir in ports n pins.
motor settings do not follow the swap. Just the step/dir pins.

I have no idea what maxCL mode is but I just ticked it and tried a swapAxis and it worked for me V3.042.040.

Ian

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Plasma tube cutting
« Reply #17 on: December 24, 2010, 09:37:08 AM »
Stand corrected there, never noticed that earlier but of course I was using the wrong version of SS plugin when simulating so obviously never saw the pins swap ::)

Regards MaxCL mode I am not sure you could look at ports and pins as I think they are basically ignored and Mach internally sets the ports and pins to the specific ones the MaxCL machines require.

Hood

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Plasma tube cutting
« Reply #18 on: December 24, 2010, 09:56:27 AM »
yep - just read up a little on maxcl and as you say it appears to use pin assignments of it's own and ignores whatever is set in ports n pins. Tried to confirm this with parmon and it looks correct. So although swapaxis still works it's not having the desired effect. sorry for the sidetrack.

Ian

Offline geast

*
  •  46 46
    • View Profile
Re: Plasma tube cutting
« Reply #19 on: December 28, 2010, 05:01:08 PM »
For BR549
How can sheetcam make the conversion to the A axis as you mentioned?
Can you give me an example?
Thank you in advance.