Page 1 of 1

trying to use M98 with G55?

Posted: Mon Apr 06, 2020 8:51 pm
by turbothis
i have 2 vise set up next to each other and want to run the same code in both
instead of just copy and paste the code and offset one half of it i figure i will struggle to learn something
i have 1 manual tool change in the middle too
so i am not sure how to run one part in the vise that is part zero and then run a second part X-8.703

something like a

M98 P100

then call the code O100

but how do you get the g55 offset in there?

Code: Select all

(  SET Z FOR TOOL CHANGE )
(  BLOCK DELETE UNCHECK FOR YUGO )
N5G20G17G90G40G49G80G94
N6G00Z0.5
N7S3500M03
G04P2
N8X-0.2075Y-1.58M08
N9Z0.02
N10G01Z-0.0725F90.0
N11X-0.2075Y-1.33F6.0
N12X-0.2075Y0.0
N13X-0.2075Y0.15
N14G00Z0.5

N15X-0.2075Y-1.58
N16Z-0.0525
N17G01Z-0.145F90.0
N18X-0.2075Y-1.33F6.0
N19X-0.2075Y0.0
N20X-0.2075Y0.15
N21G00Z0.5

N22X-1.7974Y-1.0374
N23Z0.05
N24G01Z-0.094F90.0
N25X-1.7734Y-1.1345F6.0
N26G03X-1.735Y-1.1645I0.0384J0.0095
N27G01X-0.8833Y-1.1645
N28G03X-0.8705Y-1.1354I-0.0268J0.0291
N29X-0.8942Y-1.0992I-0.0395J0.0
N30G02X-0.9455Y-1.0209I0.0342J0.0784
N31G01X-0.9455Y-0.3091
N32G02X-0.8942Y-0.2308I0.0855J0.0
N33G03X-0.8705Y-0.1946I-0.0158J0.0362
N34X-0.8833Y-0.1655I-0.0395J0.0
N35G01X-1.735Y-0.1655
N36G03X-1.7734Y-0.1955I-0.0J-0.0395
N37G00Z0.5
N38X-1.7974Y-1.0374
N39Z-0.044
N40G01Z-0.188F90.0
N41X-1.7734Y-1.1345F6.0
N42G03X-1.735Y-1.1645I0.0384J0.0095
N43G01X-0.8833Y-1.1645
N44G03X-0.8705Y-1.1354I-0.0268J0.0291
N45X-0.8942Y-1.0992I-0.0395J0.0
N46G02X-0.9455Y-1.0209I0.0342J0.0784
N47G01X-0.9455Y-0.3091
N48G02X-0.8942Y-0.2308I0.0855J0.0
N49G03X-0.8705Y-0.1946I-0.0158J0.0362
N50X-0.8833Y-0.1655I-0.0395J0.0
N51G01X-1.735Y-0.1655
N52G03X-1.7734Y-0.1955I-0.0J-0.0395
N53G00Z0.5
N54X-1.7974Y-1.0374
N55Z-0.138
N56G01Z-0.282F90.0
N57X-1.7734Y-1.1345F6.0
N58G03X-1.735Y-1.1645I0.0384J0.0095
N59G01X-0.8833Y-1.1645
N60G03X-0.8705Y-1.1354I-0.0268J0.0291
N61X-0.8942Y-1.0992I-0.0395J0.0
N62G02X-0.9455Y-1.0209I0.0342J0.0784
N63G01X-0.9455Y-0.3091
N64G02X-0.8942Y-0.2308I0.0855J0.0
N65G03X-0.8705Y-0.1946I-0.0158J0.0362
N66X-0.8833Y-0.1655I-0.0395J0.0
N67G01X-1.735Y-0.1655
N68G03X-1.7734Y-0.1955I-0.0J-0.0395
N69G00Z0.5
N70X-1.7974Y-1.0374
N71Z-0.232
N72G01Z-0.376F90.0
N73X-1.7734Y-1.1345F6.0
N74G03X-1.735Y-1.1645I0.0384J0.0095
N75G01X-0.8833Y-1.1645
N76G03X-0.8705Y-1.1354I-0.0268J0.0291
N77X-0.8942Y-1.0992I-0.0395J0.0
N78G02X-0.9455Y-1.0209I0.0342J0.0784
N79G01X-0.9455Y-0.3091
N80G02X-0.8942Y-0.2308I0.0855J0.0
N81G03X-0.8705Y-0.1946I-0.0158J0.0362
N82X-0.8833Y-0.1655I-0.0395J0.0
N83G01X-1.735Y-0.1655
N84G03X-1.7734Y-0.1955I-0.0J-0.0395
N85G00Z0.5
N86X-1.7974Y-1.0374
N87Z-0.326
N88G01Z-0.47F90.0
N89X-1.7734Y-1.1345F6.0
N90G03X-1.735Y-1.1645I0.0384J0.0095
N91G01X-0.8833Y-1.1645
N92G03X-0.8705Y-1.1354I-0.0268J0.0291
N93X-0.8942Y-1.0992I-0.0395J0.0
N94G02X-0.9455Y-1.0209I0.0342J0.0784
N95G01X-0.9455Y-0.3091
N96G02X-0.8942Y-0.2308I0.0855J0.0
N97G03X-0.8705Y-0.1946I-0.0158J0.0362
N98X-0.8833Y-0.1655I-0.0395J0.0
N99G01X-1.735Y-0.1655
N100G03X-1.7734Y-0.1955I-0.0J-0.0395
N101G00Z0.5
N102X-1.006Y-0.665
N103Z0.02
N104G01Z-0.0533F90.0
N105X-0.3602Y-0.665F6.0
N106G00Z0.5
N107X-1.006Y-0.665
N108Z-0.0333
N109G01Z-0.1067F90.0
N110X-0.3602Y-0.665F6.0
N111G00Z0.5
N112X-1.006Y-0.665
N113Z-0.0867
N114G01Z-0.16F90.0
N115X-0.3602Y-0.665F6.0
N116G00Z0.5
N117X-0.9979Y-0.8942
N118Z0.02
N119G01Z-0.16F90.0
N120X-0.9113Y-0.8442F6.0
N121X-0.8247Y-0.7942
N122G02X-0.7734Y-0.7805I0.0513J-0.0888
N123G01X-0.2175Y-0.7805
N124X-0.2175Y-0.5495
N125X-0.7734Y-0.5495
N126G02X-0.8247Y-0.5358I-0.0J0.1025
N127G01X-0.9113Y-0.4858
N128X-0.9979Y-0.4358
N129G00Z0.5
N130X-0.9929Y-0.9029
N131Z0.02
N132G01Z-0.16F90.0
N133X-0.9063Y-0.8529F6.0
N134X-0.8197Y-0.8029
N135G02X-0.7734Y-0.7905I0.0463J-0.0801
N136G01X-0.2075Y-0.7905
N137X-0.2075Y-0.5395
N138X-0.7734Y-0.5395
N139G02X-0.8197Y-0.5271I-0.0J0.0925
N140G01X-0.9063Y-0.4771
N141X-0.9929Y-0.4271
N142G00Z0.5

