- Posts: 14
- Thank you received: 0
Installing Pathpilot with 5i25 7i76.
8 years 8 months ago - 8 years 8 months ago #105734
by narrab
Replied by narrab on topic Installing Pathpilot with 5i25 7i76.
I made some progress tonight. I am now hove the machine some what out of Estop! I am able to move the stepper motors on the mill via the shuttlexpress, but now have new problems to solve. I now have the error reported "must be in joint mode or disable unhome"
When I try to check the homing switch signals using ADMIN HALMETER I do not see them being recognized.
I am attaching the lines I added to the Tormach_5i25.hal file to get the system out of Estop in the hope it helps others that are going down this route after me.
When I try to check the homing switch signals using ADMIN HALMETER I do not see them being recognized.
I am attaching the lines I added to the Tormach_5i25.hal file to get the system out of Estop in the hope it helps others that are going down this route after me.
Last edit: 8 years 8 months ago by narrab.
Please Log in or Create an account to join the conversation.
8 years 8 months ago #105735
by narrab
Replied by narrab on topic Installing Pathpilot with 5i25 7i76.
1 step forwards 2 steps back!
I read the post where smgvbest pointed out the error that prevented the ADMIN HALMETER from working.
I commented out the line
setp hm2_5i25.0.gpio.010.invert_output 1
and now the halmeter shows the signals as it should. However the estop has stopped working now. I verified that the signal is true on pin1.
Never the less I can now see some light at the end of the tunnel! If anyone has any ideas let me know. Otherwise I will post the fix once I figure it out.
I read the post where smgvbest pointed out the error that prevented the ADMIN HALMETER from working.
I commented out the line
setp hm2_5i25.0.gpio.010.invert_output 1
and now the halmeter shows the signals as it should. However the estop has stopped working now. I verified that the signal is true on pin1.
Never the less I can now see some light at the end of the tunnel! If anyone has any ideas let me know. Otherwise I will post the fix once I figure it out.
Please Log in or Create an account to join the conversation.
8 years 8 months ago #105736
by narrab
Replied by narrab on topic Installing Pathpilot with 5i25 7i76.
Getting closer to a working system. I now have the system out of estop and halmeter working. I changed the following setting attached on the estop hal lines. Now need to figure out how to get the x axis working.
Please Log in or Create an account to join the conversation.
- brianTruck
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 6
8 years 8 months ago #105744
by brianTruck
Replied by brianTruck on topic Installing Pathpilot with 5i25 7i76.
Here is the e-stop code that works on my lathe. I'm not good enough with linuxcnc to tell you whats wrong with your code.
net estop-out <= iocontrol.0.user-enable-out
########################################################################
# estop noise debounce
net machine-ok-raw hm2_5i25.0.7i76.0.0.input-00 => machine-ok-db.in
net machine-ok-debounced machine-ok-db.out => estop-latch.0.ok-in
######=> pwmgen.0.enable
net estop estop-latch.0.ok-out => iocontrol.0.emc-enable-in => #hm2_5i25.0.7i76.0.0.output-07 => pwmgen.0.enable
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net estop-out <= iocontrol.0.user-enable-out
########################################################################
# estop noise debounce
net machine-ok-raw hm2_5i25.0.7i76.0.0.input-00 => machine-ok-db.in
net machine-ok-debounced machine-ok-db.out => estop-latch.0.ok-in
######=> pwmgen.0.enable
net estop estop-latch.0.ok-out => iocontrol.0.emc-enable-in => #hm2_5i25.0.7i76.0.0.output-07 => pwmgen.0.enable
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
Please Log in or Create an account to join the conversation.
8 years 8 months ago #105747
by narrab
Replied by narrab on topic Installing Pathpilot with 5i25 7i76.
Thank you! The code I post above also works. It took some tweaking of the hla file based on the error messages that were being generated. I now need to figure out how to get the X axis working. Y and Z axis are working. it seems the stepper motor pinout for LinuxCNC and PathPilot on the 7i76 are different. Is this correct?
Please Log in or Create an account to join the conversation.
8 years 8 months ago - 8 years 8 months ago #105751
by PCW
Replied by PCW on topic Installing Pathpilot with 5i25 7i76.
As long as you are using 7I76 firmware on the 5i25, the mapping of stepgens to pins is the same.
That is hal file stepgen 0 is 7I76 stepgen 0 etc. This entirely determined by the 5I25 firmware
Whether or not the default Pathpilot hal files map stepgens to axis in the expected way:
0=X
1=Y
2=Z
3=A
on not is something I do not know
That is hal file stepgen 0 is 7I76 stepgen 0 etc. This entirely determined by the 5I25 firmware
Whether or not the default Pathpilot hal files map stepgens to axis in the expected way:
0=X
1=Y
2=Z
3=A
on not is something I do not know
Last edit: 8 years 8 months ago by PCW.
Please Log in or Create an account to join the conversation.
Time to create page: 0.227 seconds