Page 1 of 2

OAK with DYN4 showing encoder errors <resolved>

Posted: Thu Feb 11, 2021 9:47 pm
by skibum-engineer
Hi all,
My very first post here so please bear with me if its a bit incomplete or completely stupid.

I've wired up 3 servos (DMM 1.3kW) with DYN4 drives and the Centroid Oak/DMM drive cables.

After initial setup I'm trying to jog but get the following errors.
412 Xaxis (1) encoder differential error
455 Xaxis (1) encoder quadrature error

as well as a value of zero after tuning for parameter 341 (odd...)

I will attach the .zip report first thing tomorrow.

The servos do move when using the DMMDRV setup tool. I selected sinusoidal and successfully had motion.

Any thoughts or hints in the right direction are appreciated

Re: OAK with DYN4 showing encoder errors

Posted: Fri Feb 12, 2021 1:01 pm
by martyscncgarage
I thought I responded.
You are not providing enough information for us to give you useful suggestions.
PLEASE take the time to follow this post:
viewtopic.php?f=64&t=383

I have to assume you bought the cables that go from OAK to the DYN4 Drives?

Try and set GEAR and LINE numbers in DMMDRV, both to 2000 and set CNC12 Encoders to 8000
You have to be in PRECISION mode and you will have to run the TEST to set the DELAY in CNC12.
You can do this with motors off the machine.

Re: OAK with DYN4 showing encoder errors

Posted: Fri Feb 12, 2021 1:04 pm
by martyscncgarage
Did you happen to watch this video:

Re: OAK with DYN4 showing encoder errors

Posted: Fri Feb 12, 2021 2:06 pm
by cncsnw
Parameters 340-342 and Centroid's delay-time autotune are not relevant until after you get your motors moving under Oak control.

Go to the PID Configuration -> Encoder screen: F1/Setup -> F3/Config -> "137" -> F4/PID -> F3/Encoder.
Turn each motor shaft back and forth by hand.
Do you see the encoder position counting up and down, for each of the three motors?

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 10:59 am
by skibum-engineer
Thank you both very much for your replies and information

Marty,
I've attached the Report file.

I set the Gear and Line to 2000 for all three drives
I set the encoder count to 8000 for XYZ
I Checked that Precision Mode was enabled (Param 256 set to 2)
Tried to TUNE but Error: Status 6

cncsnw,
I tested the encoders as you said and they are giving values when moved.
https://we.tl/t-hpeX9eegzU

I Now Get a Drive 1 Fault as soon as I try to Jog X (no motion occurs)

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 11:09 am
by martyscncgarage
Do you have this sheet from DMM?

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 11:12 am
by martyscncgarage
You don't have the Servo drive enable ACTIVE LOW checked in DMMDRV.
Please go through the sheet I posted above. I used 2000 in gear and line number and 8000 encoder counts in Centroid software. But follow the instruction sheet to the letter and try again.
I am also assuming you bought the signal cables from DMM...

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 11:57 am
by skibum-engineer
Cables were from DMM yes
It worked!
I have motion on all three drives.
The DMMDRV panel settings didn't stick on the Z drive (the screenshot i shared previously)

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 12:30 pm
by martyscncgarage
Good to hear. Carry on.
Are you doing a mill?
Counter weighted head? Picture of the machine?
Be sure to use a line reactor on the power to the drives. Automation direct sells them. One properly sized line reactor is fine. I put mine on the line side of the Estop contactor.

Re: OAK with DYN4 showing encoder errors

Posted: Wed Feb 17, 2021 12:48 pm
by skibum-engineer
I'm building a gigantic 3D Printer for construction
YEs counterweighted head, but I'll add a brake resistor if needed

I will actual have dual Xaxis and then a Zservo with break.
Setup picture will follow in a month or so.

Noted for the Reactor.