What's new
What's new

Mitsubishi FX-10 1997, sample program

Jeff247

Plastic
Joined
Oct 29, 2019
hi, i am looking for someone who has same machine and who could give me an example of these programs in "G" code. I put one of my programs here and if someone sees errors, please let me know.

Thank you

(The program is two holes of ø 0.060")

%
L5555/TEST
N10 G70 G90
N15 G92
N16 G00 X1.0 Y1.0
N20 M20
N25 M78 M78
N30 M80 M82 M84
N35 E1231
N40 H1
N45 F0.12
N50 G01 G42 X1.03
N55 G02 X0.97 I-0.03 J0.
N60 X0.9971 Y1.0299 I0.03 J0.
N65 G01 G40 X0.999 Y1.01 A0
N70 M21
N75 G00 X1.0 Y2.0
N80 M20
N85 M78 M78
N90 M80 M82 M84
N95 E1231
N100 H1
N105 F0.12
N110 G01 G42 X1.03
N115 G02 X0.97 I-0.03 J0.
N120 X0.9971 Y2.0299 I0.03 J0.
N125 G01 G40 X0.999 Y2.01 A0
N130 M21
N135 G23
N140 M02
%
 
Jef247,
There are a number of ways to post a program as far as formats go. I can show you how I have mine layed out and point out a few errors I did notice in yours. This is just how I make mine to look like and does not mean yours is entirely wrong...just different.
What I did notice in yours is that you don't define the H1. Example H1=.0057. The H1 is what you want your offset to be. Also I noticed you don't use M90 or M91 for PM which is not mandatory but is recomended for most of the time. Also you have a G23 at the end of your program which is only used if the program is a sub program. The G23 tells it to go back to the main program and in the main program it would have a G22 L---; (what ever your sub program is to be called). I can give you the two different examples if you like.
N10;
E1231 F.04 H1=.0057;
M20;
M78 M78:
M80 M82 M84;
G90 G92 X1.0 Y1.0 M90:
G1 G42 X1.03;
G2 x0.97 I-0.03 J0;
------rest of program;
G1 G40 X0.999 Y1.01 M91:
M21;
G00 X1.0 Y2.0;
N20:
(Same format as above)
G1 G40 X0.999 Y2.01 M91;
M02;

I hope this helps a little. If you need more explanation of the codes let me know.
TValen1432
 
Hi TValen1432, it would be nice to see your sample programs so one with multiple cuts would be great.

Thank you

jeff247
 
I wish I knew how to insert a document but I don't so hopefully the image works.
Capture.JPG
The image will explain the program below:
The main program looks like this:
N10;
G53 G92 X0.00 Y0.00;
G1 G90 G54 X0.805 Y0.950 F15. M91;
E1001 F20. H1+.0057;
G22 L875;
M21 M58;
;
N20;
G53 G92 X0.00 Y0.00;
G1 G90 G54 X2.305 Y0.950 F15. M91;
E1001 F20. H1=.0057;
G22 L875;
M21 M58;
;
M02;
**The main program works off the G54 location as X0 Y0. When you use a sub program, it is important that it starts from it's own X0 Y0 location which in turn is X0.805 Y0.950 from the main program. This enables you to run the same part multiple times being consistant shape from multiple locations on your part.**
When you have your sub program it will look something like this:

(starts with M20; and does NOT HAVE N10, or the EPAC line because it is already in the main prog)
M20;
M78 M78;
M80 M82 M84;
G90 G92 X0.00 Y0.00 M90; (Should have M90 to turn on Power Master and End with M91)
G1 G41 X--- Y---;
G3--
body of program
G1 G40 X0.00 Y0.00 F5. M91;
G23;
%
Notice the G23 which tells it to go back to the main program. If there is an M02 it will end the program and nort go back to the main again.

I hope this was not confusing.
Now if you wanted to add rotation the main program block would look like so.....
N10;
G53 G92 X0.00 Y0.00;
G1 G90 G54 X-1.0 Y-1.0 F15. M91;
E1001 F20. H1=.0057;
K90.;
G22 L326;
K0.;
M21 M58;
;
M02;
%
**Please note that the sub will remain the same just rotated when cut. ALSO the K means rotate and you MUST HAVE A PERIOD after the degree of rotation then ; or it wont work. If you have multiple passes you just put the K0. after the last pass. So multiple passes will look like this:

N10;
G53 G92 x0.00 y0.00;
G1 G90 G54 x1.0 Y1.0 F15. M91;
E1001 F.04 H1=.0081;
G22 L123;
E1002 F.08 H1=.0061;
G22 L123;
E1002 F.14 H1=.0051;
G22 L123;
and so on.
I have a group of settings of offsets and feed rates and EPAC #'s that I can get with in tenths of my target that I use that work on my machine.

If you have any questions let me know and hopefully I can answer them.
Thanks,
Tvalen1432
 
A big thank you for all these explanations, very easy to understand.

But now the real problem with my Mits is that when I have several cuts in the same program, when it arrives at its second form ... the machine refuses to thread ... it believes that the wire is still there, but the wire it's not there .... it starts threading 1 second and cuts its wire ..... and starts again again and again 5 or 6 times ..... it does the same thing when the wire breaks during a cut .. ..it returns to its threading point and does the same shit again. I was like ... I forgot something in my program, a code that cancels another code ... I don't know ... but the only way to solve my problem is to shut down my machine and the treading works again. ..from there comes my idea that I was missing a code.

thank you
 
As long as you have the M20(check wire is threaded/thread wire) followed by the M78 M78(fill tank to first fill line then to level stop point) etc. I honestly don't think it's a code you are missing. Sometimes this happens to me as well. There is an AF maintenance screen that tells you exactly which point there was a problem threading at. If you push the grey maint. button below the screen you will see on the right bottom of screen an AF Maint option(#8 button). Once there it will be high lighted at which point it had trouble threading. Look for small piece of wire or clean the specified section etc. There is no need to shut machine down when this occurs. Just hit stop, make sure no wire stuck anywhere, and thread manually. I like it to come out upper wire guide at least and then let out some slack before I thread thru part and into lower guide. To do this you go to Aux Switch screen(below screen), then push 6 to advance wire a little, then push 7 to turn on suction and rollers to feed to cutter until it shuts off indicating wire reached fully threaded. Then continue with program.
Also by it starting to thread, stopping, starting etc it sounds like it is sensing wire some where so if you don't see any try cleaning the aspirator, wire cutter, rollers etc as well. Though annoying, it is common with the machine.

Glad to help! That's what it's all about anyways right? Pay it forward
Tvalen1432
 
I believe there has been past posts about threading problems you might want to check out in case they might have other ideas as to whats going on also. Just a suggestion but with each problem/situation I have with my machine, I keep a record as to what is happening and also what was the remedy. Helps me in future ref and good to have because if I order parts it has part# ref as well.

Tvalen1432
 
Yes that's right. I see that she makes contact when she wants to thread the wire. So I'm going to clean the top part and try again.

Thanks to you!!
Jeff247
 
Wire could be in pipe, twisted in wheels below it, even a piece by power feeders, in flush cup area, etc. That wire can be a tricky SOB some times. LOL :scratchchin: But check all the way to exit point at cutter.

TValen1432
 








 
Back
Top