I want to try out VCarve with my MPCNC and am hitting a snag when I do a tool change with Repetier.
I have successfully setup tool changes in Estlcam with the following script:
[blockquote]M05
M84 S0
G0 Z50
@pause Change tool: <n>
G0 Z0
M03[/blockquote]
This Raises my router 50mm, Locks all of the motors, and puts a pause message on my screen. I can then safely change the tool, hit continue in Repetier and it takes off from there.
I put the same script into my VCarve PostProcessor File:
[blockquote]±--------------------------------------------------
- Commands output at toolchange
±--------------------------------------------------
begin TOOLCHANGE
“M05”
“M84 S0”
“G0 Z50”
“@pause Change tool”
“G0 Z0”
“M03”[/blockquote]
This raises my router 50mm, however the motors do not lock. When I hit continue I have gotten two different reactions:
- The program assumes I am at “home” and tries to continue from there (50mm too high and well away from x0,y0)
- Given the behavior above, I tried changing the bit and manually (i.e. by hand) moving the router back to 0,0,0. When I hit “Continue” the router moved back the the position 50mm above the surface and away from x0,y0 and then locked the motors! However, then the program stopped running, so there was no way to continue the cut.
What is confusing me is that the gcode is essentially the same from both programs:
Here is Estlcam (a couple lines on each side of the tool change):
[blockquote]G00 Z5.0000 F480
;No. 2:
M05
M84 S0
G0 Z50
@pause Change tool: 60 degree finish
G0 Z0
M03
G00 X27.8980 Y27.1180 Z5.0000 F2100
G00 Z0.5000 F480[/blockquote]
Here is VCarve (a couple lines on each side of the tool change):
[blockquote]G1 Z5.080
M05
M84 S0
G0 Z50
@pause Change tool
G0 Z0
M03
G1 X83.975 Y96.175 Z5.080
G1 Z-2.540 F180.0[/blockquote]
I am going to try adding an “@isathome” and removing the M84 to lock the motors, hopefully that work. However, I would really like the functionality to work the same between the two programs and this has been proven to be a reliable strategy in Estlcam.
Has anyone gotten this to work with VCarve?
A couple of notes about my setup:
- I do not have an LCD so I need to use Repetier to pause
- I do not have end switches, so I cannot “home” the machine
- The bits I am changing between (1/4" Endmill and 60degree 1/2" V-bit) are exactly the same “depth” (meaning protrusion from the router), that is why this pause in mid-air strategy has worked for me.