prompts

Help for setting up and using
Post Reply
craiganz
Posts: 2
Joined: Tue Jun 30, 2015 3:27 am

prompts

Post by craiganz »

I've been adding:

Code: Select all

(DEBUG, Attach probe cable, then click Resume )
M0
to the top of the output gcode files, and

Code: Select all

(DEBUG, Detach probe cable, then click Resume )
before the M0 following probing, to prompt the user. Otherwise something gets damaged if the probe isn't connected, and it's nice to have a prompt before the pause to disconnect...

Would be nice if there was just a way to do this automatically, for instance using easily modified include files for the gcode section headers/tailers like pcb-gcode does...
daedelus
Site Admin
Posts: 388
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: prompts

Post by daedelus »

I agree, it would be nice,

The (DEBUG,) comments are for LinuxCNC and I think Mach3 has a "better" way to prompt (i.e. it pops up a dialog box with your message). I say better because its impossible to miss dialog popups and you need to click OK before it will continue whereas you might miss LinuxCNC's debug messages and I dont think it forces you to click anything. Correct me if I am wrong but the only time LinuxCNC shows a dialog box is when a tool change line gets hit in the gcode. At which point you are supposed to click OK after you change the bit. Not sure how TurboCNC handles prompting, I shall investigate.

There are prompts for this in the comments of the subs but these are easily missed. I myself missed these and forgot to re-attach the probe wires the other day so yes it would be a useful addition and I will add it to my task backlog.

P.S The new version of AL will include this feature and will supercede the current version. i.e. I will not add anything to AL 0.8.6 while I am working on the new AL, so bear with me.

EDIT: Just had a look at the AL output and the current AL version does include M0 lines in the subs to pause the program for LinuxCNC. Whats missing are the (DEBUG,) comments above it.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
craiganz
Posts: 2
Joined: Tue Jun 30, 2015 3:27 am

Re: prompts

Post by craiganz »

The (DEBUG,) actually brings up a dialog box. There's no necessity to press OK to dismiss it, but i normally follow this with M0 and include in the message that the user should click Resume....

I also include M0 both at the point the cable needs to be attached and after the probing is complete along with prompts to attach and detach the probe cable... the only other trick is moving the first M6 command to occur prior to the pause to attach the probe cable...

Cheers...
daedelus
Site Admin
Posts: 388
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: prompts

Post by daedelus »

OK, I have made some changes to the prompting lines in version 0.8.7, let me know if its not OK.

thanks,
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
Post Reply