Looking at your post & the NC file
- problem is with using the same tool, but when changing operations
look at this area in your post,. It looks for a prapid command, but there is no e$ to end the NC blockline
before it runs the next postblock command ( usually a "descend to the retract plane" (ie pzrapid) )
Code:
prapidm # Linear line movement - at rapid feedrate 0
pcan
pcan1, n$, sgplane, sccomp, pccdia, sgcode, x$, y$, z$, strcantext, !fr$ , e$
pcan
prapid$ # Linear line movement - at rapid feedrate 0
if rotaxis$ <> 0, protaxis
if rotaxis$ = 0, prapidm
pzrapid$ # Linear movement in Z axis only - at rapid feedrate 0
n$, sccomp, pccdia, sgcode, pccdia, z$,e$
Amend your .PST then repost the NC file to prove that it is correct
As a future hint,
if you had the original backed up, it is very simple to compare differences to where problems could exist
- it is usually stated by many post gurus that this be done. even the gurus have to revert back to a previous version due to dyslexia ( fat finger syndrome )