Hi there. I am using the Neil F PP for Vcarve pro and when I try to load a gcode with a tool change, CM throws this error:
Error in Line 10: P value not set
The bitsetter is all setup and works when using CC, but not the Shapeoko Tool Change_mm or the GRBL_ToolChange_mm PP
If I am not mistaken, those âG04 1â lines should be âG04 P1â , the G4 command expects a delay in seconds or milliseconds specified after a âPâ value (hence CCâs error message)
Looking at @neilferreriâs post, it gets the value from [DWELL] value, which I understand is used when a âDwell moveâ is generated in the G-code. But I donât know where this is set in VCarve. I just tried a sample file of mine using this post in VCarve, and I donât have those G04 commands generated in the output file.
Iâm sure Neil will chime in soon to explain, in the meantime you should be able to remove those âG04 1â lines (the only thing they do is wait 1 second) and run that safely.
Who knows, we MAY have found a small bug in @neilferreriâs post, itâs possible that nobody used a drilling operation with that post before, OR that other G-code senders are more permissive and e.g. CNCjs would accept âG04 1â, Iâll check that too
So rather than hand-editing the G-code file you may want to uncheck that box until this is fixed.
Ok, mystery solved then.
I just tried with CNCjs, and it does not like âG04 1â either (which is normal).
So actually, a much better workaround until Neil fixes this is to replace âG04 [DWELL]â by âG04 P[DWELL]â yourself in the post processor file, then it should be all good and you can keep your dwell option.
Thanks for catching that. I donât know how programmers keep track of versions. Somehow, thatâs been missing for a while. I checked my PC and I have the P (I have a slightly different version because I donât want a toolchange on the first tool).
No problem⊠as a programmer myself, just making sure all changes are in version control, and or saved as different versions (one with an initial tool change and one without)⊠but it can still get messy in a sense.
Iâd like the version without the initial tool change