Академический Документы
Профессиональный Документы
Культура Документы
SPHERE
CYLINDER TORUS
Draw the 2D Object using polyline command after using extrude , revolve commands
and applying Boolean operation such as union, subtract, intersect
commands.3DMesh
Draw menu: Modeling » Meshes » 3D mesh
Command entry: 3dmesh
Enter size of mesh in M direction: Enter a value between 2 and 256
Enter size of mesh in N direction: Enter a value between 2 and 256
3DFace
Command entry: 3dface
Specify first point or [Invisible]: Specify a point (1) or enter i
3D Poly
Command entry: 3dpoly
Creating surfaces
Command: revsurf
Current wire frame density:SURFTAB1=current:SURFTAB2=current
Select object to revolve: select a line,arc,circle,or 2D or 3D POLYLINE
Select object that defines axis of revolution: select a line or open 2D or 3D polyline.
Command: edgesurf
3D VIEW
View>3dview
1. SW- South West.
2. SE-South East.
3. NE-North East.
4. NW-North West.
View ports
Viewports are areas that display different views of your model. As you work on the
Model tab, you can split the drawing area into one or more adjacent rectangular views known
as model space viewports.
Command: vpoint
Specify a view menu or [Rotate] <display compass and tripod>: Specify a point, enter r, or
Using the X,Y,Z coordinate you enter, creates a vector that defines a direction from which the
drawing can be viewed. The view defined is as if the viewer is looking from the point back at
the origin (0,0,0).
Hide
Command entry: hide
DView
Command entry: dview
Select object:
Model space
Command : mspace
Commands operate in either model space or paper space. You use model space
(the Model tab) to do drafting and design work and to create two-dimensional
drawings or three-dimensional models.
Paper space
Command model
Region
Regions are two-dimensional areas you create from closed shapes or loops. Closed polylines,
lines, and curves are valid selections. Curves include circular arcs, circles, elliptical arcs,
ellipses, and splines.
Command entry: region
Pedit
Command entry: pedit
Extrude
Command entry: extrude
command: revolve
Subtract
Modify menu: Solid Editing » Subtract
command: subtract
Select solids and regions to subtract from...
Select objects: Use an object selection method and press ENTER when you finish
Select solids and regions to subtract...
Select objects: Use an object selection method and press ENTER when you finish
Align
Command : align
Specify either one, two, or three pairs of source points and definition points to align
the selected objects. ALIGN Using One Pair of Points
Chamfer
Command entry: chamfer
3D Array
Command entry: 3darray
3D Mirror
Command entry: mirror3d
Grip tools available through the 3DMOVE and 3DROTATE commands to manipulate 3D
Select objects: Use an object selection method and press ENTER to finish
Rotate 3D
Command entry: rotate3d
It is recommended that you use the grip tools available through the 3DMOVE and
3DROTATE commands to manipulate 3D objects. For more information about using grip
tools,.
Select objects: Use an object selection method and press ENTER when you finish
The user coordinate system provides a movable coordinate system for coordinate entry, plans
of cooperation, and viewing. Most AutoCAD geometric editing commands and dependent on
the location and orientation of the UCS; objects are drawn on the XY Plane of the current
UCS.
Command: ucs
Specify origin of new UCS or [zxis/3points/object/face/view/x/y/z]:
3D COORDINATE SYSTEM
DDUCS
PLAN
UCSICON
Command : ucsicon
ON/OFF/ALL/No origin/Origin<current>:
Developing LISP program
Constructing a list
Car
Returns a list containing all but the first element of the specified list
(cdr list)
Command: (cdr '(a b c))
(B C)
Command: (cdr '((a b) c))
(C)
(setq x ‘((ab) cd ))
Then
(caar x ) is equivalent to (car x) returning A
(cdar x) is equivalent to (cdr(car x)) returning (B)
(cadar x) is equivalent to (car(cdr(car x))) returning B
(cadr x) is equivalent to (car(cdr x)) returning (C)
(cddr x) is equivalent to (cdr(cdr x)) returning (D)
(caddr x) is equivalent to (car(cdr(cdr x))) returning D
Member
Searches a list for an occurrence of an expression and returns the remainder of the list,
starting with the first occurrence of the expression
Length
(length lst)
Returns the UCS 3D point at a specified angle and distance from a point
pt
A 2D or 3D point.
ang
An angle expressed in radians relative to the world X axis. Angles increase in the
counterclockwise direction, independent of the current construction plane.
dist
Input/output Functions
User
Function Description
(entsel [msg]) Prompts the user to select a single object (entity) by specifying a point
(getangle [pt]
Pauses for user input of an angle, and returns that angle in radians
[msg])
(getfiled title Prompts the user for a file name with the standard AutoCAD file dialog
default ext flags) box, and returns that file name
(getint [msg]) Pauses for user input of an integer, and returns that integer
(getkword [msg]) Pauses for user input of a keyword, and returns that keyword
(getorient [pt]
Pauses for user input of an angle, and returns that angle in radians
[msg])
(getpoint [pt]
Pauses for user input of a point, and returns that point
[msg])
(getreal [msg]) Pauses for user input of a real number, and returns that real number
(getstring [cr]
Pauses for user input of a string, and returns that string
[msg])
(initget [bits]
Establishes keywords for use by the next user input function call
[string])
(nentselp [msg] Provides similar functionality to that of the nentsel function without the
[pt]) need for user input
Control structures
If
(if < test expr> <then expr> [<else expr>]
(if (- 1 3) “YES! !” “NO.”) returns “no”
(if (- 2 (+ 1 1)) “YES!!”) returns “YES”
Cond
( cond (<text1> <result>…)…)
(cond((=s”Y”)1)
((=s “Y”) 1)
((=s “N” 0)
(t nil)
Repeat
(repeat <number> <expr>….)
(setq a 10)
(setq b 100)
Then:
(repeat 4
(setq a (+ a 10))
(setq b (+ b 100))
) returns 140
While
(while<test expr> <expr>…)
(setq radius 1)
Then:
(while (<= radius 10)
(command “circle” ‘(6 4.5) radius
(setq radius (1+ radius))
)
Arithmetic Functions
Arithmetic functions
Function Description
(+ (add) [ number
Returns the sum of all numbers
number] ...)
(- (subtract) [number Subtracts the second and following numbers from the first and
number] ...) returns the difference
(* (multiply) [number
Returns the product of all numbers
number] ...)
(/ (divide) [number Divides the first number by the product of the remaining numbers
number] ...) and returns the quotient
(~ (bitwise NOT) int) Returns the bitwise NOT (1's complement) of the argument
(fix number) Returns the conversion of a real into the nearest smaller integer
(gcd int1 int2) Returns the greatest common denominator of two integers
(logand [ int int ...]) Returns the result of the logical bitwise AND of a list of integers
(max [ number number ...]) Returns the largest of the numbers given
(min [ number number ...]) Returns the smallest of the numbers given
(minusp number) Verifies that a number is negative
(rem [ num1 num2 ...]) Divides the first number by the second, and returns the remainder
Trigonometric Functions
Abs
(abs <number>)
this function returns the absolute value of number.
Atan
(atan<num1>)
ATAN returns the arctangent of num1 in radians.
Cos
(cos <angle>)
Special functions
Apply
Eval
Foreach
Inters
Lambda
Mapcar
Quote
RECTANGLE
LISP PROGRAM
(defun c:rectan()
(setq l (getreal "Enter the Length of rectangle:")
b (getreal "Enter the Breath of rectangle:")
sp (getpoint "Enter the starting point:")
);setq
(setq p2 (polar sp 0 l))
(setq p3 (polar p2 (/ pi 2) b))
(setq p4 (polar p3 pi l))
(command "pline" sp p2 p3 p4 "c")
)
output
(defun c:cir()
(setq p1 (getpoint "Enter the center point:")
cen (getreal "Enter the radius of the circle:")
);setq
output
LISP PROGRAM
(defun c:concir()
(setq n (getint "Enter the number of circles:")
rad (getreal "Enter the radius of the circle:")
cp (getpoint "Enter the center point:")
i (getreal "Enter the increment in radius:")
);setq
(repeat n
(command "circle" cp rad)
(setq rad (+ rad i))
);repeat
);defun
output
LISP PROGRAM
(defun c:concir()
(setq n (getint "Enter the number of circles:")
rad (getreal "Enter the radius of the circle:")
cp (getpoint "Enter the center point:")
i (getreal "Enter the increment in radius:")
);setq
(repeat n
(command "circle" cp rad)
(command "linetype" "set" "dashed" "")
(command "color" "1")
(setq rad (+ rad i))
);repeat
);defun
GENEVA GEAR MECHANISM
Aim:
To draw the given 3D solid Geneva gear mechanism as per the dimensions and
calculate the mass properties.
System Requirements
Commands:
1. Limits
2. Zoom
3. Pline
4. Offset
5. Arc
6. Pedit
7. Array
8. Extrude
9. Subtract
10. Trim
11. Massprop
Result
Thus the given 3D solid Geneva gear mechanism are drowned and mass properties
are calculated.
Controlling the movement of the various slides of a machine tool with the help of numbers,
Letters and symbols is known as Numerical control system.
The use of a dedicated computer, to perform the Basic numerical control functions is known as
computer numerical control system.
CNC Lathes, are more appropriately called as Turning Centre. The turning centre
for producing components of cylindrical shapes.
The CNC Milling machines are called as machining centre or manufacturing centre.
It is a multifunctional machine tool. It is a single piece of automated production equipment. Which is
capable of performing different operations like milling, drilling, boring, reaming, counter boring ,etc.
Part program
Part means component. Program means sequence of steps. Therefore the sequence of steps involved in
producing components in a CNC Machine is known as part program.
NC Related dimensioning
Absolute programming
Incremental programming
N G X Y Z F S T M
N - Block Number
X Y Z - Co ordinate values
F - Feed
S - Spindle speed
T - Tool function
Interpolation
In CNC Machines, either the tool or the work slide move relative to each other. This movement
of tool or the work slide may be straight line, circular arc, etc
Canned cycle
Canned cycle is employed for stock removal in multiple passes. This type of cycle is called as
Fixed cycle. Canned cycle employed for
G00-Rapid position
G01-Linear interpolation
G02-Circular interpolation (CW)
G03-Circular interpolation(CCW)
G20- Inch data input
G21- Metric data input
G28- Reference point return
G40- Tool nose radius compensation cancel
G50- Maximum spindle speed setting
G70- Finishing cycle
G71- stock removal in turning
G72- stock removal in facing
G74- peck drilling in z-axis
G75- Multiple grooving cycle
G76- Multiple thread cutting cycle
G98- Feed per minute
FAST TRAVERSE-G00
G00 X Z
G00 => Fast Traverse
X , Z => Co-ordinate values
LINEAR MOTION-G01
G01 X Z
G01 => Linear motion
X , Z => Co-ordinate values
REFERENCE POINT-G28
G28 U0 W0
G28 => Reference point
U , W => Machine Reference Point
CIRCULAR INTERPOLATION-G02/G03
G02 X Z R F
G03 X Z R F
G02 => Clockwise circular interpolation
G03 => Counter clockwise interpolation
X , Z => Co-ordinate values
R => Radius of the CW /CCW ARC
G90 X Z F
G90 => Single Turning Cycle
X , Z => Co-ordinate values
F => Feed /minute
G90 X Z R F
G90 => Taper Turning Cycle
X , Z => Co-ordinate values
R => The difference in incremental of the cut start radius value and the cut finish
Radius value
F => Feed /minute
MULTIPLE TURNING-G71
G71 U R
G71 P Q U W F
G71 => Multiple Turning
U => Depth of cut
R => Relief amount
P => Start block
Q => End block
U => Finishing allowance in the X axis
W => Finishing allowance in the Z axis
F => Feed /minute
FINISHING CYCLE-G70
G70 P Q F
G70 => Finishing Cycle
P => Start block
Q => End block
F => Feed /minute
G74 R
G74 X Z Q F
G74 => Peck drilling cycle
R => Relief amount
X , Z => Co-ordinate values
Q => Depth of cut in each pass ( microns)
F => Feed/minute
GROOVING CYCLE-G75
G75 R
G75 X Z P Q F
G76 X Z P Q(q2) F
FAST TRAVERSE-G00
G00 X Y Z
G00 => Fast Traverse
X , Y , Z => Co-ordinate values
LINEAR MOTION-G01
G01 X Y Z
G01 => Linear motion
X , Y , Z => Co-ordinate values
REFERENCE POINT-G28
G28 X0 Y0 Z0
G28 => Reference point
X , Y , Z => Machine Reference Point
CIRCULAR INTERPOLATION-G02/G03
G02 X Y R F
G03 X Y R F
G02 => Clockwise circular interpolation
G03 => Counter clockwise interpolation
X , Y => Co-ordinate values
R => Radius of the CW /CCW ARC
G73 X Y Z P Q R F
G73 => Peck drilling cycle
X , Y , Z => Co-ordinate values
P => Dwell time in sec
Q => Depth of cut for each peck drill always a positive incremental value
R => Z coordinate of the R point
F => Feed/minute
G170 R(r1) P(p1) Q(q1) X(x1) Y(y1) Z(z1) I(i1) J(j1) K(k1)
G171 P(p2) S(s2) R(r2) F(f2) B(b2) J(j2)
G170 => Roughing cycle
r1 => Position of tool to start cycle for flat surface r1 = 0
p1 => 0 for roughing, => 1 for finishing
q1 => Peck increment for each cut ( + value)
x1,y1,z1 => co-ordinate values
i1 => Finishing allowance for side
j1 => Finishing allowance for pocket base
k1 => Radius of circular pocket as CW ARC ( + value)
G171 => Finishing cycle
p2 => Cutter movement percentage
s2 => Roughing spindle speed
r2 => Roughing feed in Z direction
b2 => Finish spindle speed
j2 => Finishing feed, mm/min
RECTANGULAR POCKETING –G172-G173
G172 I(i1) J(j1) K(k1) P(p1) Q(q1) R(r1) X(x1) Y(y1) Z(z1)
G173 I(i2) K(k2) P(p2) T(t2) S(s2) R(r2) F(f2) B(b2) J(j2) Z(z2)
G172 => Roughing cycle
i1 => Length of the pocket in X- direction
j1 => Length of the pocket in Y- direction
k1 => Corner radius
p1 => 0(roughing), =1(Finishing)
q1 => depth of cut for each pass
r1 => Absolute depth from surface
x1 => Pocket corner X
y1 => Pocket corner Y
z1 => Absolute Z base of pocket
G173 => Finishing cycle
i2 => Pocket side finishing allowance
k2 => Pocket side finishing allowance
p2 => Cutter width percentage
t2 => Tool number Finish
s2 => Spindle speed, rpm
r2 => Roughing feed in Z mm/min
f2 => Roughing feed along XY
b2 => Finishing spindle speed, rpm
j2 => Finishing feed, mm/min
z2 => safety Z position
AIM
Write a manual part program for
--------------------------------------------------------------
SYSTEM REQUIREMENTS
PROCEDURE
1. Select control type from main menu and pick the Fanuc_ mill or
Fanuc_turn.
3. Job/Tooling Fill the correct data for Billet setting, Tool Offsets and
Select Tooling.
7. Simulation is done.
RESULT
STEP TURNING
BILLET SETTING
1. Select Metric Programming.
2. Billet length = 45
3. Billet Diameter = 25
4. Billet X shift = 0
5. Billet Z shift = 0
6. X axis shift = 0
7. Z axis shift = 0
TOOL OFFSETS
Select Tool No 2
SELECT TOOLING
STEP TURNING
PART PROGRAM
O0001
[BILLET X25 Z45
G21 G98
G28 U0 W0
M06 T0202
M03 S1200
G00 X25 Z1
G90 X25 Z-25 F40
X24.5
X24
X23.5
X23
X22.5
X22
X21.5
X21
X20.5
X20
G90 X19 Z-10 F40
X18.5
X18
X17.5
X17
X16.5
X16
X15.5
X15
X14.5
X14
X13.5
X13
X12.5
X12
X11.5
X11
X10.5
X10
G28 U0 W0
M05
M30
TAPER TURNING
BILLET SETTING
1. Select Metric Programming.
2. Billet length = 60
3. Billet Diameter = 30
4. Billet X shift = 0
5. Billet Z shift = 0
6. X axis shift = 0
7. Z axis shift = 0
TOOL OFFSETS
SELECT TOOLING
TAPER TURNING
PART PROGRAM
O0002
[BILLET X30 Z80
G21 G98
G28 U0 W0
M06 T0202
M03 S1200
G00 X30 Z1
G90 X30 Z-20 F35
X29.5
X29
X28.5
X28
X27.5
X27
X26.5
X26
X25.5
X25
X24.5
X24
X23.5
X23
X22.5
X22
X21.5
X21
X20.5
X20
G28 U0 W0
G00 X30 Z-20
G90 X30 Z-40 R0 F35
X30 R-0.5
X30 R-1
X30 R-1.5
X30 R-2
X30 R-2.5
X30 R-3
X30 R-3.5
X30 R-4
X30 R-4.5
X30 R-5
G28 U0 W0
G00 X20 Z0
G90 X20 Z-10 R0 F35
X20 R-0.5
X20 R-1
X20 R-1.5
X20 R-2
X20 R-2.5
X20 R-3
X20 R-3.5
X20 R-4
X20 R-4.5
X20 R-5
G28 U0 W0
M05
M30
CIRCULAR INTERPOLATION
ALL DIMENSIONS ARE IN
mm
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING
CIRCULAR INTERPOLATION
PART PROGRAM
O0003
[BILLET X30 Z45
G21 G98
G28 U0 W0
M06 T0202
M03 S1200
G00 X30 Z1
G71 U0.5 R1
G71 P10 Q20 U0.5 W0.5 F40
N10 G00 X0 Z0
G03 X20 Z-10 R10
G01 X20 Z-20
N20 G02 X30 Z-25 R5
G28 U0 W0
M03 S1400
G00 X30 Z1
G70 P10 Q20 F25
G28 U0 W0
M05
M30
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING
PART PROGRAM
O0004
[BILLET X30 Z45
G21 G98
G28 U0 W0
M06 T0202
M03 S1200
G00 X30 Z1
G71 U0.5 R1
G71 P10 Q20 U0.5 W0.5 F40
N10 G00 X0 Z0
G03 X10 Z-10 R10
G01 X10 Z-20
G01 X20 Z-30
N20 G02 X30 Z-35 R5
G28 U0 W0
M03 S1400
G00 X30 Z1
G70 P10 Q20 F25
G28 U0 W0
M05
M30
BILLET SETTING
TOOL OFFSETS
Select Tool No 2
Select Tool No 4
Select Tool No 6 and add Tool to Library.
SELECT TOOLING
TOOL OFFSETS
Select Tool No 1
Select Tool No 2 and add Tool to Library.
SELECT TOOLING
O0013
[BILLET X30 Y55
G21 G98
G28 U0 W0
M06 T0101
M03 S1200
G00 X0 Z2
G74 Z1
G74 X0 Z-35 Q500 F15
G28 U0 W0
M06 T0303
M03 S1000
G00 X15
Z1
G71 U0.2 R0.5
G71 P10 Q20 U0.1 W0.1 F20
N10 G01 X20
G01 X20 Z-15 F25
G01 X15 Z-25
G01 X15 Z-35
N20 G00 X15 Z0
G28 U0 W0
G70 P10 Q20 F15
G28 U0 W0
M05
M30
GROOVING
ALL DIMENSIONS ARE IN
mm
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING
O0007
[BILLET X100 Y100 Z10
[TOOL DEF T1 D5
G21 G94
G91 G28 Z0.
G28 X0. Y0.
M06 T1
M03 S2000
G90 G00 X0 Y0 Z5
G00 X-25 Y-25 Z0
G01 Z-2 F50
G01 X15 Y-25
G03 X25 Y-15 R10 F25
G01 X25 Y15
G02 X15 Y25 R10 F25
G01 X-25 Y25
G01 X-25 Y-25
G00 Z0
G91G28 Z0
G28 X0 Y0
M05
M30
DRILLING
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING
O0008
[BILLET X100 Y100 Z10
[TOOL DEF T1 D20 T2 D15 T3 D5
G21 G94
G91 G28 Z0.
G28 X0. Y0.
M06 T1
M03 S1500
G90 G00 X25. Y25. Z5.
G00 Z0.
G73 X25. Y25. Z-12. P500 Q0.5 R2. F50.
G80
G00 Z0.
G00 Z5.
M06 T2
G00 X25. Y75.
G73 X25. Y75. Z-12. P500 Q0.5 R2. F50.
G80
G00 Z0.
G00 Z5.
M06 T3
G00 X75. Y75.
G73 X75. Y75. Z-12. P500 Q0.5 R2. F50.
G80
G00 Z0.
G00 Z5.
G00 X75. Y25.
G73 X75. Y25. Z-12. P500 Q0.5 R2. F50.
G80
G00 Z0.
G00 Z5.
M05
M30
MIRRORING WITH SUBROURTINES
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING
MAIN PROGRAM
O0009
[BILLET X100 Y100 Z10
[TOOL DEF T1 D5
G21 G94
G91 G28 Z0.
G28 X0. Y0.
M06 T1
M03 S2000
G90 G00 X10. Y10. Z5.
M98 P5000
M70
M98 P5000
M80
M70
M71
M98 P5000
M80
M81
M71
M98 P5000
G00 Z5.
G91 G28 Z0.
G28 X0. Y0.
M05
M30
SUB PROGRAM
O5000
G00 X10. Y10.
Z0.
G01 Z-2. F50.
G01 X30. Y10.
G03 X10. Y30. R20.
G01 X10. Y10.
G00 Z0.
G00 Z5.
M99
RECTANGULAR AND CIRCULAR POCKETING
BILLET SETTING
TOOL OFFSETS
SELECT TOOLING