DRO usage
I have a little old manual bench mill.
I'd like to retrofit to cnc, but first i'd like to visualize it for manual usage
I mean.. What I like to do is
- Visualize the machine with linear scale.
- Using it by hand to make the pieces for the retrofit.
- Mount servo motor (I already have 3 axis Yaskawa kit ) and use Emc2.
The question is...
Is possible to use Emc like a standard manual DRO ?
This because if it's possible I can save money not buying the dro diplay and use saved money for higher resolutoin scale....
P.S: sorry for my english...
Please Log in or Create an account to join the conversation.
John
Please Log in or Create an account to join the conversation.
I 've used an ELTRA rotary encoder for my test.
Connecting directly the encoder to the parallel port.
The encoder has 250 pulse per rev, and the signal are line driver (TTL?) with A,/A,B,/B,Z,/Z.
I have attached A & B only.
Using Xoscope I can verify that the encoder is perfectly working.
My parallelp port s in ECP mode. Using demesg| grep parport I see this
parport_pc 00:07: reported by Plug and Play ACPI
[ 10.754377] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 10.845263] lp0: using parport0 (interrupt-driven).
Maybe a problem on the parallel port configuratioN?
I need a breakoutboard?
Please Log in or Create an account to join the conversation.
You should be able to start debugging this by using either halmeter
or the show hal configuration menu option in Axis and trace from
parallel port input pins (which should toggle as you rotate your encoder)
to the encoder components input and then count output
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The encoder has 250 pulse per rev, and the signal are line driver (TTL?) with A,/A,B,/B,Z,/Z.
I have attached A & B only.
I think you need to do something with the complementary outputs (though I am not sure what).
Exactly how have you connected the encoder to the parallel port pins?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
OK, that wasn't quite the question I meant to ask.i clamp the single signal wire to an interface
The encoder has 8 wires. What does each one connect to?
Please Log in or Create an account to join the conversation.
wire1 = +5V
wire2 = gnd
wire3 = A
wire4 = B
wire5 = Z
wire6 = /A
wire7 = /B
wire8 = /Z
I connect wire 3 to DB25 pin 2
and
wire 4 to DB25 pin3.
With wire 1 and 2 I use the power supply.
No other ecnoder wires connected to parallel port.
Please Log in or Create an account to join the conversation.
I have a feeling that you need a differential receiver for this type of encoder, something likeNo other ecnoder wires connected to parallel port.
uk.rs-online.com/web/p/line-receivers/0527912/
However, it is probably worth waiting for advice from PCW who knows a lot more about this subject than I do.
A hint that you can't just ignore the /A and /B lines would be if you can't see the parallel port pin voltage changing with your scope when everything is connected.
Please Log in or Create an account to join the conversation.