Products Catalogue Home     |     About Us    |     Retrofit     |     Download     |     News     |     Tech Support     |     Contact Us     |     
ppr fittings-NF-4011-Newsun Industry Co., Ltd
Home > Tech Support >

Macro programs 9013 9014 and 9015

 

GSK983M-S Milling CNC System Operator:

We deleted the Macro programs 9013, 9014 and 9015 by mistake, can you send us these Macro programs? The CNC milling system is GSK983M-S, thank you.

 

CNCmakers Support:

Please kindly find below:

 

%

:9013

(V1.5)

N10#3003=1

N20IF[#26EQ#0]GOTO420

N30IF[#9EQ#0]GOTO420

N40IF[#18EQ#0]GOTO420

N50IF[#13EQ#0]GOTO420

N60IF[#19EQ#0]GOTO420

N70IF[#4006EQ20]GOTO100

N80#147=1.024

N90GOTO110

N100#147=1.024/25.4

N110IF[#17NE#0]GOTO130

N120#17=0.5

N130IF[#4003EQ91]GOTO170

N140IF[#26GE#18]GOTO430

N145#145=#18-#26

N150#146=ABS[[#145/#9]*#147]

N160GOTO200

N170IF[#26GE0]GOTO430

N180#145=ABS[#26]

N190#146=[#145/#9]*#147

N200#148=SQRT[#19*#147*#19*#147+#19*#9*#19*#9]

N210IF[#17GE0]GOTO240

N220#139=0.5111

N230GOTO250

N240#139=ABS[#17]

N250#17=ABS[#17]

N280M5S#19

/9N290(M19)

/9N300G04X0.1

N310M29

N320#140=#5003

N330G04X0.1

N310G92W0

/9N340M5

N350#3003=0

N360G0X#24Y#25

N370Z#18

N380#3003=1

N385#144=#5003

N390G65P9014Z#26R#18F#9M#13S#19Q#17

N400G66P9014Z#26R#18F#9M#13S#19Q#17

N410GOTO440

N420#3000=1(Z/R/M/F/S VALUE MISSING)

N430#3000=2(Z LAGER THAN R)

N440M99

 

:9014

N10#3003=1

N20#142=#4003

N40#3003=0

N50G0G90Z#144

N60#3003=1

N70#3004=3

N80#141=0

N100IF[#17GE#145]GOTO260

N110IF[#139NE0.5111]GOTO260

N120WHILE[[#141+#17]LT#145]DO1

N130#141=#141+#17

N140#143=[#141/#9]*#147

N150IF[#13EQ4]GOTO180

N160G09G01G91Z-#141W#143F[#148]M3

N170GOTO220

N180G01G09G91Z-#141W-#143F[#148]M4

N190G04X0.5M5

N200G01G09G91Z#141W#143F[#148]M3

N210GOTO240

N220G04X0.5M5

N230G01G09G91Z#141W-#143F[#148]M4

N240M5

N250END1

N260M5

N270IF[#13EQ4]GOTO300

N280G09G01G91Z-#145W#146F[#148]M3

N290GOTO340

N300G09G91G01Z-#145W-#146F[#148]M4

N310G04X#139M5

N320G01G09G91Z#145W#146F[#148]M3

N330GOTO360

N340G04X#139M5

N350G01G09G91Z#145W-#146F[#148]M4

N360#3004=0

N370#3003=0

N375M5

N380IF[#4010EQ99]GOTO400

N390G00G90Z#140M5

N400#3003=1

N410G0G#142

N420#3003=0

M99

 

:9015

N10#3003=1

N20G4X0.1

N30G67

N40M39

N50#140=#0

N60#141=#0

N70#142=#0

N80#143=#0

N90#144=#0

N100#145=#0

N110#146=#0

N100#147=#0

N110#148=#0

N115#139=#0

N120#3003=0

M99

%


—[Close]— —[ Back]— —[ Print]—