N144X-1.7564Y-0.2575
N145Z0.05
N146G01Z-0.2F90.0
N147X-1.8564Y-0.2575F30.0
N148X-3.5Y-0.2575
N149G02X-3.5636Y-0.2275I-0.0J0.0825
N150G01X-4.3364Y-0.2275
N151G02X-4.4Y-0.2575I-0.0636J0.0525
N152G01X-7.75Y-0.2575
N153X-7.9Y-0.2575
N154G00Z0.5
N155X-7.9Y-1.0725
N156Z0.05
N157G01Z-0.2F90.0
N158X-7.75Y-1.0725F30.0
N159X-4.4Y-1.0725
N160G02X-4.3364Y-1.1025I-0.0J-0.0825
N161G01X-3.5636Y-1.1025
N162G02X-3.5Y-1.0725I0.0636J-0.0525
N163G01X-1.8564Y-1.0725
N164G03X-1.8439Y-1.0601I0.0J0.0124
N165X-1.8476Y-1.0513I-0.0124J0.0
N166G01X-1.8564Y-1.0425
/N167G00Z0.5

/N169G99G81X-0.302Y0.0Z-0.145R0.10F1.0
/N170Y-1.33
/N171G80
G00Z4.0M09M05 (SET  Z  HERE!)

M00

