SM Lab 4
SM Lab 4
Title:
To understand and operate different functions of CIM Manager for simulation of smart
manufacturing system.
Apparatus:
1. Computer
2. OPENCIM software
Theory
Accessing the CIM manager
The CIM Manager is accessed from the Project Manager main window enabling the user to
centrally control all the activities of a selected OpenCIM cell.
To access the CIM Manager application:
From the Project Manager Main window, shown in Chapter 5: Project Manager, click CIM
Manager on the toolbar. The CIM Manager Main window is displayed, as shown in CIM
Manager Main Window in the following section.
Option Description
MRP Displays the CIM MRP window, enabling you to create a list of customers,
define the products ordered by each customer, and generate a manufacturing
order.
Machine Displays the CIM Machine Definition window enabling you to define the
Definition machines and the specific processes that the machines will perform.
Optimization Displays the CIM Optimization Manager enabling users to select machine
Definition queue algorithms and define their weight.
Part Definition Displays the CIM Part Definition window, enabling you to define the parts that
the CIM cell can manufature, including available parts and the parts that need
to be manufactured. These include: Supplied Parts, Product Parts and Phantom
Parts.
Performance Displays the CIM Performance Manager for viewing and analyzing
Analysis information generated form the manufacturing cycle.
Report Displays the CIM Report Part Definition window, enabling you to generate and
Generator print various reports from the database. These include, part definition reports,
machine definiton reports and more.
Scheduler Displays the CIM Scheduler window, enabling you to plan, coordinate and
Option Description
Gantt track variuos production schedules. For further details refer to CIM
Scheduler.
Storage Displays the CIM Storage Manager window which manages and keeps track of
Manager parts in storage and informs the system of the part location.
Window
The following table contains a brief description of each option in the Windows menu:
Option Description
Device Displays the Device View window containing a lists of all the
devices in the CIM cell.
Event Displays the Event View window containing a list of events that
will be generated by OpenCIM simulation engine when Run is
activated.
Leaf Displays the Leaf View window containing the production
activities occurring in the CIM cell.
View
The following table contains a brief description of each option in the View menu:
Option Description
Toolbar Shows or hides the CIM Manager
toolbar.
Help
The following table contains a brief description of each option in the Help menu:
Option Description
About Displays the About OpenCIM Manager window contaning the
current software version information.
Help Displays the OpenCIM Online help.
Registration Displays the registration dialog box enabking you to perform various
registration options, such as obtain your software license from
Intelitek's
website, or by e-mail, fax or phone.
The following table contains a brief description of each option on the CIM Manager toolbar:
Option Description
Start: Loads the production work order (A-Plan). Opens
communication channel. This sends a command to reset (INIT) all
device drivers. The run arrow turns blue, and the stop button turns
red, indicating that they are available for use. The production plan
will appear in the Program View screen.
Option Description
Device View: Displays the Device View window containing
information referring to all the robots and machines in the CIM
cell.
Event View: Displays the Event View dialog box that lists the
events generated by the OpenCIM simulation engine.
Leaf View: Displays the Leaf View window, providing a
detailed description of the production activities of the CIM
cell.
Log View: Displays the Log View window that contains a log
of all the messages that have sent and recieved by the CIM
Manager.
Pallet View: Displays the Pallet View window, containing the pallet
information in the CIM cell, such as descriptions, status and more.
Machine Queue View: Displays the Machine Queue View
showing the parts that are currently in the queue to the various
machines for processing.
Program View: Displays the Program View window, that contains
a copy of the A-Plan or production work order.
Storage View: Displays the Storage View window
containing every location defined in the CIM system.
Message History: Displays the Message History dialog box with
three types of messages: External and Internal Messages and CIM
Warnings.
The CIM time counter indicates the time elapsed since the onset of the production cycle.
The PLC Status Bar, informs us whether or not the connection is active.
Viewing Area
The Viewing area enables you to monitor various aspects of the production cycle on a real-time
basis by selecting one of seven tab views. By default, the Graphic Display tab is selected and the
viewing area displays 3D graphic simulation of the CIM production cycle. For further details on
the tabs displayed in the Viewing area, refer to Graphic Display and Tracking.
Order View
The Order View, located below the toolbar in the left portion of the window, displays data
regarding the order of parts and their production status.
Device View
The Device View, located below the toolbar in the right portion of the window, displays data
regarding the activity taking place in the devices during the production process.
Status Bar
The application’s status bar, located at the bottom of the window, displays the status and location
of the application, such as the current operation mode and the location of the [Link] file used
by the manager.
Information Bar
The Information Bar displays general messages that occur during production, such as
Order is in progress and so on.
The MODES Dialog Box is displayed by clicking the CIM Modes icon on the toolbar. This
dialog box enables you to define the current modes that are active in the CIM Manager,
such as, whether the CIM Manager is working in Real Mode or Simulation Mode, whether
the Web
Viewer is activated and so on. The modes defined in the MODES dialog box are per project.
Figure 49: Modes Dialog Box
Update Process Time No Duration update:Does not update the duration of any
process defined in Machine Definition.
Duration Update: Updates the duration of any process
defined in Machine Definition. The duration is the actual
time that a machine has taken to complete a process.
Remote Graphic Display Specifies whether or not status messages are sent from the
devices in operation to the Graphic Display module so that
the display is updated accordingly.
Yes - Messages are sent to the Remote Graphic Display.
No - Messages are not sent to the Remote Graphic
Display.
By default the Manager is configured to support only
one Remote Graphic Display.
To enable support for more than one Remote Graphic
Display:
1. Open Notepad by clicking Start | Accessories |
Notepad.
2. Select File | Open and browse to [default system
drive (for example C:)]
Windows XP:
\Documents and Settings\All
Users\Documents\Intelitek\OpenCIM\Projects\<project
name>\setup\[Link].
Windows Vista/7:
\Users\public\Documents\Intelitek\OpenCIM\Projects\<project
name>\setup\[Link].
1. Find the NUMCIMULSOCKETS in the
[networking] key and change it to the required
number of cim
simulations.
2. Click Save.
For safety reasons, when operating the CIM in Real Mode, you must
use the actual hardware EMERGENCY buttons to halt the system in
Warning! an
emergency.
1. From the Project Manager application, select the required project and click CIM
Manager. The CIM Manager main window is displayed, as shown in CIM Manager Main
Window.
2. Select the Modes icon on the toolbar. The MODES dialog box is displayed.
3. Select Simulation Mode option, and if required adjust the simulated speed and define
additional options, as described in the CIM Modes Dialog Box, and click Save.
4. Verify that the Graphic Display tab is selected and click the Reset Storage button
on the CIM Manager toolbar.
5. If required, you can select Utility Programs | Scheduler Gantt to view the production schedule.
6. Click the Start button to start, and click Run . The selected CIM Cell is now
running in simulation mode.
Working in Real Mode
To operate the CIM cell in real mode, you must verify that the real mode is selected in the CIM
Manager.
8. Remove any parts left at stations: in a robot’s gripper, in a machine and on storage racks.
11. From the PC of each Station Manager click the Loader WS1 icon (for example). The
CIM Device Driver Loader window is displayed.
12. In the Simulation column, select the mode in which you want to load the device
drivers by selecting or deselecting the column and click the Start button.
13. At each station, home the robot and initialize all the equipment.
14. On the PC that contains the CIM Manager, perform the following:
[Link] the Project Manager application, select the required project and click
CIM Manager. The CIM Manager main window is displayed, as shown in CIM
Manager Main Window.
ii. Select the Modes icon on the toolbar. The MODES dialog box is displayed.
[Link] the Real Mode option, and if required define additional options, as described
in the CIM Modes Dialog Box, and then click Save.
[Link] required, you can select Utility Programs | Scheduler Gantt to view the
production schedule.
Click the Start button to start, and click Run . The selected CIM Cell is now
running in real mode.
You can turn on OpenCIM workstation PCs and hardware in
any order. There is no mandatory boot-up sequence. You can
also reboot a PC as long as it is not in the middle of an
operation or communicating with the CIM Manager. If you reset
a PC, you do not need to reset other
workstation PCs connected to the OpenCIM network. When the
PC boots up, its applications will resume communication with
other PCs on the OpenCIM network.
Storage View
The Storage View resembles the Location Status Report (see Chapter 5). This view is a detailed listing
of every location defined in the CIM system.
Figure 51: Storage View
Level This hierarchy number indicates the level in the Part Definition tree for
each ordered product. Operations at the same level can occur in
parallel (except an ONFAIL process).
Part Unique name used to identify the subpart currently under production.
Action The A-Plan command or user-defined process that the CIM
Manager executes to produce a part.
Subpart The part or object which the A-Plan action operates on.
Target The destination where this subpart is to be delivered.
Index (#) Parameters used by this command or process.
P1 Shows the current production status. The number of shaded Part
columns corresponds to the total number of parts ordered.
When a part is being produced, one of the following symbols
appears at the current stage of production:
Command sent, waiting for acknowledgment.
ON Device has begun processing this part
(device driver has responded with Start message).
OFF Device finished processing this part
(device driver has responded with Finish message).
◼ The blue box indicates operation completed
(device driver has responded with End
message).
WAIT CIM Manager is waiting for another
operation to complete before sending this
command.
Device View
The Device View is a complete list of every robot and machine (including QC devices) in the
CIM cell and a description of the current action being performed by each.
Device Name of the device or machine, as defined in the Virtual CIM Setup.
Status When a part is being produced, one of the following symbols
appears at the current stage of production:
RUN Command sent, waiting for acknowledgment.
Start Device has begun processing this part (device
driver has responded with Start message).
Finish Device finished processing this part (device driver has
responded with Finish message).
End Device ended processing this part (device driver has
responded with End message).
Stop Device is ready for next command.
Load Device is loading the processing program from the Backup
or the Database.
Action The movement or operation command which is currently being
executed by the device. For robots, the action is commonly the
placement of a part. For machines, the action is usually the name of
the process (as defined in the Machine Definition form).
Station The number which identifies the workstation where the device is
located.
ID The Device ID number, as defined in the Virtual CIM Setup.
Log View
The Log View is a transcript of the Leaf View. It details all messages which have been sent and
received by the CIM Manager.
Pallet View
The Pallet View is a complete list of every pallet in the CIM cell and a description of its current status.
immediately follow.
Figure 57: Leaf View
The following is an explanation of each column in the Leaf View.
Subpart of Name of the part and the name of the final product to which it belongs.
Part
Action The action currently in progress (upper line) and the next process
>Next to be performed on the part. For example:
Process MILL2 = process defined in the Machine
Definition form BOX = part name.
EXPERTMILL1 = name of machine which will perform operation,
as defined in the Machine Definition form.
Status When a part is being produced, one of the following symbols
appears at the current stage of production:
Command sent, waiting for acknowledgment.
ON Device has begun processing this part (device driver has
responded with Start message).
OFF Device finished processing this part (device driver has
responded with Finish message).
◼ The blue box indicates operation completed (device
driver has responded with End message).
WAIT CIM Manager is waiting for another operation to complete
before sending this command.
Part ID An internal ID index for the part, generated by the CIM Manager.
Bar Code The ID number of the template which is carrying the part.
Leaf ID An internal ID index generated by the CIM Manager.
L1... Ln Additional information about other “leaves”.
Event View
The Event View is used only when the CIM Manager is operating in simulation mode; it
contains data only after the Run button is pressed.
The Event Queue is a list of events that will be generated by OpenCIM’s simulation engine, in
order to ensure proper functioning of the simulation.
TIME = 135 ([Link]) Indicates amount of time that has passed (135
seconds, or 2 minutes, 15 seconds) since
the Run button was pressed.
PLACE: Device start at 7 Indicates Robot 7 will send a Start message
ROBOT7... PLACE: Device in 7 seconds and a Finish message in 15
finish at 15 ROBOT7 seconds.
Message History
Sort by Machine: Shows the activities of machines and the parts they
process.
Alternatively, select Display | Sort by Machine from the CIM
Scheduler menu bar.
Shows the progress of parts, and the machines which process them.
Alternatively, you can also select Display | Sort by Part from the
CIM Scheduler menu bar
Enables you to clear the scheduler data .(Enabled in Online mode only.)
Alternatively, select File | Clean from the CIM Scheduler menu bar.
Displays the Load Data dialog box, enabling you to load additional
production schedules.(Enabled in Offline mode only.).
Alternatively, select File | Open from the CIM Scheduler menu bar.
Displays the Save as dialog box enabling you to save the current
production schedule.
Alternatively, select File | Save As from the CIM Scheduler menu bar.
Display
Options
After you have generated a planned schedule, you can run the CIM Manager in real mode in
order to track and display the actual schedule, and see how it compares with the planned
schedule.
Status Messages
When a device performs an operation on the part, its device driver transmits status messages to
the CIM Manager reporting the outcome The CIM Manager forwards these messages to the
Graphic Tracking module, which then updates its display accordingly.
Examples of these messages include:
• Command Response Messages: A device driver responding to a command sent from
the CIM Manager, or a device driver responding to a command sent from another device
driver (such as, a CNC device driver responding to commands sent by a robot’s ACL or
Scorbase device driver to open and close its door).
• Pass Messages: The PLC device driver sending a Pass message indicating that a pallet
that is not needed at this station has just gone by. Pass messages are generated only to
allow the Graphic Tracking module to update its conveyor display, and are not used by
the CIM Manager or any other CIM entity.
Updating the Display
The CIM Manager relays the status messages to the Graphic Tracking module, which then
updates its display accordingly. The display can show the following examples:
• Parts, as they move from device to device (such as, a robot picking up a part from a
template and putting it in a CNC machine).
• Pallets, moving around the conveyor.
The screen display includes detailed representations of station elements such as computers,
controllers, CNC machines, and robots as shown in the following figure. This module updates its
display in response to real-time status messages emanating from the CIM Manager and active
device drivers.
Option Description
Maximize/Restore: Enables you to toggle between
maximizing and restoring the Graphic Display tab.
Top View: Places the camera on top of the cell at the center of the
image
Save Camera Position: Saves the current position of the graphic
dispay screen until the next time you enter the CIM Manager
application.
Toolbar View: Displays or hides the IDs of the objects, templates,
parts, and pallets, each of which is described below.
Show Name: Displays the names of the objects that currently exist
in the CIM cell.
Show ID: Displays the object IDs that exist in the current CIM cell.
Show Parts: Displays the IDs of the parts in the CIM cell.
In addition, the following options enable you to change the view of the CIM cell:
• Zoom In/Zoom Out: Zooms in and out of the image by pressing the right mouse
button and moving it forward or backward.
• Rotate the Image: Rotates the view of the image by pressing the right mouse
button and moving it to the right/left.
• Moving the Camera Up/Down: Use the window’s scroll bar to adjust the viewing
angle of the image.
Alternatively, the viewing angle can also be adjusted by scrolling the mouse wheel.
The Graphic Display of a working Open CIM cell is displayed in the CIM Manager window
and it can also be displayed on another PC (Web Viewer application and Remote Graphic
Display.) It is possible to display three different 3D views at the same time on the same screen
as shown in Figure 7-17.
2. Click any object in the scene. It now becomes the center point
Procedure for the display manipulation. The view changes to an overhead
Changing the scene (if it is not already), which you can now manipulate, as
Focus of the described above.
Graphic Display
The Text menu allows you to select the kind of captions you want to include in the
graphic display. Only
one kind of text can be selected at a time.
None No text. Select None to remove the currently displayed caption. You
may
then select another kind of text. (Note that there is no checkmark
in the menu to indicate your selection.)
Name Name of machines and devices.
Ext. ID External ID number, as defined in the Virtual CIM Setup.
Pallets Displays the ID number of the pallets.
Templates Displays the ID number of the templates.
Parts Displays the ID number of the parts.
The File menu offers the following options:
Objective:
• Apparatus
• Procedure
• Discussion
• Conclusion
Comments:
…………………………………………………………………………………………
……………………………………………………………………………………
……………………………………………………………………………………
LAB REPORT
OBJECTIVE
APPARATUS
PROCEDURE
DISCUSSION
Which type of data required to simulate a computer integrated system in OPEN CIM manager
software?
CONCLUSION