3. An Example of an FMS Cell

3.1 Overview

• A workcell has been constructed using one light industrial robot, and one NC milling machine. Some automated fixtures are also used.

• All of the devices in the workcell are controlled from a single Sun computer. This is an engineering workstation with UNIX. Thus, it is capable of multitasking (running more than one program at once).

• Software drivers, interfaces, and applications have been developed, to aid in teaching and demonstration.

• The following pages will describe the interfacing in the workcell, as an example of the connection between process control computers and a plant floor computer. A project in development will be discussed for networking Plant Floor (and higher) computers.

 

3.2 Workcell Specifications

• Workcell Layout

• Devices:

1 Sun Computer

2. CRS-Plus robot

• A five axis, articulated robot arm
• Communicates over an RS232 serial data line
• Interprets a language called RAPL
• Has 16 Digital I/O lines
• Uses a pneumatically controlled gripper
• The robot controller is 8088 based

3. DYNA-Mite Milling Machine

• A 3-axis 2.5D milling machine
• Uses a proprietary NC code
• Can be run locally, or remotely (over RS232 serial communication lines)
• Programs may be executed as they are entered, or when they are completely ordered
• Can handle objects of dimensions 6” by 5” by 4”
• Can machine plexiglass, wax, aluminum, steel (at low feed rates)

4. Pneumatic Vice

• Has a maximum opening of 4 inches
• Has a maximum travel of 1 inches
• Controlled by a pneumatic solenoid
• Pneumatic solenoid controlled from CRS-Plus robot controller

5. Conveyor

• A former undergraduate student project
• Activated electronically by the CRS-Plus robot controller

6. Fixtures (for making customized keytags)

• These are highly specific to the task being performed
• Parts Feeder: Provides a structured environment so that the robot may easily pick up the parts.
• Robot Gripper: Designed to provide a reasonable reach into the vice (and parts feeder), and to firmly grasp the workpiece.
• Vice Fixture: Designed to hold the workpiece at a level fixed height, and has a location for drill through of the keytag. This part does not effect the travel of the vice.
3.3 Operation of The Cell

• Developed/Proprietary software in the workcell

2.1.4: Example of Robot and Vice Software Driver Use

• NC code Example (for the Dyna Milling Machine)

• An Example of the Dyna Mill Software Drivers

void demo()

{

char ret[100];

/* Initialize Dyna Mill and check for failure */

if(dyna_init() == NO_ERROR){

/* Send NC Program to Dyna Mill */

dyna_load(“/usr/people/cim/nc.code/test1.nc”);

/* Download program from NC Mill */

dyna_download(“/usr/people/cim/nc.code/test”);

/* Send program to mill 1 step at a time */

dyna_step(“/usr/people/cim/nc.code/test2.nc”);

}

/* Deinitialize mill */

dyna_kill();

}

 

• A User interface for Workcell Control

• Actual Communication with devices, via a report window

• Workcell Programming window

• Advantages:

UNIX Based system allows easy control of cell in modes which are both parallel and/or concurrent

A blend of high level computers with low level devices allows for a very modular system, with a variety of computing resources.

Synchronization of processes is very simple.

Allows rapid reconfiguration of the workcell.

This workcell will perform all of the basic CAD/CAM/CIM functions.

The hierarchical design of software tools has simplified the development of new applications.

• Disadvantages:

Many Equipment manufacturers have not considered this type of control (they prefer stand alone modes), and thus their machines lack self calibration features, and software is made to be user interactive, and batch, but is not very friendly for software applications.

Requires technical people to operate the equipments.

3.4 The Need for Concurrent Processing

• An individual computer is not powerful enough to control an entire factory. And, a single program would be too complex. Therefore, there is a need for many computers and programs which interact.

• The example below involves two programs. The first program will control the robot, and the second will cut key tags with the NC machine.

• While the keytags are being cut, the robot program will move pegs around in the cell. This requires that the control software be very complex, or that two programs be used.

• if two programs are used, then some communication is required for sequencing tasks in the work cell.

• Concurrent tasks in the workcell use message passing between programs,

 

• Strategies for Concurrent processing, involve how the processes are split apart, and how they communicate,

Have a number of processes which communicate directly to one another (point to point). This is synchronous and well suited to real-time control.

Use a buffered message passing system. This allows asynchronous communication between processes running at different speeds, which do not do real-time control.

Remote Procedure Calls allows one program to run other programs remotely. This is suited to well defined problems, but every program must have knowledge of the other computers in the network.

3.5 Problems

Problem 3.1 What is concurrent (parallel) processing and why is it important for workcell control?

Answer 3.1 to allow equipment to do other tasks while one machine is processing

Problem 3.2 What is meant by the term “Device Driver”?

Answer 3.2 a piece of hardware that allows a connections to a specific piece of hardware