G43H1
N6G00Z0.5
N7S1000M03
N8X-1.09Y-0.7925m08
N9Z0.02
N10G01Z-0.17F50.0
N11X-0.287Y-0.7925F5.0
N12X-0.287Y-0.5365
N13X-1.14Y-0.5365
G49
N21G00Z4.0m09m05 (SET Z HERE!)

N173M30

Re: trying to use M98 with G55?

Posted: Mon Apr 06, 2020 9:28 pm
by turbothis
aaaaaaaaa my brain!

i think i might have soemething here
not sure how to get rid of the initial below part rapid in the first step

Code: Select all

(  SET Z FOR TOOL CHANGE )
(  BLOCK DELETE UNCHECK FOR YUGO )
N5G20G17G90G40G49G80G94
N6G00Z0.5
N7S3500M03
G04P2

G56
M98 P100

G55
M98 P100

m00

G43H1
N6G00Z0.5
N7S1000M03

G56
M98 P200

G55
M98 P200

M2

O100
g00z0.5
N8X-0.2075Y-1.58M08
N9Z0.02
N10G01Z-0.0725F90.0
N11X-0.2075Y-1.33F6.0
N12X-0.2075Y0.0
N13X-0.2075Y0.15
N14G00Z0.5

N15X-0.2075Y-1.58
N16Z-0.0525
N17G01Z-0.145F90.0
N18X-0.2075Y-1.33F6.0
N19X-0.2075Y0.0
N20X-0.2075Y0.15
N21G00Z0.5

