encoder

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
beerexalan
Posts: 4
Joined: Sun Sep 19, 2021 9:31 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F7B180-0414214667
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

encoder

Post by beerexalan »

Lathe : Techno-Isel
encoder: omron e6b2-cwz1x
Controller: Acorn

Chanel b flatlines when connected to Acorn.

Encoder works when not connected to machine.

What is the next step to resolve this problem?
Attachments
report_E415F6F7B180-0414214667_2021-09-20_11-52-02.zip
(581.75 KiB) Downloaded 48 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: encoder

Post by martyscncgarage »

beerexalan wrote: Mon Sep 20, 2021 1:14 pm Lathe : Techno-Isel
encoder: omron e6b2-cwz1x
Controller: Acorn

Chanel b flatlines when connected to Acorn.

Encoder works when not connected to machine.

What is the next step to resolve this problem?
Assume this is the cheap ebay knock off of a GENUINE Omron encoder?
Provide us the color code of the encoder wires to which pin you connected the wires to.
Post a picture of your wiring to the DB9 connector.

Don't assume your encoder is good....how do you know it works when not connected to the machine? How do you test? Post video clip or photo.
I do not personally use the cheap ebay knock offs of the Omron encoder. Spend the money and buy a decent one from Automationdirect.com

BUT lets look at how you have it wired and connected first.
Have you gone into the PID screen F1 Setup / F3 Config / F4 PID / F3 Encoder
To watch the encoder counting up and down as you turn it?
Do you see the asterisk flash next to Axis 5?


Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
beerexalan
Posts: 4
Joined: Sun Sep 19, 2021 9:31 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F7B180-0414214667
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: encoder

Post by beerexalan »

This gets difficult for me.

Tested with scope when powered by a battery. All outputs work.
Checked with scope when connected to machine. Acorn channel b and -b was flatlined. Channel a and -a worked.
Swapped channel a and b. Checked with scope and Acorn b and -b flatlined.

When I had the encoder that came with the machine I get erratic counts on channel b. Channel b was flatlining off and on. That encoder is from Austria. I can find little information in that encoder but appears to be a dynapar. I was blaming it on encoder then.
Attachments
test setup.jpg
connector.jpg
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: encoder

Post by cncsnw »

It is hard to tell from looking at your picture, but:
1) it appears you have one of your battery leads, and the blue wire from the encoder, on pin 4
2) it appears you have some wire from the encoder on pin 1

Both of those things would be wrong, unless the printing on your board for pins 1-5 is backwards.

Pin-out for a DE9 encoder plug on a Centroid control is as follows:
pin 1: no connection
pin 2: 0VDC, also known as COM or GND
pin 3: channel /Z, or Z-
pin 4: channel /A, or A-
pin 5: channel /B, or B-
pin 6: channel Z, or Z+
pin 7: channel A, or A+
pin 8: channel B, or B+
pin 9: +5VDC, also known as Vcc
beerexalan
Posts: 4
Joined: Sun Sep 19, 2021 9:31 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F7B180-0414214667
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: encoder

Post by beerexalan »

The wiring is not wrong. The battery is connected to pin 2 and 0v and common and pin 9 and vcc and +.

Pin 1 is nc. The screw is even loose.
pinout is:
1 || shield
2 || 6
3 || 7
4 || 8
5 || 9
connector end

As pictured on the setup the encoder functions correct. It only fails when connected to the Acorn.
brown is vcc
blue is gnd
white is B
black is A
orange is Z
not has red stripe on wire.
only pins 4 and 7 flatline when connected.

So am backwards calling it b then it is a.
I have swapped a and b from the encoder and the result is the same. The Acorn does not care about that as long signals are 90 degrees out of phase to each other.

I appears the board is loading the channel pulling too much current and not allowing the switching to occur.
tblough
Posts: 3071
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: encoder

Post by tblough »

What i see is pin 1 white, pin 2 black, pin 3 orange, pin 4 blue and black battery, and pin 5 is not connected. Cant read the numbers on the right side in the photo.

Definitely wired wrong.
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: 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: encoder

Post by martyscncgarage »

The numbers next to the terminals correspond to the pin number in the connector.

I agree, it does not look like it's wired correctly.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
beerexalan
Posts: 4
Joined: Sun Sep 19, 2021 9:31 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F7B180-0414214667
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: encoder

Post by beerexalan »

:oops: Yep wired wrong.
Output that did not work was wired to ground. Scope showed good signals on other outputs. ???
Can't wait to see how it works.
The machine seems to like it.

Thanks
Rex
Post Reply