Two channel Quadrature encoder on parallel port

More
25 Aug 2015 18:07 #61779 by coolfox
Apologies if something wrong this is my first topic.
Can someone please help newbie, and explain if (how) possible to use only TWO ( A and B NO Z index) channel quadrature encoder on parallel port .
Encoder fitted to brushed DC Motor, with PWM + Direction drive also on parallel port.
This is test setup and don't need super performance.
Just stumble into luck of Z output from encoder and seems to me Linuxcnc can't close servo loop without?
Many thanks in advance

Please Log in or Create an account to join the conversation.

More
25 Aug 2015 21:02 #61781 by PCW
Sure, just need 4 free input pins on a parallel port or other input device
(you can have up to 8 software encoders)

man encoder

In a terminal window will display the encoder manual page
The following user(s) said Thank You: coolfox

Please Log in or Create an account to join the conversation.

More
26 Aug 2015 06:53 #61799 by tommylight
Use the etch servo config that comes with LinuxCNC, i did try it with several setups and it did work quite nicely after a bit of tuning. It will seem frustrating at first try but after about an hour of messing with the pid settings, made all kinds of motors and electronics work nicely with the added encoder.

Regards
Tom

Please Log in or Create an account to join the conversation.

More
28 Aug 2015 19:18 #61862 by coolfox
Thanks Guys for input
I kinda feel LinuxCNC need this I with is Index signal from encoder? My question is can LinuxCNC PID loop tune with out this Index I output from encoder ( my particular encoder does not have I only A and B outputs)
Many thanks
Ilia

Please Log in or Create an account to join the conversation.

More
28 Aug 2015 21:09 #61867 by PCW
Index is not needed for tuning

encoder index signals are used for two things in linuxcnc:

1. More precise homing of axis
2 Spindle synchronized motion like threading or rigid tapping (spindle encoder)
The following user(s) said Thank You: coolfox

Please Log in or Create an account to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum