Encoder wiring - Mesa 7i33
- Fordperf393W
- Offline
- New Member
- Posts: 14
- Thank you received: 0
The encoder employs a 5 wire TTL signal:
Signal wires as follows: OV, A, +5V, B, Z
I have read many web sites and posts on forums mentioning using signal wires ENCA0, /ENCA0; ENCA1, /ENCA1; ENCA2, /ENCA2; ENCA3, /ENCA3, from the 7i33, but no idication to which wires they connect to on the encoders, with that, this only covers 2 of the 5 wires on each of the encoders.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That is three signals and power. 0V is GND (or Earth). The quadrature signals are A and B and the Index (one pulse per rev) is called Z.The encoder employs a 5 wire TTL signal:
Signal wires as follows: OV, A, +5V, B, Z
That is for a "differential" wiring scheme, where each phase has two wires (so A and /A, B and /B, Z and /Z) You are using TTL so need to ignore the /A /B and /Z pins. (and probably set a jumper on the board). The numbers on the signal names above refer to the encoder number.I have read many web sites and posts on forums mentioning using signal wires ENCA0, /ENCA0; ENCA1, /ENCA1; ENCA2, /ENCA2; ENCA3, /ENCA3, from the 7i33
If you look at the picture that Radek posted, you need to follow the scheme in the bottom left quarter, and ignore the rest.
Please Log in or Create an account to join the conversation.
- Fordperf393W
- Offline
- New Member
- Posts: 14
- Thank you received: 0
I launched emc using the provided 5i20 sample file, but I get no readout. are there any other drivers I need?
Please Log in or Create an account to join the conversation.
I launched emc using the provided 5i20 sample file, but I get no readout. are there any other drivers I need?
What do you mean by "Readout" and which firmware is the config loading? (dmesg will tell you, a bit above the pin listing)
Please Log in or Create an account to join the conversation.
if the encoder draw more power you may want to supply 5V to the 7I33. The easiest way with a 5I20 is to take 5V power from the terminal block on the 5I20, this can supply up to 2.5 A or so and is protected by a PTC so you wont fry any wiring or PCI sockets if you short out the 5V.
If you do not get any encoder counts, I would check that:
1. The 7I33 has power (three LEDs on)
2. With the original HM2-servo config, you have the 7I33 connected to P2 (I/0 0..23)
3. That you have your encoders properly connected ( the voltage measured on the A or B lines should change alternately from high (3-5V) to low (close to 0V) if you move the motor shaft
4. You have the 7I33 jumpered for TTL mode
Please Log in or Create an account to join the conversation.
- Fordperf393W
- Offline
- New Member
- Posts: 14
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Fordperf393W
- Offline
- New Member
- Posts: 14
- Thank you received: 0
I do however have one last question, the m5i20 sample config states the ability to read 4 encoders, it is only pre-loaded for 3. While i'm not well versed with linux, I tracked down the config files but they only open up as "read only" in gedit.
Please Log in or Create an account to join the conversation.
To change the number of encoders you change this line in your ini file
loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=1"
www.linuxcnc.org/docview/html/drivers_hostmot2.html
John
Please Log in or Create an account to join the conversation.