OAK/DYN4

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

cncsnw
Posts: 2809
Joined: Wed Mar 24, 2010 5:48 pm

Re: OAK/DYN4

Post by cncsnw »

Just to be sure, when you go into the PID screen, when facing the motor shaft, and turning it Clockwise encoder count goes up (positive) when turning counter clockwise, encoder count goes down (negative)
Interesting. This says that DMM servos use a convention opposite that of Yaskawa and (I think) Delta; opposite Centroid's DC servo motors; but the same as Centroid's AC motors used with the SD-series drives. Not that it matters much as long as a command for positive movement results in positive encoder counts coming back; but it is nice to have some predictability for troubleshooting.
martyscncgarage
Posts: 9810
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: OAK/DYN4

Post by martyscncgarage »

cncsnw wrote: Mon Jan 20, 2020 5:43 pm
Just to be sure, when you go into the PID screen, when facing the motor shaft, and turning it Clockwise encoder count goes up (positive) when turning counter clockwise, encoder count goes down (negative)
Interesting. This says that DMM servos use a convention opposite that of Yaskawa and (I think) Delta; opposite Centroid's DC servo motors; but the same as Centroid's AC motors used with the SD-series drives. Not that it matters much as long as a command for positive movement results in positive encoder counts coming back; but it is nice to have some predictability for troubleshooting.
Hi Marc, you made me run out and double check.
Yes when facing the motor shaft turning manually clockwise, the encoder count increases. Counter clockwise, the encoder counts decrease.
Jogging any axis in the positive direction, the motor shafts turn clockwise and of course, encoder counts increase and vice versa.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
AcornJosh
Posts: 75
Joined: Tue Apr 17, 2018 8:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: none

Re: OAK/DYN4

Post by AcornJosh »

All,
I Teamviewered into OC customs machine. It does move under control however after 1 turn, it throws a position error in cnc12. I see the encoder counts but I also see the error count go up at the same time. One strange thing I noticed is the Z encoder index pulse appears randomly and flickers. I think this might be confusing the software causing the error count??? OCcustom has an O scope and is going look into the encoder signals.
When requesting support READ THIS POST first. viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)
martyscncgarage
Posts: 9810
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: OAK/DYN4

Post by martyscncgarage »

AcornJosh wrote: Tue Jan 21, 2020 10:14 am All,
I Teamviewered into OC customs machine. It does move under control however after 1 turn, it throws a position error in cnc12. I see the encoder counts but I also see the error count go up at the same time. One strange thing I noticed is the Z encoder index pulse appears randomly and flickers. I think this might be confusing the software causing the error count??? OCcustom has an O scope and is going look into the encoder signals.
There is an issue with shielding the Oak-> Dyn4 cable I found with a previous cable that DMM made. It was fixed.
He does not answer me. DID HE buy the cable from DMM or did he fabricate his own?

I had to tie the data shield ground of the Centroid flying lead cable to the DB25 and DB9 connectors to eliminate this problem
My hunch is he has the same problem, but until he takes pictures of his wiring or describes his wiring more. We can't help him.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
burke_wl
Posts: 20
Joined: Wed May 22, 2019 9:14 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: 0506190790

Re: OAK/DYN4

Post by burke_wl »

with my Oak/DYN4 setup I had to swap pins 3 and 5, 4 and 6, 9 and 11, 10 and 12 on the communication cable at the oak end. Encoder A+,A- B+,B- to satisfy the requirements in the Oak installation manual on pg.40 (encoder absolute must count positive spinning shaft CCW looking from motor drive end) Both axis cables needed swapped. Not sure if it was really needed, but at the time it was the only way I could find to comply with the Oak setup manual
tblough
Posts: 2345
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
Location: Boston, MA
Contact:

Re: OAK/DYN4

Post by tblough »

To invert an encoder to change the + rotation direction, you need to swap A+ with B+ and A- with B-. No changes need to be made to the index lines.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
martyscncgarage
Posts: 9810
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: OAK/DYN4

Post by martyscncgarage »

burke_wl wrote: Tue Jan 21, 2020 5:34 pm with my Oak/DYN4 setup I had to swap pins 3 and 5, 4 and 6, 9 and 11, 10 and 12 on the communication cable at the oak end. Encoder A+,A- B+,B- to satisfy the requirements in the Oak installation manual on pg.40 (encoder absolute must count positive spinning shaft CCW looking from motor drive end) Both axis cables needed swapped. Not sure if it was really needed, but at the time it was the only way I could find to comply with the Oak setup manual
Did you make your own com cable or did you buy from Centroid?
Are your DB9 and DB25 shells grounded or floating?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cncsnw
Posts: 2809
Joined: Wed Mar 24, 2010 5:48 pm

Re: OAK/DYN4

Post by cncsnw »

I had to swap pins 3 and 5, 4 and 6, 9 and 11, 10 and 12 on the communication cable at the oak end. Encoder A+,A- B+,B- to satisfy the requirements in the Oak installation manual on pg.40 (encoder absolute must count positive spinning shaft CCW looking from motor drive end) Both axis cables needed swapped. Not sure if it was really needed, but at the time it was the only way I could find to comply with the Oak setup manual
That was not really necessary. You could have just set (or not set) Direction Reversal as needed. If the setup manual says that the encoder must count positive when turning a particular direction, then it is being unnecessarily restrictive, probably for the sake of simplicity.

The real rule is this:
- A positive movement command must cause movement that results in positive-going encoder counts.
- A negative movement command must cause movement that results in negative-going encoder counts.

The control does not know or care which direction the motor shaft is turning. All that matters is that the drive and motor respond as stated above.
burke_wl
Posts: 20
Joined: Wed May 22, 2019 9:14 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: 0506190790

Re: OAK/DYN4

Post by burke_wl »

[/quote]

Did you make your own com cable or did you buy from Centroid?
Are your DB9 and DB25 shells grounded or floating?
[/quote]

I bought the communication cables from DMM. The DB9 and DB25 shells were originally ungrounded. I sent them back to DMM and they reworked the harness.
martyscncgarage
Posts: 9810
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: OAK/DYN4

Post by martyscncgarage »

burke_wl wrote: Fri Jan 24, 2020 10:54 am
Did you make your own com cable or did you buy from Centroid?
Are your DB9 and DB25 shells grounded or floating?
[/quote]

I bought the communication cables from DMM. The DB9 and DB25 shells were originally ungrounded. I sent them back to DMM and they reworked the harness.
[/quote]

So that was before you were having these issues?
I'm not sure what to say or do to help you. I use matched components and DYN4 with Oak in Precision mode.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply