RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Moderator: cnckeith
-
- Posts: 12
- Joined: Fri Feb 16, 2018 9:31 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Hello.
I am making my own CNC machine. I am using acorn CNC board controller, centroid software, YAKO close loop motor (YK286EC80A1) and YAKO stepper servo driver (SSD2608H).
My connections for testing on the table : The pulse signal is connected from port (ST1) on the acorn board to (PU-) on the driver, The direction signal from port (DR1) on the acorn is connected to (DR-) on the driver. (PU+) and (DR+) are connected to +5V power supply. The power supply has a common ground to the 24V power supply.
The motor and the encoder is connected perfectly well to the driver (I have counter checked this connection). this is how they are connected.
The encoder:
EGND (Black)
+5VCC (Red)
EA- (Blue/White)
EA+ (Blue)
EB- (Yellow/White)
EB+ (Yellow)
The motor:
A+ (Red)
A- (Blue)
B- (Black)
B+ (Green)
Here comes the problem: when I run the program from centroid, the motor rotates in one direction both when I press X+ and X-. The DRO however shows that the motor moves in both directions.
I have checked that the connections and confirmed that they are firmly screwed. I have tried swapping the motor terminals but still there is no change.
I have gone through the wizard settings, tried Writing “bench-test” And there was no change, I then tried “other” Driver, but still no change. I have Calculated the motor and driver settings ensured I have them correctly in the wizard.
I have struggled with this problem for quite some time. Someone please explain to me what I am Not getting right.
Thank you.
RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Hello.
I am making my own CNC machine. I am using acorn CNC board controller, centroid software, YAKO close loop motor (YK286EC80A1) and YAKO stepper servo driver (SSD2608H).
My connections for testing on the table : The pulse signal is connected from port (ST1) on the acorn board to (PU-) on the driver, The direction signal from port (DR1) on the acorn is connected to (DR-) on the driver. (PU+) and (DR+) are connected to +5V power supply. The power supply has a common ground to the 24V power supply.
The motor and the encoder is connected perfectly well to the driver (I have counter checked this connection). this is how they are connected.
The encoder:
EGND (Black)
+5VCC (Red)
EA- (Blue/White)
EA+ (Blue)
EB- (Yellow/White)
EB+ (Yellow)
The motor:
A+ (Red)
A- (Blue)
B- (Black)
B+ (Green)
Here comes the problem: when I run the program from centroid, the motor rotates in one direction both when I press X+ and X-. The DRO however shows that the motor moves in both directions.
I have checked that the connections and confirmed that they are firmly screwed. I have tried swapping the motor terminals but still there is no change.
I have gone through the wizard settings, tried Writing “bench-test” And there was no change, I then tried “other” Driver, but still no change. I have Calculated the motor and driver settings ensured I have them correctly in the wizard.
I have struggled with this problem for quite some time. Someone please explain to me what I am Not getting right.
Thank you in advance.
I am making my own CNC machine. I am using acorn CNC board controller, centroid software, YAKO close loop motor (YK286EC80A1) and YAKO stepper servo driver (SSD2608H).
My connections for testing on the table : The pulse signal is connected from port (ST1) on the acorn board to (PU-) on the driver, The direction signal from port (DR1) on the acorn is connected to (DR-) on the driver. (PU+) and (DR+) are connected to +5V power supply. The power supply has a common ground to the 24V power supply.
The motor and the encoder is connected perfectly well to the driver (I have counter checked this connection). this is how they are connected.
The encoder:
EGND (Black)
+5VCC (Red)
EA- (Blue/White)
EA+ (Blue)
EB- (Yellow/White)
EB+ (Yellow)
The motor:
A+ (Red)
A- (Blue)
B- (Black)
B+ (Green)
Here comes the problem: when I run the program from centroid, the motor rotates in one direction both when I press X+ and X-. The DRO however shows that the motor moves in both directions.
I have checked that the connections and confirmed that they are firmly screwed. I have tried swapping the motor terminals but still there is no change.
I have gone through the wizard settings, tried Writing “bench-test” And there was no change, I then tried “other” Driver, but still no change. I have Calculated the motor and driver settings ensured I have them correctly in the wizard.
I have struggled with this problem for quite some time. Someone please explain to me what I am Not getting right.
Thank you.
RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Hello.
I am making my own CNC machine. I am using acorn CNC board controller, centroid software, YAKO close loop motor (YK286EC80A1) and YAKO stepper servo driver (SSD2608H).
My connections for testing on the table : The pulse signal is connected from port (ST1) on the acorn board to (PU-) on the driver, The direction signal from port (DR1) on the acorn is connected to (DR-) on the driver. (PU+) and (DR+) are connected to +5V power supply. The power supply has a common ground to the 24V power supply.
The motor and the encoder is connected perfectly well to the driver (I have counter checked this connection). this is how they are connected.
The encoder:
EGND (Black)
+5VCC (Red)
EA- (Blue/White)
EA+ (Blue)
EB- (Yellow/White)
EB+ (Yellow)
The motor:
A+ (Red)
A- (Blue)
B- (Black)
B+ (Green)
Here comes the problem: when I run the program from centroid, the motor rotates in one direction both when I press X+ and X-. The DRO however shows that the motor moves in both directions.
I have checked that the connections and confirmed that they are firmly screwed. I have tried swapping the motor terminals but still there is no change.
I have gone through the wizard settings, tried Writing “bench-test” And there was no change, I then tried “other” Driver, but still no change. I have Calculated the motor and driver settings ensured I have them correctly in the wizard.
I have struggled with this problem for quite some time. Someone please explain to me what I am Not getting right.
Thank you in advance.
-
- Posts: 669
- Joined: Wed Nov 15, 2017 8:25 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: Springfield, MO. USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Since you are able to move the motor without it creating a fault with the drive, that means the encoder wiring is correct. It also means your power wires are all correct or the motor would not move at all!
I'm not familiar with the drive and servo you are using but it looks like some of the Leadshine clones.
The reason I bring it up is some of them, and I say some, not all, can be programmed with a cable that plugs into the drive. They can be set up to respond to direction pulses in different ways. I'd have to have the manual for the drive to tell you what is what.
They work great once you get them set up right. The ones I have bought came set properly for step and direction but they were DC versions and not the AC version I see you have.
It does not appear to be an Acorn/Centroid issue though.
Dave C.
I'm not familiar with the drive and servo you are using but it looks like some of the Leadshine clones.
The reason I bring it up is some of them, and I say some, not all, can be programmed with a cable that plugs into the drive. They can be set up to respond to direction pulses in different ways. I'd have to have the manual for the drive to tell you what is what.
They work great once you get them set up right. The ones I have bought came set properly for step and direction but they were DC versions and not the AC version I see you have.
It does not appear to be an Acorn/Centroid issue though.
Dave C.
Grizzly G0678 Mill ,CNC conversion with Acorn. G4004G Lathe, Mach 3 conversion to Acorn.
-
- Posts: 2189
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Use a dc voltmeter across the +5 and DR1 terminal and take readings when moving that axis + and - with the jog arrows
Have you tried selecting "Invert signals" in the Wizard?
Have you tried selecting "Invert signals" in the Wizard?
-
- Posts: 669
- Joined: Wed Nov 15, 2017 8:25 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: Springfield, MO. USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Gary makes a good point! You should be able to see the dir signal go from high to low (voltage) when you change direction.Use a dc voltmeter across the +5 and DR1 terminal and take readings when moving that axis + and - with the jog arrows
Dave C.
Grizzly G0678 Mill ,CNC conversion with Acorn. G4004G Lathe, Mach 3 conversion to Acorn.
-
- Posts: 12
- Joined: Fri Feb 16, 2018 9:31 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Thank you for the reply.
Yes I measured. Upon pressing X+ the voltage goes to 4.9V and sticks to that value. Upon pressing X- the voltage drops to 0V.
And yes I also did try inverting the signal but in vain.
-
- Posts: 2189
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
This is weird, but I had that condition once when the dir+ and dir- wires were reversed. The drive silkscreen was wrong
Have you tried taking signal from the DB25 connector?
Have you tried taking signal from the DB25 connector?
-
- Posts: 12
- Joined: Fri Feb 16, 2018 9:31 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: No
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
It is stressing me out. I tried and the behavior is the same from both the screw connections and DB25.Gary Campbell wrote: ↑Fri Feb 16, 2018 1:47 pm This is weird, but I had that condition once when the dir+ and dir- wires were reversed. The drive silkscreen was wrong
Have you tried taking signal from the DB25 connector?
-
- Posts: 2189
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Assuming the motor is wired correctly and sounds normal (to me) when turning, maybe a bad drive?
Did you verify that the voltage changes ~0 to ~5v at the drive?
Have you tried reversing the wires (dir+ / dir-)
Did you verify that the voltage changes ~0 to ~5v at the drive?
Have you tried reversing the wires (dir+ / dir-)
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Does the drive have limit switch connections?
-
- Posts: 669
- Joined: Wed Nov 15, 2017 8:25 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: Springfield, MO. USA
- Contact:
Re: RE: CLOSE LOOP MOTOR MOVES ONLY IN ONE DIRECTION
Ok, Looking at the picture there is no Limit switch connections to this drive but there is a USB port. Having used similar leadshine drives I have connected the special cable and checked to see how the drive was programmed.
http://www.yankong.com/EN/proview-54-23.html
I went to this site and looked up your controller.
If switch 1 is set to "ON" the motor will only turn clockwise!
Set switch 1 to "off" for Pulse and direction.
Dave C.
http://www.yankong.com/EN/proview-54-23.html
I went to this site and looked up your controller.
If switch 1 is set to "ON" the motor will only turn clockwise!
Set switch 1 to "off" for Pulse and direction.
Dave C.
Grizzly G0678 Mill ,CNC conversion with Acorn. G4004G Lathe, Mach 3 conversion to Acorn.