N22X-1.7974Y-1.0374
N23Z0.05
N24G01Z-0.094F90.0
N25X-1.7734Y-1.1345F6.0
N26G03X-1.735Y-1.1645I0.0384J0.0095
N27G01X-0.8833Y-1.1645
N28G03X-0.8705Y-1.1354I-0.0268J0.0291
N29X-0.8942Y-1.0992I-0.0395J0.0
N30G02X-0.9455Y-1.0209I0.0342J0.0784
N31G01X-0.9455Y-0.3091
N32G02X-0.8942Y-0.2308I0.0855J0.0
N33G03X-0.8705Y-0.1946I-0.0158J0.0362
N34X-0.8833Y-0.1655I-0.0395J0.0
N35G01X-1.735Y-0.1655
N36G03X-1.7734Y-0.1955I-0.0J-0.0395
N37G00Z0.5
N38X-1.7974Y-1.0374
N39Z-0.044
N40G01Z-0.188F90.0
N41X-1.7734Y-1.1345F6.0
N42G03X-1.735Y-1.1645I0.0384J0.0095
N43G01X-0.8833Y-1.1645
N44G03X-0.8705Y-1.1354I-0.0268J0.0291
N45X-0.8942Y-1.0992I-0.0395J0.0
N46G02X-0.9455Y-1.0209I0.0342J0.0784
N47G01X-0.9455Y-0.3091
N48G02X-0.8942Y-0.2308I0.0855J0.0
N49G03X-0.8705Y-0.1946I-0.0158J0.0362
N50X-0.8833Y-0.1655I-0.0395J0.0
N51G01X-1.735Y-0.1655
N52G03X-1.7734Y-0.1955I-0.0J-0.0395
N53G00Z0.5
N54X-1.7974Y-1.0374
N55Z-0.138
N56G01Z-0.282F90.0
N57X-1.7734Y-1.1345F6.0
N58G03X-1.735Y-1.1645I0.0384J0.0095
N59G01X-0.8833Y-1.1645
N60G03X-0.8705Y-1.1354I-0.0268J0.0291
N61X-0.8942Y-1.0992I-0.0395J0.0
N62G02X-0.9455Y-1.0209I0.0342J0.0784
N63G01X-0.9455Y-0.3091
N64G02X-0.8942Y-0.2308I0.0855J0.0
N65G03X-0.8705Y-0.1946I-0.0158J0.0362
N66X-0.8833Y-0.1655I-0.0395J0.0
N67G01X-1.735Y-0.1655
N68G03X-1.7734Y-0.1955I-0.0J-0.0395
N69G00Z0.5
N70X-1.7974Y-1.0374
N71Z-0.232
N72G01Z-0.376F90.0
N73X-1.7734Y-1.1345F6.0
N74G03X-1.735Y-1.1645I0.0384J0.0095
N75G01X-0.8833Y-1.1645
N76G03X-0.8705Y-1.1354I-0.0268J0.0291
N77X-0.8942Y-1.0992I-0.0395J0.0
N78G02X-0.9455Y-1.0209I0.0342J0.0784
N79G01X-0.9455Y-0.3091
N80G02X-0.8942Y-0.2308I0.0855J0.0
N81G03X-0.8705Y-0.1946I-0.0158J0.0362
N82X-0.8833Y-0.1655I-0.0395J0.0
N83G01X-1.735Y-0.1655
N84G03X-1.7734Y-0.1955I-0.0J-0.0395
N85G00Z0.5
N86X-1.7974Y-1.0374
N87Z-0.326
N88G01Z-0.47F90.0
N89X-1.7734Y-1.1345F6.0
N90G03X-1.735Y-1.1645I0.0384J0.0095
N91G01X-0.8833Y-1.1645
N92G03X-0.8705Y-1.1354I-0.0268J0.0291
N93X-0.8942Y-1.0992I-0.0395J0.0
N94G02X-0.9455Y-1.0209I0.0342J0.0784
N95G01X-0.9455Y-0.3091
N96G02X-0.8942Y-0.2308I0.0855J0.0
N97G03X-0.8705Y-0.1946I-0.0158J0.0362
N98X-0.8833Y-0.1655I-0.0395J0.0
N99G01X-1.735Y-0.1655
N100G03X-1.7734Y-0.1955I-0.0J-0.0395
N101G00Z0.5
N102X-1.006Y-0.665
N103Z0.02
N104G01Z-0.0533F90.0
N105X-0.3602Y-0.665F6.0
N106G00Z0.5
N107X-1.006Y-0.665
N108Z-0.0333
N109G01Z-0.1067F90.0
N110X-0.3602Y-0.665F6.0
N111G00Z0.5
N112X-1.006Y-0.665
N113Z-0.0867
N114G01Z-0.16F90.0
N115X-0.3602Y-0.665F6.0
N116G00Z0.5
N117X-0.9979Y-0.8942
N118Z0.02
N119G01Z-0.16F90.0
N120X-0.9113Y-0.8442F6.0
N121X-0.8247Y-0.7942
N122G02X-0.7734Y-0.7805I0.0513J-0.0888
N123G01X-0.2175Y-0.7805
N124X-0.2175Y-0.5495
N125X-0.7734Y-0.5495
N126G02X-0.8247Y-0.5358I-0.0J0.1025
N127G01X-0.9113Y-0.4858
N128X-0.9979Y-0.4358
N129G00Z0.5
N130X-0.9929Y-0.9029
N131Z0.02
N132G01Z-0.16F90.0
N133X-0.9063Y-0.8529F6.0
N134X-0.8197Y-0.8029
N135G02X-0.7734Y-0.7905I0.0463J-0.0801
N136G01X-0.2075Y-0.7905
N137X-0.2075Y-0.5395
N138X-0.7734Y-0.5395
N139G02X-0.8197Y-0.5271I-0.0J0.0925
N140G01X-0.9063Y-0.4771
N141X-0.9929Y-0.4271
N142G00Z0.5

N144X-1.7564Y-0.2575
N145Z0.05
N146G01Z-0.2F90.0
N147X-1.8564Y-0.2575F30.0
N148X-3.5Y-0.2575
N149G02X-3.5636Y-0.2275I-0.0J0.0825
N150G01X-4.3364Y-0.2275
N151G02X-4.4Y-0.2575I-0.0636J0.0525
N152G01X-7.75Y-0.2575
N153X-7.9Y-0.2575
N154G00Z0.5
N155X-7.9Y-1.0725
N156Z0.05
N157G01Z-0.2F90.0
N158X-7.75Y-1.0725F30.0
N159X-4.4Y-1.0725
N160G02X-4.3364Y-1.1025I-0.0J-0.0825
N161G01X-3.5636Y-1.1025
N162G02X-3.5Y-1.0725I0.0636J-0.0525
N163G01X-1.8564Y-1.0725
N164G03X-1.8439Y-1.0601I0.0J0.0124
N165X-1.8476Y-1.0513I-0.0124J0.0
N166G01X-1.8564Y-1.0425
/N167G00Z0.5

