adding auto z touchoff

More
27 Apr 2014 09:56 #46359 by rotccapt
hi all i have decided i want to try and add the auto z touchoff button to my machine but i am a complete noob to this whole linux thing. so i found a write up on how to do it and i thought i fallowed all the steps correctly but now axis will not start. (i did save a copy of my old files so im not totally screwed)

attached are all the config files from linuxcnc and also a copy of the fail report from when axis tries to start

this is the site i got the info off of 7xcnc.com/software/probing/

thank you for any help that you can give. i have looked at the classic ladder method but that looks entirely too complex for me to even try
Attachments:

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

More
27 Apr 2014 16:31 - 27 Apr 2014 16:42 #46362 by cncbasher
Replied by cncbasher on topic adding auto z touchoff
reading your error file you can see the error here ...
hobby_cnc.hal:47: Signal 'probe-in' can not add OUT pin 'parport.0.pin-15-in', it already has OUT pin 'debounce.0.0.out'
this is saying that on line 47 of your hobby_cnc.hal file that your trying to connect 2 out pins .,..
you can only connect 1 out pin ,


are you using 2 probe inputs ? as you have
net probe-in <= parport.0.pin-15-in
and
net deb-probe-in debounce.0.0.in <= parport.0.pin-13-in-not

changing net probe-in to
net probe-in debounce.0.0.out

should do the trick , as the run of logic is probe in on parrell port 13 connected to input of debounce logic ( deb-probe-in ) and the output of the debounce logic ( debounce.0.0.out) connected to the probe-in net

but look further down and you'll see your duplicate entry for probe-in , probably left from previous trys
Last edit: 27 Apr 2014 16:42 by cncbasher.

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

More
27 Apr 2014 18:12 #46367 by BigJohnT
Replied by BigJohnT on topic adding auto z touchoff
A good place to start is the basic hal tutorial...

linuxcnc.org/docs/html/hal/basic_hal.html

JT

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

More
27 Apr 2014 22:40 #46379 by rotccapt
Replied by rotccapt on topic adding auto z touchoff
ok i think i see where i went wrong, i only have one probe and it is on pin 15 pin, 13 is one of my limit switches. in the tutorial i fallowed he used pin 13 as his probe and i thought i changed it but i guess not, also for the duplicate that was added in during step config so i guess im supposed to just delete the duplicate?

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

More
28 Apr 2014 00:44 - 28 Apr 2014 00:49 #46381 by rotccapt
Replied by rotccapt on topic adding auto z touchoff
sorry for all the noob questions but im still having issues.

so i fixed the hal file and now axis gets to the point of loading the panel and quits with a new error report, i think my problem is actualy in the custom panel xml file im not real sure where everything is supposed to go in there

Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
custom_postgui.hal:4: Pin 'pyvcp.o100' does not exist
6098
PID TTY STAT TIME COMMAND
6149
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components


here are my new files
Attachments:
Last edit: 28 Apr 2014 00:49 by rotccapt.

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

More
28 Apr 2014 00:53 #46382 by BigJohnT
Replied by BigJohnT on topic adding auto z touchoff
The way you can track down these kinds of errors is to comment out the offending line of code then run your configuration and open up Show Hal Configuration and look at the pins to check for spelling etc.

JT

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

More
28 Apr 2014 20:12 #46429 by rotccapt
Replied by rotccapt on topic adding auto z touchoff
so i figured out where my problem was. i had the formatting wrong in the xml file. so now i have axis back up and running but when i push the button for the touch off i get a cant access file error so im guessing i put the o100.ngc file is in the wrong place. how do i get to the "nc_files" folder? i originally went into the hard disk and searched for linuxcnc and found what i thought was the "nc_files" folder

this is almost like trying to learn a new language by just reading the book

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

More
28 Apr 2014 20:36 #46430 by BigJohnT
Replied by BigJohnT on topic adding auto z touchoff
ASSUMING your using the stock Ubuntu that comes with the LiveCD click on Places > Home Folder > linuxcnc > nc_files and copy your file there.

JT

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

Time to create page: 0.180 seconds
Powered by Kunena Forum