glass scale on MPG input/OAK

_______________________________________________________














LOGIN below to POST your questions and comments on AjaxCNC products.

Moderator: cnckeith

Post Reply
tblough
Posts: 131
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 100505
100327
102696
Location: Boston, MA
Contact:

glass scale on MPG input/OAK

Post by tblough » Sun Jan 07, 2018 6:15 pm

Well, I'm trying something a little out of the ordinary. I'm trying to hook a glass scale up to the MPG encoder inputs on my OAK board. I think I've set everything correctly, but obviously not as I'm not displaying any encoder activity on the encoder screen.

I've set parameter 314 (Axis 7 encoder) to 15 for the MPG input. I have another glass scale (X) on encoder 5 so I've set parameter 259 (Manual axis) to 2^4+2^6 = 80 to make axis 5 and 7 manual axis, and I've set up the motors as below:
IMG_20180107_152413.jpg
Unfortunately the encoder screen does not show any activity on axis 7.
IMG_20180107_164429.jpg
Does anyone have any ideas what I'm missing? Also, what is the field DQOA on the Encoder screen?
Attachments
report_0207170333_2018-01-07_16-57-50.zip
(217.86 KiB) Downloaded 9 times
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.

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

Re: glass scale on MPG input/OAK

Post by cncsnw » Mon Jan 08, 2018 3:23 am

The DQOA column indicates what errors have been detected on that encoder. I don't know off the top of my head what 'O' and 'A' signify, but 'D' and 'Q' are for Differential and Quadrature errors.

The 1 in the D column for your W encoder indicates a differential error: either your A and /A pair, or your B and /B pair, or both, are not being driven to opposite states. Somehow you will need to get a meter in there and measure the voltage between the 0V common and each of the four channel wires.

Ideally do these measurements on the Oak board itself, so if the problem is with one of the tiny JST crimp contacts, you will find out.

tblough
Posts: 131
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 100505
100327
102696
Location: Boston, MA
Contact:

Re: glass scale on MPG input/OAK

Post by tblough » Wed Jan 10, 2018 11:46 am

Marc,

Haven't had a chance to do any further debugging yet. Next step is to pull the MPG off the mill and hook it up to the MPG port on the lathe and verify that I am getting activity. If that's good, I'll start debugging the cable. I'll keep you posted.

Thanks for all your help.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.

tblough
Posts: 131
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 100505
100327
102696
Location: Boston, MA
Contact:

Re: glass scale on MPG input/OAK

Post by tblough » Thu Jan 11, 2018 10:32 pm

Marc,

Seems like the idiot married to my current wife couldn't wire a simple DB9 connector. No problems with the tiny crimps in the MPG connector but he transposed 2 pairs in the DB9. Wires swapped and we're cooking with gas now!

Oak with two servos, dual handwheels, X & Z glass scales, and spindle encoder. Any tips on setting Deadband and Velocity to get these scales dialed in?
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests