Professional Documents
Culture Documents
INTERNATIONAL UNIVERSITY
DEPARTMENT OF INDUSTRIAL & SYSTEMS ENGINEERING
PRACTICAL MANUAL
1
CIM Laboratory Experiment
Computer Integrated Manufacturing &
Flexible Manufacturing Systems
OBJECTIVE:
OUTCOME:
Students can operate the OpenCIM system to gain experience with computer integrated
manufacturing (CIM) or Flexible Manufacturing Systems (FMS). By working with a
complete CIM system, students are encouraged to think “globally” about the
manufacturing process. Students can also concentrate on a particular aspect of a CIM
system such as controlling robots, CNC machines, etc.
1. About CIM
2
To stay competitive, factories are increasingly automating their production lines with
Computer Integrated Manufacturing (CIM) systems. A CIM System consists of the
following basic components: I. Machine tools and related equipment; II. Material
Handling System (MHS); III. Computer Control System; IV. Human factor/labor
A CIM cell is an automated assembly line that uses a network of computers to control
robots, production machines, and quality control devices.
The CIM cell can be programmed to produce custom parts and products
2. About OpenCIM
OpenCIM offers a simulation mode in which different production strategies can be tested
without actually operating the CIM equipment.
OpenCIM allows advanced users to implement and experiment with theories concerning
optimal computer integrated manufacturing techniques such as:
• The effect of different machines which can perform the same process
• Modifying a process by changing a machine’s control program
• Alternate part definitions
3
OpenCIM can also be used in simulation mode to search for optimal production
strategies by experimenting with the following:
• The causes of production bottlenecks
• The effects of alternative production schedules
• What-if analyses
EXPERIMENT No.1
INTRODUCTION TO OPENCIM SYSTEM
Components Description
Conveyor Device that transports parts from station to
station.
Production (Work) Stations Locations around the cell where parts are
processed and stored by machines and robots.
Robots move parts between the conveyor and
station machines.
CIM Manager The PC that contains the CIM Manager
software which coordinates the functioning of
all devices in the cell using a LAN.
4
Station Manager A PC that controls the different devices at a
station and has a communication link with the
CIM Manager. Device control is performed by
OpenCIM device drivers that run on this PC.
A device driver controls the operation of a
device at the station in response to commands
from the CIM Manager and other CIM
elements.
Other Software Tools OpenCIM Modules: Virtual CIM Setup, CIM
Manager (with integrated Part Definition,
Machine Definition, Storage Definition, MRP,
Scheduler-Gantt, Reporter, Graphic Tracking
modules), Project Manager, Performance,
Optimization and Web Viewer.
Third Party Software: Other production related
software that interfaces to OpenCIM such as
Production Scheduling, Manufacturing
Resource Planning (MRP and MRP-II), Order
Entry Systems, Data Base Management
Systems (Xbase), etc
Stations
The OpenCIM cell is composed of a set of stations located around a conveyor as shown
schematically in the figure below:
Each station is controlled by a Station Manager PC. A CIM Manager PC coordinates the
activities of all stations. The number of stations may vary from cell to cell.
Station Description
ASRS Station Automated Storage and Retrieval System.
Automatic warehouse which supplies raw
materials to the OpenCIM cell, stores parts in
5
intermediate stages of production, and holds
finished products.
Machine Station Station where materials are shaped, formed,
or otherwise processed (e.g. using a CNC
machine or laser engraver).
Assembly Station A station where parts are put together. The
resulting new part is called an assembly.
Peripheral equipment and devices at an
Assembly Station include an automatic
screwdriver, Welder, X-Y table, part feeders,
various robot grippers, etc.
QC Station Quality Control. Inspection of parts using
machine vision, laser scan meter, height
gauge, continuity tester, CMM, caliper or
other QC machines.
Element Description
Robot A device which moves parts around a station
(e.g. inserts parts into a CNC machine) and/or
performs assembly operations.
Robot Controller For example, an ACL controller which controls
the robot and certain optional peripheral
devices (e.g. X-Y table, barcode scanner).
Station Manager PC A Station Manager PC where the device drivers
are located that:
• Translate OpenCIM production messages and
commands to/from each station device (e.g. the
ACL controller).
• Provide a user interface for controlling station
devices by manually sending OpenCIM
commands (e.g. to CNC machines or an ACL
controller).
6
adapter, various grippers such as pneumatic or
suction models, etc.).
7
EXPERIMENT No.2
Templates
Templates are plastic trays which can hold various types of parts. They allow parts to be
transported on the conveyor.
A template contains a matrix of holes in which pins are placed to fit the dimensions of a
part. Each arrangement of pins defines a unique template type. Each part may only be
held by its assigned template. The handle, located on top of or in front of the template,
facilitates grasping by a robot’s gripper.
An optional barcode sticker on the side of the template shows the template’s ID code.
When barcodes are used, a barcode reader can verify the identity of each template
inserted or removed from the ASRS
8
Figure 5. Pallet at Conveyor Station
Each pallet has an ID number which is magnetically encoded in a bar on the pallet. In
normal cell operation, each pallet is stopped briefly when it arrives at a station so that
its magnetic code can be read. While a pallet is stopped, the conveyor continues to
transport other pallets which are moving between stations.
Figure 6. Conveyor
2. Robot: CIM robots move parts within a station. Robots vary in speed, payload,
accuracy, range of movements (degrees of freedom), working envelope (horizontally or
vertically articulated), and drive mechanism.
9
Figure 7. Robot
The robotic arm undergoes processing by the Scorbase robotics control and simulation
software installed on Lab PC. The software allows to contact directly in manual or
automatic way.
11
Starting programming, we choose the supplied parts (template 002) that we want the
robot to get, and then set positions for the robot:
Robot gets the raw part from cell
1. Go to Position 499 Fast // beginning position of robot in ASRS- safety position
2. Go to Position 660 Speed 30 (%) // the robot moves to the left according to Z-
coordinate (dof:2) which is opposite to the position of template 002.
3. Go to Position 661 Speed 30 (%) //the robot moves to the left according to Z-
coordinate (dof:2 ) to the position of template 002
4. Go to Position 662 Speed 30 (%) // the robot lifts the template 002 according to
Y-coordinate (dof:3)
5. Go to Position 663 Speed 30 (%) // the robot moves back to the right according to
Z-coordinate (dof:2)
6. Go to Position 664 Speed 30 (%) // the robot rotates 90 degrees according to T-
coordinate (dof:4)
Robot puts the raw part to conveyor
7. Go to Position 498 Fast // the robot moves to the position which is opposite with
conveyor according to X-coordinate (dof:1)
8. Go to Position 11 Speed 50 (%) //the robot moves template 002 to the pallet on
the conveyor according to Z-coordinate (dof:2)
9. Go to Position 1 Speed 20 (%) // the robot puts down template 002 on the pallet
on the conveyor according to Y-coordinate (dof:3)
12
17.Go to Position 498 Speed 50 (%) // the robot moves back to position which is
opposite with conveyor according to X-coordinate (dof:1)
18.Go to Position 499 Speed 50 (%) // Robot moves back to the beginning position
in ASRS
Example 1
For each position, we set the parameter of XYZT:
# Coor Axis1-X Axis2-Y Axis3-Z Axis4-Roll
mm mm mm (deg)
499 XYZ 661.28 58.82 506.88 89.15
13
498 XYZ 1013.60 58.82 506.88 89.15
Example 2
a. Robotic arm takes part from conveyor
-----------------------
Go to Position 505 Speed 50 (%)
# Coordination Axis 6
Counts
505 Encoder(counts) 222625
-----------------------
Go to Position 100 Speed 50 (%)
Coordination Axis 1 Axis 2 Axis 3 Axis 4 Axis 5
X(mm) Y(mm) Z(mm) Pitch(deg) Roll(deg)
Encoder(counts) -121053 -14577 -113464 -17845 107
Joint(deg) 90.26 -102.92 103.61 90.10 2.33
XYZ 40.92 234.73 453.18 -90.79 2.33
-----------------------
-----------------------
Go Linear to Position 251 Speed 10(%)
Coordination Axis 1 Axis 2 Axis 3 Axis 4 Axis 5
X(mm) Y(mm) Z(mm) Pitch(deg) Roll(deg)
Encoder(counts) 90113 91023 -17135 -21174 53676
Joint(deg) -83.73 -26.78 24.23 93.35 96.50
XYZ 17.95 -548.16 319.42 -90.80 96.50
-----------------------
Open Gripper
-----------------------
c. Robot receives finished product from CNC machine
-----------------------
Go Linear to Position 261 Speed 30(%)
Go to Position 200 Speed 50 (%)
14
Open Gripper
Go Linear to Position 211 Speed 10(%)
Close Gripper
-----------------------
-----------------------
Go to Position 505 Speed 50 (%)
Open Gripper
Go to Position 100 Speed 50 (%)
-----------------------
EXPERIMENT No.3
Automatic warehouse which supplies raw materials to the OpenCIM cell, stores parts
in intermediate stages of production, and holds finished products. The ASRS model
is specifically designed to work in the OpenCIM environment. This unit contains a
dedicated Cartesian robot with an additional rotary axis that moves between two sets
of storage racks. Each rack has a set of shelves divided into storage cells that are
designed to hold part templates. The robot moves templates between the conveyor
and storage cells.
15
Figure 8. The ASRS Robotic Storage Station
EXAMPLE
Parts (cylinder and rectangular) are removed from the ASRS by Cartesian robot and
transported on the conveyor to production stations (CNC machines)
EXPERIMENT No.4
18
Figure 10. CNC Machines
a) CIM Manager: The PC that contains the CIM Manager software which
coordinates the functioning of all devices in the cell using a LAN.
b) Station Manager: a PC that controls the different devices at a station and has a
communication link with the CIM Manager. Device control is performed by
OpenCIM device drivers that run on this PC. A device driver controls the
operation of a device at the station in response to commands from the CIM
Manager and other CIM elements.
BenchMilling 6000
The BenchMill operates on three axis motors. the movement controlled by these
motors assists the cutting tool and the cross-slide as follows:
The X-axis motor sets the cross-slide on left-right movement beneath the tool
The Y-axis motor sets the cross-slide on in-out or toward-away movement
beneath the tool from vertical column
19
The Z-axis motor helps spindle move up and down, in and out of the workpiece
Differentiating from BenchMill 6000, the process works with only two
dimensions horizontally and parallel.
PROGRAMMING
20
a) Supplied parts (cylinder and rectangular) are loaded into AS/RS
21
17:21:49.55 WAITBIT( 0x500, "00000010", 10000 )
17:21:49.6 -6 - - Condition is true ---
17:21:56.5 U2 P LSBIT( 0x500, 0x0, "00010000", 500 )
17:21:57.13 --- CLOSE DOOR ---
17:21: 57.23 --- DOOR IS CLOSED ---
17:21:57.34 WAITBIT( 0x500, "00000100", 10000 )
REPORT WRITING
22