gregger2k
10-05-2006, 05:03 PM
I have just switched from Mach2 to DeskCNC.
Is there any way to have pause (or a pause) under G-Code control? I am using it for a plasma table and need to wait until the arc is good before making the cut. I was using a macro waiting for an input with Mach2 and have not found a way to duplicate that functionality with DeskCNC
Thanks, Greg
HuFlungDung
10-05-2006, 09:01 PM
I don't know if your question is just general in nature, or specific to the control you are using, but
G04 P1000
might mean a pause of 1000 milliseconds.
G04 P1.0
might also be accepted by the controller. Two ways of calling for a 1 second pause in standard software.
Adobe Machine
10-05-2006, 11:25 PM
Desk CNC accepts G04 or G4 as pause and numbers in seconds.
I write G4 30 or G4 60 in all my tool changes. As a saftey, I hit the "pause button" on the screen also, just in case I tripped on the way to the boys room.
G4 is listed as "dwell" ( or stay in place).
Hopes this helps.
Adobe (old as dirt )
gregger2k
10-06-2006, 10:50 AM
Thanks for the input but i guess I was not clear enough. I can insert manual pauses just fine (G04 P0.5)
I need to monitor the arc good signal on the plasma cutter. I need to pause untill an input on the controller changes state. In mach2 I was using a macro that waited on an input pin. I am trying to have the controller automatically stop if there is a problem with the plasma cutter
I am thinking that I can gate the pause input signal on the gen2 controller with another output signal to only have it active when the torch is cutting. A macro that could check the status of an input pin would be better though.
I'm not quite ready to jump into the DeskCNC API but it looks like it could be done there.
Thanks, Greg
Adobe Machine
10-06-2006, 08:30 PM
Thats certinly more complicated than my experiance with Desk CNC..You might E mail DC precision, he has a lot of experiance with Desk CNC and already has some work arounds..other sources are Scott @ Machine Tool Camp,715-532-5308 , really knows Desk CNC and routers-plasma type machines. Fred Smith @ IM Srv is another expert with Desk CNC, might try @ 248-486-3600 .
Keep us informed how you solved this problem..
Adobe (old as dirt )
imserv
10-07-2006, 09:35 AM
Thanks for the input but i guess I was not clear enough. I can insert manual pauses just fine (G04 P0.5)
I need to monitor the arc good signal on the plasma cutter. I need to pause untill an input on the controller changes state. In mach2 I was using a macro that waited on an input pin. I am trying to have the controller automatically stop if there is a problem with the plasma cutter
Use the "Feed Hold" pin. This will permit you to pause (not dwell for a predetermined length of time) motion at any time "until" a given logical condition is met ( arc voltage for instance). With ttl logic, you can implement about as complicated a set of condition as you can dream up. If you need even more complicated condition sets, you can also interface this pin to a PLC. You can also use limit and e-stop to add safety measures to your control system.
Fred Smith - IMService
http://www.cadcamcadcam.com/hobby
gearsoup
10-07-2006, 10:38 AM
M0? We use that at work when we have to squirt oil into a hole before it gets tapped...