Installing Pathpilot with 5i25 7i76.

More
10 Feb 2018 01:20 #105675 by narrab
I have followed the instructions to install Pathpilot on a non Tormach machine and read the other posts on this forum. I have 2 5i25 cards and have confirmed that they both work using my linuxcnc setup.

When I load Pathpilot I get the error message Machine has been estopped. Restore power to the machine and click Reset button to continue.

Failed to bring machine out of E-stop. Please check machine power to DB25 communication cable from the controller to the machine.

I am no expert but was able to get the LinuxCNC working but this has me stumped.

I have the estop configured to hm2-5i25.0.7i76.0.0.input-01 I think this is pin2 on the TB6 connector. When I connect this to field power it does not change anything.

Anyone have ideas how to resolve this issue?

Thanks in advance!

Please Log in or Create an account to join the conversation.

More
10 Feb 2018 01:37 #105677 by smgvbest
Hi,

can you provide your HAL file you're running for one

Also with PP up and running go into MDI and do a ADMIN HALCMD SHOW ALL
after you do that exit PP and go to ~/gcode/logfiles
look in pathpilotlog.txt for ADMIN HALCMD and you'll see the out put from it.
paste that output into the chat for us to look at.

Please Log in or Create an account to join the conversation.

More
10 Feb 2018 03:45 #105684 by narrab

File Attachment:

File Name: tormach_mi...09-2.hal
File Size:26 KB

File Attachment:

File Name: pathpilotl...09-2.txt
File Size:209 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Feb 2018 03:46 #105685 by narrab
Thank you in advance for any help you might be able to give me to get me up and running.

Please Log in or Create an account to join the conversation.

More
10 Feb 2018 13:31 #105705 by brianTruck
Are you supping power to the 7i76 ? (2 yellow leds on)

Brian

Please Log in or Create an account to join the conversation.

More
10 Feb 2018 15:22 #105709 by narrab
Yes, the two yellow LED's are on the 7i76. I have a second computer that I am able to use to verify that the 5i25 and the 7i76 are working properly. The 7i76 is wired to my milling machine and functions correctly with the other computer that runs the standard linuxcnc.

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 06:01 - 11 Feb 2018 06:02 #105734 by narrab
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.

File Attachment:

File Name: Estop_Line..._hal.txt
File Size:1 KB
Attachments:
Last edit: 11 Feb 2018 06:02 by narrab.

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 06:31 #105735 by narrab
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.

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 07:03 #105736 by narrab
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.

File Attachment:

File Name: Estop.txt
File Size:1 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 13:45 #105744 by brianTruck
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

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.132 seconds
Powered by Kunena Forum