In my postgui.hal file I have the following

net z-fixture halui.mdi-command-08 <= pyvcp.z-touchoff

in my ini file in the [HALUI] section the 8th one is:

MDI_COMMAND = G10 L11 P#5400 Z0.0

in the [DISPLAY] section is:

PYVCP = hardinge.xml

In my hardinge.xml file I have:
<pyvcp>
<button>
     <halpin>"z-touchoff"</halpin>
     <text>"Z Tool Touch Off"</text>
     <bd>3</bd>
     </button>
</pyvcp>

JT

On 4/12/2015 11:33 AM, Neil wrote:
> The PnP software I'm playing with (openpnp) is hardcoded such that Z=0
> to clear the PCB and components.  I don't have much of an option at this
> point.
>
> Haven't heard of PyVCP but looking it up now.  Seems like it will create
> it's own app (or panel).  That might be a good thing actually, but for
> simplicity for now, is there a way to set the .ini file params so that
> it does this with the existing Home All button?
>
> Thanks.
>
>
>
> On 4/12/2015 12:16 PM, John Thornton wrote:
>> Well normally the top of the material is Z0... and you use the touch
>> off button for that as it has nothing to do with homing.
>>
>> Yes, you can add a PyVCP button to issue a MDI command to set the Z
>> material height.
>>
>> JT
>>
>> On 4/12/2015 10:07 AM, Neil wrote:
>>> Another couple things I can't yet find...
>>>
>>> (1) How do I tell LinuxCNC that I am at a specific position.  So I set Z
>>> to touch the top of a part and I want to tell it that's Z=-20. In Mach
>>> 3, I type the value in the DRO-displayed field.
>>>
>>> (2) Extra credit -- is there any way for me to set the Z-position to
>>> touch the top of a part (or table), then have one button set that to
>>> Z=-20, then it would automatically home X and Y?  This would just make
>>> setup as simple as possible.
>>>
>>> Cheers,
>>> -Neil.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>>> Develop your own process in accordance with the BPMN 2 standard
>>> Learn Process modeling best practices with Bonita BPM through live
>>> exercises
>>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>>> event?utm_
>>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>>> _______________________________________________
>>> Emc-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to