7i76 using a spindle encoder input for index axis0

More
24 Jun 2016 21:25 #76603 by finemeca
Hello,

I have Delta ASDA-B2 drivers.
I command in step / dir

www.delta.com.tw/product/em/motion/motio...B2_M_EN_20130906.pdf

I would use HOME USE_INDEX for axis.0 on a card 5i25 and 7i76.
I have a spindle encoder for connection with phase A and Z (not currently connected).

in the doc

ENCODER INTERFACE
The 7I76 provide a one channel encoder interface with index. This is intended as
a spindle encoder but can be used for other purposes. The encoder input can be
programmed for differential or single ended encoders. The encoder interface also provides
short circuit protected 5V power to the encoder. When used with single ended encoders,
the ENCA+, ENCB+ and IDX+ signals are wired to the encoder and the ENCA-,ENCB-,
and IDX- terminal left unconnected.


Can I connect this
net x-index-enable hm2_5i25.0.7i76.0.0.encoder.01.index-enable <=> axis.1.index-enable


using the input : ENCB+

Best regards

Pierre

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

More
24 Jun 2016 21:48 - 24 Jun 2016 21:49 #76607 by PCW
You can use a single encoder pin + index but you must

1. Use the 7I76 ENCA+ input
2. Set the encoder to up/down mode (this uses the "A" input for count and the "B" input for direction)

A "A"+ index encoder can be used for threading but not rigid tapping
Last edit: 24 Jun 2016 21:49 by PCW.

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

More
25 Jun 2016 08:42 - 25 Jun 2016 08:55 #76636 by finemeca
Hello PCW,

Do you think it works well ?

This is a latte with spindle encoder and the index on drive axis.0
I make two encoders :

For spindle : encoder.00
For axis.0 : encoder.01

For the encoder spindle thread enc:

ENCA+ phase A
IDX + index

For the encoder HOME USE_INDEX axis.0 :

ENCB+ index-enabl

Can I connect this :

net spindle-velocity hm2_5i25.0.encoder.00.velocity => motion.spindle-speed-in
net spindle-index-enable hm2_5i25.0.encoder.00.index-enable <=> motion.spindle-index-enable
net x-index-enable hm2_5i25.0.7i76.0.0.encoder.01.index-enable <=> axis.1.index-enable

forum.linuxcnc.org/forum/49-basic-config...-in-hal?limitstart=0
Last edit: 25 Jun 2016 08:55 by finemeca.

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

More
25 Jun 2016 12:50 #76640 by PCW
How is the second encoder connected? the 7I76 only has one encoder connection

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

More
25 Jun 2016 12:58 #76641 by finemeca
ah this is a problem

On this lathe, I need an encoder on the spindle to the thread.

For the HOME USE_INDEX axis.0 how ?

I also have a 7i84 to connect buttons on a panel.
and jog wheels

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

More
25 Jun 2016 13:12 #76643 by PCW
The 7I76 encoder input is intended for use with a spindle with encoder and index

Are you saying you have a additional motion axis that needs an index input?
Are you trying to orient your spindle?

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

More
25 Jun 2016 13:16 #76644 by finemeca
No this is a classic lathe with its spindle encoder.

Homing is done with a switch.
To improve the precision, I want to use :
HOME USE_INDEX = YES

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

More
25 Jun 2016 13:19 #76645 by PCW
How are the axis driven?

Normally step/dir systems dont have encoders or indexes

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

More
25 Jun 2016 13:23 #76646 by finemeca

Normally step / dir systems do not-have encoders or indexes


Yes but I also an encoder output

www.deltaww.com/Products/CategoryListT1....ame=ASDA-B2%20Series

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

More
25 Jun 2016 13:26 - 25 Jun 2016 13:28 #76647 by PCW
Its possible to use the drives encoder output to get homing on index
but you would require 2 full (A,B,Z) encoder inputs for X and Z

The Hostmot2 hardware has the ability to latch the step count on index,
but this feature has no driver support currently
Last edit: 25 Jun 2016 13:28 by PCW.

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

Moderators: PCWjmelson
Time to create page: 0.351 seconds
Powered by Kunena Forum