cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Gpost FIL and high speed commands

Highlighted
Newbie

Gpost FIL and high speed commands

Hello all -

How can I input a high speed controller code into my program after my
height offset (G43) line? I am assuming it would need to be some logic
in the FIL but what are the commands in Gpost, since it looks like Gpost
is placing the G43 line on the first GOTO statement in the CL

Anybody doing this automatically?

Sample of my desired code location

G90G80G17G40G49G00
N1T1
N2M06
G90G54G80G17G40
G54.3P1
N3S250M03
N4G01G93G43X0.Y-1.9744Z.3456F4.975H01A-20.C0.
G05.1Q1 R1 (place the high speed code here)
N5G94Y-1.6595Z-.5194F10.
N6Z-.6194
N7G93F27.778C3.6
N8F27.778C7.2


Thanks
Dave.
1 REPLY 1
Highlighted

Gpost FIL and high speed commands

Dave

Hope this helps
Here is what I do on one of my HighSpeed posts to insert high speed on -
off code - I think similar to what your after

Here is the FIL
CIMFIL/ON,LOADTL
DMY=POSTF(20)
GI=0
CCOM=0
IF(TLCHG.EQ.0)THEN
TLCHG=1
DMY=POSTF(21)
DMY=POSTF(13)
ELSE
INSERT/'G91G28Z0.$'
INSERT/'M110$'
DMY=POSTF(21)
DMY=POSTF(13)
ENDIF
CIMFIL/OFF

CIMFIL/ON,GOTO
DMY=POSTF(20)
IF(GI.EQ.0)THEN
GI=1
DMY=POSTF(21)
DMY=POSTF(13)
INSERT/'G5P10000$'
INSERT/'M7$'
ELSE
DMY=POSTF(21)
DMY=POSTF(13)
ENDIF
CIMFIL/OFF

CIMFIL/ON,SPINDL
DMY=POSTF(20)
SOFF=POSTF(7,4)
IF(SOFF.EQ.(ICODEF(OFF)))THEN
INSERT/'G5P0$'
INSERT/'M9$'
DMY=POSTF(21)
DMY=POSTF(13)
ELSE
SSPED=POSTF(7,5)
INSERT/'S',SSPED,'M3$'
INSERT/'G90G54'
ENDIF
CIMFIL/OFF

Here is the resulting NC code G5P1000 turns on G5P0 turns off
G40G80G49G17
G91G28Z0.
T12
M6
T10
S4500M3
G90G54G00G43Z127.H12
X-65.Y-.01
G5P10000
M7
G01Z27.5F3000.
X65.F1800.
G00Z127.
X-65.
G01Z26.8F3000.
X65.F1800.
G00Z127.
G5P0
M9
M5
Announcements