Laser on/off between nested parts, how to stop it?
The output of NC_Sheetmetal is turning the laser off then right back on with nothing in between as it goes thru the sequences. How do you supress this behaviour so it stays on while moving thru the material?
I'm "THIS CLOSE" to getting it to work right, here is the code I have so far;
CIMFIL/ON,PIERCE T4TH=POSTF(7,4) CASE/T4TH WHEN/ICODEF(ON) $$ Always want to turn pierce on when told to INSERT/'M58$' WHEN/ICODEF(OFF) RSLT=POSTF(20) RSLT=POSTF(14) $$ Read the next command line to see if it turns pierce back on T5TH=POSTF(7,4) IF(T5TH.EQ.ICODEF(ON)) THEN INSERT/'DETECTED REPEAT$' ELSE RSLT=POSTF(21) INSERT/'NO REPEAT DETECTED$' $$INSERT/'M59$' ENDIF ENDCAS CIMFIL/OFF
Problem now is it is killing my G00 after puttin in the "NO REPEAT DETECTED" part of the code...