/N169G99G81X-0.302Y0.0Z-0.145R0.10F1.0
/N170Y-1.33
/N171G80
G00Z0.5M09M05 (SET  Z  HERE!)

M99


G43H1
N6G00Z0.5
N7S1000M03

O200
N8X-1.09Y-0.7925m08
N9Z0.02
N10G01Z-0.17F50.0
N11X-0.287Y-0.7925F5.0
N12X-0.287Y-0.5365
N13X-1.14Y-0.5365
G49
m99

N21G00Z4.0m09m05 (SET Z HERE!)

N173M30

Re: trying to use M98 with G55?

Posted: Mon Apr 06, 2020 9:36 pm
by TomKerekes
Hi turbothis,

I'd start with a simple example using 2 fixture offsets. And code something like this pseudo code:

Code: Select all

Select offset 1 - (G54)
Call subroutine 100
Do a tool change
Select offset 2 - (G55)
Call subroutine 100
Stop

<======  note: putting code here would make no sense and never be executed

Subroutine 100
GCode
GCode
GCode
Return from subroutine

<======  note: putting code here would make no sense and never be executed

HTH

Re: trying to use M98 with G55?

Posted: Mon Apr 06, 2020 10:21 pm
by turbothis
ya i think i am getting that now
i just cant grasp the whole g54 and g55 fixture offset thing
this is why in the past 10 years i have not used it :x

so every time i set up the mill i have the rear/right of the vise is the part zero
i have marks on the pulleys to verify this is <.001
now that i am X Y zero i push "zero" on kmotion
i then set the Z axis on top of material and hit " zero" again on kmotion
why do i get different g54 and g55 positions?
i am about sure i am doing this wrong but want to figure it out!

Re: trying to use M98 with G55?

Posted: Mon Apr 06, 2020 10:23 pm
by turbothis
where i am at now

Image

Code: Select all

(  BLOCK DELETE UNCHECK FOR YUGO )
N5G20G17G90G40G49G80G94
N7S1500M03
G04P4

G54            (FIRST MAIN )
M98 P100

G55            ( SECOND MAIN )
M98 P100

G00Z4.0m09m05  ( TOOL CHANGE Z )
m00

G43H1
N6G00Z0.5
N7S1000M03

G54            ( FIRST KEYSEAT )
M98 P200

G55            ( SECOND KEYSEAT )
M98 P200
G49

G00Z4.0m09m05  ( TOOL CHANGE Z )

M2             ( END OF PROGRAM )

O100
G00z0.5
N8X-0.2075Y-1.58M08
N9Z0.02
N10G01Z-0.0725F90.0
N11X-0.2075Y-1.33F6.0
N12X-0.2075Y0.0
N13X-0.2075Y0.15
N14G00Z0.5

N15X-0.2075Y-1.58
N16Z-0.0525
N17G01Z-0.145F90.0
N18X-0.2075Y-1.33F6.0
N19X-0.2075Y0.0
N20X-0.2075Y0.15
N21G00Z0.5

