Are you getting alarms? What is the machine doing when you command G21 or G17?
My Mazak mazatrol M2 seams bee allergic for G21 and G17
Why and whot can I do.
The machine is metric as is now.
Sven
Thankyou.
Are you getting alarms? What is the machine doing when you command G21 or G17?
It's just a part..... cutter still goes round and round....
Machine stops and show alarm (illegal data)
So i take away G21 and start again.
Same thing and i take away G17.
After that it works.
Sven
What's the alarm number?
Illegal Data also usually means that you are using some codes that cannot be used with each other or on the same line. A conflict of code...
Can you post a portion of the program where you're having problems?
It's just a part..... cutter still goes round and round....
O0100
N1 G54 G90 G80 G21 G17 G00 Its little but problem
starts here.
Machine stops and show alarm (551 illegal data input)
So i take away G21 and start again.
Still same thing so i also take away G17.
After that it works for more then 8000 lines.
Machine is in Europe and all the time in metric mode.
Sven
related comments that may not solve the problem;
I am in the habit of putting G54 in a line all by itself at the first line of the program. In my 30 year history dealing with CNC's (not all accross the board - fanuc, mits, mazatrol, vickers, dyna mechatronics) sometimes problems can be caused by burying G54 with a string of other modals.
Secondly. NOT ALL CNC's can digest more than 3 G codes in one line. Some only act on the first three and ignore the subsequent ones. Mazatrol EIA can digest up to a string of 6, I think?
PROGRAM EXPERIMENT
N1G54
N2 G01
N3 G17
N4 G90
N5 G21
N6 G80
.............
You can put in any G codes you want, in any order you want. The purpose of this is trouble shooting. Using the N word (aka sequence number) will help decode where your program error is taking place. (12, 34, 56) type of info will appear along with the alarm code (Always include the alarm number when asking questions) 12 is program number, 34 is sequence number, 56 is the line after the sequence number 34 is read. I have never quite understood whether the alarm is pointing to "the last good line" or "the line where the problem is", so I use this just to get in the vicinity of the problem.
Use the scientific method. run the experiment and change one thing at a time and record the results.
jim
Not sure if Jim's test is going to work... I suspect no alarms with that. Reason being is that all the codes are valid particularly if you have them all seperated on each line (for this case of the codes being used). But Jim's reasoning is not far off I think and right alongside of what I'm thinking. The problem is the combination of codes in the same line I believe.
In this case (on that ancient control), your plane select is likely the culprit being used on the same line with G54 (and possibly along with G0).
But as Jim suggested, test the difference. Try the same line but only remove G17 (for example)
It's just a part..... cutter still goes round and round....
Hello again Psycomill.
I notice today that it wasent any G40 in begining
but it is a G43 later in prog,coud it be sourse to the problems.
And about compensation some on net or on these site was say
it is nessesary set tools to zero,do that means in tool data and
tool comp.
Thank you one more time.
Sven.
I don't think that would be it. G40 cancels Cutter Compensation and G43 is to activate Tool Length.
This is going to depend on how your machine is set up on the parameters and how you program. If you're only talking about diameter compensation, you're pretty safe to set both sides (Data and Comp) to zero. If you program by centerline of tool, you'll know right away as well since the part size won't be right (1/2 the cutter diameter off).it is nessesary set tools to zero,do that means in tool data and
tool comp.
If you're talking about Tool Length settings, ... You need the tool length active and correct for at least one side. Again, this will depend on parameters.
Sounds like you may need to run a couple tests with tool length and diameter compensation to see how your machine is set up..... be careful doing this....
It's just a part..... cutter still goes round and round....
You Wrote
If you're talking about Tool Length settings, ... You need the tool length active and correct for at least one side. Again, this will depend on parameters.
How do i in tool data set tool lengd without diameter
I belive it will come up something like tol data not complite
And how to understand one side.
Thanks meny times more
Sven
Here is a program that works untill line 11 or 12.
%
O100 (POCKET IDAG..NC)
N1 (TUE. 06/15/2010 10:38AM)
N2 ( MAZATROL CAM M-2 - METRIC)
N3 ( T10 ENDMILL ROUGH , DIAMETER = 16. , LENGTH = 127.)
N4 ( T1 ENDMILL FINISH , DIAMETER = 12.7 , LENGTH = 127.)
N5 G90 G80 G17 G00
N6 G91 G28 Z0.
N7 G91 G28 X0. Y0.
N8 (JOB 1 POCKET)
N9 (FEATURE POCKET)
N10 M06 T10
N11 M03 S994
N12 G54 G90 X.73 Y.73
N13 G43 Z2.54 H10
N14 M08
N15 G01 Z-12.7 F101.0375
N16 X-.73 F197.0232
N17 Y-.73
N18 X.73
N19 Y.73
N20 X8.73
N21 Y8.73
N22 X-8.73
N23 Y-8.73
N24 X8.73
N25 Y.73
N26 X16.73
N27 Y16.73
N28 X-16.73
N29 Y-16.73
N30 X16.73
N31 Y.73
N32 X24.73
N33 Y24.73
N34 X-24.73
N35 Y-24.73
N36 X24.73
N37 Y.73
N38 X32.73
N39 Y32.73
N40 X-32.73
N41 Y-32.73
N42 X32.73
N43 Y.73
N44 Y32.73
N45 X40.73
N46 Y40.73
N47 X-40.73
N48 Y-40.73
N49 X40.73
N50 Y32.73
N51 G00 Z2.54
N52 M09
N53 M05
N54 G91 G30 Z0. H0
N55 (JOB 1 POCKET)
N56 (FEATURE POCKET)
N57 M06 T1
N58 M03 S1879
N59 G54 G90 X43.65 Y43.65
N60 G43 Z2.54 H1
N61 M08
N62 G01 Z-12.7 F190.937
N63 X-43.65
N64 Y-43.65
N65 X43.65
N66 Y43.65
N67 G00 Z2.54
N68 M09
N69 M05
N70 G91 G28 Z0.
N71 G91 G28 X0. Y0.
N72 M02
N73 M30
%
If i set not complet inputs in tool file in the mazak
I will get alarm inadequate data in the tool data
then i try to set the info for the same tool nr.
Do that means that i should set these data on Pc side
in progr cad/cam under tools.