Trouble getting servo motor movement (DMM DYN4)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

P Cook
Posts: 5
Joined: Fri Nov 27, 2020 1:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F18279-0211214361
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Trouble getting servo motor movement (DMM DYN4)

Post by P Cook »

Good day gents, I'm in the process of converting a Microcut PBM-4EVS mill to CNC using acorn and DMM tech servo motors (DYN4 drives, 750w motors on XYZ and a 1.8kw motor for an A rotary axis.
To be clear on the machine end, We've scrapped the factory wiring and have started from scratch. This machine is now single phase 240v with 3 phase spindle motor controlled via Lenze VFD.
On the control end, My electrician and I did a bench test a couple weeks ago at their shop where we got controlled servo motor movement while hooked up to each drive via DMM "tuning cable". We then tried communicating through CNC12 but only got as far as getting random,jerky movement of motors. Unfortunately it was the end of the work week for him and we were on a test bench in his shop. We packed everything up and have spent this week mounting everything into the machine in my shop.
All that to say, we spent this Friday again "bench testing" (motors free to turn) on the machine but I've been unable to solve the random,jerky motor movement issue.
I can power up the acorn board, load CNC12 (get comms with acorn board), fire up the drives, clear estop and everything is still ok. Spindle works, I can turn on/off coolant/air aux outputs.
However as soon as I try to jog an axis it starts "creeping" on its merry way, in the direction I jogged it, in a slow, random, jerky way. If I jog it in the opposite direction it responds by "creeping" in that direction. estop stops them.
The acorn board seems to be functioning (we've got the spindle and auxiliary outputs working just fine)
I've done my best to double check the wiring against the diagrams supplied and I've gone through the drives/wizard several times to ensure pulse counts per rev match up... What am I missing here? (granted I've been at it for 17hrs now and may well be crosseyed)
Any help would be greatly appreciated!

Please see attached: report, Dmm wiring diagtam, Dmm-Acorn set up and google photos album: https://photos.google.com/album/AF1QipP ... yKRjJ_RsFk
If there's any further info required, let me know!
Paul.
Attachments
report_E415F6F18279-0211214361_2021-07-10_00-18-10.zip
(608.34 KiB) Downloaded 94 times
DYN4 AC Servo Drive to Centroid Acorn - 5040427 (1).pdf
(398.49 KiB) Downloaded 109 times
Apr 2, 2019 - 4 Axis DYN4 HHHT 220VAC - 001.pdf
(54.05 KiB) Downloaded 102 times
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Trouble getting servo motor movement (DMM DYN4)

Post by martyscncgarage »

Try and Set the Gear and line numbers to 2000 in DMMDRV.
Set Motor steps per motor rev in the Wizard to 8000 and retest.

Your Google Album link does not work.

Are you connected to the Acorn Header terminals or the DB25 for step and dir?

Did you buy the DB25 signal cables from DMM or did you make up your own and follow the Centroid schematic?

I would have continued bench testing a drive and motor until I had it operating correctly...before wiring it up on the machine.

Simple wiring and bench testing until successful motor control from Acorn CNC12 first.....

Marty

This is a rather old video that I did wiring up a DYN4 and benchtesting one: (PLEASE USE the Wizard to load the DYN4 Drive, this video is old and for early versions of CNC12)


Side note:
Many are forgoing hooking up the step and direction signals to the header with 5VDC and connecting the signals to the DB25.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
P Cook
Posts: 5
Joined: Fri Nov 27, 2020 1:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F18279-0211214361
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Trouble getting servo motor movement (DMM DYN4)

Post by P Cook »

Thanks for the reply Marty. I’ve read and re-read it this week, re-watched your video, and tried several configurations. So far, with no further success.
Each motor bench tests fine with dmm tuning cable. Acorn/cnc12 open fine and will “influence” a motor but not in a controlled manner.
I have disconnected all but one axis from acorn to simplify troubleshooting.

While dmm specifies dyn4 drive line number and steps per rev in acorn set up wizard to both be set to 8000, I have also tried your recommendation of 2000 and 8000 respectively. Seemingly without any difference either way.

I am connected to the acorn header terminals using dmm supplied db25 cable.

I’m not sure why the google link isn’t working, please see attached pictures of my cabinet/acorn board.

I took a 5min video of my set up, powering on, checking drive setting with tuning cable, firing up cnc12, demonstrating the issue and reviewing the wizard parameters. I will post to YouTube and provide a link below.
Attachments
image.jpg
image.jpg
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Trouble getting servo motor movement (DMM DYN4)

Post by martyscncgarage »

Did you make sure you put them back into step and direction mode in DMMDRV?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Trouble getting servo motor movement (DMM DYN4)

Post by Muzzer »

As Marty suggests, the comms link to the DMMs talks to them over RS232, yet you need to change the mode back to step/dir before coming out of the tuning software. otherwise it will ignore the Acorn signals.

You can probably hard wire the servo enable (SEN) inputs to the servos initially and many people simply don't use the enable output from Acorn anyway. I forget how I had to wire my DMMs.

Are you sure you have the right drive voltage for the servo inputs (the required series resistor depends on the drive voltage) - and supplied the +24V(?) line for those control inputs? Some servos require you to provide the 24V yourself, others supply it internally.
P Cook
Posts: 5
Joined: Fri Nov 27, 2020 1:17 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F18279-0211214361
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Trouble getting servo motor movement (DMM DYN4)

Post by P Cook »

Thanks for the replies, here is a link to the you tube video I made last night:

Drives are in step/direction

I can re-check voltage here in a minute, I'm using the supplied power supply and believe I've wired everything to DMM/Acorn scematics but you never know...
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Trouble getting servo motor movement (DMM DYN4)

Post by Muzzer »

So it turns even with CNC12 not running. What happens if you actually disconnect the step and dir lines? Perhaps I missed something but it almost looks as if the DMM drive is doing this independently of the rest of the system.

As Marty says, perhaps the time has come to whip one of them out and get it running on the bench, starting with just the drive and servo.
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Trouble getting servo motor movement (DMM DYN4)

Post by martyscncgarage »

You have wiring problems.
Motor should not be turning at all.
Where did you get the DB25 cable you connected to ACORN?
Did you not buy the cables from DMM?

You should have logic to the drives powered all the time when the control comes on.
Contactors should be tied to NOFAULT OUT on Acorn.

You didn't NEED all those contactors....yet DMM keeps pushing users to install them....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Trouble getting servo motor movement (DMM DYN4)

Post by martyscncgarage »

Please post a Fresh report as well.
Your last report also shows communication errors:
You can see these by pressing F7 Utility, F9 Logs, F1 Errors
The PC/MPU requests are between Acorn and the PC (your laptop, which is not recommended)

Did you bench test one DYN4 and one servo motor with Acorn after you ran the Acorn bench tests?

Marty

(4) 07-09-2021 23:17:15 9033 Reset Initiated, Press Reset to Clear
(4) 07-09-2021 23:17:15 944 MPU requested resend # 18
(4) 07-09-2021 23:17:15 946 PC resending # 852
(4) 07-09-2021 23:22:28 944 MPU requested resend # 19
(4) 07-09-2021 23:22:28 946 PC resending # 861
(4) 07-09-2021 23:22:29 944 MPU requested resend # 20
(4) 07-09-2021 23:22:29 946 PC resending # 883
(4) 07-09-2021 23:22:30 944 MPU requested resend # 21
(4) 07-09-2021 23:22:30 946 PC resending # 891
(4) 07-09-2021 23:22:30 944 MPU requested resend # 22
(4) 07-09-2021 23:22:30 946 PC resending # 909
(1) 07-09-2021 23:22:40 204 Exiting CNC...Normal Exit (66)
(1) 07-09-2021 23:23:00 199 CNC Started
(4) 07-09-2021 23:23:05 944 MPU requested resend # 14
(4) 07-09-2021 23:23:05 946 PC resending # 666
(1) 07-09-2021 23:23:08 CNC12 Acorn Mill v4.62
(4) 07-09-2021 23:23:08 9033 Reset Initiated, Press Reset to Clear
(4) 07-09-2021 23:23:22 4032 Reset Cleared
(4) 07-09-2021 23:23:23 2051 Manual Coolant Mode
(4) 07-09-2021 23:24:04 944 MPU requested resend # 15
(4) 07-09-2021 23:24:04 946 PC resending # 668
(4) 07-09-2021 23:24:10 9033 Reset Initiated, Press Reset to Clear
(4) 07-09-2021 23:24:33 4032 Reset Cleared
(1) 07-10-2021 0:17:59 Creating report...
(1) 07-10-2021 0:18:01 Saved report to C:\Users\User\report_E415F6F18279-0211214361_2021-07-10_00-17-59.zip
(1) 07-10-2021 0:18:10 Creating report...
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
TheKitMill
Posts: 153
Joined: Wed Sep 06, 2017 1:52 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

Re: Trouble getting servo motor movement (DMM DYN4)

Post by TheKitMill »

You might start with cleaning up the panel. As Marty Said you don't need all those contactors wire raceway is a nice way to keep it clean and I would suggest the CNC4PC boards to connect Drives to Acorn I have installed about 10 Sets now and they work well and are easy to set up Attached is a DMM set up like yours. You might want to disconnect servos from machine and do an Autotuned then change the setting back to step and direction and save.

Marty and Gary both have some really nice panel examples to model your on.
Post Reply