N22X-1.7974Y-1.0374
N23Z0.05
N24G01Z-0.094F90.0
N25X-1.7734Y-1.1345F6.0
N26G03X-1.735Y-1.1645I0.0384J0.0095
N27G01X-0.8833Y-1.1645
N28G03X-0.8705Y-1.1354I-0.0268J0.0291
N29X-0.8942Y-1.0992I-0.0395J0.0
N30G02X-0.9455Y-1.0209I0.0342J0.0784
N31G01X-0.9455Y-0.3091
N32G02X-0.8942Y-0.2308I0.0855J0.0
N33G03X-0.8705Y-0.1946I-0.0158J0.0362
N34X-0.8833Y-0.1655I-0.0395J0.0
N35G01X-1.735Y-0.1655
N36G03X-1.7734Y-0.1955I-0.0J-0.0395
N37G00Z0.5
N38X-1.7974Y-1.0374
N39Z-0.044
N40G01Z-0.188F90.0
N41X-1.7734Y-1.1345F6.0
N42G03X-1.735Y-1.1645I0.0384J0.0095
N43G01X-0.8833Y-1.1645
N44G03X-0.8705Y-1.1354I-0.0268J0.0291
N45X-0.8942Y-1.0992I-0.0395J0.0
N46G02X-0.9455Y-1.0209I0.0342J0.0784
N47G01X-0.9455Y-0.3091
N48G02X-0.8942Y-0.2308I0.0855J0.0
N49G03X-0.8705Y-0.1946I-0.0158J0.0362
N50X-0.8833Y-0.1655I-0.0395J0.0
N51G01X-1.735Y-0.1655
N52G03X-1.7734Y-0.1955I-0.0J-0.0395
N53G00Z0.5
N54X-1.7974Y-1.0374
N55Z-0.138
N56G01Z-0.282F90.0
N57X-1.7734Y-1.1345F6.0
N58G03X-1.735Y-1.1645I0.0384J0.0095
N59G01X-0.8833Y-1.1645
N60G03X-0.8705Y-1.1354I-0.0268J0.0291
N61X-0.8942Y-1.0992I-0.0395J0.0
N62G02X-0.9455Y-1.0209I0.0342J0.0784
N63G01X-0.9455Y-0.3091
N64G02X-0.8942Y-0.2308I0.0855J0.0
N65G03X-0.8705Y-0.1946I-0.0158J0.0362
N66X-0.8833Y-0.1655I-0.0395J0.0
N67G01X-1.735Y-0.1655
N68G03X-1.7734Y-0.1955I-0.0J-0.0395
N69G00Z0.5
N70X-1.7974Y-1.0374
N71Z-0.232
N72G01Z-0.376F90.0
N73X-1.7734Y-1.1345F6.0
N74G03X-1.735Y-1.1645I0.0384J0.0095
N75G01X-0.8833Y-1.1645
N76G03X-0.8705Y-1.1354I-0.0268J0.0291
N77X-0.8942Y-1.0992I-0.0395J0.0
N78G02X-0.9455Y-1.0209I0.0342J0.0784
N79G01X-0.9455Y-0.3091
N80G02X-0.8942Y-0.2308I0.0855J0.0
N81G03X-0.8705Y-0.1946I-0.0158J0.0362
N82X-0.8833Y-0.1655I-0.0395J0.0
N83G01X-1.735Y-0.1655
N84G03X-1.7734Y-0.1955I-0.0J-0.0395
N85G00Z0.5
N86X-1.7974Y-1.0374
N87Z-0.326
N88G01Z-0.47F90.0
N89X-1.7734Y-1.1345F6.0
N90G03X-1.735Y-1.1645I0.0384J0.0095
N91G01X-0.8833Y-1.1645
N92G03X-0.8705Y-1.1354I-0.0268J0.0291
N93X-0.8942Y-1.0992I-0.0395J0.0
N94G02X-0.9455Y-1.0209I0.0342J0.0784
N95G01X-0.9455Y-0.3091
N96G02X-0.8942Y-0.2308I0.0855J0.0
N97G03X-0.8705Y-0.1946I-0.0158J0.0362
N98X-0.8833Y-0.1655I-0.0395J0.0
N99G01X-1.735Y-0.1655
N100G03X-1.7734Y-0.1955I-0.0J-0.0395
N101G00Z0.5
N102X-1.006Y-0.665
N103Z0.02
N104G01Z-0.0533F90.0
N105X-0.3602Y-0.665F6.0
N106G00Z0.5
N107X-1.006Y-0.665
N108Z-0.0333
N109G01Z-0.1067F90.0
N110X-0.3602Y-0.665F6.0
N111G00Z0.5
N112X-1.006Y-0.665
N113Z-0.0867
N114G01Z-0.16F90.0
N115X-0.3602Y-0.665F6.0
N116G00Z0.5
N117X-0.9979Y-0.8942
N118Z0.02
N119G01Z-0.16F90.0
N120X-0.9113Y-0.8442F6.0
N121X-0.8247Y-0.7942
N122G02X-0.7734Y-0.7805I0.0513J-0.0888
N123G01X-0.2175Y-0.7805
N124X-0.2175Y-0.5495
N125X-0.7734Y-0.5495
N126G02X-0.8247Y-0.5358I-0.0J0.1025
N127G01X-0.9113Y-0.4858
N128X-0.9979Y-0.4358
N129G00Z0.5
N130X-0.9929Y-0.9029
N131Z0.02
N132G01Z-0.16F90.0
N133X-0.9063Y-0.8529F6.0
N134X-0.8197Y-0.8029
N135G02X-0.7734Y-0.7905I0.0463J-0.0801
N136G01X-0.2075Y-0.7905
N137X-0.2075Y-0.5395
N138X-0.7734Y-0.5395
N139G02X-0.8197Y-0.5271I-0.0J0.0925
N140G01X-0.9063Y-0.4771
N141X-0.9929Y-0.4271
N142G00Z0.5

