can linux cnc can cut a thread using only breakout board without using mesa card

More
07 Jul 2019 08:14 #138785 by Dinuka_Shehan
I am new to linux cnc.
i am using cheap 5$ cnc breakout board and Tb6600 stepper drivers.
can i cut with threads with using only quadrature encoder without using expensive mesa cards.

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

More
07 Jul 2019 08:43 #138786 by pl7i92
YES
you can connect a simple Induktiv Switch or a low cost encoder 100ppr to the China BOB
with a 100ppr you will be able to perform realy good treading on a lathe
getting only one signal per rotation is working also you need to drive in and out longer saying 5 turns in 2 turns out
while 100ppr is near zero

200k is the limit of the inputs at this board
the 100ppr will be times by 4 as the edge trigger so you get 400signals per rotation

there are also 25ppr out but the 100ppr is the most used and cheepest

Homemade ones also work
The following user(s) said Thank You: Dinuka_Shehan

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

More
08 Jul 2019 06:36 #138840 by Dinuka_Shehan
Hi,
Thank you for reply.
i am using this bob and going to use this encoder 2000ppr.
can i use 2000ppr encoder for this
Attachments:

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

More
08 Jul 2019 07:50 #138843 by pl7i92
no a 2000ppr is way to mutch for this board
it is a 200k bord max so only 100rpm may be working but i guss it can only take 50rpm on a 2000ppr
while on a 100ppr it takes about 1000rpm

you can only use pin10 as the encoder as it is the fastest parport input
The following user(s) said Thank You: Dinuka_Shehan

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

More
08 Jul 2019 08:19 #138846 by Dinuka_Shehan
how to connect and there are coding for that?
pwm settings in stepconfig how to fill it?

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

More
08 Jul 2019 08:26 #138847 by Dinuka_Shehan
Attachments:

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

More
08 Jul 2019 15:36 #138867 by pl7i92
you can use the phaseA
it is only needed
in
linuxcnc.org/docs/html/man/man9/encoder.9.html

if you like to get indexing for real RPM it is also to be connected here

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

More
08 Jul 2019 15:43 #138869 by pl7i92
here is a example
loadrt encoder
addf encoder encoder.capture-position servo-thread
addf encoder.update-counters base-thread

net rawquada parport.0.pin-10-in encoder.0.phase-A
net rawquadb parport.0.pin-11-in encoder.0.phase-B



YOU may see some jitter if so use Debouce
loadrt encoder
loadrt debounce cfg=2

addf debounce.0 base-thread
addf encoder encoder.capture-position servo-thread
addf encoder.update-counters base-thread

net rawquada parport.0.pin-10-in debounce.0.0.in
net rawquadb parport.0.pin-11-in debounce.0.1.in

net cleanquada debounce.0.0.out encoder.0.phase-A
net cleanquadb debounce.0.1.out encoder.0.phase-B
The following user(s) said Thank You: Dinuka_Shehan

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

More
08 Jul 2019 17:05 #138877 by Clive S
I think you need Index and A to do threading. For ridged tapping you need index +A + B
The following user(s) said Thank You: Dinuka_Shehan

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

More
08 Jul 2019 17:06 #138878 by Dinuka_Shehan
I'm just new to linux cnc.
I want to know how to add this code to my settings.

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

Time to create page: 0.131 seconds
Powered by Kunena Forum