Setting up a probe touch off

More
25 Mar 2015 22:22 #57181 by Clive S
I am trying to set up a probe touch off plate by following this :- 7xcnc.com/software/probing/z-touch-plate/

I am using axis but also have been playing around with gmoccapy that I want to use so some of my ini file have that stuff in as well.

I am getting an error on start up with debounce . I have attached the debug file

I am also not certain where to put the code for the custompanel.xml bit.

Thanks. Clive



File Attachment:

File Name: Warco_18_2...3-25.ini
File Size:2 KB




File Attachment:

File Name: custom_postgui.hal
File Size:0 KB


File Attachment:

File Name: debug.txt
File Size:65 KB
Attachments:

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

More
27 Mar 2015 18:55 - 27 Mar 2015 18:58 #57232 by BigJohnT
[ 4013.613077] debounce: `' invalid for parameter `cfg'

linuxcnc.org/docs/html/man/man9/debounce.9.html

I'm pretty sure the space after the = is the problem.

JT
Last edit: 27 Mar 2015 18:58 by BigJohnT.

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

More
03 Apr 2015 10:25 #57469 by pippin88
Clive,

That's my guide.

You put the custompanel code in a file called "custompanel.xml" in your config directory (same directory as your .hal and .ini files).
The 100.ngc file must be in your GCode directory (not your config directory)

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

More
03 Apr 2015 15:42 #57474 by Clive S

Clive,

That's my guide.

You put the custompanel code in a file called "custompanel.xml" in your config directory (same directory as your .hal and .ini files).
The 100.ngc file must be in your GCode directory (not your config directory)


Thanks for getting back to me. Funny thing is that I have just read the whole of the thread (about 21 pages) over on the zone.

I am using Linuxcnc version 2.8.0-pre and I have a feeling some things have changed regarding the panel.

I am still have trouble with errors like this Debug file information:
.
./my-mill.hal:45: Signal 'probe-in' can not add OUT pin 'parport.0.pin-15-in', it already has OUT pin 'debounce.0.0.out'

I am going to set up a new my-mill profile as a test without any homing switches etc and start from scratch again and report back

The profile for my Warco mill using Gmoccappy as the display is working fine. (I did comment out the gmoccapy so that I was using axis in the ini file)

Clive

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

More
03 Apr 2015 16:24 #57476 by pippin88
So does the Touch off plate work with Gmoccapy? I haven't tried using pyvcp with Gmoccapy, so don't have any experience.

You could try:
net debounce.0.0.out => motion.probe-input

in place of
net probe-in debounce.0.0.out
net probe-in => motion.probe-input

Can you post up your most current hal file. I can't see why you would get that error from the hal file you posted earlier.

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

More
03 Apr 2015 17:26 #57478 by Clive S
quote [So does the Touch off plate work with Gmoccapy? I haven't tried using pyvcp with Gmoccapy, so don't have any experience.

Gmoccapy does not use the Axis screen and I don't think there is a touch off plate in it yet. But the good people are working on touch off buttons to go with the gmoccapy screen. www.linuxcnc.org/index.php/english/forum...ing-tab?limitstart=0


I will repost the files later after I have done what you have suggested above and see if that cures the errors. Thanks Clive

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

More
03 Apr 2015 18:57 - 03 Apr 2015 18:57 #57480 by Clive S
Ok I have attached two sets of files. Not sure if I can attach zips






With the Warco it seem that there is a problem with the line:
Can not find -sec APPLICATIONS -var DELAY -num 1
custom_postgui.hal:6: Pin 'halui.mdi-command-00' does not exist

If I comment the line out in custom_postgui: net remote-o100 halui.mdi-command-00 <= pyvcp.o100 Then Axis will start up.

The my-mill profile:-


Can not find -sec APPLICATIONS -var DELAY -num 1
custom_postgui.hal:14: Pin 'halui.mdi-command-00' does not exist

The my-mil profile was a test with a completely new profile as I had modified the Warco profile with the gmocappy stuf

Clive
Last edit: 03 Apr 2015 18:57 by Clive S.

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

More
03 Apr 2015 19:02 - 03 Apr 2015 19:06 #57481 by Clive S
Ok not sure how to attach zips.
so here they are as separate files
.
(my_mill first)

File Attachment:

File Name: custom.hal
File Size:0 KB


File Attachment:

File Name: custom_pos...4-03.hal
File Size:1 KB


File Attachment:

File Name: custompanel.xml
File Size:1 KB


File Attachment:

File Name: Debugmy-mill.txt
File Size:60 KB


File Attachment:

File Name: my-mill.hal
File Size:3 KB



File Attachment:

File Name: my-mill.ini
File Size:2 KB


(Warco mill)
Last edit: 03 Apr 2015 19:06 by Clive S. Reason: added files

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

More
03 Apr 2015 19:04 - 03 Apr 2015 19:04 #57482 by pippin88
Clive,

Is there a reason that you are using a pre-release / developmental version of LinuxCNC? I would think it makes things harder unless you are fairly experienced.

A few things:
This Z-Axis touch off method is not specific to the 'Axis' GUI at all. It just uses a virtual control panel (in this case pyvcp) to trigger a hal pin. You can do it with GladeVCP also. Gmoccapy has inbuilt support for GladeVCP.

I believe you can attach zips.

Your problem is likely your typo in your .ini file
You have:
"MIDI_COMMAND = o100 call" (there is an extra i in there)
It should be:
"MDI_COMMAND = o100 call"
Last edit: 03 Apr 2015 19:04 by pippin88.

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

More
03 Apr 2015 19:13 #57483 by Clive S
quote Is there a reason that you are using a pre-release / developmental version of LinuxCNC? I would think it makes things harder unless you are fairly experienced

I installed from here www.linuxcnc.org/index.php/english/download 2.6 then updated with sudo apt and it brought it up to version 2.8.0

Silly me I will go and alter it.

Many thanks for helping me out with this. Clive

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

Time to create page: 0.121 seconds
Powered by Kunena Forum