trying to use M98 with G55?
Posted: Mon Apr 06, 2020 8:51 pm
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?
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