hostinggerma.blogg.se

Feature cam change post from rad to dia
Feature cam change post from rad to dia






  1. Feature cam change post from rad to dia how to#
  2. Feature cam change post from rad to dia code#

I have found this macro to be VERY handy and a very fast way of programming helical milled holes. the bulk of the library file is actually taken up with alarm statements to help the user at the machine if any part of the G103 command is missing.Īs the macro uses incremental mode for machining the hole, you can position the tool anywhere on the job and call this routine very easily. I have included comments for most lines to explain what they do. but to list the first point and all other points on the line after the G103 line and make sure you cancel the cycle with a G100! Z-70.Īs you might be able to see, the use of the helical milling routine is as simple as drilling a hole! The main tricks to remember when using the G103 command is to not just position at the first point and call the routine, as in like a drilling cycle, and then list the points for the next hole. Mill a hole 62mm diameter 70mm deep using a 4 flute 40mm diam tip tool. G100 Cancel Subprogram same as using G80 for std drilling cycles

Feature cam change post from rad to dia code#

G103 G Code for the Helical program VIA G-Code Macro setting. To use the program, follow the example below N30 G1 G40 X- Z0 F=RATE*5 (BACK TO CENTRE) N26 IF NJP1 (JUMP BACK TO NEXT PASS CONDITION) NJP1 G3 X0 Y0 I- J0 Z=PTCH F=RATE (FULL PITCH) N22 G91 G41 DA X=TODR Z0 F=RATE (MOVE FROM CENTRE OF HOLE TO DIAMETER, TURNING ON CUTTER RAD COMP) N16 PASS=0 (COUNTER FOR NUMBER OF PASSES MILLED) N12 QTYP=ROUND (ROUNDUP THE NUMBER OF PASSES) N10 QTYP=DPTH/PP (QUANTITY OF PASSES REQUIRED TO MILL THREAD) N4 RATE=PS*PE*PF (CALCULATE LINEAR FEEDRATE) the library file contains the following code in a file called HELLIMILL.LIB (on the machine) or ask me and I will post instructions for you.Īnyway.

Feature cam change post from rad to dia how to#

refer your manuals if you do not know how to do this. (Tornado Milling by another name) It would appear that my code solution is some what easier to implement than the above example as I have set up a G Code macro link on the machine to link the library subroutine to G103. I also have an Okuma MA600 Machining Centre and developed a Helical milling macro many years ago. Im not sure there is interest in macro's so I better stop here before I go blabbing 10k of useless info OKAIS ( Global Sub "for all Kaiser bars" ) Several Items use the same common variables. VC200 is a finish dia and VC88 is a forging location. So I use only one sub and it does all the depths and R points. In the boring department I use alot of Kaiser bars. NLC LC=LC+1 PR=PR+PRI AL=AL+AI FIS=FIS-FI Sticking with milling here is a good I.D. NLC1 LC1=LC1+1 PR=PR+PIR PA=PA+PIA PF=PF+PFI PZ=PZ+PIZ PRT=2 (DEFAULT TO CLOCKWISE ROTATION IF NO PRT) PFI=/PNR]/PDV (FEED CHANGE PER 1 DIVISION DEGREE) PIR=/2]/PNR]/PDV (RADIUS CHANGE PER 1 DIVISION DEGREE) PIZ=/PNR/PDV (Z CHANGE PER 1 DIVISION DEGREE) PIA=360/PDV (ANGLE CHANGE PER 1 DIVISION DEGREE) This will allow you to use the sub for finish applications. VC198=/VC192/4 (FEER RATE CHANGE PER 90 DEGREES) I have a shortend version I will add but hasnt even been simulated. It has plug-ins for just about everything you would hope to change. This one I use to rough angles say, for a butt weld blank. We use the new renishaw so I use common variables for alot of my code. These subs are built to just plug in dia/depth and run. If you use them they should be able to recognize the okuma prepriatary code and remove it. It's an OSP control so you may see some prepriatary crap. We do a family of parts so there was alot similarity between each part so the subs became crucial.








Feature cam change post from rad to dia