#endregion
#endregion
____________ console out put
C:\WINDOWS>O:\PC\"Com Com Deploy.exe" 1 0 COM9
Waiting to receive file from Lathe
Press any key to quit, without transfering
? $M-15637.MIN
64
sub M-15637.MIN
61
M-15637.MIN
post trim 61 M-15637.MIN
end
_this correlates to my on received which is in a testing faze to figure out why it wasint working I was testing lengths and you can see how trim and trimend both keep the same string.length _
__________ example file *correct looking*
$M-16136.MIN%
ZZ=-.XXX
TH=.140 (USE .005 OR LESS ID TOOL RADIUS)
CO=.XXX
FP=00
FS=.0000
SP=00
SS=.0000
TP=00
TS=.0000
DP=00
DS=.0000
CA=[TH+CO+.005]
CS=[TH+CO+.010]
G50 S2500
NSTRT
VZSHZ=0
VZSHX=0
V20=0
V1=3
/IF[VDIN[24]EQ 1]NBAR
/CALL OFEED
/GOTO N01
/NBAR CALL ONBAR
N01 G00 X.850 Z.100 TXXXX S2000 M3 (FACE TOOL)
N02 G01 Z.005 F.010
N03 G01 X-.100
N05 G00 X20 Z1.0
N06 G00 X.559 Z.050 TXXXX M08 (PLUNGE)
N07 G01 Z0 F.006
N08 G76 G01 X.383 L-.025
N09 G01 Z-.105 F.004
N10 G91 G01 X+.015
N11 G90 G01 X.383
N12 G91 G01 X-.015
N13 G90 G01 X.383 F.006
N14 G76 G01 Z-.008 L-.025
N15 G01 X.208
N16 G00 Z.1
N17 G00 X20 Z1.0
N18 G00 X.230 Z.050 TXXXX (ID ROUGHING)
N19 G01 Z-CA F.005
N20 G00 Z.1
N21 G00 X.282 Z.050 TXXXXXX (ID)
N22 G41 G01 Z-.008 F.005
N23 G01 X.258 Z-.028 F.004
N24 G01 X.267 Z-.078
N25 G01 X.276
N26 G01 X.282 Z-.105
N27 G01 Z-TH+.017
N28 G02 X.316 Z-TH L.017
N29 G40 G01 Z-CA F.007
N30 G01 X.230 F.010
N31 G00 Z.1
N32 G00 X20 Z1.0 M09
N33 G00 X.485 Z.050 TXXXXXX (OD)
N34 G42 G01 Z0 F.005
N00 G03 X.509 Z-.0525 L.120 F.004
N35 G03 X.485 Z-.105 L.120
N36 G01 Z-TH+.017
N37 G03 X.451 Z-TH L.017
N38 G40 G01 Z-CA F.005
N39 G01 X.559 F.010
N40 G01 Z-CA-.020 A-45
N41 G00 Z.1
N42 G00 X20 Z1.0
N43 G00 X.559 Z.100 TXXXX (CO)
N44 G00 Z-TH-CO
N45 G01 X.228 F.004
N46 G01 X.559 F.010
N00 G01 Z.100
N47 G00 X20 Z1.0
N48 /VZSHZ=VZSHZ-CS
V20=V20+1
IF[VZSHZ-CS+ZZ LE VNVLZ-VZOFZ] N100
IF[V20 EQ FP]N200
IF[V20 EQ SP]N210
IF[V20 EQ TP]N220
IF[V20 EQ DP]N230
GOTO N01
N200
VZSHX=VZSHX+FS
GOTO N01
N210
VZSHX=VZSHX+SS
GOTO N01
N220
VZSHX=VZSHX+TS
GOTO N01
N230
VZSHX=VZSHX+DS
GOTO N01
N100 VZSHZ=0
G00 X30 Z30
M05 TXXXX S700
GOTO NSTRT
M30
%