Docsity

robotica estudiantil, Esquemas de Física

Pré-visualização parcial do texto

Baixe robotica estudiantil e outras Esquemas em PDF para Física, somente na Docsity!

www.cosimir.com

COSIROP 2.

First Steps

Programming Software for

Mitsubishi Industrial Robots

4 First Steps COSIROP

Welcome

Thank you for choosing the new COSIROP 2.0 programming software!

COSIROP 2.0 makes your programming life a lot easier. COSIROP 2.0 is the tool for programming, online control, parameterization, and diagnosis of Mitsubishi MELFA Robots. Use COSIROP 2.0 to develop robot programs in MELFA BASIC or Movemaster Command. For each command you can get a detailed online help simply by pressing the F1 help key. Use COSIROP’s jog operation tool to teach the robot and to insert positions directly into a position list. Exchange your programs between the PC and the robot controller via a serial interface or via an Ethernet connection.

The RCI Explorer (Robot Controller Interface) is the new information-processing center of COSIROP 2.0. With the RCI Explorer you can up- and download programs, simply by drag-and-drop. Start programs in any slot you want and keep track of the actual state of your robot parameters, error messages, system variables, etc.

It has never been so easy to test your programs in deep. The new Debugger supports a breakpoint-oriented online debugging of your robot programs. Set breakpoints wherever you want. Start your program in any line; use single stepping forward and backward. The online debugger is the ultimate test tool for detailed online testing of your programs.

COSIROP 2.0 offers a wide range of Monitors for basically every type of robot data available. Monitor the speed of single joints or the electrical current in each of the servomotors of your robot. Monitor and change the values of inputs and outputs, configure a CC-Link connection using the monitors for the input and output registers. It is possible to monitor variables in different slots with just one monitor. If the variable can be set, change its value, as you like.

The new features fully support the MITSUBISHI RV-A, RH-AH, and RP-AH robots. And still, you can use COSIROP 2.0 for your old RV-EN and RV-E robots.

The following chapters give a brief introduction of how to work with COSIROP 2.0. To get you started, it is best, to work through the following chapters with COSIROP 2.0 and your Mitsubishi robot. Afterwards, use your acquired knowledge to make your own robot projects.

We wish you a lot of fun with your first robot project with COSIROP 2.0 and good luck for your future robot projects.

COSIROP First Steps^5

How to Install COSIROP

What kind of hardware is required? How to actually install COSIROP? Why do I need a dongle? How can I uninstall COSIROP?

Hardware Requirements

You should have at least the following hardware/software equipment for operating COSIROP:

A PC with a Pentium II processor with 133 MHz 32 MBytes of working memory (RAM) 150 MBytes of free hard disk space CD ROM Mouse Windows 95/98/ME, Windows NT 4.0, Windows 2000, or Windows XP One free serial interface (COM1 ... COM19) for connection to the robot controller (drive unit) or a network interface for the TCP/IP connection One parallel port or a USB port for the parallel or USB dongle

Installation

The setup program will create all necessary directories and copy all necessary files. To install COSIROP start "SETUP.EXE" from the root directory of the CD-ROM. Follow the instructions appearing on the screen.

After the start of "SETUP.EXE" the following dialog will be displayed:

COSIROP First Steps^7

Enter your name, the name of your company and press "Next >". If you have installed COSIROP before the registration information will be displayed only. In the next step the installation directory can be chosen:

If you want to select a different directory press the "Browse..." button and select or enter the installation directory there. Proceed with "Next >" and specify the serial interface that you are going to use for robot communication.

8 First Steps COSIROP

Proceed with "Next >" and select the program manager group respectively the entry in the "Start" menu:

Proceed with "Next >" again. Now, you are ready to install:

Up to this point no files have been copied to your hard disk and this is the last opportunity to cancel the installation by pressing "Cancel". To start the installation

10 First Steps COSIROP

How to Prepare Robot Programming with COSIROP

Read and observe the safety instructions of the SAFETY MANUAL carefully before operating or programming the robot with COSIROP!

Before you can write robot programs and position lists with COSIROP you have to define your robot type and configuration by Creating a Project.

Start COSIROP and select the command File/Project Wizard that will display the first step of the Project Wizard:

Insert your desired "Project Name" into the appropriate field of the dialog box. The dialog box will come up with the project name "UNTITLED". In the example the project name is "DEMO". You can enter any valid file name (without file name extension) into this field. As "Program Name" insert e.g. " 3 ".

For each new project you create, COSIROP will create a new directory with the name of the project. COSIROP uses this directory to store all the programs that belong to your project. The program name is the name COSIROP uses to download the robot program into the robot controller.