N144X-1.7564Y-0.2575
N145Z0.05
N146G01Z-0.2F90.0
N147X-1.8564Y-0.2575F30.0
N148X-3.5Y-0.2575
N149G02X-3.5636Y-0.2275I-0.0J0.0825
N150G01X-4.3364Y-0.2275
N151G02X-4.4Y-0.2575I-0.0636J0.0525
N152G01X-7.75Y-0.2575
N153X-7.9Y-0.2575
N154G00Z0.5
N155X-7.9Y-1.0725
N156Z0.05
N157G01Z-0.2F90.0
N158X-7.75Y-1.0725F30.0
N159X-4.4Y-1.0725
N160G02X-4.3364Y-1.1025I-0.0J-0.0825
N161G01X-3.5636Y-1.1025
N162G02X-3.5Y-1.0725I0.0636J-0.0525
N163G01X-1.8564Y-1.0725
N164G03X-1.8439Y-1.0601I0.0J0.0124
N165X-1.8476Y-1.0513I-0.0124J0.0
N166G01X-1.8564Y-1.0425
/N167G00Z0.5

/N169G99G81X-0.302Y0.0Z-0.145R0.10F1.0
/N170Y-1.33
/N171G80
G00Z0.5

M99         ( END )

O200
N8X-1.09Y-0.7925m08
N9Z0.02
N10G01Z-0.17F50.0
N11X-0.287Y-0.7925F5.0
N12X-0.287Y-0.5365
N13X-1.14Y-0.5365
g00z0.5

m99          ( END )

Re: trying to use M98 with G55?

Posted: Tue Apr 07, 2020 8:03 pm
by turbothis
yes!
I THINK I HAVE A HANDLE ON THIS NOW

Code: Select all

