Axis motion after electronics moved to new enclosure

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

Houseman303 wrote: Tue May 14, 2024 11:20 pm
If both axes move in the same direction in one direction but opposite in the other direction, then it shouldn't be the wiring. Software pairing in CNC 12 had problems?
I'm suspicious of that also. I updated CNC12 to the newest version which eliminated the old version after this problem arose. The new version, one would think, would eliminate any possible misconfiguration or corruption from the older version when it was overwritten.


SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

Ken Rychlik wrote: Wed May 15, 2024 6:31 am Basically if it worked before you did the swap, you missed something in the wiring swap. One loose strand of wire to the plug, can mess things up.

I'm surprised to see you are not using the db25 for the step/dir outputs. What are the model number and brand of drives?
The electronics are the ones that came with the motion control computer (Pilot Pro) that came with the machine. I can't really find documentation about the drivers except they are model 2M542. It seems very similar to a DM542 that is widely available.


Ken Rychlik
Posts: 413
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by Ken Rychlik »

Considering they may be similar to the DM leadshine, they should probably be hooked up with the breakout board in the db25.

When you updated the software did you restore the report, or start from scratch setting up the machine?
Ken


SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

Ken Rychlik wrote: Wed May 15, 2024 6:10 pm Considering they may be similar to the DM leadshine, they should probably be hooked up with the breakout board in the db25.

When you updated the software did you restore the report, or start from scratch setting up the machine?
They are exactly like the DM542E except these don't have the alarm function. I've never messed with a setup that uses the db25. My metal cutting CNC uses gecko drives that are wired directly to a propitiatory break out board that doesn't have a db25 plug. What are the advantages of using it?

I installed the updated software from scratch and didn't restore the report.


SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

I just noticed (and might take further testing) that when the YL and YR axis are moving in opposite directions that for one revolution of YR there is about a quarter revolution of YL. When they are moving the same direction the screws are moving at a 1:1 ratio.

Things done to date without a change (unless noted);
1. Swapped in a known working stepper driver in the Left Y (YL).
2. Swapped X and YL stepper driver.
3. Built new Direction cable for the YL.
4. Two people have compared the wire order and DIP switch positions on the X,YL,Z, and YR drivers up to the Acorn board and all are identical.
5. Completely disassembled, cleaned, inspected, and reassembled the plugs on the Acorn end and the driver end of the YL cables.
6. Checked continuity of the wires in the YL circuit. Each cable reads zero ohms resistance.
7. Swapped H2 and H3 plugs resulting in the problem moving to the right Y axis.
8. Completely fresh install of CNC12.
9. I turned software pairing off in CNC12 and the left axis would only move in the Y(L)+ direction.

I've done some other things, but its been a long week.

From that list, I think it is safe to say that the stepper drivers are ok, the wiring is probably ok, and the Acorn board are OK. I'm running out of ideas. Could it be in CNC12?


Ken Rychlik
Posts: 413
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by Ken Rychlik »

All wiring diagrams that are made for the dm series leadshine drivers use the db25. It is to do with 5v step/dir signals instead of 24v I believe. Most servo's tie directly into the board. I would find one of the wiring diagrams for the dm series drivers and go with that. It is proven to work. A 10-15 dollar breakout board isn't a lot to invest to find out.

Are you running with 5v logic or 24v the way you have it wired?
Attachments
S14901.r3.pdf
(84.85 KiB) Downloaded 3 times
Ken


Gary Campbell
Posts: 2306
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: Axis motion after electronics moved to new enclosure

Post by Gary Campbell »

Yes, confirmed. Leadshine drives and their clone must be connected to the DB25 header and pulse set to 100k htz
GCnC Control
CNC Control & Retrofits
https://www.youtube.com/user/Islaww1/videos


SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

Ken Rychlik wrote: Wed May 15, 2024 10:36 pm All wiring diagrams that are made for the dm series leadshine drivers use the db25. It is to do with 5v step/dir signals instead of 24v I believe. Most servo's tie directly into the board. I would find one of the wiring diagrams for the dm series drivers and go with that. It is proven to work. A 10-15 dollar breakout board isn't a lot to invest to find out.

Are you running with 5v logic or 24v the way you have it wired?
The input to the step, direction, and enable pins is, according to the documentation, 5V but it hasn't been verified by a meter.

A BOB with a db25 plug is on the way. I'm definitely trying that solution.


Ken Rychlik
Posts: 413
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by Ken Rychlik »

The enable is not really needed. If it is left off, when the drives are powered up, they are enabled.
Ken


SMCNC
Posts: 10
Joined: Thu Mar 07, 2024 2:47 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7788707CA-1123226664
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Axis motion after electronics moved to new enclosure

Post by SMCNC »

Getting BOB with a DB25 and wiring from the drivers to the BOB worked like a charm. I'm eternally grateful for your suggestion. Many many thanks.

Now it is just a matter of making the tangle of wires look like something presentable.
withdb25.jpg


Post Reply