Lab manuals-CIM Lab
Lab manuals-CIM Lab
Lab manuals-CIM Lab
INTRODUCING SCOREBASE
HOMING
SEARCH HOME-Robot
This command runs the homing procedure for the robot. Homing of
the peripherals is enabled only after the system has been homed once.
INTRODUCING ROBOCELL
TEACH PENDANT
STACKING OF OBJECT
AIM:
To write a program in SCOREBASE software to perform stacking
of the given wooden blocks using SCOREBOT ER-4u Robot in a
required pattern.
MATERIALS REQUIRED:
6 wooden blocks, SCOREBOT ER-4u Robot
PRECAUTIONS:
1. Ensure no objects interfere in the path of the Robot
movement.
2. Keep the surroundings of the robot clean.
3. Switch the emergency stop button in case of any
abnormality in functioning of the robot.
4. The robot should be homed before and after the
performing the operations on the robot.
RESULT:
REMARKS/INFERENCE:
8
AIM:
To conduct a detailed study on CNC milling machine
SPECIFICATIONS:
DESCRIPTIONS:
INTRODUCTION
Numerical control is the latest machine tools control system,
which has been developed out of the need for higher productivity,
lower cost and more precise manufacturing, can be considered as the
most sophisticated form of automation for controlling machine tools,
equipments and processes. In NC system, operation instructions are
inputted to the machine as numbers which are suitably coded for
storing on tapes. These instructions are then automatically carried
out in the machine tool in predetermined sequence with pre set or self
adjusted speed; feed etc., without human intervention. In the original
NC systems the physical components are hard wired i.e. the circuitry
and components can perform their respective functions only and are
not flexible to adopt changes. In CNC system the physical components
are software units. In software units the loaded program in computer
makes the control unit operate to suite the need of machinist.
1. Program of instructions
The program of instructions often called part program is the detailed
set of directions for producing a component by the CNC machine.
Each line of instruction is a mixture of alphabetic codes and
numerical data.
2. Machine controller
This part, usually a computer software, controls the operations
carrying out in a CNC machine. It co-ordinates operations by
converting the part program to required input signals for the CNC
machine.
3. CNC machine
10
Operation of XL MILL
Control Menu
CONTROL
Execute CNC
Edit offsets
Load tool offsets
Save tool offsets
12
Execute CNC
Stars execution of a CNC program
Edit offsets
Permits the listing of current tool offsets and allow you to edit them.
Load tool offsets
Loads a new set of offsets from disk
Save tool offsets
Saves current offsets to disk
Datum of Axes
Datum axis as follows
Press home button on the operations panel
Press ‘+X’ button on the operations panel and wait for
longitudinal slide to come to a stand still
Press ‘+Y’ button on the operations panel and wait for cross
slide to come to rest
Press ‘+Z’ button on the operations panel and wait for spindle
head to come rest.
Press JOG button on the operational panel
Ensure X,Y,Z values read zero
Pressing the +X, -X, +Z, -Z keys and TRVRS key simultaneously
will move the slides at rapid traverse speed
The machine is now ready to use
Operation Keys
RESET Reset any alarm messages. Reset program
to start in edit mode
ALPHA/ NUMERICAL Inputs character expected by controller
PAD when inputting a program. Multi character
keys toggle between characters shown
CURSOR Moves cursor through program element by
element in defined direction.
PAGE Moves cursor through program page by
page in defined direction.
13
Editing Keys
ALTER Alters address
INSERT Inserts address. Also used to initialize new
programs
DELETE Delete addresses.
/;# E.O.B. Characters shown are toggled EOB operated
when editing
CANCEL Cancels all address. ( before insert is executed )
Operation Select
AUTO Select to run program
EDIT Select to edit program
SINGLE BLOCK Allows single step execution of program
BLOCH SKIP Select in edit mode to ignore block when running
program
HOME Zeros machine around its own reference point
JOG Moves axes around at feeds as set on override.
When manual mode moves axes at 0.01, 0,1, 1
increments and continuous feed.
14
Execution
CYCLE START Starts
program
CYCLE STOP Stops
program
Axis/ Direction
Press either JOG or MPG to operate
-X Movement in –X direction
+X Movement in +X direction
-Y Movement in –Y direction
+Y Movement in +Y direction
-Z Movement in –Z direction
+Z Movement in +Z direction
TRVRS Rapid traverse (toggle switch)
Spindle
CW spindle movement clockwise
STOP Spindle stop
CCW spindle movement counter
clockwise
Coolant
CLNT ON Coolant
on
CLNT OFF Coolant
off
15
Result
EXERCISE 1
AIM
To write a manual part program for machining the component shown
in figure and machine the model using CNC milling machine.
APPARATUS REQUIRED
CNC milling machine, slot cutter
MATERIALS REQUIRED
Cast iron work piece
PROCEDURE
At first write the manual part programming required for the CNC
operation. Input it to the control software. Fit the work piece to the
wise of the CNC machine. Execute the program inputted.
The manual part program is as given below:
P1 X25 Y10
P2 X65 Y10
P3 X80 Y25
17
P4 X80 Y65
P5 X65 Y80
P6 X25 Y80
P7 X25 Y65
P8 X10 Y65
P9 X10 Y25
P10 X31 Y45
P11 X59 Y45
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T01 01
M03 S1500
G90 G00 X25 Y10 Z6
M98 P42222
G90 G00 Z5
G91 G28 X0 Y0
M05
M30
O 2222
G90 G00 X25 Y10
G91 G01 Z7 F50
G90 G01 X65 Y10 F100
G03 X80 Y25 R15
G01 X80 Y65
G02 X65 Y80 R15
G01 X25 Y80
G01 X25 Y65
G01 X10 Y65
G01 X10 Y25
G01 X25 Y10
G91 G00 Z7
G90 G00 X31 Y45
18
RESULT
The given metal block is cut to required shape and dimension. Also
the manual part program for the required process is obtained.
REMARKS/INFERENCE
19
EXERCISE 2
AIM
To write a manual part program for machining the component shown
in figure and machine the model using CNC milling machine.
APPARATUS REQUIRED
CNC milling machine, slot cutter
MATERIALS REQUIRED
Cast iron work piece
PROCEDURE
At first write the manual part programming required for the CNC
operation. Input it to the control software. Fit the work piece to the
wise of the CNC machine. Execute the program inputted.
The manual part program is as given below
20
G21 G94
G91 G28 Z0
G28 X0 Y0
M06 T01 01
M03 S1500
G90 G00 X5 Y45 Z5
M98 P5555
M70
M98 P5555
M80
M71
M98 P5555
M81
M70
M71
M98 P5555
M80
M81
M91 G28 X0 Y0 Z0
M05
M30
O 5555
G90 G00 X5 Y45
G01 X5 Y5 F100
G01 X45 Y5
G02 X5 Y45 R50
G02 X45 Y5 R50
G00 Z5
G00 X0 Y0
M99
21
RESULT
The given metal block is cut to required shape and dimension. Also
the manual part program for the required process is obtained.
REMARKS/INFERENCE
22
DESCRIPTION
HOST PC
PLCs are generally classified by size. The small sized system has a
limited number Inputs and Outputs. As a general rule the small PLCs
have less than 100 Inputs and Outputs. With approximately 20 Inputs
and 12 Outputs mounted locally with processor. Additional Inputs
and Outputs can be added to accommodate the remaining Inputs and
Outputs.
Medium sized PLCs have 4000 to 8000 Inputs and Outputs. They all
support wide variety of specialty modules such as ASCII
communication modules.
Basic programming modules, 16 bit multiplexing modules, Analog
input and output modules that allow interfaces to both analog
Voltages and Current.
Large sized OLCs were very popular since 1980 before network was
perfected. The concept of large size PLC was to provide enough user
memory, Inputs and Outputs to control complete factory, problems
occurred when minor problem occurs in the system brought the
complete factory to halt.
The advent of LAN brought about the concept known as distributive
control, where small and medium sized PLCs are connected together
24
through the network. In this way entire factory is brought under the
control of a number of PLCs but failure of one system doesn’t affect
any other system.
Output command:
To turn “ON” or “OFF” the Output of LSM Controller Package PLC
command is:
set_output Output Address, Status of the Output
For example:
To turn “ON” output number 1 of LSM Controller Package PLC
command is:
set_output 1,1
Input command:
To read the status of Input of the LSM Controller Package PLC
command is:
Get_input(Input Number) = Status of the Input
EXAMPLE PROGRAM:
If Input Number “1” is in “ON” State, then Output Number “1” has to
be turned “ON” for 3 seconds. After 3 seconds it has to be turned
“OFF”.
Program:
If get_input(1)=1 then “if input No.1 is “ON”
Set_output 1,1 “Output No.1 will be switched “ON”
Delay(3000) “Delay 3000 milliseconds or 3 seconds”
Set_output 1,0 “Output No.1 will be switched “OFF”
End if “End of if condition”
26
EXERCISE 1
For i=1 to 10
Set_output 1,1
Delay(3000)
Set_output 1,0
Delay(3000)
Set_output 2,1
Delay(3000)
Set_output 2,0
Next
27
EXERCISE 2
For 1=1 to 10
Set_output 3,1
Set_output 4,1
Delay(3000)
Set_output 3,0
Set_output 4,0
Set_output 5,1
Delay(3000)
Set_output 5,0
Next
RESULT:
A detailed study of PLC is done and two example programs have been
carried out.
REMARKS/INFERENCE:
28
AIM
To study RAPID-I Vision Inspection System, find the Pitch
Circle Diameter, Thread parameters like Major diameter, Minor
Diameter, Effective Diameter, Pitch, Angle and tracing out the complex
features.
THEORY
PRECAUTION
EXPERIMENTAL SETUP
PARTS DETAIL:
1. X-Y workstage: Top plate size 375 x 310 mm, measuring travel
200 x 100 mm on X & Y axes, table top glass size 250 x 170
mm. Workstage can be moved manually using knurled knobs. If
motorized version is opted, stage can be operated with the
joystick.
2. Joystick control console: Right side lever controls X & Y axes
movement. Z axis is controlled by the lever on left side. Fine
movement buttons for X, Y, & Z axes are provided. Speeds can
be adjusted from the push button control in the centre. Other
small knob in the centre provides zoom in and zoom out
function.
3. Electronics interface unit: This is fixed behind the column and
houses all embedded control cards. Power is connected to the
30
machine from the left side of this unit where on – off switch is
also provided. This unit need not be opened by the user.
4. Computer system: Dedicated monitor and PC is provided with
basic machine together with suitable video cables. Under no
circumstances should the PC and monitor be removed/changed
or used for any other purpose. Software provided for geometrical
function measurement is loaded to computer and the details are
outlined in following chapters.
PROCEDURE
ii) The procedure for calculating the effective diameter, pitch and
angle:-
PRESENTATION OF RESULT
a) Major Diameter =
b) Minor Diameter =
c) Effective Diameter =
d) Pitch =
e) Angle =
REMARK / INFERENCE