COSIROP First Steps^11

The directory used for this project is displayed under "Directory". If you want to change the directory or if you want to create a new directory press the button "Browse..." which will open the browse dialog.

Insert your name into the text box "Created by", your initials into "Initials", and a short description of the project task into "Description".

Proceed to the second step of the project wizard by pressing the "Next >" button. This will display the second step of the Project Wizard.

COSIROP First Steps^13

How to Work with the RCI Explorer

The RCI Explorer is an information and data exchange center. It gives you an overview of the current state of the robot and provides an intuitive way to upload, download, start, debug, and monitor robot programs.

The RCI Explorer contains two folders. The first folder is the robot folder. The name of the folder matches the robot name, you have configured in the second step of the project wizard. This example makes use of the robot "RH-5AH55". The robot folder provides access to the data on the robot controller. The second folder is the "Workplace". It contains the data on your PC in the project directory.

In the robot folder you find information concerning

the connection to the robot controller, the connected robot type, the programs, currently available on the robot controller, the contents of the program slots, the system variables, the state of the robot using a wide range of monitors, the robot parameters, and the most recent errors.

In the workplace folder you find

the programs and position lists currently available in the COSIROP project directory on your PC, and the COSIROP tools.

Discover how to establish a connection to the robot controller.

14 First Steps COSIROP

How to Establish a Connection to the Robot Drive

Unit

Before you can exchange programs and position lists between the COSIROP PC and the robot drive unit the following you have to do the following steps.

  1. Connect a serial interface of the COSIROP PC to the RS-232 interface of the robot controller. Be sure to use a serial cable that connects the hardware handshake signals (DTR, RTS, CTS) of the serial interface, too. See the robot manual for details.
  2. Use the RCI Explorer to check the connection properties. Open the context menu of the "Connection" by clicking with the right mouse button on the folder "Connection". Select "Properties" from the context menu.
  3. Check if your Communication Interface is the Serial Interface. Alternatively, you can open the dialog Communication Port - Common also with the command Extras/Settings/Communication Port.... the command is only available if a workcell is loaded.

16 First Steps COSIROP

The command Extras/Settings/Communication Port is only available, if a workcell is loaded. The default port is the serial port that has been selected during the installation.

  1. Disable the teaching box (set the switch to "Disable").
  2. If you have a robot of the A series (RV-A, RH-AH, RP-AH), set the key switch on the robot controller to Auto(Ext.).
  3. Establish the logical connection between COSIROP and the robot drive unit by executing the command Execute/Init Connection, which will communicate with the robot and determine the type of the robot and some parameters of the robot and display them in the dialog box Robot Type. If this dialog box will be displayed the communication to the robot drive unit has been established and programs and position lists can be down- and uploaded.
  4. Establish a connection between COSIROP and the robot controller. Use again the context menu of the "Connection". Select "Connect" to establish the connection.

Alternatively, you can use the command Execute/Init Connection to establish a connection. If the connection initialization is successful, the dialog Robot Type displays information regarding the robot type, the robot programming language, and the amount of free memory.

COSIROP First Steps^17

How to Check the Robot Type

Check, if the configured robot type matches the actual type of the connected robot. In the RCI Explorer select the folder "Robot Type":

You get information concerning the type of the connected robot, the version of the operating system, the actual robot language, and the number of available robot programs on the robot controller.

Now, you are ready to start out with your first robot program.

COSIROP First Steps^19

How to Create a Position List Using the Robot

Read and observe the safety instructions of the SAFETY MANUAL carefully before operating or programming the robot with COSIROP! Nobody MUST be in the safeguarded area, when using the JOG operation.

Usually, you use the T/B (teach pendant) to create position data. Have a look at your Instruction Manual for a detailed description of how to create position data. Once you have created position data with the T/B it is easy to upload the position data into a position list on your PC. Simply use the program upload. You will get your position data as a position list and additionally any program lines you might have created with the T/B.

Alternatively, you can create and modify a position list interactively using COSIROP. Open the window Jog Operation by double clicking on the "Tool" "Jog Operation".

Optionally, you can also open the window Jog Operation by the command Execute/Jog Operation. Use this window to jog the robot in JOINT, XYZ and TOOL coordinates. Use the button "Current Position-> Pos. List" to insert the current robot position into the position list as position number "Pos.-No.". To override an existing position just enter the position number into the text box "Pos.-No." or use the spin buttons next to the text box. Set the "Jog Speed" and the "Jog Increment" to appropriate values.

20 First Steps COSIROP

Create two positions P1 and P2 in your current position list and save the position list with the command File/Save. Your position list might look like this:

Discover next, how to check the syntax of your program.