Two channel Quadrature encoder on parallel port
25 Aug 2015 18:07 #61779
by coolfox
Two channel Quadrature encoder on parallel port was created 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
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.
25 Aug 2015 21:02 #61781
by PCW
Replied by PCW on topic Two channel Quadrature encoder on parallel port
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
(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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18510
- Thank you received: 6182
26 Aug 2015 06:53 #61799
by tommylight
Replied by tommylight on topic Two channel Quadrature encoder on parallel port
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
Regards
Tom
Please Log in or Create an account to join the conversation.
28 Aug 2015 19:18 #61862
by coolfox
Replied by coolfox on topic Two channel Quadrature encoder on parallel port
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
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.
28 Aug 2015 21:09 #61867
by PCW
Replied by PCW on topic Two channel Quadrature encoder on parallel port
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)
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