Page 1 of 1

Can't get slave axis to work

PostPosted: Tue Feb 16, 2021 12:28 am
by Blackslacks
Hello Ive been using Mach3 for my plasma. I bought UCCNC some time ago but I cant get the slave axis to work. I'm want to use A axis as the slave to Y. If I load Mach3 all axis work as they should, load UCCNC and the slave motor doesn't run. I'm using a UC100 motion controller. If I unslave I can jog the A axis. I imported my Mach3 profile into UCCNC.

Enclosed is my profile. Thanks in advance

Re: Can't get slave axis to work

PostPosted: Wed Feb 24, 2021 10:49 am
by charliem
What are you using to drive the stepper motors? do you use a breakout board?

Re: Can't get slave axis to work

PostPosted: Wed Feb 24, 2021 3:13 pm
by CT64
Importing a Mach 3 profile is not always an exact process. I found when I imported my Mach 3 profile I had to change several I/O and motor settings.

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 12:47 pm
by Blackslacks
charliem wrote:What are you using to drive the stepper motors? do you use a breakout board?

I'm using a Gecko G540 and I'm using the same motor pin numbers in UCCNC as in Mach3.

CT64 wrote:Importing a Mach 3 profile is not always an exact process. I found when I imported my Mach 3 profile I had to change several I/O and motor settings.

Can you tell me which ones you had to change so I can try them. I've gone over it and can't see anything obvious.

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 2:24 pm
by charliem
Hey Blackslacks,

OK I use the same setup (G540 and UC100) and I had a router that I had Y slaved to A. I had everything set the same way and I did not have any problems.
Sorry I was unable to help you sort this. I am not seeing anything wrong.

Charlie

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 3:46 pm
by Blackslacks
OK Charlie Thanks for looking. I have a question though. If I have A slaved to Y, and I jog the Y axis, should the movement be seen on the A DRO? I 'm going to reinstall and start a new profile from scratch and see what happens.

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 4:12 pm
by charliem
If I have A slaved to Y, and I jog the Y axis, should the movement be seen on the A DRO?


I don't think so. At least not that I can remember. let me experiment with something and I'll get back to you.

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 4:50 pm
by charliem
Ok this is what I did, I loaded your profile into my version of UCCNC.
I noticed that ESTOP and charge pump were set to 0.
I set ESTOP to Pin 15 and Port1 and Charge pump to pin 16 and port 1 and pressed enter after every entry. I saved settings and then applied settings.
I have Y and A axis moving as they should. and to answer your question from before the A axis dro does not read when A is slaved to Y and Y is in motion.

I hope this helps.

Regards
Charlie

Re: Can't get slave axis to work

PostPosted: Sat Feb 27, 2021 6:40 pm
by CT64
I'm using a Gecko 540. I had to change to Estop and charge pump inputs. Also the "Y" axis stepper direction input had to be changed. For some reason those I/O setting didn't get imported from Mach 3.

Re: Can't get slave axis to work

PostPosted: Sun Feb 28, 2021 6:03 pm
by Blackslacks
That did it! Thanks everyone for helping me out. I took a quick look through the manual and couldn't find anything on selecting active low for the master axis step and direction. Anyway thanks again.
Rae