Professional Documents
Culture Documents
Turning Machine
C-502
Lyric Electronics
CNC
Turning Machine
C-502
First Edition
All rights reserved.
The material in this book may not be copied, duplicated, printed,
translated, re-edited or broadcast without prior agreement in writing.
Contents
Features..........................................................................................................................II
Safety instructions:.......................................................................................................III
Environmental conditions:...........................................................................................III
1.1
The system's description...................................................................................1
1.2
G&M-Code language........................................................................................3
1.3
Installing the S-LATHE software.....................................................................6
1.4
Operating the system........................................................................................7
1.5
Monitor.............................................................................................................9
Experiment 1.1 Turning Processing.........................................................................12
Experiment 1.2 Arches...............................................................................................16
Experiment 1.3 Turning the Rod..............................................................................22
Experiment 1.4 Project Processing...........................................................................28
1.6
FANUC screen..................................................................................................29
Lyric
II
Features
Lyric
III
Safety instructions:
Read and understand these entire instructions before proceeding.
Keep these instructions.
The operation of the system should only be attempted by experienced
and knowledgeable persons.
Use turning step resolution not over 1mm and adapt the feeding speed
to the processed material.
Always run a turning program on simulation mode before running it on
machine mode.
Never run a turning program without supervising the system.
Use the emergency stop button for emergency stop.
Disconnect the system from electrical supply before servicing for any
reason.
Servicing should be performed by QUALIFIED PERSONNEL ONLY!
Do not operate the system with damage cord, wires or electrical parts.
Operate the system only with the enclosed power supply or with
suitable power supply supplied by the system manufacturer.
Clean only with dry cloth.
Do not install near any heat sources such as radiators, heat registers or
other apparatus that produce heat.
Unplug the power supply and the computer during lighting storms or
when unused for ling periods of time.
Environmental conditions:
Do not expose the system to any kind of liquid.
Operating temperature: 0C to +45C
Humidity: up to 95% at 35C
Power requirements:
Rated voltage: 24 V
Input current: 6 A
Lyric
1.1
Lyric
1.2
G&M-Code language
The software ignores lines that do not start with the letter G or M.
For example, G1 X10 Z-35 F250 meaning:
Move in straight line (on X-Z plane) to point X, Z = 10,-35 from the
current location at feed of 250 millimeters per minute.
Lyric
G0 Xxx Zzz:
Idle movement on straight line (in a Cartesic axes system) to point
xx,zz at maximum speed.
Examples:
G0 X2 Z-30
G0 Z15.2
2)
3)
R
I,K
0o
Examples:
G10 R10 C30 I25 K20
G10 C180
Lyric
4)
R
Co
I,K
0o
Examples:
G11 R10 C30 I25 K20 F2000
G11 C180
5)
Lyric
6)
7)
G4:
"Wait" instruction, usually applied for stopping in order to replace the
turning tool or the processed material.
A message appears on the screen and the PC waits for clicking OK to
continue.
2)
1.3
To run the S-LATHE software you have to double click over this icon.
Lyric
1.4
The C-502 power supply is an external power supply that supplies low DC
voltage to the C-502 controller. The C-502 controller communicates with
the PC in serial communication (RS232 or USB).
The power supply is connected to the C-502 by two wires.
The C-5021 controller communication socket and RST pushbutton are
located on the right panel.
Step 1:
Connect the red wire to the + (red) terminal of the power supply.
Connect the red and black wire to the (black) terminal of the
power supply.
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Click with the mouse over the S-LATHE icon on your desktop.
An introductory screen will appear on the screen.
Lyric
Lyric
10
Step 8:
Step 9:
Lyric
11
Lyric
12
1.5
Monitor
Step 1:
The C-502 has 2 limit switches that indicate the absolute home
position for each axis.
The monitor has two home check points (Home X and Home
Z). Clicking over the check points add/delete the mark in the
check point.
Clicking over the GO TO MACHINE HOME button returns the
marked axis to home position.
Mark all the two axes and click on the GO TO MACHINE
HOME button.
Lyric
13
Important Note:
After turning on the C-502 or pressing 'RST', the monitor
command 'GO TO MACHINE HOME' for all dimensions
(X,Z) must be instructed in order to synchronized the
interface with the system location.
Step 3:
Step 4:
Step 5:
Step 6:
You can move the turning tool (X-Z movement) by using the UPDOWN buttons for each axis.
Lyric
14
Check that.
Step 7:
Step 8:
You can define any point as the project home using the button
'Define Project Point'.
Click on the 'Define Project Point' button and the X,Z fields of
the project are set to zero.
Step 9:
Move the system using the arrow keys and X,Z fields will be
updated accordingly.
Step 10: Click over the button 'Go To Project Home' and the system will
return to the defined project home point.
Check that.
Lyric
15
Equipment required:
PC computer
S-LATHE software
Discussion:
In turning we have several processing types: Turning, Grooving and
Threading.
The processed material (a rod of metal, plastic or wood) is installed in the
spindle bore and rotates fast.
When the turning tool goes on Z dimension, it removes slivers from the
perimeter of the rod (like peeling).
The turning tool speed on Z direction should not be faster than the spindle
rotation.
When the Z movement is faster than the spindle rotation we get a thread.
When the turning tool goes on X direction only into the rod, it creates a
groove along its perimeter.
The turning drawing shows only half of the part projection. This is enough
because of the complete symmetry. The drawing includes a symmetry axis.
In the experiments that follow we will process the part shown in the
following figure.
Lyric
16
51
3
21
5 6
41
31
5
01
0
1- 234-56789-
11
1
07- 66-
05-
-38
63-
-26
-16
-6 2 -
(daeheroF) ecaF
Figure 1-1
The symbol
indicates the project home position. It is also the origin of
the axes. The X,Z absolute values relate to this point.
The numbers a he right show the distance from the home project on X axis.
The processing process is done by turning one millimeter at a time as
described in the figure 1-1.
With a special turning tool and on grooving process we cut off the required
processed material from its base. The rod is cut when the groove depth is
equal to the rod's radius.
We define the starting point outside the main material.
We turn an extra part in front of the required processing area. This part is
called 'Face' or 'Forehead'.
Usually, we use a rod with a diameter greater than required and we turn it
to the required diameter, in order to ensure straight and symmetrical rod.
In this experiment we will turn a 20 mm rod into 18 mm rod above the cut
off position. This also processes area No. 1.
Important note:
Because the setup of the turning tool can be done only on the
unprocessed rod, we will run the program on simulation until we have
a complete turning program.
Warning:
Dont cut more than 1mm each time.
Lyric
17
Cutting more than 1mm can brake the tool or jam the machine.
Lyric
18
Procedure:
Step 1:
Click with the mouse over the S-LATHE icon on your desktop.
An introductory screen will appear on the screen.
Step 2:
Step 3:
S2000
X-9
; range 1
Z-66 F200
X-10 Z-70
Z0
Step 4:
Step 5:
Step 6:
Step 7:
19
Lyric
20
Step 8:
Step 9:
Step 10: Add to the program the instruction for range No. 2.
M4 S2000
G0 X-9
; range 1
G1 Z-66
F200
G1 X-10 Z-70
G0 Z0
G0 X-8
; range 2
G1 Z-38
G1 X-9 Z-50
G0 X-10
G0 Z0
M5
Step 11: Compare the program with the drawing. Check each instruction.
Step 12: Select the FILE function and the SAVE sub-function or click
[Ctrl+S] for saving the program.
Step 13: Select the function RUN and the RUN sub-function.
A graph window appears.
The program is executed step by step graphically on the window.
Observe the drawing.
Step 14: If the graph is not correct according to the program, correct the
program and run it again.
Lyric
21
Equipment required:
PC computer
S-LATHE software
Discussion:
An arch is part of a circle. To define an arch we define the center of its
circle and the starting point on the circle's perimeter (see the description of
G2 and G3 instructions).
51
3
21
5 6
41
31
5
01
0
1- 234-56789-
11
1
07- 66-
05-
-38
63-
-26
-16
-6 2 -
(daeheroF) ecaF
Figure 1-2
Area No.3 includes an arch and its center is at points X=-8 and Z=-36.
Check that.
Lyric
22
Because the radius of the arch is 2mm only, we will process the arch in two
stages.
The arch at the first stage is from 150o to 180o.
R/2
E = 180o
C = 150o
R/2
30o
I = -8
K = -36
Figure 1-3
The arch at the second stage is from 150o to 90o.
R/2
E = 150o
R/2
30
C = 90o
I = -8
K = -36
Figure 1-4
The second arch at range 6 has 4mm radius. We shall divide the arch to 4
stages.
I=0
K = -6
0.25R
0.5R
0.75R
R
Figure 1-5
The angles are: 14.5o, 30o, 48.6o and 90o.
Lyric
23
I=0
K = -6
C = -48.6o
E = -90o
0.25R
0.5R
0.75R
R
Figure 1-6
The arch at the second stage is from C = -30o to E = -48.6o.
I=0
K = -6
C = -30o
E = -48.6o
0.25R
0.5R
0.75R
R
Figure 1-7
The arch at the third stage is from C = -14.5o to E = -30o.
I=0
K = -6
C = -14.5o
E = -30o
0.25R
0.5R
0.75R
R
Figure 1-8
The arch at the fourth stage is from C = 0o to E = -14.5o.
I=0
K = -6
0.25R
0.5R
0.75R
R
E = -14.5o
C = 0o
Lyric
24
Figure 1-9
Lyric
25
Procedure:
Step 1:
Click with the mouse over the S-LATHE icon on your desktop.
Step 2:
Step 3:
Step 4:
S2000
X-9
; range 1
Z-66 F200
X-10 Z-70
Z0
X-8
; range 2
Z-38
X-9 Z-50
X-10
Z0
X-7
;range 3
Z-36
R2 I-8 K-36 C150 E180
X-9
Z0
X-6
Z-36
R2 I-8 K-36 C90 E150
X-8
Z0
Step 5:
Step 6:
Step 7:
Lyric
26
Lyric
27
Step 8:
Step 9:
S2000
X-9
Z-66 F200
X-10 Z-70
Z0
X-8
Z-38
X-9 Z-50
X-10
Z0
X-7
Z-36
R2 I-8 K-36 C150 E180
X-8
Z0
X-6
Z-36
R2 I-8 K-36 C90 E150
X-8
Z0
X-5
Z-26
X-7
Z0
X-4
Z-16
X-7
Z0
X-3
Z-2
R4 I0 K-6 C-48.6 E-90
X-4
Z0
X-2
Z-2
R4 I0 K-6 C-30 E-48.6
X-4
Z0
X-1
Z-2
R4 I0 K-6 C-14 E-30
X-4
; range 1
; range 2
;range 3
;range 4
;range 5
;range 6
Lyric
28
G0
Z0
;return
Lyric
29
G1
G1
G2
G0
G0
M5
X0
Z-2
R4 I0 K-6 C0 E-14.5
X-4
Z0
;move to point 14
;move out
;return
;stop spindle motor
Step 10: Select the FILE function and the SAVE sub-function or click
[Ctrl+S] for saving the program.
Step 11: Select the function RUN and the RUN sub-function.
A graph window appears.
The program is executed step by step graphically on the window.
Observe the drawing.
Step 12: If the graph is not correct according to the program, correct the
program and run it again.
Lyric
30
Equipment required:
PC computer
S-LATHE software
C-502
Turning tool
80 x 20mm plastic rod
Discussion:
In the previous experiments we have built a program that turns a 20mm rod
to the following figure.
51
3
21
5 6
41
31
5
01
0
1- 234-56789-
11
1
07- 66-
05-
-38
63-
-26
-16
-6 2 -
(daeheroF) ecaF
Figure 1-10
In this experiment we shall install the rod in the turning machine spindle,
setup the turning tool and process the rod.
Lyric
31
Procedure:
Step 1:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Click with the mouse over the S-LATHE icon on your desktop.
Step 7:
Lyric
32
Step 8:
S2000
X-9
Z-66 F200
X-10 Z-70
Z0
X-8
Z-38
X-9 Z-50
X-10
Z0
X-7
Z-36
R2 I-8 K-36 C150 E180
X-8
Z0
X-6
Z-36
R2 I-8 K-36 C90 E150
X-8
Z0
X-5
Z-26
X-7
Z0
X-4
Z-16
X-7
Z0
X-3
Z-2
R4 I0 K-6 C-48.6 E-90
X-4
Z0
X-2
Z-2
R4 I0 K-6 C-30 E-48.6
X-4
Z0
X-1
Z-2
R4 I0 K-6 C-14 E-30
X-4
Z0
; range 1
; range 2
;range 3
;range 4
;range 5
;range 6
;return
Lyric
33
G1
G1
G2
G0
G0
M5
Step 9:
X0
Z-2
R4 I0 K-6 C0 E-14.5
X-4
Z0
;move to point 14
;move out
;return
;stop spindle motor
Step 10: Select the OPTIONS function and the SIMULATION subfunction in order to check the program by simulation.
Step 11: Select the function RUN and the RUN sub-function.
A graph window appears.
The program is executed step by step graphically on the window.
Observe the drawing.
Step 12: If the graph is not correct according to the program, correct the
program and run it again.
Step 13: Select the OPTIONS function and the TURNING sub-function in
order to operate the system.
Lyric
34
Step 14: Select the function MONITOR and the sub-function CNC
MONITOR.
The CNC monitor appears.
Make sure that all the check boxes of 'Home X', 'Home Y' and
'Home Z' are checked, and press the "GO TO MACHINE
HOME" button.
The machine should move to the absolute home position.
Step 15: Install the material (80x20mm plastic rod) into the C-502 spindle
and tighten it.
Step 16: Using the monitor buttons, bring the turning tool near the edge
position of the rod as described in the following figure.
Spindle
Rod
Turning
Tool
Lyric
35
Step 17: Turn ON the turning motor and approach the turning tool slowly
until it touches the rod.
Step 18: Using the MONITOR buttons, move the turning tool 1mm to the
right and 10mm to the center of the rod.
Step 19: Press the "DEFINE PFOJECT HOME" button.
Step 20: Select the RUN function and the RUN sub-function.
The system should turn the material according to the program.
Step 21: When the program ends, it stops the motor.
Step 22: Take out the processed rod and compare it with the drawing.
Lyric
36
Equipment required:
PC computer
S-LATHE software
C-502
Turning tool
80 x 20mm plastic rod
Procedure:
Step 1:
Step 2:
Step 3:
Step 4:
Lyric
37
1.6
SIEMENS screen
Step 1:
Lyric
38
Monitor Functions
Step 2:
The C-502 has 2 limit switches that indicate the absolute home
position for each axis.
Clicking over the GO TO MACHINE HOME button returns the
marked axis to home position.
Check that.
Important Note:
After turning on the C-502 or pressing 'RST', the monitor
command 'GO TO MACHINE HOME' for all dimensions
(X,Y,Z) must be instructed in order to synchronized the
interface with the system location.
Step 3:
Step 4:
Step 5:
Step 6:
You can move the cutter (X-Z movement) by using the arrow
buttons for each axis.
The monitor displays the current position of the machine in the
X,Z fields on the blue screen.
Check that.
Lyric
39
Step 7:
Step 8:
Step 9:
You can define any point as the project home using the button
'Define Project Point'.
Click on the 'Define Project Point' button and the X,Z fields of
the project are set to zero.
Step 10: Move the system using the arrow keys and X,Z fields will be
updated accordingly.
Step 11: Click over the button 'Go To Project Home' and the system will
return to the defined project home point.
Check that.
Lyric
40
Program Functions
Step 1:
The left side of the window is for program writing and editing.
The program is written in the blue screen on the top.
You can click on the keyboard buttons such as letters, digits and
functions (Space, Back space, Enter and Delete). Clicking the
Shift key shifts the function of the buttons from one to the other.
This is a simulation of using a machine keyboard.
On the other hand, you can use the PC keyboard to write and edit
your program.
Click on the left side of the blue screen to move the cursor to
there and type the following program.
M4
G0
G1
G1
G0
M5
S2000
X-9
Z-66 F200
X-10 Z-70
Z0
Step 2:
Step 3:
Step 4:
Step 5:
Install the material (80x20mm plastic rod) into the C-502 spindle
and tighten it.
Lyric
41
Step 6:
Using the monitor buttons, bring the turning tool near the edge
position of the rod as described in the following figure.
Spindle
Rod
Turning
Tool
Step 7:
Turn ON the turning motor and approach the turning tool slowly
until it touches the rod.
Step 8:
Using the MONITOR buttons, move the turning tool 1mm to the
right and 10mm to the center of the rod.
Step 9:
Step 10: Click on the 'Machine' button in order to operate the system.
Step 11: Press the "DEFINE PROJECT HOME" button.
Step 12: Click on the 'RUN' button.
The system should mill the material according to the program.
Step 13: You can open any written 'TAP' program using the 'Open' button,
edit it on the screen and save it back using the 'Save' button.
Try that.
Lyric