- Posts: 8
- Thank you received: 0
Adding Pre and Post Gcode to Versa Probe
1 year 7 months ago #323720
by Sbvr4
Adding Pre and Post Gcode to Versa Probe was created by Sbvr4
Hi,
I have a touch probe that requires an additional activation signal prior to probing. I've mapped motion.digital-out-00 to the pin and would like to know the best way to add M64 P0 before probing and M65 P0 after. Should that be added to each probe routine, or would it be better to use a macro for that functionality? I'm using Qtdragon_hd and Versaprobe.
Thank you
I have a touch probe that requires an additional activation signal prior to probing. I've mapped motion.digital-out-00 to the pin and would like to know the best way to add M64 P0 before probing and M65 P0 after. Should that be added to each probe routine, or would it be better to use a macro for that functionality? I'm using Qtdragon_hd and Versaprobe.
Thank you
Please Log in to join the conversation.
1 year 7 months ago #323722
by cmorley
Replied by cmorley on topic Adding Pre and Post Gcode to Versa Probe
What version of linuxcnc?
Please Log in to join the conversation.
1 year 7 months ago #323767
by Sbvr4
Replied by Sbvr4 on topic Adding Pre and Post Gcode to Versa Probe
This is for v2.10. My apologies for the ambiguity.
Thank you
Thank you
Please Log in to join the conversation.
1 year 7 months ago #324036
by cmorley
Replied by cmorley on topic Adding Pre and Post Gcode to Versa Probe
So there is currently no built in way to do this.
The probe routines in master are burried in probe_subprobe.py
github.com/LinuxCNC/linuxcnc/blob/master...ets/probe_subprog.py
The is a pre and post function in there.
prechecks()
postreset()
You could hand edit them to add your calls.
I guess adding an INI pre and post command might be helpful.
What does your calls do?
The probe routines in master are burried in probe_subprobe.py
github.com/LinuxCNC/linuxcnc/blob/master...ets/probe_subprog.py
The is a pre and post function in there.
prechecks()
postreset()
You could hand edit them to add your calls.
I guess adding an INI pre and post command might be helpful.
What does your calls do?
Please Log in to join the conversation.
Time to create page: 0.081 seconds
