What's new
What's new

canned cycles

MarcP

Plastic
Joined
Aug 13, 2020
Location
USA
I used to run a Mitsubishi wire machine from the 1980's, and it had canned cycles to run Rectangles, circles, tapered circles, etc. They were very useful for a lot of reasons.
My present shop has 4 newer AGIE/GF wire machines and they do not have Any canned cycles whatsoever. is this code out there for the public or is it proprietary?
If I remember, it was just code with a few variable inputs. I would appreciate any guidance.
 
My advice is try it. Worst that could happen is you alarm out I would think. But just in case keep you finger in the stop or ESTOP. What is the code # you are referring to? I would like to research that to use on my Mits maybe.

Tvalen1432
 
I've been looking at making the programs where I work tidier and easier to change by using main programs and then calling sub programs rather than having all the necessary code for a job in one long string of code. It takes getting used to and I'm still not that great with it. The user manual for the machine should give you a start in programming simple things. Once you get your head around what the codes do and where they should go, things will get better with practice. Just be sure to keep sim and single block mode on!
You (and I) need to get your head around the codes, otherwise it may as well be Greek or Russian.
 
Marc,

Macro programming isn't proprietary the EDM world, but there are differences in the machine controls that may require some format modifications or Macro Variable address changes. I’ve provided a program below using Macro Variables for Rectangles for Die Cavities, and this was created for Makino machines. This program has a lot of notes in it to explain what it’s doing, but you might also have to change some of the special function G-Codes for your machine. This program is formatted for the Makino Wire EDM, and this program is using a Rotation command (G68 / G69) that is fairly common, but I’m also using a special M90 & M08 command that allows you to process and change the Tab length during the Rough Cut. I hope this helps!

************************************
(Rectangle Macro-ABS)
(Absolute Positioning - Processes CCW)
(User must enter values for Macro Variables 900 thru 907)
(Input variables are for X & Y axis size and corner radii)
(Program uses Indirect E & D values)
(Start Point is at zero in the Center of geometry)
(BRP-Makino 12-2004)

(Marco Variables)
#900=1.00000(X-axis Size)
#901=0.50000(Y-axis Size)
#902=0.10000(Corner Radius 1)
#903=0.10000(Corner Radius 2)
#904=0.10000(Corner Radius 3)
#905=0.10000(Corner Radius 4)
#906=0.10000(Stop/Tab Length)
#907=0.000(Rotation Value-3 Place Decimal Only)

(Main Program)
G90
G500G54
G0X0.Y0.M06
M90P1S1Q0L1R(#906)
G68X0.Y0.R(UDIV(#907)*1000)
E1D1 (Rough Cut)
M17
G41G1Y(#901/2)
G1X-((#900/2)-#902)
G3X-(#900/2)Y((#901/2)-#902)R(#902)
G1Y-((#901/2)-#903)
G3X-((#900/2)-#903)Y-(#901/2)R(#903)
G1X((#900/2)-#904)
G3X(#900/2)Y-((#901/2)-#904)R(#904)
G1Y((#901/2)-#905)
G3X((#900/2)-#905)Y(#901/2)R(#905)
G1X0.
M08
G40Y0.
E2D2 (Skim 1)
G41G1Y(#901/2)
G1X-((#900/2)-#902)
G3X-(#900/2)Y((#901/2)-#902)R(#902)
G1Y-((#901/2)-#903)
G3X-((#900/2)-#903)Y-(#901/2)R(#903)
G1X((#900/2)-#904)
G3X(#900/2)Y-((#901/2)-#904)R(#904)
G1Y((#901/2)-#905)
G3X((#900/2)-#905)Y(#901/2)R(#905)
G1X0.
G40Y0.
E3D3 (Skim 2)
G41G1Y(#901/2)
G1X-((#900/2)-#902)
G3X-(#900/2)Y((#901/2)-#902)R(#902)
G1Y-((#901/2)-#903)
G3X-((#900/2)-#903)Y-(#901/2)R(#903)
G1X((#900/2)-#904)
G3X(#900/2)Y-((#901/2)-#904)R(#904)
G1Y((#901/2)-#905)
G3X((#900/2)-#905)Y(#901/2)R(#905)
G1X0.
G40Y0.
M07
G69
M30
************************************
Rectangle Macro Info.jpg
 
Hi Marc, as far as I do Mitsubishi WEDM machines for programming canned cycles you just have to put on your main program G54.1 P01 G00 X0.Y0.; and G22 LXXX; but very IMPORTANT IN EVERY MACHINE PUT BEFORE YOUR MOVEMENT TO A CERTAIN WORKPIECE A SECURITY Z HEIGH, is not the first time that machine do some crash because some workpiece is higher than other, said that I will explain the codes:

G54.1 is the G code instruction to call a certain point stored, in this case P01 that means work position W01 ( Mitsubishi has the normal G54 to G59 and also work points from W00 to W99)and then X0. and Y0., you can also modify the 0 point stored in the work position as X2. Y0.
The G22 calls the Line (or subprogram) by his number, so if you want to call the program 200, must put G22 L200; VERY IMPORTANT THAT YOUR SUBPROGRAM FINISH WITH G23 NOT M02, because M02 is program end and G23 is subprogram end and can go to main program to continue another subprogram as L201.
ALL THIS IS ON MITSUBISHI MACHINES, what I want to say with this is in your specific machine should be some G code to call that functions. I hope this info is helpful to you.

Regards.
 
Brian Pfluger,
Thanks, This is similar to what I remember. I will see if I can build something for the GF/Charmieles that I have. I am especially looking for a round that has variable entry and exit radii. Thanks for your help.
 
Not sure if it's helpful, but I used scale factor for straight round holes. Combine that with clearance values and you can get whatever size hole you want. I had just a generic 1" hole programmed, then would scale to say .5 and add -.0002 clearance to get a slip fit on a .5 dowel...

Not sure about a variable lead, but you can also run an extra skim cut on a rotated angle if the lead in - lead out leaves a witness mark.
 








 
Back
Top