( 5/32"  )
( right side of vise is X zero )
G20G17G90G40G49G80G94

S2000M03
G00Z0.5 M08
               ( M64 IS  Y-.065 )

G54            ( FIRST DRILL )
M98 P100

G55            ( SECOND DRILL )
M98 P100

S3000
 
G55            ( FIRST END MILL )               
M98 P200

G54            ( SECOND END MILL )
M98 P200
G49

G00Z4.0m09m05  ( TOOL CHANGE Z )

M2  



O100
N10G81X-5.375Y-0.1925Z-0.15R0.15F1.0M08
N11Y-1.1425
N12X-5.059
N13Y-0.1925
N14X-2.445Y-0.6675
N16X-1.335
N17X-0.935
N18G80
G00Z0.5
M99


O200
N21X-1.825Y-0.6675
N22Z0.1
N23G01Z0.0F2.0
N24G03X-1.91Y-0.5825Z-0.0063I-0.085J0.0F15.0
N25X-1.995Y-0.6675Z-0.0125I0.0J-0.085
N26X-1.91Y-0.7525Z-0.0188I0.085J0.0
N27X-1.825Y-0.6675Z-0.025I0.0J0.085
N28X-1.91Y-0.5825Z-0.0313I-0.085J0.0
N29X-1.995Y-0.6675Z-0.0375I0.0J-0.085
N30X-1.91Y-0.7525Z-0.0438I0.085J0.0
N31X-1.825Y-0.6675Z-0.05I0.0J0.085
N32X-1.91Y-0.5825Z-0.0563I-0.085J0.0
N33X-1.995Y-0.6675Z-0.0625I0.0J-0.085
N34X-1.91Y-0.7525Z-0.0688I0.085J0.0
N35X-1.825Y-0.6675Z-0.075I0.0J0.085
N36X-1.91Y-0.5825Z-0.0813I-0.085J0.0
N37X-1.995Y-0.6675Z-0.0875I0.0J-0.085
N38X-1.91Y-0.7525Z-0.0938I0.085J0.0
N39X-1.825Y-0.6675Z-0.1I0.0J0.085
N40X-1.91Y-0.5825Z-0.1063I-0.085J0.0
N41X-1.995Y-0.6675Z-0.1125I0.0J-0.085
N42X-1.91Y-0.7525Z-0.1188I0.085J0.0
N43X-1.825Y-0.6675Z-0.125I0.0J0.085
N44X-1.91Y-0.5825Z-0.1313I-0.085J0.0
N45X-1.995Y-0.6675Z-0.1375I0.0J-0.085
N46X-1.91Y-0.7525Z-0.1438I0.085J0.0
N47X-1.825Y-0.6675Z-0.15I0.0J0.085
N48X-1.91Y-0.5825Z-0.1563I-0.085J0.0
N49X-1.995Y-0.6675Z-0.1625I0.0J-0.085
N50X-1.91Y-0.7525Z-0.1688I0.085J0.0
N51X-1.825Y-0.6675Z-0.175I0.0J0.085
N52X-1.91Y-0.5825Z-0.1813I-0.085J0.0
N53X-1.995Y-0.6675Z-0.1875I0.0J-0.085
N54X-1.91Y-0.7525Z-0.1938I0.085J0.0
N55X-1.825Y-0.6675Z-0.2I0.0J0.085
N56G00Z0.5

N57X-3.7125Y-0.534
N58Z0.1
N59G01Z-0.15F2.0
N60X-3.7125Y-0.801F5.0
N61G02X-3.7907Y-0.888I-0.0875J0.0
N62G01X-2.9245Y-0.888
N63G02X-2.8375Y-0.9662I0.0J-0.0875
N64G01X-2.8375Y-0.3688
N65G02X-2.9245Y-0.447I-0.087J0.0093
N66G01X-3.7907Y-0.447
N67G02X-3.7125Y-0.534I-0.0093J-0.087

N78g01Z-0.22F20.0
N79X-3.7225Y-0.801F10.0
N80G02X-3.8Y-0.8785I-0.0775J0.0
N81G01X-3.887Y-0.8785
N82G03X-3.897Y-0.8885I0.0J-0.01
N83X-3.8901Y-0.898I0.01J0.0
N84G01X-2.9245Y-0.898
N85G02X-2.847Y-0.9755I0.0J-0.0775
N86G03X-2.837Y-0.9855I0.01J0.0
N87X-2.8275Y-0.9786I0.0J0.01
N88G01X-2.8275Y-0.3564
N89G03X-2.837Y-0.3495I-0.0095J-0.0031
N90X-2.847Y-0.3595I0.0J-0.01
N91G02X-2.9245Y-0.437I-0.0775J0.0
N92G01X-3.8901Y-0.437
N93G03X-3.897Y-0.4465I0.0031J-0.0095
N94X-3.887Y-0.4565I0.01J0.0
N95G01X-3.8Y-0.4565
N96G02X-3.7225Y-0.534I0.0J-0.0775
N97G00Z0.5

N98X-5.915Y-0.8975
N99Z0.1
N100G01Z-0.22F90.0
N101X-5.9736Y-0.9561F8.0
N102G03X-5.9978Y-1.0147I0.0586J-0.0586
N103X-5.915Y-1.0975I0.0828J0.0
N104G01X-5.665Y-1.0975
N105X-5.665Y-0.2375
N106X-5.915Y-0.2375
N107G03X-5.9978Y-0.3203I0.0J-0.0828
N108X-5.9736Y-0.3789I0.0828J0.0m09m05
N213G00Z0.5
M99