
Then it will be used in 2 or 3 calls for 2 tools (rougher and finisher are involved).Įach subsequent pass will be progressively SMALLER, of course. Program comments are self-explanatory I think.Īfter tested and proven - program will be turned into G65 macro call, with N110-N118 variables made local. IF THEN#3000=1 (INITIAL THREAD HEIGHT MUST NOT BE M99 AFTER TESTS ARE FINISHED) G0 T0707 (TOOL CALL OUTPUT TO MAIN PROGRAM AFTER TESTS ARE FINISHED) M42 (CHANGE TO APPROPRIATE GEAR ON MAZAK) #619= FUP (NUMBER OF CUTS = HGHT TO CUT/AVERAGE DOC ROUNDED UP ) #617= (HGHT TO CUT MINUS FINISH ALLOWANCE) N117#609=.0005 (AMOUNT FOR FINISH ALLOWANCE -> R IN 1ST LINE OF G76 IN FANUC) N116#607=.006 (MINIMUM DEPTH OF CUT -> Q IN 1ST LINE OF G76 IN FANUC) N115#606=.01 (DEPTH OF FIRST CUT -> Q IN 2ND LINE OF G76 IN FANUC) N111#601=.2085 (TARGET THREAD HEIGHT -> HGT IN MAZATROL P IN 2ND LINE OF G76 IN FANUC) N110#600=.0 (INITIAL THREAD HEIGHT -> THREAD ALREADY CUT, IF ANY) (INPUT REQUIRED VALUES IN LINES N110-N118 BELOW: ) (,AND THEN CUTS AMOUNT SET FOR FINISH ALLOWANCE AS VERY LAST CUT) (,MAINTAINING MORE EVEN LOAD ON THE INSERT) (MACRO DECREASES DOC FROM DEPTH OF 1ST CUT UNTIL MIN DOC IS REACHED AT NEXT-TO-LAST PASS)

(FANUC ALGORITHM WOULD NOT BE SUITABLE FOR THIS JOB - DOC DECREASES TOO FAST) (DECREASING DEPTH OF CUT - NOT A FANUC G76 ALGORITHM) Any ideas?).Ĭlick to expand.Each subsequent pass will be progressively SMALLER, of course. I am assuming decimal point is not allowed because that`s how it works on FANUC, but I have to be sure (and I do not really know how to check it without actually cutting and possibly scrapping a part. Mazak EIA programming manuals I have looked through do not specify whether Q value (shift angle of thread start) in G32 threading cycle should be with or without decimal point.

Are there differences in EIA/ISO syntax/capabilities between different Mazak controllers?ģ. Where on the web can I find info about differences between FANUC G-code and Mazak EIA/ISO flavour?Ģ. Line N117 looks like that: N117#609=.0005 (AMOUNT FOR FINISH ALLOWANCE -> R IN 1ST LINE OF G76 IN FANUC)Īfter removing this - controller alarms out on next line containing macro variable, and so on.ġ.

Line N222 looks like that: N222 (DATA VERIFICATION)Īfter getting rid of whole line - I am getting next error : Macro program works fine on FANUC Oi-TC machine, but trying to run it on Mazak (Matrix Nexus) results in alarms. Therefore I created a macro program that is supposed to do the job, with variables defining required cutting parameters. I want to cut heavy multistart widened ACME thread the way that one pass is taken progressively deeper on each thread lead until all is finished (impossible in Mazatrol). My current project is to reprogram threading on certain part from Mazatrol to EIA macro in order to improve reliability of the process.
