- Posts: 17533
- Thank you received: 5334
Fitting an encoder on a Tormach 1100
8 years 7 months ago #107912
by PCW
Replied by PCW on topic Fitting an encoder on a Tormach 1100
Please Log in or Create an account to join the conversation.
8 years 7 months ago #107922
by Clive S
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
Many thanks for your time Peter
I will have ago and flash the board.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #108408
by Clive S
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
Ok update The 7i85s board has arrived and flashed with freeby.mesanet.com/5i25_t2_7i85s.bit.
I have stopped PP from re flashing successfully.
I have the 5i25 in a spare PC using P2 (26 pin header) to connect to the 7i85s jumper-ed for PC power ( there is one led lit on the board)
Should I now see the encoder pins on the 7i85s or not. what should they look like?
I have stopped PP from re flashing successfully.
I have the 5i25 in a spare PC using P2 (26 pin header) to connect to the 7i85s jumper-ed for PC power ( there is one led lit on the board)
Should I now see the encoder pins on the 7i85s or not. what should they look like?
Please Log in or Create an account to join the conversation.
8 years 6 months ago #108409
by andypugh
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
They will show up as belonging to the 5i25.
If you start LinuxCNC from the command line you should get a listing of the physical pin locations.
And you should see the associated output pins in HAL.
If you start LinuxCNC from the command line you should get a listing of the physical pin locations.
And you should see the associated output pins in HAL.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #108426
by Clive S
Ok It appear to have them:-
hm2/hm2_5i25.0: IO Pin 010 (P3-07): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
Could you give me some pointers of what I need to do to be able to use them ie use a custom hal file so as not to interfere with PP
Do I have to tell hal how many encoders etc. I am a bit lost now. Tnx.
Replied by Clive S on topic Fitting an encoder on a Tormach 1100
andypugh wrote: They will show up as belonging to the 5i25.
If you start LinuxCNC from the command line you should get a listing of the physical pin locations.
And you should see the associated output pins in HAL.
Ok It appear to have them:-
hm2/hm2_5i25.0: IO Pin 010 (P3-07): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 011 (P3-08): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0: IO Pin 012 (P3-09): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0: IO Pin 014 (P3-11): IOPort
hm2/hm2_5i25.0: IO Pin 015 (P3-12): IOPort
hm2/hm2_5i25.0: IO Pin 016 (P3-13): IOPort
hm2/hm2_5i25.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0: IO Pin 033 (P2-13): IOPort
Could you give me some pointers of what I need to do to be able to use them ie use a custom hal file so as not to interfere with PP
Do I have to tell hal how many encoders etc. I am a bit lost now. Tnx.
Please Log in or Create an account to join the conversation.
8 years 6 months ago #108427
by andypugh
Replied by andypugh on topic Fitting an encoder on a Tormach 1100
That looks like either the wrong bitfile or your "num_encoders" in the "loadrt hm2_pci" needs to be changed.
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds