1 introduction general information comparison to subprogramming … to computer programming … to...
TRANSCRIPT
![Page 1: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/1.jpg)
1 IntroductionGeneral informationComparison to subprogramming … to computer programming … to canned cyclesApplication categoriesLimitationsComputer related featuresCNC related features
Presentation links page for lesson one
![Page 2: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/2.jpg)
For CNC Machining Centers and Turning Centers
Parametric Programming
Copyright 2003
(Custom Macro B)
Welcome to Parametric Programming class!
![Page 3: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/3.jpg)
Parametric ProgrammingEight lessons in this class:
1) Introduction2) Variable techniques3) Arithmetic functions4) Logic and program flow control5) Looping6) System variables7) Other features of parametric programming8) Approaching applications
Here are the lesson titles
![Page 4: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/4.jpg)
CNC’s best kept secret! Fanuc calls it Custom macro BOkuma calls it User task 2Fadal calls it Macro
This class covers Fanuc’s custom macro B
Parametric Programming
There are few in the industry that even know what parametric programming is…
…let alone how to use it!
![Page 5: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/5.jpg)
.
.
.N035 M98 P1000...
Main program
O1000N001 X4.5 Y4.0N002 X3.5 Y3.0N003 X2.5 Y2.0N004 X1.5 Y1.0N005 X0.5 Y0N005 M99
Subprogram
Comparison To Subprogramming
Let’s compare parametric programming to things you already know…
You know M98 calls a subprogramP word specifies program numberControl executes subprogramM99 causes return to calling program
![Page 6: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/6.jpg)
.
.
.N035 M98 P1000...
Main program
O1000N001 X4.5 Y4.0N002 X3.5 Y3.0N003 X2.5 Y2.0N004 X1.5 Y1.0N005 X0.5 Y0N005 M99
Subprogram
Subprogramming can be used
Comparison To SubprogrammingWith subprograms, nothing can change from one time the subprogram is called to the next
![Page 7: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/7.jpg)
Subprogramming cannot be used
Comparison To SubprogrammingAgain, nothing can change from one time to the next
![Page 8: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/8.jpg)
N035 M98 P1000X1. Y1. D.25 W3. H1.
X
Y
H
WD
N035 G65 P1000
Comparison To SubprogrammingG65 is the same as M98, but…
…with G65, you can pass variables
![Page 9: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/9.jpg)
Consider times you’d like to write general purpose subprograms:Bolt hole pattern
Thread milling
Grooving
Comparison To Subprogramming
Parametric programming lets you develop very helpful subprograms, commonly called macros
![Page 10: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/10.jpg)
Comparison To Computer Programming
Parametric programming can also be compared to computer programming languages…
![Page 11: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/11.jpg)
Two popular programming languages…
BASIC C Language
begininput “Enter interest rate %:” ; ainput “Enter starting balance:” ; bc = bfor d = 1 to 12c = c + (a * .01 / 12)next dprint “Total after one year” ; cend
Variables Arithmetic Logic Looping
Parametric programming is
like having a computer
programming language built
right into your CNC control!
Comparison To Computer Programming
A sample computer program
Parametric programming has many computer programming features
![Page 12: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/12.jpg)
Comparison To Canned CyclesAll controls have some form of canned cycles to simplify programming…
![Page 13: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/13.jpg)
N050 G81 X0.5 Y0.5 R0.1 Z-.75 F3.0
X1. Y1. D.25 W3. H1.N35 G65 P1000
Comparison To Canned Cycles
Canned cycle commandG81 invokes drilling cycleVariables that specify how the hole is to be drilledA calling command to a custom macroCall custom macro program O1000Variables (arguments) to be passed to the custom macro
Parametric programming lets you create your own canned cycles!
…machining centers have hole machining canned cycles
![Page 14: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/14.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
All applications for parametric programming will fall into one of five categories...
![Page 15: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/15.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Many companies make similar products in varying sizes…
![Page 16: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/16.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
O0001N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0002N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.5 Y1.75N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.5N035 X4.5N040 X5.5N045 G90N050 G91 G28 Z0 M19N055 M01.
Are you changing one program to create another?
Values that changeValues for another workpiece
![Page 17: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/17.jpg)
Five Application CategoriesDo you have prints with variables?
Variable dimensionsChart with actual values
![Page 18: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/18.jpg)
Five Application CategoriesO0001N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0002N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0003N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0004N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0005N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0006N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0007N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
O0008N005 T01 M06N010 G54 G90 S700 M03N015 G00 X2.0 Y1.5N020 G43 H01 Z0.1N025 G81 R0.1 Z-.2 F5.0N030 X3.0N035 X4.0N040 X5.0N045 G90N050 G91 G28 Z0 M19N055 M01.
Currently you have many programs!
If you must make a change, all programs must be changed!
O0001N005 T01 M06N010 G54 G90 S700 M03N015 G00 X#24 Y#25N020 G43 H01 Z#3N025 G81 R0.1 Z-#7 F5.0N030 X[#24+#101*.5]N035 X[#24+#101+1.0]N040 X[#24+#101+1.5]N045 G90N050 G91 G28 Z0 M19N055 M01.
Parametric programming lets you handle all parts in the family with one program!
![Page 19: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/19.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Canned Cycles
All CNC controls have some canned cycles to simplify programming
![Page 20: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/20.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
Consider a special two-surface drill cycle
Example of canned cycles on mills and lathes
![Page 21: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/21.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
Consider a special two-surface drill cycle
Example of canned cycles on mills and lathes
Drill first surface
![Page 22: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/22.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
Consider a special two-surface drill cycle
Example of canned cycles on mills and lathes
Rapid move
![Page 23: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/23.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
Consider a special two-surface drill cycle
Example of canned cycles on mills and lathes
Drill second surface
![Page 24: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/24.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
Consider a special two-surface drill cycle
Example of canned cycles on mills and lathes
Full retract
Most controls don’t have this kind of drilling cycle…
…but with parametric programming, you can create one!
![Page 25: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/25.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 26: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/26.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 27: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/27.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 28: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/28.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 29: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/29.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 30: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/30.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 31: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/31.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 32: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/32.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
What don’t you like about G83?
Example of canned cycles on mills and lathes
![Page 33: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/33.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
The last peck will not be the same
Example of canned cycles on mills and lathes
![Page 34: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/34.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
The last peck will not be the same
Example of canned cycles on mills and lathes
![Page 35: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/35.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
The last peck will not be the same
Example of canned cycles on mills and lathes
![Page 36: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/36.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Thread millingPocket millingFace millingCircle milling
GroovingTappingBar feedingCut-off
Dovetail millingHex millingDouble tappingSpecial holes
The last peck will not be the same
Example of canned cycles on mills and lathes
With parametric programming, you can modify the way G83 works!
![Page 37: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/37.jpg)
User Created Canned Cycles
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
MV 4VA
CYCLESTART
FEEDHOLD
EDIT
AUTOMDI JOG
HANDLEZERORETURNMODE
0%
100%
200%FEEDRATEOVERRIDE
10%25%50%
100%
RAPIDOVERRIDE
1
12
TURRET INDEX2345678 91011
SLOW FAST
EMERGENCYSTOP
FANUC 10MPOWERON
OFF
ONGPAXYZQBI JKRCFDHL #MST /EOB
U V W
Sp
E ? @ @ ,[ ] ( ) *
PAGE CURSOR
SHIFT
7 8 94 5 61 2 3- 0+=CAN
RESET
START
CALC
INPUT
NC/PC
AUX
X00.0000Y00.0000Z00.0000
X ZX1X10X100
0
ONOFFDRY
RUNSINGLEBLOCK
MACHINELOCK
OPTIONALSTOP
X+
X-Z-
JOYSTICK
Z+
ON OFFSPINDLE
ORIGINX Z
0%100%
130%
SPINDLE LOAD
0%100%
130%
AXIS LOADX Z
OD ID
CLAMPDIRECTION
OFF ON
MEMORYPROTECT
CYCLESTART
FEEDHOLD
EDITAUTO
MDI JOGHANDLE
ZERORETURNMODE
0%
100%
200%FEEDRATEOVERRIDE
10%25%50%
100%
RAPIDOVERRIDE
1
12
TURRET INDEX234567891011
SLOW FASTEMERGENCY
STOP
FANUC 10TPOWERON
OFF
ONGPAXYZQBI JKRCFDHL#MST /EOB
U V W
SpE ? @ @ ,[ ] ( ) *
PAGECURSORSHIFT
789456123- 0+=CAN
RESET
START
CALC
INPUT
NC/PC
AUX
X00.0000Z00.0000
X ZX1X10X100
0
ONOFFDRY
RUNSINGLEBLOCK
MACHINELOCK
OPTIONALSTOP
BLOCKDELETE
X+
X-Z-
JOYSTICK
Z+
ON OFFSPINDLE
ORIGINX Z
0% 100%130%
SPINDLE LOAD
0% 100%130%
AXIS LOADX Z
OD ID
CLAMPDIRECTION
OFF ONMEMORYPROTECT
CHUCKTAILSTOCK
Think of all the times you’ve
wished you had more
canned cycles!
![Page 38: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/38.jpg)
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Five Application CategoriesUtilities enhance the way your CNC machine behaves
![Page 39: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/39.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Reduce setup timeReduce tool maintenance timeMake programs easier to verifyMake programs easier to runMake machines safer to run
Utilities can…
Examples…
![Page 40: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/40.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
2.0234+0.0004-0.0002
2.02352.0239
Reduce offset by 0.0004
Consider how operators change offsets
Print dimension
Target value
Operator must calculate deviation
Measured value
It would be easier if the operator didn’t have to calculate the target value…
…or the deviation..…and could simply enter the measured value
Parametric programming allows you to modify the way offsets are used!
![Page 41: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/41.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Do you have setups so tall that they interfere with tool changing?
Tool change okay
![Page 42: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/42.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Do you have setups so tall that they interfere with tool changing?
Tool change okay
![Page 43: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/43.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Do you have setups so tall that they interfere with tool changing?
Tool change not okay
Wouldn’t it be nice if you could error
trap your tool changer so that it would
never try to make a tool change if th
e
spindle is over the fixture?
![Page 44: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/44.jpg)
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Five Application CategoriesParametric programming allows you to create motion types!
![Page 45: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/45.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Consider how linear and circular interpolation work
Movement is divided into tiny single axis
departures
Circular motion works the same
![Page 46: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/46.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Consider how helical interpolation works
Again, tiny single axis departures are created
![Page 47: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/47.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
What if you have a tapered thread to mill?
Normal helical interpolation cannot be used!
Radius is different from start point to end point
Wouldn’t it be nice if you could
create spiral interpolation to
mill taper threads?
With parametric
programming, you can!
![Page 48: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/48.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Just about any shape that can be defined with an arithmetic
formula can be machined with a parametric program!
Spherical shape can be milled
![Page 49: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/49.jpg)
G65 P1002 A1.75 B-.6 C1. I12. J1.75 I35. J1.625I175. J1.1 I25. J1.25 I113. J1.75
Circular cam can be milled
![Page 50: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/50.jpg)
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Five Application Categories
![Page 51: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/51.jpg)
Five Application Categories
Part families User created canned cycles Utilities Complex motions and shapes Driving accessories
Some machines have probes and post process gauges
These devices are interfaced with parametric programming
![Page 52: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/52.jpg)
Driving Accessories
Door open/close Automatic clamping Indexer activation Pallet changer activation
You can even add M codes with parametric programming!
![Page 53: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/53.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
![Page 54: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/54.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
Parametric programming is an option that must be purchased at an extra price (for most controls)
![Page 55: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/55.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
Parametric programs take time to prepare (more than for standard programs)
![Page 56: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/56.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
Parametric programs reside in memory (and take up memory space)
![Page 57: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/57.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
There are different versions of parametric programming from different control manufacturers
![Page 58: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/58.jpg)
Limitations
Option Skill & time for preparation Memory capacity Compatibility Execution time
There are some limitations to parametric programming…
Calculation and logic commands take time to execute (this can be a problem when quantities are high)
![Page 59: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/59.jpg)
Computer Related Features
Variables Arithmetic Logic & program flow control Looping
![Page 60: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/60.jpg)
Computer Related Features
Variables Arithmetic Logic & program flow control Looping
Again, you can write general purpose programs
![Page 61: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/61.jpg)
Computer Related Features
Variables Arithmetic Logic & program flow control Looping
Just about anything you can do with a scientific calculator can be done within a parametric program!
![Page 62: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/62.jpg)
Computer Related Features
Variables Arithmetic Logic & program flow control LoopingThis feature gives parametric programming a decision-making capability
![Page 63: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/63.jpg)
Computer Related Features
Variables Arithmetic Logic & program flow control LoopingThis feature allows a parametric program to repeat commands
If you are familiar with any computer programming language (like C language), you’re well on your way to understanding parametric programming!
![Page 64: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/64.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
![Page 65: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/65.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can write and read values to and from the offset registers
![Page 66: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/66.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can access current position in several ways
![Page 67: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/67.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can determine current modes (like absolute versus incremental) from within a program
![Page 68: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/68.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can make the control generate an alarm if you’re parametric program determines that something is wrong
![Page 69: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/69.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can turn on and off certain functions (like feed hold, feedrate override, and single block
![Page 70: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/70.jpg)
CNC Related Features
Offsets Axis position Current modal states Alarm generation Certain control panel functions Timers
Parametric programming gives you access to certain CNC functions
You can time events from within a program
![Page 71: 1 Introduction General information Comparison to subprogramming … to computer programming … to canned cycles Application categories Limitations Computer](https://reader035.vdocuments.us/reader035/viewer/2022062222/5697bfc81a28abf838ca8510/html5/thumbnails/71.jpg)
CNC Related Features
Protection for needed programs Creation of new G & M codes Communication of data
Additionally:
The computer and CNC related
features blend parametric
programming into a very
powerful programming tool!