Conversion of NC-code into a robot program

Similar documents
Prasanth. Lathe Machining

IMPLEMENTATION OF WEB-BASED NC POSTPROCESSOR BUILDER

SIMULATION OF VIRTUAL MACHINE TOOL DURING THE DEVELOPMENT PHASE SVOČ FST 2016

KORE: Basic Course KUKA Official Robot Education

Touch Probe Cycles itnc 530

NZX NLX

Touch Probe Cycles TNC 426 TNC 430

Functional Tolerancing and Annotations

Advance Steel. Tutorial

KUKA.SeamTech Tracking 2.0

Computer Numeric Control

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello Cobot World Duration: 2 Weeks (1/28/2019 2/08/2019)

Designing in the context of an assembly

CNC Programming Guide MILLING

Exercise 1. Milling a Part with the Lab-Volt CNC Mill EXERCISE OBJECTIVE

MACH3 TURN ARC MOTION 6/27/2009 REV:0

The rest machining operation generates passes along inner corners of the part.

Prismatic Machining Preparation Assistant

Pro/NC. Prerequisites. Stats

KUKA.ForceTorqueControl 3.1

b+m Training Programming

Servo Tuning Tutorial

UNIT VI. Current approaches to programming are classified as into two major categories:

Getting Started. Before You Begin, make sure you customized the following settings:

Fast, accurate multi-axis programming for robots.

KISSsoft Tutorial: Tooth root optimization

KR C4 Training courses. Overview of training courses KUKA Automatisering + Robots N.V (replaces ) Valid for 2018

VisualCAM 2018 TURN Quick Start MecSoft Corporation

User's Manual POSITIP 855. for Lathes. April 1996

Computer Aided Manufacturing

Lesson 6 2D Sketch Panel Tools

Figure 1: NC EDM menu

FAB Professional Sheet-metal design


What s new in IGEMS R9


INDUSTRIAL ROBOTS AND ROBOT SYSTEM SAFETY

Flip for User Guide. Inches. When Reliability Matters

What s New In SA CHAPTER

Unit 15: Using Symbols and Attributes

Servo Indexer Reference Guide

Unit 15: Using Symbols and Attributes

CNC Machinery. Module 4: CNC Programming "Turning" IAT Curriculum Unit PREPARED BY. August 2009

Designing in Context. In this lesson, you will learn how to create contextual parts driven by the skeleton method.

Siemens NX11 tutorials. The angled part

SolidWorks 95 User s Guide

STATE UNIVERSITY OF NEW YORK COLLEGE OF TECHNOLOGY CANTON, NEW YORK COURSE OUTLINE MECH 223 INTRODUCTION TO COMPUTER NUMERICAL CONTROL

Autodesk Advance Steel. Drawing Style Manager s guide

Basic NC and CNC. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur

0FlashPix Interoperability Test Suite User s Manual

Game Programming Paradigms. Michael Chung

Milling and turning with SINUMERIK:

Parametric Modeling. with. Autodesk Inventor Randy H. Shih. Oregon Institute of Technology SDC

Advance Steel. Drawing Style Manager s guide

User s Manual Cycle Programming TNC 320. NC Software

MESA Cyber Robot Challenge: Robot Controller Guide

Virtual Engineering: Challenges and Solutions for Intuitive Offline Programming for Industrial Robot

Special Patterns - Introduction. -Manufacture of large things -Technology Provider

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello Cobot World Duration: 2 Weeks (1/22/2018 2/02/2018)

User-Friendly Task Creation Using a CAD Integrated Robotic System on a Real Workcell

Optimization of Cycle Time through Mastercam Virtual Simulation and Four Axis CNC Milling Machining of Camshaft

Creo Parametric 4.0 Advanced Design

In this tutorial you will open a Dxf file and create the toolpath that cut the external of the part.

Copyright 2014 YASKAWA ELECTRIC CORPORATION All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or

To start a new drawing Select File New then from the dialog box, which appears select Normal.dft followed by OK.

Flip for User Guide. Metric. When Reliability Matters

Isometrics COMOS. Process Isometrics. Trademarks 1. Introduction 2. Project structure 3. Isometric report 4. Engineering with COMOS Isometrics

SprutCAM. CAM Software Solution for Your Manufacturing Needs

Getting started with. Getting started with VELOCITY SERIES.

Date Issued: 12/13/2016 iarmc.06: Draft 6. TEAM 1 - iarm CONTROLLER FUNCTIONAL REQUIREMENTS

Chapter 3. Components of the Robot

Autodesk Inventor 2016

Mill OPERATING MANUAL

MODEL SETUP FOR RENOVATION PROJECTS: INSTRUCTIONS AND TUTORIALS

MTC200 Description of NC Cycles. Application Manual SYSTEM200 DOK-MTC200-CYC*DES*V22-AW02-EN-P

User Interface Software Projects

Exercise 2. Point-to-Point Programs EXERCISE OBJECTIVE

Robotics Manipulation and control. University of Strasbourg Telecom Physique Strasbourg, ISAV option Master IRIV, AR track Jacques Gangloff

A Automation and Robotics CNC LATHE SYSTEM (LIGHT DUTY) MODEL 5300

ISO INTERNATIONAL STANDARD. Robots for industrial environments Safety requirements Part 1: Robot

WORKSHOP. Industrieroboter als Bearbeitungsmaschinen

Model-based and Component-oriented Programming of Robot Controls

Surface Modeling. Prerequisites. Stats

Using Siemens NX 11 Software. The connecting rod

Study of Fixturing Accessibilities in Computer-Aided Fixture Design

Ladybird Project - Vacuum Mould

G02 CW / G03 CCW Circular Interpolation Motion (Group 01) - Mill

pdfpost Tutorial pdfpost & ANSYS Mechanical APDL library.

Give a boost to your traditional programming process: Simplicity & Flexibility North America

MasterCAM for Sculpted Bench

NUMERICAL CONTROL.

Figure 1: NC Lathe menu

Design & Manufacturing II. The CAD/CAM Labs. Lab I Process Planning G-Code Mastercam Lathe

Motion Manipulation Techniques

Alternatively, the solid section can be made with open line sketch and adding thickness by Thicken Sketch.

CMPS09 - Tilt Compensated Compass Module

Table of Contents. Preface 9 Prerequisites 9. Key Concept 1: Know Your Machine From A Programmer s Viewpoint 13. Table of Contents

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello World Duration: 1 Week

SHANTILAL SHAH ENGINEERING COLLEGE. Production engineering department. Computer Aided Manufacturing ( ) Laboratory Manual

Sheet Metal OverviewChapter1:

Transcription:

Conversion of NC-code into a robot program October 2017 Version 1.4

Subject to change or improve without prior notice 2/12

General flow chart The following flowchart shows the general process flow during conversion of NC code (DIN 66025/ ISO 6983, APT) into a manufacturer-specific robot program. NC-World CAD/CAM NC-Code (DIN 66025/ ISO 6983, APT) Mimic-file (*.mmc) NC-Import (Device NC-Import ) Planning and Simulation Path with Tag points Program file ERPL (*.prg) Planning, Simulation and Verification (Robot, Tool, Environment) Optimization-Loop Modified and verified Path Real Robot-World Post Processor (e.g. ABB, Comau, Fanuc, Kuka, Stäubli) Robot Program Subject to change or improve without prior notice 3/12

Importing NC code in EASY-ROB is realized with the "NC-Import-Device". By using the target coordinates contained in the NC code, coming from a CAD/CAM-System, a path (NC0001) with Tag points is created. In addition to the target coordinates, the process speeds and motion types (LIN, CIRC) are taken for each Tag point and saved into the Tag-Attributes. Next follows the planning-, simulation- and verification-section. The NC code does not contain all information that are necessary for a safe and error-free robot process, making a "direct" conversion of NC code into a robot program quite difficult. The operator's main task is either to manipulate the entire path, single-path sections or individual Tag points until a safe and error-free process is created. This means, that by repeating simulation and adjustment it must be ensured that the following conditions are met: Reach ability of all Tag points Avoid exceeding of travel ranges Avoid collisions Avoid robot motions near singularities Avoidance exceeding of axis-velocities and accelerations To meet the requirements, a variety of options are available. In addition to Changing the path-position and orientation, Changing single tag-positions and -orientation, Adding and removing Tag points, it is often necessary to adapt the process-speeds and motion types for one single or several Tag points. Also the approach- and depart position has to be programmed manually by the user. This indication is missing in the NC-code, since it is often performed automatically by the NC-machine. Other special features result in the additional 6 th degree of freedom of the six axes robot. This is an additional parameter, which has to be set meaningful. Using rotationally symmetrical tools allows rotations around the tool axis. This is giving the user more adjusting-possibilities for e.g. avoiding singularities. After completion of the planning-, simulation- and verification-section by adjusting and creating a modified path, it is possible to activate a post processor for creating a manufacturer-specific robot program. Subject to change or improve without prior notice 4/12

Process flow in detail Generate NC-code (DIN 66025/ ISO 6983, APT) from CAD/CAM-system Load the NC-Import Device, a Mimic-file (*.mmc) and NC-code. The Mimic-file serves as a link between the G-code and the simulation and contains interpretations of the NC-code commands and references on how these commands are to be visualized in the simulation Create a path (NC0001) with Tag points using the target coordinates of the NC-code Load a robot and tool Load a neutral simulation program (*.prg) for the robot. With the Move Along -command the robot moves along the generated path Start the simulation and check for errors. Check the reach ability, collisions, travel ranges, singularities, etc. Manipulate the path until there are no errors and perform new simulation (Optimization loop) Activate post processor and create a manufacturer-specific robot program from the modified and verified path Subject to change or improve without prior notice 5/12

Conversion of NC-code into a robot program The following tutorial shows how to convert a NC-program into a simulation program and finally into a robot program. This example is performed step-by-step using the existing example-work cell NC-IMPORT- Basic.cel. 1. Load the example-work cell NC-IMPORT-Basic.cel. It contains the device NC-IMPORT.rob, the NCprogram NC-prog-3-axis.prg, as well as the Mimic-file NC-Import.mmc. The Mimic file can be opened and edited by clicking on File Edit cmimic file. It contains interpretations of the NC-code commands and references on how these commands are to be visualized in the simulation. The loaded NC-code for the NC-Import Device is showed in the Teach Window. Figure 1 NC-IMPORT-Basic.cel 2. Importing the NC-program: Click on File Load Import Tags from ASCII file in the Tag Window and select the entry from the list: Subject to change or improve without prior notice 6/12

Confirm the following dialog by clicking on Yes. A path (NC0001) is created. Each target-coordinate (G00, G01, G02, G03) is read out of the NC- Code and Tag points are created in the work cell. The work piece zero-position and the resulting work object-shift are placed in the origin of the G54-geometry, which is placed in the world. Using this geometry you are able to place the work object in the world. The MCS- (G53) and G54- till G59- geometries of the NC-Import Device are already prepared as reference coordinate systems. They are specified as offsets in the NC-code. In addition to the target-coordinates, the motion type (LIN, CIRC) and the process-speeds are taken out of the NC-code for every single Tag point. The created name-prefix of every Tag point (R_ - Rapid G00, L_ - Linear G01, V_ - Via Point for circular interpolation, C_ - Circular CW G02 and CC_ - Circular CCW G03) is for a better overview and a better selection of path- or process-segments in the Tag Window. With the exception of Rapid tags (R_) visualized by a black XYZ Coorsys - all other tags are rendered only with a point, which makes sense because of the high number of tags and thus increases the performance for visualization. The Message Window informs you about the progress of the import-process (NC Import time) and the number of imported Tag points (Number of imported Tags). Your work cell should now look as shown in the following screenshot: Figure 2 Created path with Tag points Subject to change or improve without prior notice 7/12

3. Loading a robot and a spindle (Tool) Load the KUKA-robot KR-240-R2500-PRIME.rob. Select the robot KR240-R2500-PRIME and load the Tool-file Spindel.tol, which will be automatically attached to the robot-tip. Optionally the NC-Import Device can be attached to the robot base. Confirm the question, if the world position should be kept with Yes. Thus, the NC Import Device shifts when the robot is repositioned, which is advantageous for further NC-imports. With this step, you have finished building up your work cell. Next, a neutral simulation program is generated to start the simulation and checking for reach ability s, collisions, travel ranges, singularities, etc. 4. Neutral ERPL program Open the Teach Window, and select the robot KR240-R2500-PRIME and load the prepared robot-program KR240-R2500-NC-Example.prg. The simulation-program contains the programmed Default SPEEDs and ACCELs. With the command Home_1 the Home position is first approached. After that the robot moves along the generated path, using the command ALONG NC0001. The command ERC NO_DECELL OFF ZONE 0.0000 deactivates the grinding at positions, which results in a stop of the robot at Home position. As explained in (2), the processing speeds and grinding-behavior are stored in the tag attributes when importing NC-target coordinates. To use this attributes for simulation it is necessary to set the command ERC USE_TAG_ATTRIBUTES ON Omitting the command, would not result in a constant process-speed, as it is required in a NC-process. The robot would accelerate while approaching and decelerate while moving away from single Tag points. Subject to change or improve without prior notice 8/12

This program is a neutral program. Regardless of the NC-code to import this program always works. The imported path can be replaced by a new path respectively a new NC-Import at any time, without the need to adjust the simulation program. Individual changes, as setting a TCP-trace with ERC TRACK ON can be made at any time. Save your work cell as KUKA-NC-Example.cel and start the simulation. 5. Planning, simulation and verification The complete path, single path-segments or single Tag points can be manipulated until each Tag point is reachable the travel ranges of the robot are not violated no collision occurs no robot motions in the area of singularities occur the axis-velocities and accelerations are not exceeded Figure 3 planning, simulation, verification Subject to change or improve without prior notice 9/12

In the first step, the entire path is moved and if necessary re-oriented so that it is placed in the working area of the robot. A new simulation run or controlled approach of individual Tag points tells you whether the target position is error-free. You can try to eliminate errors, e.g. if the travel ranges of the robot are exceeded or single positions are not reachable, by turning the tag around the toolaxis (additional DOF of the robot). In addition possible collisions should be avoided. After the modification of single tags, it is necessary to make a complete simulation run to ensure that the robot moves along the entire path without any error. In the second step, the dynamics of the robot is considered. While moving along the path the maximum axis-velocities and -accelerations must not be exceeded. If it is not possible to sufficiently reduce the process speed, the entire path must be re-oriented. It may also help the insertion of intermediate positions in order to optimize the position of the robot-hand respectively tool. The process-speeds and accelerations, as well as the zone-values (grinding at positions) can be checked and changed in the Tag Window under Speed, Accel and Zone: The result of this optimization loop is a modified and verified path, which will be converted into a robot program within the next steps. Subject to change or improve without prior notice 10/12

6. PostProcessor Creating a robot-specific program After the verification of the NC-path, a robot program can be created by setting a specific post processor. Select in the Teach Window > ERCL ON [ ] POST_PROCESS and choose the KUKA_NC post processor. Add the command!syntax: ERC POST_PROCESS LANGUAGE_KEY flnname ERC POST_PROCESS KUKA_NC KUKA_NC_PP.src behind the Default SPEEDs and ACCELs as shown to the right. The name of the source-file (*.src) can be chosen individually. Change the name to KUKA_NC_PP.src. Use the command ERC POST_PROCESS OFF to deactivate the post processor at the end of the program Save the simulation program as KR240-R2500-NC-Example-PP.prg 7. Start the simulation and let it run until the end. At the end of the simulation two files will be created: the Kuka-robot program file KUKA_NC_PP.src and its associated file KUKA_NC_PP.dat. The Message Window informs you after finishing the simulation and the successful creation of the files. Note: The robot program file is generated during simulation. If the simulation is terminated early, the generation of the program file will be stopped as well. Subject to change or improve without prior notice 11/12

8. Result: The file KUKA_NC_PP.dat, generated by the post processor, contains information to the work object, number and names of the paths as a comment, as well as the Tag point-coordinates in Kuka-syntax. The second generated robot program file KUKA_NC_PP.src contains information to the tool, the position of robot base, start position, as well as the speeds and accelerations of the Tag points: Subject to change or improve without prior notice 12/12