- Posts: 17524
- Thank you received: 0
Fitting an encoder on a Tormach 1100
Please Log in to join the conversation.
That is perfect
Thank you
Robert
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
Clive S wrote:
Peter you made me the bit file for a Tormach that I used a 7i85 on the second port. For the spindle encoder and 3 mpg'sPCW wrote: Not sure who made that bit file, do you have the PIN_xxxx.vhd source file?
Do you have a 7I85 or 7I85S?
5i25_t2_7i85s.bit.
About 2 years ago
do you recall how you got halmeter to work on PP? Every time I try it just says command not found, even if i try to run it from the directory I can see it in?
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
andypugh wrote: What does your spindle do? It sounds like the G33.1 might be waiting for the second spindle reversal.
Does your encoder definitely count up clockwise and down anticlockwise?
So I hooked up my encoder and 7i85S finally, and used Clive's instructions! I can see encoder counts, but they go down when i spin it clockwise, and up when i spin it counter clockwise. I thought it might be as easy as changing the encoder scale to a positive value (Clive's example showed it as "-4000", so I made mine "-1440" (I have a 360ppr quad encoder with index)), but that did not have any effect. Is there any way to change this in the software? OR do I need to swap the polarity on my A, B, and IDX legs?
Currently with:
G33.1 Z-1 K0.0394
it just sits there and spins when it gets to that line. Seems like it's either expecting to be counting up, or the index is never going true.
Any ideas?
Please Log in to join the conversation.
encoder velocity and position but not the counts
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
PCW wrote: Note that changing the encoder scale will change the sign of the
encoder velocity and position but not the counts
So I need to flip the wires? So count goes up with clockwise rotation?
Should velocity and position follow suite?
Please Log in to join the conversation.
of the encoder scale, so you do not have to change the hardware.
The counts and rawcounts will not change (Since they are not scaled) but these
are not used in most configurations.
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
PCW wrote: You can reverse the encoder velocity and position signs by changing the sign
of the encoder scale, so you do not have to change the hardware.
The counts and rawcounts will not change (Since they are not scaled) but these
are not used in most configurations.
oh, ok. so I want a positive velocity and position when moving the spindle clockwise (when viewed from the top looking down), correct?
Would that be the reason it wont do anything on G33.1 or is there something else I need to check for?
Please Log in to join the conversation.
Spindle synced motions need:
1. Spindle at speed true
2. Spindle feedback position from encoder increasing for forward rotation
3. Index detection
1 and 2 can be checked with halshow, 3 can be checked manually by
sets-ing the signal that carries index enable and verifying that the index
enable signal gets cleared when you rotate the spindle (by hand) past the
index position:
halcmd sets index_enable
Please Log in to join the conversation.
