Setting up a probe touch off

More
11 years 7 months ago #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



Attachment not found





Attachment not found



Attachment not found

Please Log in to join the conversation.

More
11 years 7 months ago #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

Please Log in to join the conversation.

More
11 years 6 months ago #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 to join the conversation.

More
11 years 6 months ago #57474 by Clive S

pippin88 wrote: 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 to join the conversation.

More
11 years 6 months ago #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 to join the conversation.

More
11 years 6 months ago #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 to join the conversation.

More
11 years 6 months ago #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

Please Log in to join the conversation.

More
11 years 6 months ago #57481 by Clive S
Ok not sure how to attach zips.
so here they are as separate files
.
(my_mill first)

Attachment not found



Attachment not found



Attachment not found



Attachment not found



Attachment not found




Attachment not found



(Warco mill)

Please Log in to join the conversation.

More
11 years 6 months ago #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"

Please Log in to join the conversation.

More
11 years 6 months ago #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 to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum