Emcoturn 120 lathe retrofit

More
10 years 2 months ago #78751 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
I have this connected like this


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

More
10 years 2 months ago #78754 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
I had it connected completely wrong. does this look correct


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

More
10 years 2 months ago - 10 years 2 months ago #78761 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
I think I am missing these HAL components. any thoughts on the HAL pin id for the 7i76e? This example from the docs here has parallel port pins
Code:
# add the encoder to HAL and attach it to threads. loadrt encoder num_chan=1 addf encoder.update-counters base-thread addf encoder.capture-position servo-thread # set the HAL encoder to 100 pulses per revolution. setp encoder.3.position-scale 100 # set the HAL encoder to non-quadrature simple counting using A only. setp encoder.3.counter-mode true # connect the HAL encoder outputs to LinuxCNC. net spindle-position encoder.3.position => motion.spindle-revs net spindle-velocity encoder.3.velocity => motion.spindle-speed-in net spindle-index-enable encoder.3.index-enable <=> motion.spindle-index-enable # connect the HAL encoder inputs to the real encoder. net spindle-phase-a encoder.3.phase-A <= parport.0.pin-10-in net spindle-phase-b encoder.3.phase-B <=TBD net spindle-index encoder.3.phase-Z <= parport.0.pin-11-in
Last edit: 10 years 2 months ago by LutzTD.

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

More
10 years 2 months ago - 10 years 2 months ago #78763 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
is it these 3?
Code:
9 bit OUT FALSE hm2_7i76e.0.encoder.00.input-a 9 bit OUT FALSE hm2_7i76e.0.encoder.00.input-b 9 bit OUT TRUE hm2_7i76e.0.encoder.00.input-index
Last edit: 10 years 2 months ago by LutzTD.

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

More
10 years 2 months ago #78764 by PCW
Replied by PCW on topic Emcoturn 120 lathe retrofit
No, nothing is missing ( you do not need the encoder component, that's only for software encoders )

First, it looks like this is a single ended encoder with index so the 7I76E encoder must first
be jumpered for TTL=single ended mode.

In single ended mode all inverted inputs must be left unconnected (7I76E pins 8,10,14 left open)

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

More
10 years 2 months ago - 10 years 2 months ago #78767 by LutzTD
Replied by LutzTD on topic Emcoturn 120 lathe retrofit
I think I understand if you mean pins 8, 11, and 14 (those are the (-))

section from 7i76e manual

ENCODER INPUT MODE
The 7I76Es high speed encoder input can be programmed for differential or single
ended mode operation. W10, W11 and W13 set the encoder input mode. When
W10,W11,and W13 are in the right hand position, the encoder input is mode is differential.
When W10,W11, and W13 are in the left hand position, the encoder input mode is single
ended or "TTL". Note that W10 controls the input mode for the ‘A’ signal, W11 controls the
input mode for the ‘B’ signal and W13 controls the input mode for the index signal.




Last edit: 10 years 2 months ago by LutzTD.

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

Time to create page: 0.449 seconds
Powered by Kunena Forum