Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

RW Cutting

Download as pdf or txt
Download as pdf or txt
You are on page 1of 140

Application manual

RW cutting
RobotWare 5.15.01

Document ID: 3HAC043508-001


Revision: A
The information in this manual is subject to change without notice and should not be
construed as a commitment by ABB. ABB assumes no responsibility for any errors that
may appear in this manual.
Except as may be expressly stated anywhere in this manual, nothing herein shall be
construed as any kind of guarantee or warranty by ABB for losses, damages to persons
or property, fitness for a specific purpose or the like.
In no event shall ABB be liable for incidental or consequential damages arising from
use of this manual and products described herein.
This manual and parts thereof must not be reproduced or copied without ABBs written
permission.
Additional copies of this manual may be obtained from ABB.
The original language for this publication is English. Any other languages that are
supplied have been translated from English.

Copyright 2011-2013 ABB All rights reserved.


ABB Robotics
CNAUS
Shanghai, China
Table of Contents

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1 Installation 7
1.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2 Programming 9
2.1 Programming the Cutting Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.1 Program structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.2 Cutting instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.3 Defining cutting process data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.4 Programming cutting instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1.5 Select and create Lead in / lead out data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.1.6 Select and Create LsTableConf data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.2 Functions for Cutting when program execution is stopped . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2.1 Functions in Manual/Auto mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2.2 RobotWare Cutting on Flexpendant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2.2.3 Equipment operator HMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.2.4 Laser Table editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.2.5 Shape list settings and detail information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.2.6 Quick argument editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.2.7 Frame editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.2.8 Process tuning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2.2.9 Friction data tuning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.2.10 Offset data editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2.2.11 State blocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.3 Functions during program execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

3 User Guide 43
3.1 General Cutting Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.1.1 Process signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
3.1.2 Process Event Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3.2 Laser Cutting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.2.2 Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.2.3 Equipment interfaces and classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.2.4 Command interface and equipment operator HMI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.2.5 Service routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.3 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.4 Tuning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

4 RAPID reference 63
4.1 Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.1.1 LoadLaserTable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.1.2 CutCadL/CutCadJ/LsCutCadL/LsCutCadJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.1.3 CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
4.1.4 WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ . . . . . . . . . . . . . . . . . . 75
4.1.5 CutHexL/CutHexJ/LsCutHexL/LsCutHexJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
4.1.6 CutRectL/CutRectJ/LsCutRectL/LsCutRectJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.1.7 CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4.1.8 CutLStart/LsCutLStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.1.9 CutC/LsCutC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
4.1.10 CutL/LsCutL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

3
Table of Contents

4.1.11 CutCEnd/LsCutCEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109


4.1.12 CutLEnd/LsCutLEnd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4.1.13 SetCutWareState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
4.2 Data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4.2.1 LsTableHead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4.2.2 LsCuttingData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4.2.3 LsPierData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4.2.4 LsCutParams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
4.2.5 LsTableConf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
4.2.6 cutdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
4.2.7 cwdirection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
4.2.8 fricdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
4.2.9 leaddata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
4.2.10 pthpos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
4.2.11 ShapeOffsetData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134

Index 139

4
Overview

Overview

About this manual


This manual describes the additional option RW Cutting for IRC5 and provides instructions
on how to install and program the system.

Usage
The manual should be used to program a cutting system.

Who Should Read This Manual?


This manual is intended for:
installation personnel
robot programmers

Prerequisites
The reader should
be familiar with industrial robots and their terminology
be familiar with the RAPID programming language
be familiar with the system parameters and how to configure them

Organization of Chapter
The manual is organized in the following chapters:

Chapter Contents
1. Installation
2. Programming
3. User Guide
4. RAPID reference

References

Reference Document Id
Operating manual IRC5 with FlexPendant 3HAC16590-1

Revision

Revision Description
- First edition
A New functions of laser table and improved function of friction tuning are
added.

3HAC043508-001 Revision: A 5
Safety

Safety

Safety of personnel
Robots are heavy and extremely powerful regardless of their speed. A pause or long stop in
movement can be followed by a fast, hazardous movement. Even if a pattern of movement is
predicted, a change in operation can be triggered by an external signal that results in an
unexpected movement.
Therefore, it is important that all safety regulations are followed when entering safeguarded
space that is described in the Operating Manual - IRC5 with FlexPendant.

Safety regulations
Before beginning work with the robot, make sure you are familiar with the safety regulations
that are described in Operating Manual - IRC5 with FlexPendant.

Safety Precautions
Lasers present a danger to the eyes. Before turning on the laser, ensure all protection
mechanisms are working correctly, and also ensure you wear eye protection according to all
safety regulations.

6 3HAC043508-001 Revision: A
1 Installation
1.1. Description

1 Installation
1.1. Description

Overview
RobotWare Cutting is a software product primarily developed for laser cutting and other
similar cutting methods requiring advanced robot motion performance. The software
provides an interactive user interface on the Flexpendant that helps program, configure and
operate an ABB Robot in cutting applications. RW Cutting contains motion performance
tools, such as automatic friction tuning, iterative learning control, and WristMove. These
tools can substantially improve the path accuracy in laser cutting applications.
RW Cutting is installed as an additional option that is contained in the MediaPool folder.An
internal use license key is also installed together, which can be used to create a virtual Cutting
system in RobotStudio. A list of prerequisites for RW Cutting is listed in Table below.

Dependent base options of


RW Cutting 5.15.01 functions
RW5.15.01 or later version
Base functions 951-1 RW Cutting
Laser Cutting- Standard Equipment Task 623-1 Multitasking
WristCutCircleL/J 900-1 WristMove
Offline programming by RobotStudio Cutting 603-1 Absolute Accuracy
PowerPac

RobotWare Cutting is extendable for different cutting processes and methods. RW Cutting
5.15.01 has three configurations of cutting system. User need to select the appropriate
configuration when building the system. See figure below.

LC01001

Continues on next page


3HAC043508-001 Revision: A 7
1 Installation
1.1. Description

Continued

Configuration Features comments


Laser Cutting - Single task All laser cutting process data For simple laser cutting
and functions, e.g. speed modu- system
lation,Concise laser equipment
interfaces. See Equipment
interfaces and classes on page
48 for more information
Laser Cutting - Standard Includes all of the above fea- For advanced laser cutting
Equipment Task tures,plus standard laser cell
equipment interfaces, standard
laser equipment operator
HMI.Also includes equipment
class template files. See Laser
Cutting on page 46 for more
information
General Cutting Cutting process signals and Extendable base for other
event routines, No equipment cutting processes
class.
See General Cutting Process on
page 43 for more information

NOTE!
Note that you cannot install RW Cutting when 633-1 Arc and any Arc sub-options are also
installed.

8 3HAC043508-001 Revision: A
2 Programming
2.1.1. Program structure

2 Programming
Before a cutting program is created, the equipment IO and equipment classes (see Equipment
interfaces and classes on page 48) and additional axes, if any, must be configured.The TCP
and Wobj need to be well defined.

2.1 Programming the Cutting Program

2.1.1. Program structure

A laser cutting program consists of a sequence of cutting instructions in order to cut a part.
These instructions may include many two-dimensional (2D)holes and several three-
dimensional (3D) free form cut paths. The arguments of these cut instructions can be divided
to two groups- motion related and process data related. It is best to create a specific routine
for each 3D free form cut path, and then make a module file that contains the cut instructions
and routines together with their motion related data. Then, save all the process data (the
cutdata variables etc.) into a separate module file (ProcessData.mod). Finally, save the
calibration data (e.g. tooldata, wobj) into another module (CalibData.mod). It will make the
process data management and cut program reuse easy later.

3HAC043508-001 Revision: A 9
2 Programming
2.1.2. Cutting instructions

2.1.2. Cutting instructions

There are two types of cutting instructions-2D Shape cut instructions and 3D free form cut
instructions. See example below of a laser cutting program. It contains one circle hole cut
instruction and one 3D free form cut path that includes following positions: pStart, p1, p2, p3,
pEnd.
LsCutCircleJ 2, p0, v1000, 10, Arc3_r3_o3, iCW, LsTableConf52,\Frcl:=fd2,
tLaser\Wobj:=wobjPart;
LsCutLStartpStart,v1000, LsTableConf52, fine, tLaser\Wobj:=wobjPart;
LsCutC p1,p2, v100,LsTableConf52, tLaser\Wobj:=wobjPart;
LsCutL p3, v100, LsTableConf52, tLaser\Wobj:=wobjPart;
LsCutLEndpEnd,v100, LsTableConf52, tLaser\Wobj:=wobjPart;
Notice that all the Laser cutting instructions begin with "Ls", and the characters "J", "L", and
"C" in the instruction name are equal to MoveJ/MoveL/MoveC. By the arguments
LsTableConf52, all information about laser cutting process data can be get.
For shape cut instructions, the values for the arguments ID value and for Friction tune
variable data must be unique in program except for global tuning data which can be used in
multiple instructions. In above example, ID = 2, Friction tune variable data is fd2. See RAPID
reference on page 63 for more information.

10 3HAC043508-001 Revision: A
2 Programming
2.1.3. Defining cutting process data

2.1.3. Defining cutting process data

If users decide to use cutting parameters, before starting to program cutting instructions,
cutting data must be defined. There are different cutting data types for different cutting
methods. The LsCutParams argument is for laser cutting instructions, and the cutdata
argument is for general cutting instructions.

Action
1. From the ABB menu, open the Program Data window.
2. Select a cutting method type: LsCutParams or cutdata
3. Tap New.
The data properties are displayed.

LC01002_1

4. Tap the name button and specify a new name.


5. If the data needs to be saved in another module, tap the Module drop-down menu and
select the desired module. ProcessData is recommended.
6. Give initial Value or edit the value later
7. Tap OK.

Continues on next page


3HAC043508-001 Revision: A 11
2 Programming
2.1.3. Defining cutting process data

Continued

It is recommended to create different cutting process data variables for different sizes of the
shapes and for every trim cut path. As a result, the process data can be easily tuned for
different types of shapes and paths. To see an example of this, see figure below.

LC01003_1

12 3HAC043508-001 Revision: A
2 Programming
2.1.4. Programming cutting instructions

2.1.4. Programming cutting instructions

Action
1 Jog the robot to the desired position. Adjust the orientation of the cutting tool,
and ensure it is perpendicular to the cut surface.
2 In the Program Editor, open the instruction pick list. Then select the picklist
Motion & Process.
3 Select the cutting instructions.
The instruction will be added to the program, as illustrated below. The
arguments are set according to the last cutting instruction that was
programmed.

LC01004

The instruction is now ready for use.


4 Add any optional argument when it is needed.
Tap the instruction twice, a list of argument is displayed

LC01005

Continues on next page


3HAC043508-001 Revision: A 13
2 Programming
2.1.4. Programming cutting instructions

Continued

Action
5 To select optional arguments, tap Optional Argument, select the argument in
the list, then tap Use.

LC01006

Tap Close, back to the argument list

Continues on next page


14 3HAC043508-001 Revision: A
2 Programming
2.1.4. Programming cutting instructions

Continued

Action
6 Tap the new argument, e.g. FrcL, and enter a new value for it.

LC01007

LC01008

Continues on next page


3HAC043508-001 Revision: A 15
2 Programming
2.1.4. Programming cutting instructions

Continued

Action
7 Tap OK, three times in following views, then the new optional argument is
added.

LC01009

Read RAPID reference on page 63 for more information of cutting arguments and optional
arguments.

16 3HAC043508-001 Revision: A
2 Programming
2.1.5. Select and create Lead in / lead out data

2.1.5. Select and create Lead in / lead out data

Action
1. There are default leaddatas for 2D shape cut instruction, user can select the
appropriate one from the list.

LC11001

See leaddata on page 130 for more information

Continues on next page


3HAC043508-001 Revision: A 17
2 Programming
2.1.5. Select and create Lead in / lead out data

Continued

Action
2. If there is no proper leaddata, create new leaddata.

LC11002

Continues on next page


18 3HAC043508-001 Revision: A
2 Programming
2.1.5. Select and create Lead in / lead out data

Continued

Action
3. Give the new leaddata correct name to represent its value.
e.g. Arc5_r5_o5 means circular leadin, distance is 5mm, radius is 5mm, overlap is
5mm, no lead out.

LC11003

LC11004

Tap OK, then the new leaddata is now ready for use.

NOTE!
Dont change the value of a lead data.Create new leaddata variables instead.

3HAC043508-001 Revision: A 19
2 Programming
2.1.6. Select and Create LsTableConf data

2.1.6. Select and Create LsTableConf data

Select LsTableConf data


After create a new laser cutting instruction, a LsTableConf argument would be displayed for
users selection.
By using different LsTableConf data, users can use different cutting parameter data and
piercing data in the laser cutting parameter table according to different process condition and
requirements.
There are five pre-defined laser table configurations: LsTableConf11, LsTableConf21,
LsTableConf31, LsTableConf41 and LsTableConf52. They are used in different situations.
LsTableConf11 is supposed to be used in big 2D shape cutting and general piercing.
LsTableConf21 is supposed to be used in small 2D shape and general piercing.
LsTableConf31 is supposed to be used in fast 3D path along the straight line and
general piercing.
LsTableConf41 is supposed to be used in slow 3D path around the corner and general
piercing.
LsTableConf52 is supposed to be used in special cutting and special piercing.

Procedure Illustration
1 Users have five default LsTableConf to
select.

LC11004_1

2 If the existing LsTableConf data met the


need of users. Choose the existing
LsTableConf data, and click OK to
confirm.
3 If existing LsTableCon can not meet
users demand, click New to create a
new LsTableConf data.
4 The following procedures are the same
with step 3 to step 7 of Create
LsTableConf data on page 21

Continues on next page


20 3HAC043508-001 Revision: A
2 Programming
2.1.6. Select and Create LsTableConf data

Continued

Create LsTableConf data


If users want to use a combination of cutting data and piercing parameter data which is not
existing pre-defined configuration, users can create a new LsTableConf data.

Action
1. From the ABB menu, open the Program Data window.
2. Double click a cutting method type: LsTableConf. A list of existed LsTableConf data
would display. By default, there would be 5 LsTableConf data listed and installed in the
LSDefaultData module, which can not be modified by users.
3. Tap New.
The data properties are displayed.

LC01002

4. Tap the name button and specify a name.


5. If the data needs to be saved in another module, tap the Module drop-down menu and
select the desired module.
6. Click Initial Value to give initial value or edit the value later
7. Tap OK.

Continues on next page


3HAC043508-001 Revision: A 21
2 Programming
2.1.6. Select and Create LsTableConf data

Continued

It is recommended to create different LsTableConf data variables for different cutting


process, as 2D small, 2D normal, 3D small cutting and so on. As a result, the LsTableConf
data can be easily edited for different types of shapes and paths. To see an example of this,
see figure below.

LC01003

Click Edit to modify the selected LsTableConf data. Following modification can be done:

Action Description
Delete Delete the current selected LsTableConf data.
Change Change the name of the selected LsTableConf data.
Declaration
Change Value Change the value of the selected LsTableConf data
Copy Copy the value of the selected LsTableConf data and save as another
LsTableConf data.

22 3HAC043508-001 Revision: A
2 Programming
2.2.1. Functions in Manual/Auto mode

2.2 Functions for Cutting when program execution is stopped

2.2.1. Functions in Manual/Auto mode

Functions (program execution is stopped) in Manual mode:


Load equipment operator HMI
Laser Table editing
Shape list and detail information
Quick argument editing
Frame editing
Process data tuning
Friction data tuning
Offset data editing
State blocking
Functions (program execution is stopped) in Auto mode:
Laser Table editing
Shape list and detail information
Process data tuning
Friction data tuning
Offset data editing

3HAC043508-001 Revision: A 23
2 Programming
2.2.2. RobotWare Cutting on Flexpendant

2.2.2. RobotWare Cutting on Flexpendant

To start RobotWare Cutting, tap the ABB menu and then tap RobotWare Cutting. When
RobotWare Cutting is loaded, all the cutting functions can be accessed.

LC010010

24 3HAC043508-001 Revision: A
2 Programming
2.2.3. Equipment operator HMI

2.2.3. Equipment operator HMI

Tap the Equipment button, the related equipment HMI that can be accessed is displayed.

LC010011

To load customized equipment HMI, the Cutting UI must be set with RobotStudio or
Flexpendant: Configuration-Topics-PROC-Cutting UI, input the Equipment UI dll
(UIname.dll). See figure below. And the corresponding dll files (UIname.dll and
UIname.gtpu.dll) must be deployed under HOME folder of the system. See System
Configuration on page 57 for more information.

LC010012

NOTE!
Only the Laser cutting standard equipment task has default equipment HMI installed, see
the figure above. For other configurations such as general cutting and laser cutting single task,
user must create their own equipment HMI with RobotStudio ScreenMaker.

3HAC043508-001 Revision: A 25
2 Programming
2.2.4. Laser Table editing

2.2.4. Laser Table editing

Overview
A laser table consists three parts: one table head, several cutting parameter groups and several
piercing parameter groups. See LsCutHead, LsCuttingData, LsPiercingData. It is a Rapid
module file stored in HOME/LsCuttingParamTables. It is not a variable in Rapid programs.
In the RobotWare Cutting main menu, click the Laser Table button, all laser tables files in
HOME/LsCuttingParamTables would be listed and displayed. In this view, users can edit
laser tables and set one active laser table.

LC010012_1

Continues on next page


26 3HAC043508-001 Revision: A
2 Programming
2.2.4. Laser Table editing

Continued

Action Description/Illustration
Edit Click the Edit button, information as for the table head, cutting tables and
piercing tables would be displayed.
Due to space limitation, only the first 5 cut data and the first 2 pier data are
shown in this view.

LC010012_2

Click a field, the field information would be displayed. Users can edit the data
directly and click SAVE to the current laser table file. Or save the modified
parameter table into a new laser table file by click SAVE AS.
NOTE!
When the robot is running, Laser Table can not be changed and can not be
saved.
Active Select a cutting parameter table and click ACTIVE. The selected table would
be the active parameter table. An asterisk would be displayed before the name
of the active parameter table.
NOTE!
Only one cutting parameter table can be active in the same time.

NOTE!
If the active laser table is changed or modified, it would take effect when start running the
program from Main or when one cutting instruction is executed.

3HAC043508-001 Revision: A 27
2 Programming
2.2.5. Shape list settings and detail information

2.2.5. Shape list settings and detail information

Shape list and detail information


Tap the shape tuning button, the related shape tuning view can is displayed.

LC010013

The shape tuning view is divided into two areas: The left area is the shape instruction list of
the current selected module, the right area is the detail information of the selected shape
instruction.
NOTE!
The shape instruction list is not sorted by the ID value and not list in the execution sequence,
but it is just represent the sequence of instruction in the module text.

A list of shape instructions and their descriptions are shown below.


Column Description
Shape 6 types of shape with icon: Circle, WristCircle, Rectangle, Slot, Hex, CAD
(customized shape)
FrcL Friction tuning status of related shape instruction:
No Icon FrcL argument is not used.
FrcL argument is used but not tuned (default value 100)

The friction data has been tuned

The friction data has conflicting name with other shape instruction.
0ry If the friction data is a global friction data, more than one instruc-
tions use the same friction data is allowed.

Continues on next page


28 3HAC043508-001 Revision: A
2 Programming
2.2.5. Shape list settings and detail information

Continued

Column Description
ILC ILC fine tuning status of related shape instruction:
No Icon ILC argument is not used.
ILC argument is used but the result is not tuned.
?y

ILC argument is used and the related tune result file is in the folder
HOME/Ilc_T_ROB1.
ID ID in red The feature ID of related shape instruction.
color ID value or variable name is conflicting with other shapes.

Arguments for shape instructions can be divided into 5 groups. The detail information shows
an entire shape instruction in one screen. Descriptions of the arguments for shape instructions
are shown below.

Argument group Description


Shape The ID value, shape, size, leadParam and cut direction.
Frame ToPoint, tooldata, wobj, and the reference vectors of x and z
axes of the cut frame.
Process Cut process data variable and four selected components. See
System Configuration on page 57, cutting UI setting for more
information
Tuning Friction data variable and value, and the ILC tuning result
Offset Offset variable for minor adjustment based on the measurement
result.

Shape list scope setting


To change the shape list scope, Tap the menu item Settings.
Select the motion task and the module, and then Tap OK to confirm or tap Cancel to discard
the changes.When the scope is changed or the selected module is modified, the shape list is
updated automatically.

LC010014

3HAC043508-001 Revision: A 29
2 Programming
2.2.6. Quick argument editing

2.2.6. Quick argument editing

Arguments above can also be quickly edited by tap the icon in the Shape column.

Action
1. Tap button of the shape group.The selected instruction is shown in the program
editor.

LC010015

2. To add, edit or delete instructions, select the instruction you want to edit; To add, remove
or edit optional arguments of instructions, tap the selected instruction again, the
argument list is shown, see figure below. The shape tuning view is updated automati-
cally after your changes are confirmed.

LC010016

30 3HAC043508-001 Revision: A
2 Programming
2.2.7. Frame editing

2.2.7. Frame editing

Click the ... icon in the Frame column, frames can be edited in the interface displayed.
Frame editing can be accessed only when the optional arguments \RefVectX \RefVectY are
used.

Action
1. Tap button in Frame group. The frame editor is displayed.

LC010017

2. The frame could be defined by two points. By default, the P0 point will be the ToPoint
argument that is used in the instruction.
Tap Modify Position to modify the P0 and P1 points.
Note: If the active tool and work object are not the same as the TCP and Wobj that are
used in the instruction, the following warning message appears:

LC010018

3. Tap OK to confirm, or Cancel to discard the changes.

3HAC043508-001 Revision: A 31
2 Programming
2.2.8. Process tuning

2.2.8. Process tuning

Table configuration editing


When a LS cutting parameter table are used in the current cutting instruction, following
actions can be done:

Action
1. Tap the icon in Process group.The detailed information of the currently active
parameter table would be displayed.

LC010018_1

Components marked with an asterisk are the currently used


2. Selected the desired field to edit the value.

LC010018_2

3. Tap Undo to discard changes.

Continues on next page


32 3HAC043508-001 Revision: A
2 Programming
2.2.8. Process tuning

Continued

Action
4. Tap OK to confirm, or tap Cancel to discard the changes and return back to the former
view.
5. Click SAVE to save the modification.

Process data editing


When LsCutParams data are used in the current cutting instruction, following actions can be
done:

Action
1. Tap the icon in Process group.The LsCutParams is displayed.
2. Selected the desired field to edit the value.

LC010019

3. Tap Undo to discard changes.


4. Tap OK to confirm, or tap Cancel to discard the changes. The interface would return
back to the laser cutting parameter table edit view.

Data masking:
If LsCutParams is used in the cutting instruction, there are a maximum of four components
of cutting parameters that can be shown in the Process group.This depends on how the
Cutting_UI is configured. See System Configuration on page 57 for more information.

3HAC043508-001 Revision: A 33
2 Programming
2.2.9. Friction data tuning

2.2.9. Friction data tuning

friction data tuning


To tune a friction data:

Description Illustration
1 In the RobotWare Cutting main
interface, click Blocking.

LC010019_2_1

2 In the State blocking interface, click


the Friction Tuning Blocked
button to activate friction tuning
function. The Friction Tuning
Active icon would display.

LC010019_2_2

3 Click OK to confirm.
In the ABB main menu, click
Program Editor to enter the
program interface. Click Debug
and select PP to Main in the
appeared menu.

LC010019_2_3

Click the Run button. The friction


data would be tuned and updated.

Continues on next page


34 3HAC043508-001 Revision: A
2 Programming
2.2.9. Friction data tuning

Continued

General friction data editing


Friction data tuning can be accessed only when the optional argument \FrcL is used. Besides
auto friction tuning, users can also modify the friction data manually. Please only do it when
necessary.

Action
1. In Tuning group, tap the icon.The FrclData can be accessed.

LC010019_1

2. Selected the desired field to edit and change the value.


3. Tap Undo to discard changes and keep in current dialog.
4. Tap OK to confirm and Cancel to discard the changes and back to shape tuning view.

Continues on next page


3HAC043508-001 Revision: A 35
2 Programming
2.2.9. Friction data tuning

Continued

Advanced friction data editing


Click the Advanced button in the main shape tuning view interface, the Friction Parameter
Setting interface would show up. Users can set the maximum and minimum friction level for
all friction data tuning, view and modify the tuning status of global friction data in this
interface.

LC010019_2

Continues on next page


36 3HAC043508-001 Revision: A
2 Programming
2.2.9. Friction data tuning

Continued

TIP!
Correctly setting the Max. friction level and Min. friction level can reduce about 20% of the
tuning time.

Global friction data configuration in TPU


Global friction data can be configured in TPU.

Description Illustration
1 Enter Control Panel -> Configuration -
> PROC, then enter Tuning Process
Info.

LC010019_4

2 Click Edit and enter the global friction


data edit interface.

LC010019_5

3 Input the global friction data name and


the Rapid Module where the data is
saved.
4 Click OK.

Continues on next page


3HAC043508-001 Revision: A 37
2 Programming
2.2.9. Friction data tuning

Continued

After setting in the TPU, the value and status of the global friction
data can be shown as below:

LC010019_3

Users can change the tuning status by ticking or clearing the NotTuned/Tuned check box
which would change its status after ticking or clearing.
When the friction data is NotTuned, it would be tuned when run the tuning process. And after
tuning, the updated status would be displayed in this interface.
When the status of the friction data is Tuned, then it would not be tuned when run the tuning
process.
NOTE!
When a global friction data is used in several 2D shape instructions, it will be only tuned in
the first executed instruction. So it is suggested that only use this global friction data in nearby
shapes cutting to ensure the cutting accuracy.

38 3HAC043508-001 Revision: A
2 Programming
2.2.10. Offset data editing

2.2.10. Offset data editing

Offset data editing can be accessed only when the optional argument \offset is used. Tap the
icon in the Offset group. The offset data could be accessed.

Action
1. Tap the icon in Offset group, the offset data be accessed.
2. Selected the desired field to edit and change the value. See ShapeOffsetData on page
134 for more information
3. If modifying the offset data in Auto mode, clear the result of shape generation and
enable recalculation based on the offset value by tapping Shape Tuning - Setting -
Reset path memory before put it back to production.

3HAC043508-001 Revision: A 39
2 Programming
2.2.11. State blocking

2.2.11. State blocking

State blocking lets the possibility activate/deactivate the state of Cutting&Gas, process
control, Friction tuning and ILC fine tuning. This may be useful during programming or
testing phases.

Action
1. Tap Blocking.
The following dialog box is displayed:

LC010020

2. Tap a process icon to block or activate it.


3. Tap Apply to confirm the changes and stay in the current dialog box.
4. Tap OK to confirm or Cancel to discard changes and back to main view.

The parts of the process that have been activated are shown on the top border in the main
window and the shape tuning window.

LC001021

Continues on next page


40 3HAC043508-001 Revision: A
2 Programming
2.2.11. State blocking

Continued

State Description
Cutting & Gas To activate the all the process control, including cutting power
source, gas and tool. Executing cut instructions will cut the
workpiece. It is used in production.
It is locked with Process Control when it is active.

LC12001

Process Control To only activate part of the process control but not to cut the
workpiece. E.g. enable the cut head control, but not activate the
laser power source and gas. It is used to verify the path and IO
signals during dry run the program.

LC12002

Friction Tuning To activate the advance shape tuning. Then shape cut instruc-
tions will run the tuning motion if the /FrcL argument is given.

LC12003

ILC Fine Tuning To activate the iterative learning control as fine tuning of the
Active/Continue shape. Then shape cut instructions will run the tuning motion if
the /Ilc argument is used.
ILC Active: start the calculation from zero.
ILC Continue: continue the calculation based on the result of last
time.
LC12004

See SetCutWareState on page 115 for more information.

3HAC043508-001 Revision: A 41
2 Programming
2.3. Functions during program execution

2.3. Functions during program execution

Functions (program execution) in Manual & Auto mode:


Motion pointer tracking
If the shape tuning view is open before the program is running, the shape list will highlight
the shape instruction that the robot is executing.

42 3HAC043508-001 Revision: A
3 User Guide
3.1.1. Process signals

3 User Guide
3.1 General Cutting Process
The general cutting process can be divided into four phases: preparing cutting, cutting start
(piercing), cutting (moving along the tool path), cutting end. The entire process should be
synchronized with the motion of the robot to ensure cutting the work piece correctly.

3.1.1. Process signals

Process signals
RW Cutting defines internal signals to synchronize cutting process and robot motion. Those
internal signals are listed in below.
Phase of cutting
Robot motion Signal name Trigger
process
Approaching the start point cwoPurgeOn Preparing cutting
Start_Fly or Stop at start point cwoProcessOn rising edge cutting start (piercing)
Move along the tool path cwoProcessActive cutting
TCP speed change (>2mm/ cwaoTcpSpeed cutting
s), e.g. slow down at the
corner
at specific position on the path cwoDataChange cutting
(to change the process data)
End_Fly or Stop at end point cwoProcessOn falling edge cutting end

Note: the name of internal signals for T_ROB1 have _R1 is appended to the end of the
internal signal name.
For example, in following figure the system is cutting a rectangle hole by using a laser. The
robot approaches the point S, stops at the point S and then starts cutting (piercing). Then, it
goes through corner A, B, C, D, and then passes the point E. Finally, it stops the laser on the
fly, leave. See below graph on how related signals are synchronized with the robot motion.

LC1001

Continues on next page


3HAC043508-001 Revision: A 43
3 User Guide
3.1.1. Process signals

Continued

LC1002

44 3HAC043508-001 Revision: A
3 User Guide
3.1.2. Process Event Routines

3.1.2. Process Event Routines

RW Cutting provides event routines to customize the behavior for different cutting processes.
Event routine
Signal name Trigger Other conditions
name
cwoPurgeOn rising edge PurgeTime > 0 cwPurgeProcess
cwoProcessOn rising edge cwProcessOn
cwaoTcpSpeed change>2mm/s Enable Speed Modulation cwSpeedChange
cwoDataChange rising edge Only for 3D free form cut cwDataChange
cwoProcessOn falling edge OR Program Stop cwProcessOff

Above event routines are called when related signals are triggered and certain conditions are
met. These routines are defined in a system module called CwProcUser.sys for general
cutting, and LsProcUser.sys / LsProcCont.sys for laser cutting. Users can modify these
routines to adapt the specific cutting process to their needs.
See System Configuration on page 57 for more information about the configuration of cutting
processes.

3HAC043508-001 Revision: A 45
3 User Guide
3.2.1. Overview

3.2 Laser Cutting

3.2.1. Overview

Laser cutting cuts material with a fiber laser or a CO2laser. RW Cutting supports cutting thin
metal with fiber laser. A robotic laser cutting system includes the laser source and the cutting
head.

46 3HAC043508-001 Revision: A
3 User Guide
3.2.2. Calibration

3.2.2. Calibration

Defining the TCP and Wobj precisely is important in order to achieve high quality cutting
results. The TCP of the cutting head is the focus position of the laser beam, and should be
located under the center of the nozzle at a standoff distance (normally 1.0 mm). The cutting
head should be located in the center of the travel path -in other word zero position when
define the TCP. The Z axis should be located parallel to the head movement direction, and it
should be positioned pointing down. To see this position, see below figure.

LC1003

There are 2 ways to define TCP: manually and automatically. Bullseye is recommended to be
used to define the TCP automatically.
Defining the work object is necessary for using offline programming and for repeating
consistent production process. Users can create calibrations first in RobotStudio Cutting
PowerPac first, then calibrate the points created in offline program in Robotware Cutting. To
use this method, a good fixture and a master work piece are needed. To define work object in
Robotware Cutting, perform the following procedure:
NOTE!
Users must create calibrations in RobotStudio Cutting PowerPac first, then calibration can be
done in RobotWare Cutting.
Before the calibration in RobotWare Cutting, please execute PP to Main. For example, go to
the Production Window in the main menu, and click PP to Main. Then calibration can be
done.
After the calibration, if the max error/mean error displayed is too big. Redo the calibration is
suggested for users.

3HAC043508-001 Revision: A 47
3 User Guide
3.2.3. Equipment interfaces and classes

3.2.3. Equipment interfaces and classes

RW Cutting provides pre-defined event routines for laser cutting process. (See Process Event
Routines on page 45 for more information). These event routines communicate with
equipment classes through laser cutting equipment interfaces. User programs should support
the equipment interfaces in the user equipment classes.

LC1005

There are two sets of laser equipment interfaces: concise and standard interfaces. Standard
laser equipment interfaces define all the common functions for mainstream laser equipment,
and they are available for the laser cutting system with standard equipment task. Concise
interfaces are a subset of the standard interfaces, which includes basic functions. They are
provided as default equipment interfaces for laser cutting systems without standard
equipment task.

Head Control Interface

Standard inter- Concise


Description
face interface
OnInPosCheck x Enables auto head control, then waits until it reaches
the standoff above the surface. Used during piercing at
the beginning of a cut
On x Enables auto head control without check. Used after
piercing is completed and then starts cutting with a
different cut height
Lock x Locks the head control during piercing or cutting
Retract x Retracts the cutting head after a cut. No check for
completion
ProgPosOn x Used for alignment operations. Moves the head to the
center position
Continues on next page
48 3HAC043508-001 Revision: A
3 User Guide
3.2.3. Equipment interfaces and classes

Continued

Standard inter- Concise


Description
face interface
ProgPosOff x Used for alignment operation. Moves the head back up
SetUserPosition Used to set the distance that the head retracts between
cuts
DoRefMove Used to reference the head after a crash occurs. Also
used during initialization of the head
AutoCal Manual operation to create a new characteristic curve
(Precitec)
Height x Sets the Cut height. Used with OnInPosCheck and On
SetCharCurve Selects the characteristic curve (Precitec)

LC1006

Laser Control Interface

Standard Concise
Description
interface interface
Activate x Ramps up the laser. Indicates that the laser is ready to turn
on
Activate- Ramps up the laser without confirmation
NoWait
ActivateOptCh Selects optical channel that is used for dual laser channel
ResetOptCh Sets optical channel back to 0 (IPG). To turn the laser off. Be
used when requiring faster cycle time.
Reset x Reset error
Deactivate x Deactivates the laser
On x Turns on laser beam
Off x Turns off laser beam
CutProgram Cuts Program (IPG), used with On

Continues on next page


3HAC043508-001 Revision: A 49
3 User Guide
3.2.3. Equipment interfaces and classes

Continued

Standard Concise
Description
interface interface
CutPower x Laser Power, used with On
PulseLaser Creates a short pulse that is used for setting or checking the
focus of the laser beam
TeachLaserOn Activates the teach light
TeachLaserOff Deactivates the teach light

Gas Control Interface


The Gas Control Interface is defined in the standard laser equipment interfaces.

Concise inter-
Standard interface Description
face
PierceOn Turns on the gas for piercing
CutOn Turns on the gas for cutting
Off Turns off the gas after cutting completion
GasType Sets the gas type. Used with PierceOn and
CutOn
GasFlow Sets the flow volume. Used with PierceOn and
CutOn

Note: Implement the equipment interfaces according to your needs. Not necessary to
implement all of them.

Internal signals
There are three internal signals for laser cutting. The signals should be correctly set in user
equipment classes.Description of internal signals are as follows:

Signal
Description Usage
Name
cwoLsRead Indicates that laser is ready Ramping up laser take long time. Only activate
y_R1 laser when laser is not ready.
cwoShowLa Indicates that laser beam is For HMI and simulation
serOn_R1 turned
cwaoLaserP Indicates the laser power For HMI and simulation
ower_R1 value for monitoring

Continues on next page


50 3HAC043508-001 Revision: A
3 User Guide
3.2.3. Equipment interfaces and classes

Continued

User equipment classes


Users must configure the equipment IO and write the equipment classes before cutting the
work piece with the laser equipment. RW Cutting provides template files of equipment
interfaces and also provides example files of equipment classes. Users can customize them
for the specific laser equipment.
The template file LsEquUser.sys supports the standard equipment interface and it is loaded
in the background equipment task tProcContR1. The template file LsProcUser.sys
supports the concise equipment interface, and it is included in the laser cutting system without
equipment task.
Steps to modify the equipment class files in the background task:
1 In order to modify LsEquUser.sys running in the background equipment task,
RobotStudio Online must be used.
2 Before editing LsEquUser.sys online, the background task must be stopped by reset
the DO signal cwoProcContTaskOK_R1.
3 User can also create their own equipment class files and load them into the background
task. In this case, the value of string variables stProc_Gas_Control,
stProc_Head_Control, stProc_Laser_Control in LsProcCont.mod must be changed
according to user equipment class routines name.
4 Save the modified files LsEquUser.sys or LsProcCont.mod back into the controller
system folder HOME/Cutting with FileTransfer of RobotStudio Online.

LC11001

5 The last step is to warm start the system, and then these files under the folder HOME/
Cutting will be loaded automatically into background task and run again.

3HAC043508-001 Revision: A 51
3 User Guide
3.2.4. Command interface and equipment operator HMI

3.2.4. Command interface and equipment operator HMI

Command Interface is the communication interface between the foreground motion task and
the background equipment task. It is also used in communication between the HMI and the
background equipment task.
Note: Laser cutting single task does not require the command interface, because the motion
task directly access the equipment IO.
The command interface includes six internal signals. To see descriptions, see below table.

Command Signals Description


cwgoHdCommand_R1 Head Command ID, 0~15(4bit)
cwoHdExecCommand_R1 Rising edge triggers the command execution;
Falling edge indicates the command done.
cwoHdCommandFailed_R1 Set if the command failed.
cwgoLsCommand_R1 Laser & Gas Command ID, 0~15(4bit)
cwoLsExecCommand_R1 Rising edge triggers the command execution;
Falling edge indicates the command done.
cwoLsCommandFailed_R1 Set if the command failed.

The sequence of communication: motion task and HMI set the commands ID and triggers the
execution signal. Then, the background task executes the command and then sends a reply
message that contains the results.

The command ID is defined in the equipment task (LsProcCont.sys). See below table.

Head Command ID Functions (see the equipment interface for detail)


1 On
2 Lock
3 Retract
4 ProgPosOn
5 ProgPosOff
6 SetUserPosition
7 DoRefMove
8 AutoCal
9 SetCharCurve
Laser Command ID
1 Activate
2 ActivateOptCh
3 ResetOptCh
4 Reset
5 Deactivate
6 PulseLaser
7 TeachLaserOn
8 TeachLaserOff

Continues on next page


52 3HAC043508-001 Revision: A
3 User Guide
3.2.4. Command interface and equipment operator HMI

Continued

Gas Command ID
13 Gas Off
14 Pierce Gas On
15 Cut Gas On

Laser equipment operator HMI


A standard laser equipment operator HMI is provided with standard equipment task. It
implements above command interface. It is made by RobotStudio ScreenMaker. The
ScreenMaker project file can be found in the folder
"Mediapool\CUTTING\ScreenMaker\LaserStdEqu".
Note: Laser cutting single task does not contain the operator HMI. However, users can make
an HMI with RobotStudio ScreenMaker and then import it into RW Cutting UI. The default
project name is "LaserEqu". See the help files in RobotStudio ScreenMaker for more
information.

Users must customize the operator HMI for the specific equipment with ScreenMaker. There
are three things that can be customized:
1. Bind the value or property of UI controls with system IO or Rapid data.
2. Disable unused UI controls or add new UI controls and screens
3. Use local language.
Below UI controls have no default binding data. Users create the binding according to the
equipment IOs.

LC1007

To bind the head standoff analog input signal with the UI control, perform the following:
1. Connect the IRC5 controller. Then add the binding value for the selected UI control
numEditor.
2. Choose the AI signal of head standoff from the signal list.

Continues on next page


3HAC043508-001 Revision: A 53
3 User Guide
3.2.4. Command interface and equipment operator HMI

Continued

LC1008

3. After all the modification is done, press the Deploy button to download the HMI .dll files
to the HOME folder of the system.

LC1009

54 3HAC043508-001 Revision: A
3 User Guide
3.2.5. Service routines

3.2.5. Service routines

The laser cutting head has a distance sensor to measure the distance between the nozzle and
the metal surface of the work piece. RW Cutting provides service routines based on the
distance sensor in order to automatically move the cutting head to the surface perpendicularly
and in precise distance.

AlignToSurface
The Align to Surface routine finds the surface (cut plane) through a five points method, and
the it aligns the cutting head perpendicular to the surface. It is used to find the perpendicular
direction of cut plane precisely, which can be used to define the Z direction of the cut
frame.To configure this routine, perform the following:
1. Let cutting head move to center position (teach position)
2. Jog cutting head close to the cut surface (roughly perpendicular to the surface)
3. Run the service routine "AlignToSurface"
4. The robot will move up a little, and then search down until it finds the surface. Then
the robot moves to next point and performs the search movement again. After the
robot completes 5 points, it moves back to the original position in a perpendicular
direction to the surface. (See below figure)
Note: AlignToSurface can not operate above a hole.

7RROFRRUGLQDWHV\VWHP

6HDUFK'LVWDQFH

<
;

 


&XWIUDPHFRRUGLQDWHV\VWHP


3DWWHUQ6L]H

<
;

coordinate system

Continues on next page


3HAC043508-001 Revision: A 55
3 User Guide
3.2.5. Service routines

Continued

There are two ways to find the surface. Using the first method, the tip of cutting head doesn't
touch the surface; the system reads the distance from the analog input signal of the sensor.
Using the second method, the tip of cutting head touches the surface; the system monitors the
digital input signal of TipTouch. These two signals should be configured correctly to make
the AlignToSurface service work. See Laser Cutting on page 46 for more detail information.
There are 4 parameters for adjusting the alignment as following:

Align
Description Rapid Variables in LsAdvFunc.sys
setting
Pattern Size Indicates the distance between 5 num nAlignmentPatternSize
points. Default value is 6mm.
Search Indicates the draw back distance num nSetZSearchDist
Distance before search start. Default value
is 10mm.
Align Indicates the final distance num nAlignmentStandoff
Standoff between the tip and the surface
after alignment completes.
Default value is 1mm.
TipTouch Indicates whether TipTouch bool bCwUseTipTouchSearch
search is used. Default value is
false.

The default value is defined in the laser equipment setting. See Laser Cutting on page 46 for
more information.

Set_Z_Distance
This routine moves the cutting head close to the surface until the distance is Align Standoff,
However, it doesn't align the cutting head. To use it should follow the same steps as using
AlignToSurface.

56 3HAC043508-001 Revision: A
3 User Guide
3.3. System Configuration

3.3. System Configuration

Overview
The system configuration of RW Cutting is divided into 4 groups.
Cutting System
Cutting UI
Laser equipment setting
Tuning process Info

Cutting System
The top level of Configuration parameters for RW Cutting is Cutting System.See Figure.

LC1011

Below are the customizable parameters of Cutting system.

Item Description Comments


Stop Event Indicates whether the routine will Default routine will run cwProcessOff
Routine be called when program is internally
stopped
Restart Indicates whether the program is Default routine will pop up a message box
Event stopped during the cutting phases. asking to restart the cutting process
Routine This routine will be called when before moving.
restarting the program.
TimeOut of Indicates the maximum time of Default 2s, Max 60s
Purge preparing cutting phase, e.g.
purging gas
TimeOut of Indicates the maximum time of Default 5s, Max 120s
ProcessOn cutting start phase, e.g. piercing
TimeOut of Indicates the maximum time of Default 2s, Max 60s
ProcessOff cutting end phase.

Continues on next page


3HAC043508-001 Revision: A 57
3 User Guide
3.3. System Configuration

Continued

Cutting UI
RW Cutting UI can also be customized by changing the UI setting.

LC1012

If LsCutParams is used in the cutting instruction, the parameters to customize the Cutting UI
are in the below table.

Item Description
Process Selects the process data components of LsCutParams shown on the shape
Data1,2,3,4 tuning view of Cutting UI. See below Figure. Three datatypes are supported:
on UI num, boolean, and string.
Equipment Set the file name of equipment UI dll, which can be launched by Cutting UI
UI dll

LC1013

Continues on next page


58 3HAC043508-001 Revision: A
3 User Guide
3.3. System Configuration

Continued

Laser equipment setting


The parameters of laser equipment setting should be correctly set before using advance
functions of the laser equipment (e.g. AlignToSurface).

LC1014

Item Description
Head diTipTouch
Head aiStandOff
Align Pattern Size Indicates default distance between 5 points. (6mm)
Align Search Distance Indicates default draw back distance before search start.
(10mm)
Align Standoff Indicates default final distance between the tip and the
surface after alignment completes. (1mm)
TipTouch Search Indicates whether TipTouch search is used. Default value
is false
Active Laser Cutting Table Indicate the name of the currently active laser cutting table.

Tuning process Info


Tuning process Info is used to create and view global tuning data. In RobotStudio Cutting
PowerPac, up to 5 global tuning data can be created. Only when global tuning data are created
here, the Advanced function in the Shape Tuning function of RobotWare Cutting can work.

LC1014_1

Continues on next page


3HAC043508-001 Revision: A 59
3 User Guide
3.3. System Configuration

Continued

Item Description
Tuning Data Default specific type name designated to global type friction data.
Dont change these default text.
Global FricData Name User can define the name of the global friction tuning data used in
cutting instructions in this field. If the user does not use the global
data, this column would keep the default value of TRUE.
Rapid Module The module where the tuning data is stored.If the user does not use
the global data, this column would keep the default value of TRUE.

NOTE!
If users want to delete the global friction data has been used, please delete the text in the
Global FricData Name and Rapid Module fields. Then warm restart the virtual controller,
then the modification would take effect, and the value in the fields would return to True.

Edit the global tuning data


When users need to use the global tuning data, users need to edit the data to give it a name to
be used in instructions and assign a module to store the data.

Description Illustration
1 Right click the column of the global
data to be used.

LC1014_2

2 Double click Edit tuning process


info(s), the Instance Editor to the data
would display.

LC1014_3

3 Name the global friction data and


appoint the Rapid Module in which the
data would be saved.
4 Click OK to confirm.

60 3HAC043508-001 Revision: A
3 User Guide
3.4. Tuning

3.4. Tuning

To reach optimal accuracy, the entire laser cutting system needs to be well tuned. There are
many factors that will influence the overall accuracy of the work piece. If the final cut result
doesn't fulfill the requirement, it is recommend to perform the following check in order:
External factors: Robot installation e.g. the robot base, the rigidity of the tool, the
fixture. Influence: Vibration during the TCP is accelerating or decelerating and causes
wave on the cut path.
Internal factor: Robot itself. Different types of robot have different up limit of
accuracy. Generally, small robots has better accuracy than big robots.
Robot System setting: Calibration data, the TCP, Wobj definition precision, Tool Load
and payload value. Influence: Bad path accuracy.
Robot program of cut path: correct movement arguments, e.g. position, speed, zone of
the free form cut path. Influence: deviation from the design path and speed.
Software tuning: Friction tuning and ILC fine tune.
For external factors, the best solution is to redesign the cell and remove weaknesses of the
mechanical components. However if it can't be changed, software adjustments can
compensate it to a certain extent. For example, try decreasing the acceleration of the robot by
RAPID instruction: AccSet 30,30; or Tune the DF value with TuneMaster.

For the cut path program, the best solution is to optimize the cut path with RobotStudio
Cutting PowerPac. Cut speeds should be stable, especially at the corners. For example, use
customized speeds and zones for free form cut paths to decrease the orientation speed and
zone radius.
speeddata vTrim1:=[100,90,200,15];
zonedata zTrim1:=[FALSE,0.5,5,40,10,35,5];
For software tuning, it is better to do it in the last step after the entire program have been
completed and adjusted. Tuning data depends on the specific path, and it takes long time to
run the tuning. If any argument of the cut shape or the path is changed, the previous tuning
data is lost. The following guidelines should be observed when tuning:
Use the tuning functions only when necessary. Sometime, the result is also acceptable
without tuning.
ILC is only used as fine tune, please use it together with Friction tune, and don't use it
independently.
Activate the tuning state in the last step after the program is completed and tested, and
then run it in auto mode. After the friction tuning has been done, a friction data
automatically calculated based on the tuning would replace the default value of the
tuning data. Then Block the Friction tuning function to run the program with the
friction data tuned.
If the program of a part continues to run in production for a few weeks, or an old
program is put back into production again, redo the tuning to update the tuning data.

3HAC043508-001 Revision: A 61
3 User Guide
3.4. Tuning

62 3HAC043508-001 Revision: A
4 RAPID reference
4.1.1. LoadLaserTable

4 RAPID reference
4.1 Instructions

4.1.1. LoadLaserTable

Description
Used to load another laser table during program running, when a different cutting parameters
are needed due to different cutting processes or material.

Examples
LoadLaserTable\stActiveTableName:="newTable"\force:=FALSE;
.Load laser table newTable, if the table is not been loaded before.

Arguments
LoadLaserTable[\stActiveTableName][\force]
stActiveTableName Data type: string
Name of the laser table to be set active.
force Data type: bool
When this argument is true, load the table even the table has been loaded.
When this argument is false, check if the stActiveTableName is the same as the currently
active laser table. If not, load the table and update the controller configuration and active the
stLsTableName.

Argument Error
If the value of the argument is not correct, the following warning and errors may be generated.

Argument Error/Warning Description


stActiveTableName Failed to load LS cutting Save the LS table file in the folder
parameters from table file. HOME/LsCuttingParamTables.
stActiveTableName Ls cutting parameter table LS cutting parameter table is not
is Not found. found.
Users can find laser tables in the
folder HOME/LsCuttingParamTables

Syntax
LoadLaserTable
[stActiveTableName :=] < expression (IN) of string> ,
[force :=] < expression (IN) of bool >

3HAC043508-001 Revision: A 63
4 RAPID reference
4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

Description
Cuts customized shapes. The shape is described by a point array and referenced on the cut
frame, and it provides tuning switches to improve the shape accuracy, and the offset argument
to adjust the deviation. The instruction has the following functions:
Start the cutting process at start (piercing) point
Cut the shape with the specific lead-in and lead-out path
Stop the cutting process at specific position on the lead-out path
Auto tune the friction level of robot and reference points to improve the shape
accuracy
The difference between CutCadL and CutCadJ is they use different movement types (MoveL/
MoveJ) to approach the start point. CutCadX and LsCutCadX use different data types of
cutting parameters, which are defined for different cutting processes. CutCadX and Cutdata
are for general cutting, and LsCutCadX and LsCutParams are for laser cutting process.
Although LsCutCadJ is used in the examples, CutCadL/J or LsCutCadL could also be used.

Examples
LsCutCadJ 1, p1, v1000, ExampleShape, Lin3_135_o3, iCW, LsTableConf52,
tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed v1000. A customized shape is cut
that is referenced to the default cut frame with the origin p1. ExampleShape is the name of
the file that defines the customized shape. Lin3_135_o3 defines the leadin/leadout path as
a linear leadin path with distance 3mm and in angle 135, and overlap of 3 mm. The cut
direction is clockwise (iCW). Cutting process data, for example, cut speed, cut power and
pierce time, etc. can be obtained from the currently active laser tables by LsTableConf52. The
tooldata used is tLaser and work object is wobjPart.

Continues on next page


64 3HAC043508-001 Revision: A
4 RAPID reference
4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

Continued

Arguments
LsCutCadJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], Speed,
CadShapeName, LeadParam, CutDirection, LSTableConf, [\LsCutParams], [\FrcL],
[\Ilc], [\Offset], Tool, [\WObj], [\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. The data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape and the default cut frame. The x and z axes
of the default cut frame is in the reversed direction of the x and z axes of TCP. The Y axes is
in the same direction of Y axis of the TCP. For more information, refer to Topoint argument
of CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\RefVectX] Data type: pos
Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x direction will be derived
from the negative tool x-axis. For more information, refer to [\RefVectX] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\RefVectZ] Data type: pos
A vector represents the z axis direction of the cut frame that is related to the wobj coordination
system. The z direction of the default cut frame is neglected. If it is not used, the z-direction
will be derived from the reverse direction of tool z-axis. For more information, refer to
[\RefVectZ] argument of CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\BiasCut] Data type:switch
BiasCut is only used when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is no parallel with the z direction of the cut frame (defined by RefVectZ). With BiasCut, it is
allowed to cut not perpendicularly to the surface. The maximum angle between the z axis of
TCP and the Cut Frame is 20 degree. For more information, refer to [\BiasCut] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
Speed Data type: speeddata
The speed data applies to approaching movements. It defines the velocity of the TCP during
the approach to the ToPoint or start (piercing) point. Additionally, it defines the speed of the
tools reorientation and the speed of any uncoordinated additional axes.
CadShapeName Data type: string
File name of the customized shape. It contains a point array that defines the 2D shape. The
file should be stored in the folder "HOME/CwCadShapes" and with the extension name
.cad. The length of the file name should <=28 characters. RobotStudio Cutting PowerPac
can generate the file from the cad model.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
Continues on next page
3HAC043508-001 Revision: A 65
4 RAPID reference
4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

Continued

LSTableConf Data type: LsTableConf


Argument LSTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutCadL/J. Argument
LsCutParams defines the laser cutting specific process data for LsCutCadL/J, including cut
speed and parameters for controlling head, laser and cutting gas during the piercing and
cutting phases.
[\FrcL] Data type: fricdata
Friction level of 6 joints of the robot is used during the processes of cutting a shape. Its value
is automatically calculated to improve the path accuracy of cutting a shape. It should be a
unique, persistent variable for each cut shape instruction. The value is larger than 0 and less
than 300 and varies at different locations in robot work range. It is very important for cutting
a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. The default iteration
times of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location according to the measurement in production. The
dimension of the customized shape can not to be adjusted.
Tool Data type: tooldata
Tool used in the movement. The z-axis of the tool should be perpendicular to the surface of
the work piece. The cut frame is related to the tool, and it should be defined precisely to
achieve good cut accuracy.
[\WObj] Data type: wobjdata
Work object coordinate system to which the instructions robot position is referenced. When
this argument is omitted, the robot position is referenced to the world coordinate system
(wobj0).
[\FeatureName] Data type: string
Optional parameter that defines the feature name.

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. Here is to load the point
array in the file. This procedure is performed during running program for the first cycle in
Auto mode and recalculated for every cycle in Manual mode. The result is stored in path
memory. It will be performed again after the tuning or reset path memory by moving PP to
Main or from HMI.

Continues on next page


66 3HAC043508-001 Revision: A
4 RAPID reference
4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

Continued

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out). The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Tuning execution
If the arguments of Frcl and ILC are used, the robot will move along the shape path in the cut
direction and in reverse direction repeatedly, until the system finds the optimal result for the
shape. This process takes much longer time (25x) than cutting a shape in normal way. Only
running tuning after all the shape and cut data are correctly set. Additionally, it can be run in
auto mode.
The turning is activated and deactivated by the cutting state blocking.

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stops, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and begins further
movement.

Execution in auto mode


For the first cycle, the program is run with shape calculation which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (pierce) point directly, and then starts
the cutting process and begins further movements.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, the following warning and errors may be generated.

Argument Error/Warning Description


FeatureId Out of range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
CadShapeName Cad file error Cad file is not found.
RefVectZ Align angle too large The angle difference between Vectz
and negtive z axis of ToPoint >= 20

Continues on next page


3HAC043508-001 Revision: A 67
4 RAPID reference
4.1.2. CutCadL/CutCadJ/LsCutCadL/LsCutCadJ

Continued

Syntax
LsCutCadJ
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of pos>]
[\RefVectZ := <expression (IN) of pos>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[CadShapeName :=] <expression (IN) of string > ,
[LeadParam :=] < expression (IN) of leaddata> ,
[CutDirection :=] < expression (IN) of cwdirection> ,
[LSTableConf:=] < expression (IN) of LSTableConf> ,
[\LsCutParams:=] < expression (IN) of LsCutParams >
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of ShapeOffsetData>]
[Tool :=] < persistent (PERS) of tooldata >
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

68 3HAC043508-001 Revision: A
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Description
Cuts a circle hole in the work piece. It provides tuning switches to improve the shape accuracy
and it also provides an offset argument to adjust the deviation. The instruction has the
following functions:
Start the cutting process at start (piercing) point
Cut the shape with the specific lead-in and lead-out path
Stop the cutting process at specific position on the lead-out path
Auto tune the friction level of robot and the reference points to improve the shape
accuracy
The difference between CutCircleL and CutCircleJ is they use different movement types
(MoveL/MoveJ) to approach the start point. CutCircleX and LsCutCircleX use different
datatypes of cutting parameters, which are defined for different cutting processes. CutCircleX
and cutdata are for general cutting, and LsCutCircleX and LsCutParams are for laser cutting
process. Although LsCutCircleJ is used in the examples, CutCircleL/J or LsCutCircleL could
also be used.

&XW'LUHFWLRQ
<

&HQWHU
;

6WDUW
(QG

H000001

Examples
LsCutCircleJ 2, p2, v1000, 10, Arc3_r3_o3, iCW, TableConf21, tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed v1000. A circle is cut that is
referenced to the default cut frame with the center p2, diameter of 10mm. Arc3_r3_o3
defines the leadin/leadout path as an arc leadin path with radius of 3 mm and overlap of 3 mm.
The cut direction is clockwise (iCW). Cutting process data can be obtained from parameter
tables by TableConf21, including, for example, cut speed, cut power and pierce time, etc. The
tooldata used is tLaser and the work object is wobjPart.

Continues on next page


3HAC043508-001 Revision: A 69
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Continued

Arguments
LsCutCircleJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], Speed,
Diameter, LeadParam, CutDirection, LsTableConf, [\LsCutParams], [\FrcL], [\Ilc],
[\Offset], Tool, [\WObj], [\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. Its data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape and the default cut frame. The x and z axes
of the default cut frame is in the reversed direction of the x and z axes of TCP. And Y axis is
in the same direction of Y axis of TCP.

;
<

7RROFRRUGLQDWHV\VWHP

=
=
<

&XWIUDPHFRRUGLQDWHV\VWHP

H000002

Continues on next page


70 3HAC043508-001 Revision: A
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Continued

[\RefVectX] Data type: pos


Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x-direction will be derived
from the negative tool x-axis. For more information, refer to [\RefVectX] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\RefVectZ] Data type: pos
Unit vector represents the z axis direction of the cut frame that is related to the wobj
coordination system. The z direction of the default cut frame is overwrote. If it is not used,
the z-direction will be derived from the reverse direction of tool z-axis. For more information,
refer to [\RefVectZ] argument of CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\BiasCut] Data type:switch
BiasCut is only used when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is not parallel with the z direction of the cut frame (defined by RefVectZ). With BiasCut, it is
allowed to cut not perpendicularly to the surface. The maximum angle between the z axis of
TCP and the cut frame is 20 degree. For more information, refer to [\BiasCut] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86
Speed Data type: speeddata
The speed data applies to approaching movements. It defines the velocity of the TCP during
the approach to the ToPoint or the start (piercing) point. Additionally, it defines the speed of
the tools reorientation and the speed of any uncoordinated additional axes.
Diameter Data type: num
Diameter defines the radius of the circle in mm. The data range is between 3~300mm.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutCirlceL/J. Argument
LsCutParams defines the laser cutting specific process data for LsCutCirlceL/J, including cut
speed and parameters for controlling head, laser, cutting gas during piercing and cutting
phases. When both LsTableConf and LsCutParams are used in the cutting instructions, the
data of LsCutParams would have the priority to be used.
[\FrcL] Data type: fricdata
Friction level of 6 joints of the robot is used during cutting this shape. Its value is auto
calculated to improve the path accuracy of cutting the shape.Up to 5 global tuning data can
be used in different cutting instructions.Normal cutting data generated by users should be a

Continues on next page


3HAC043508-001 Revision: A 71
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Continued

unique and persistent variable for each cut shape instruction. The value is larger than 0 and
less than 300 and varies at different locations in robot work range. It is very important for
cutting a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. Default iteration times
of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location according to the measurement in production. The
dimension of the customized shape can not to adjusted.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool, and it should be defined
precisely to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\FeatureName] Data type: string
It is an optional parameter that is used to enter the string of the feature name.

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. It takes some time to
complete the calculation. This procedure is performed during running program for the first
cycle in Auto mode and recalculated for every cycle in Manual mode. The result is stored in
path memory. It will be performed again after the tuning or reset path memory by moving PP
to Main or from HMI.

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out), and then the cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Tuning execution
If the arguments of Frcl and ILC are used, the robot will move along the shape path in cut
direction and in the reverse direction repeatedly, until the system finds the optimal result for
the shape. It takes much longer time (25x) than cutting a shape in normal way. Only running
tuning after all the shape and cut data are correctly set. And it can be run in auto mode.
The turning is activated and deactivated by the cutting state blocking.

Continues on next page


72 3HAC043508-001 Revision: A
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Continued

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stops, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and further movements.

Execution in auto mode


For the first cycle, the program is run with shape calculation, which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (piercing) point directly, and then
starts the cutting process and further movements.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, following warning and errors may be generated.

Argument Error/Warning Description


FeatureId Out of range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
Diameter Shape calculation error Diameter< 1.4 mm
RefVectZ Align angle too large The angle difference between Vectz
and negtive z axis of ToPoint >= 20

Continues on next page


3HAC043508-001 Revision: A 73
4 RAPID reference
4.1.3. CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL

Continued

Syntax
LsCutCircleJ
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of pos>]
[\RefVectZ := <expression (IN) of pos>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[Diameter :=] < expression (IN) of num > ,
[LeadParam :=] < expression (IN) of leaddata> ,
[CutDirection :=] < expression (IN) of cwdirection> ,
[LsTableConf:=] < expression (IN) of LsTableConf> ,
[\LsCutParams:=] < expression (IN) of LsCutParams >
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of ShapeOffsetData>]
[Tool :=] < persistent (PERS) of tooldata >
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

74 3HAC043508-001 Revision: A
4 RAPID reference
4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

Description
Cut a small circle hole (3-6 mm) with only two wrist axes. Only moving axis 4 and 5(5and 6,
or 4 and 6) of the robot achieves better accuracy of cutting the circle. And robot should move
by very low speed, for example: cutparam.cutspeed< 10 mm/s. The other behavior is the same
as CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL on page 69.

&XW'LUHFWLRQ
<

&HQWHU
;

6WDUW
(QG

xp y

Examples
LsWristCutCircleJ 3, p3, v1000, 6, Lin2_135_o2, iCW, TableConf21\Wrist56,
tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed v1000. A circle is cut that is
referenced to the default cut frame with the center p3,and a diameter of 6mm. Lin2_135_o2
defines the leadin/leadout path as a linear leadin path with a distance of 2 mm and at angle
135, and overlap of 2 mm. And the cut direction is clockwise (iCW).Cutting process data can
be obtained from parameter tables by TableConf21, including for example, cut speed, cut
power and piercing time, etc. Robot moves only axis 5 and 6 during the cutting process. The
tooldata used is tLaser and work object is wobjPart.

Continues on next page


3HAC043508-001 Revision: A 75
4 RAPID reference
4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

Continued

Arguments
LsWristCutCircleJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], speed,
Diameter, LeadParam, CutDirection, LsTableConf, [\LsCutParams], [\switch
Wrist45]|[switch Wrist46]|[switch Wrist56], [\FrcL], [\Ilc], [\Offset], Tool, [\WObj],
[\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. Its data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape and the default cut frame. The x and z axes
of the default cut frame is in the reversed direction of the x and z axes of TCP. And Y axis is
in the same direction of Y axis of TCP. For more information, refer to the ToPoint argument
of CutCircleL/CutCircleJ/ LsCutCircleJ/ LsCutCircleL on page 69.
[\RefVectX] Data type: pos
Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x-direction will be derived
from the negative tool x-axis. For more information, refer to the [\RefVectX] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\RefVectZ] Data type: pos
A vector represents the z axis direction of the cut frame that is related to the wobj coordination
system. The z direction of the default cut frame is overwrote. If it is not used, the z-direction
will be derived from the reverse direction of tool z-axis. For more information, refer to the
[\RefVectZ] argument of CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\BiasCut] Data type:switch
BiasCut is only used when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is no parallel with the z direction of the cut frame (defined by RefVectZ). With BiasCut, it is
allowed to cut not perpendicularly to the surface. The maximum angle between z axis of TCP
and Cut Frame is 20 degree. For more information, refer to the [\BiasCut] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
Speed Data type: speeddata
The speed data applies to approaching movements. It defines the velocity of the TCP during
the approach to the ToPoint or the start (piercing) point, as well as the speed of the tools
reorientation and the speed of any uncoordinated additional axes.
Diameter Data type: num
Diameter defines the radius of the circle in mm. The data range is 3~6mm.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
Continues on next page
76 3HAC043508-001 Revision: A
4 RAPID reference
4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

Continued

table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type:cutdata/LsCutParams
Argument cutdata defines the general cutting process data for WristCutCircleL/J. Argument
LsCutParams defines the laser cutting specific process data for LsWristCutCircleL/J,
including cut speed and parameters for controlling head, laser, cutting gas during piercing and
cutting phases. When both LsCutParams and LsTableConf are used in the instruction, the data
of LsCutParams would be used.
[\Wrist4 5] Data type: switch
Cutting is processed with the robot wrist 4 & 5 if this argument is selected.
[|Wrist4 6] Data type: switch
Cutting is processed with the robot wrist 4 & 6 if this argument is selected.
[|Wrist5 6] Data type: switch
Cutting is processed with the robot wrist 5 & 6 if this argument is selected.
[\FrcL] Data type: fricdata
Friction level of 6 joints of robot is used during cutting this shape. Its value is auto calculated
to improve the path accuracy of cutting the shape. It should be a unique persistent variable for
each cut shape instruction. The value is larger than 0 and less than 300 and varies at different
locations in robot work range. It is very important for cutting a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. Default iteration times
of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location according to the measurement in production. The
dimension of the customized shape can not to adjusted.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\FeatureName] Data type: string
It is an optional parameter that is used to enter the string of the feature name.

Continues on next page


3HAC043508-001 Revision: A 77
4 RAPID reference
4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

Continued

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. It takes some time to
complete the calculation. This procedure is performed during running program for the first
cycle in Auto mode and recalculated for every cycle in Manual mode. The result is stored in
path memory. It will be performed again after the tuning or reset path memory by moving PP
to Main or from HMI.

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out). The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Tuning execution
If the arguments of Frcl and ILC are used, The robot will move along the shape path in cut
direction and in the reverse direction repeatedly, until system finds the optimized result for
the shape. It takes much longer time (25x) than cutting a shape in a normal way. Only running
tuning after all the shape and cut data are correctly set. And it can be run in auto mode.
The turning is activated and deactivated by the cutting state blocking.

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stop, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and further movements.

Execution in auto mode


For the first cycle, the program is run with shape calculation, which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (pierce) point directly, and then starts
the cutting process and further movements.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, following warning and errors can be generated.

Argument Error/Warning Description


FeatureId Out of Range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
Diameter Shape calculation error Diameter< 1.4 mm
RefVectZ Align angle too large The angle difference between Vectz
and negtive z axis of ToPoint >= 20
Continues on next page
78 3HAC043508-001 Revision: A
4 RAPID reference
4.1.4. WristCutCircleL/WristCutCircleJ/LsWristCutCircleL/LsWristCutCircleJ

Continued

Syntax
LsWristCutCircleL
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of pos>]
[\RefVectZ := <expression (IN) of pos>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[Diameter :=] < expression (IN) of num > ,
[LeadParam :=] < expression (IN) of leaddata> ,
[CutDirection :=] < expression (IN) of cwdirection> ,
[LsTableConf :=] < expression (IN) of LSTableConf> ,
[\LsCutParams:=] < expression (IN) of LsCutParams >
[\Wrist45]|
[|Wrist46] |
[|Wrist56] ,
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of shapeoffsetdata>]
[Tool :=] < persistent (PERS) of tooldata >
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

3HAC043508-001 Revision: A 79
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Description
Cuts a hexagon hole in the workpiece.This argument provides tuning switches to improve the
shape accuracy and the offset argument to adjust the deviation. The instruction has the
following functions:
Start the cutting process at start (piercing) point
Cuts the shape with the specific lead-in and lead-out path
Stops the cutting process at specific position on the lead-out path
Auto tunes the friction level of robot and reference points to improve the shape
accuracy
The difference between CutHexL and CutHexJ is they use different movement type(MoveL/
MoveJ) to approach the start point. CutHexX and LsCutHexX use different datatypes of
CutParamwhich are defined for different cutting processes. CutHexX and Cutdata are for
general cutting. LsCutHexX and LsCutParams are for laser cutting process. Although
LsCutHexJ is used in the examples, CutHexL/J or LsCutHexL could also be used.

&XW'LUHFWLRQ

<

&HQWHU
;

6WDUW
(QG
H000001

Example
LsCutHexJ 4, p4, v1000, 10, 1, Arc3_r3_o3, iCW, TableConf21, tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed of v1000. A hexagon is cut that is
referenced to the default cut frame with the center p4, height of 10mm, and the corner radius
of 1mm. Arc3_r3_o3 defines the leadin/leadout path as an arc leadin path with radius of 3
mm and overlap of 3 mm. And the cut direction is clockwise (iCW). Cutting process data can
be obtained from parameter tables by TableConf21, including, for example, cut speed, cut
power and piercing time, etc. The tooldata used is tLaser and work object is wobjPart.

Continues on next page


80 3HAC043508-001 Revision: A
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Continued

Arguments
LsCutHexJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], Speed, Y, Radius,
LeadParam, CutDirection, LsTableConf, [\LsCutParams], [\FrcL], [\Ilc], [\Offset],
Tool, [\WObj], [\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. Its data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape and the default cut frame. The x and z axes
of the default cut frame is in the reversed direction of the x and z axes of TCP. And Y axis is
in the same direction of Y axis of TCP.

; <

7RROFRRUGLQDWHV\VWHP

=
=
<

&XWIUDPHFRRUGLQDWHV\VWHP

R000003

Continues on next page


3HAC043508-001 Revision: A 81
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Continued

[\RefVectX] Data type: pos


Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x-direction will be derived
from the negative tool x-axis. For more information, refer to [\RefVectX] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\RefVectZ] Data type: pos
A vector represents the z axis direction of the cut frame that is related to the wobj coordination
system. The z direction of the default cut frame is overwrote. If it is not used, the z-direction
will be derived from reverse direction of tool z-axis. For more information, refer to
[\RefVectZ] argument of CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
[\BiasCut] Data type:switch
BiasCut is only used when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is no parallel with the z direction of the cut frame (defined by RefVectZ). With BiasCut, it is
allowed to cut not perpendicularly to the surface. The maximum angle between the z axis of
TCP and the Cut Frame is 20 degree. For more information, refer to [\BiasCut] argument of
CutRectL/CutRectJ/LsCutRectL/LsCutRectJ on page 86.
Speed Data type: speeddata
The speed data applies to approaching movements. It defines the velocity of the TCP during
the approach to the ToPoint or the start (piercing) point. Additionally, it defines the speed of
the tools reorientation and the speed of any uncoordinated additional axes.
Y Data type: num
Argument num Y defines the height of the hexagon in mm. The minimum value is 4mm.
Radius Data type: num
Argument num Radius defines the corner radius of the hexagon in mm. The minimum value
is 0.2mm. In case 0.2mm < Radius < 1mm, the corner radius is 0.2mm.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutHexL/J. Argument
LsCutParams defines the laser cutting specific process data for LsCutHexL/J, including cut
speed and parameters for controlling head, laser, cutting gas during piercing and cutting
phases. When both LsCutParams and LsTableConf are used in the instruction, the data of
LsCutParams would be used.
[\FrcL] Data type: fricdata
Friction level of 6 joints of the robot is used during cutting this shape. Its value is auto
Continues on next page
82 3HAC043508-001 Revision: A
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Continued

calculated to improve the path accuracy of cutting the shape.Up to 5 global tuning data can
be used in different cutting instructions.Normal cutting data generated by users should be a
unique and persistent variable for each cut shape instruction. The value is larger than 0 and
less than 300 and varies at different locations in robot work range. It is very important for
cutting a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. Default iteration times
of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location according to the measurement in production. The
dimension of the customized shape can not to adjusted.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool, and it should be defined
precisely to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\FeatureName] Data type: string
It is an optional parameter that is used to enter the string of the feature name.

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. It takes some time to
complete the calculation. This procedure is performed during running program for the first
cycle in Auto mode and recalculated for every cycle in Manual mode. The result is stored in
path memory. It will be performed again after the tuning or reset path memory by moving PP
to Main or from HMI.

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out) and then the cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Continues on next page


3HAC043508-001 Revision: A 83
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Continued

Tuning execution
If the arguments of Frcl and ILC are used, the robot will move along the shape path in the cut
direction and in the reverse direction repeatedly, until the system finds the optimal result for
the shape. It takes much longer time (25x) than cutting a shape in a normal way. Only running
tuning after all the shape and cut data are correctly set. And it can be run in auto mode.
The turning is activated and deactivated by the cutting state blocking.

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stops, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and further movements.

Execution in auto mode


For the first cycle, the program is run with shape calculation, which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (piercing) point directly, and then
starts the cutting process and further movements.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, the following warnings and errors may be
generated.

Argument Error/Warning Description


FeatureId Out of Range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
Y or Radius Shape calculation error Y< 4 mm, Radius< 1mm
RefVectZ Align angle too large the angle difference between Vectz
and negtive z axis of ToPoint >= 20

Continues on next page


84 3HAC043508-001 Revision: A
4 RAPID reference
4.1.5. CutHexL/CutHexJ/LsCutHexL/LsCutHexJ

Continued

Syntax
LsCutHexL
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of pos>]
[\RefVectZ := <expression (IN) of pos>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[Y :=] < expression (IN) of num > ,
[Radius :=] < expression (IN) of num > ,
[LeadParam :=] < expression (IN) of leaddata > ,
[CutDirection :=] < expression (IN) of cwdirection > ,
[LsTableConf:=] < expression (IN) of LsTableConf> ,
[\LsCutParams:=] < expression (IN) of cuddata | LsCutParams > ,
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of shapeoffsetdata>],
[Tool :=] < persistent (PERS) of tooldata > ,
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

3HAC043508-001 Revision: A 85
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Description
Cuts a rectangle in the work piece. It provides tuning switches to improve the shape accuracy,
and the offset argument to adjust the deviation. The instruction has the following functions:
Start the cutting process at start (piercing) point
Cut the shape with the specific lead-in and lead-out path
Stop the cutting process at specific position on the lead-out path
Auto tune the friction level of robot and reference points to improve the shape
accuracy
The difference between CutRectL and CutRectJ is they use different movement type (MoveL/
MoveJ) to approach the start point. CutRectX and LsCutRectX use different datatypes of
cutting parameters which are defined for different cutting processes. CutRectX and cutdata
are for general cutting. LsCutRectX and LsCutParams are for laser cutting process. Although
LsCutRectJ is used in the examples, CutRectL/J or LsCutRectL could also be used.

&XW'LUHFWLRQ
<

&HQWHU
;

6WDUW

(QG

R000001

Examples
LsCutRectJ 5, p5, v1000, 20, 10, 2, Arc3_r3_o3, iCW, TableConf21, tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed v1000. A rectangle is cut that is
referenced to the default cut frame with the center p5, width of 20mm, height of 10mm, and
the corner radius of 2mm. Arc3_r3_o3 defines the leadin/leadout path as an arc leadin path

Continues on next page


86 3HAC043508-001 Revision: A
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

with radius of 3 mm and overlap of 3 mm. And the cut direction is clockwise (iCW). Cutting
process data is contained in the TableConf21, including, for example, cut speed, cut power
and pierce time, etc. The tooldata used is tLaser and work object is wobjPart.

5D
G
LX
V

; 

&XW'LUHFWLRQ
<  <

&HQWHU
;

6WDUW

(QG
R000002

Arguments
LsCutRectJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], Speed, X, Y,
Radius, LeadParam, CutDirection, LsTableConf, [\LsCutParams] , [\FrcL], [\Ilc],
[\Offset], Tool, [\WObj], [\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. Its data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape (typically the center) and the default cut
frame. The x and z axes of the default cut frame is in the reversed direction of x and z axes of
TCP. And Y axis is in the same direction of Y axis of TCP.

; <

7RROFRRUGLQDWHV\VWHP

=
=
<

&XWIUDPHFRRUGLQDWHV\VWHP

R000003

Continues on next page


3HAC043508-001 Revision: A 87
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

[\RefVectX] Data type: robtarget


Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x-direction will be derived
from the negative tool x-axis.

= <
&XW)UDPHFRRUGLQDWHV\VWHP

5HI9HF;>999@

=
;
<

5HI9HF;>999@

:RUN2EMHFWFRRUGLQDWHV\VWHP
;

R0000004

[\RefVectZ] Data type: robtarget


Unit vector that represents the z axis direction of the cut frame that is related to the wobj
coordination system. The z direction of the default cut frame is neglected. If it is not used, the
z-direction will be derived from the negative direction of tool z-axis.

&XW)UDPHFRRUGLQDWHV\VWHP
=

=
<
< ;
5HI9HF=>999@

:RUN2EMHFWFRRUGLQDWHV\VWHP
;

R0000005

Continues on next page


88 3HAC043508-001 Revision: A
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

[\BiasCut] Data type:switch


BiasCut is used only when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is not parallel with the z direction of the cut frame (defined by RefVectZ). When using
BiasCut, it is allowed to cut not perpendicularly to the surface. The maximum angle between
the z axis of TCP and the cut frame is 20 degrees.
Speed Data type: speeddata
Speed data applies to approaching movements. It defines the velocity of the TCP during the
approach to the ToPoint or start (piercing) poin.Additionally, it defines the speed of the tools
reorientation and the speed of any uncoordinated additional axes.
X Data type: num
Argument X defines the width of the shape in millimeters. The minimum value is 3mm.
Y Data type: num
Argument Y defines the height of the shape in millimeters. The minimum value is 3mm.
Radius Data type: num
Argument Radius defines the corner radius of the rectangle in mm. The minimum value is
0.2mm. In case 0.2mm < Radius < 0.7mm, the corner radius is 0.2mm.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutRectL/J. Argument
LsCutParams defines the laser cutting specific process data for LsCutRectL/J, including cut
speed and parameters for controlling head, laser, cutting gas during piercing and cutting
phases.When both LsCutParams and LsTableConf are used in the instruction, the data of
LsCutParams would be used.
[\FrcL] Data type: fricdata
Friction level of 6 joints of the robot is used during cutting this shape. Its value is auto
calculated to improve the path accuracy of cutting the shape.Up to 5 global tuning data can
be used in different cutting instructions.Normal cutting data generated by users should be a

Continues on next page


3HAC043508-001 Revision: A 89
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

unique and persistent variable for each cut shape instruction. The value is larger than 0 and
less than 300 and varies at different locations in robot work range. It is very important for
cutting a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. Default iteration times
of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location and dimension according to the measurement in
production.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\FeatureName] Data type: string
Optional parameter that defines the feature name.

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. It takes some time to
complete the calculation. This procedure is performed during running program for the first
cycle in Auto mode and recalculated for every cycle in Manual mode. The result is stored in
path memory. It will be performed again after the tuning or reset path memory by moving PP
to Main or from HMI.

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out). The cutting process is terminated. See the process signals.TThe robot cuts to the
end position
The cutting process is influenced by the cutting state blocking.

Continues on next page


90 3HAC043508-001 Revision: A
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

Tuning execution
If the arguments of Frcl and ILC are used, the robot will move along the shape path in the cut
direction and in the reverse direction repeatedly, until system finds the optimal result for the
shape. It takes much longer time (25x) than cutting a shape in normal way. Only running
tuning after all the shape and cut data are correctly set. And it can be run in auto mode.
The turning is activated and deactivated by the cutting state blocking.

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stops, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and further movements.

Execution in auto mode


For the first cycle, the program is run with shape calculation, which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (pierce) point directly, and then starts
the cutting process and movement.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, the following warnings and errors may be
generated.

Argument Error/Warning Description


FeatureId Out of Range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
X,Y or Radius Shape calculation error X,Y< 2.5 mm, Radius< 0.7mm
RefVectZ Align angle too large the angle difference between Vectz
and negtive z axis of ToPoint >= 20

Continues on next page


3HAC043508-001 Revision: A 91
4 RAPID reference
4.1.6. CutRectL/CutRectJ/LsCutRectL/LsCutRectJ

Continued

Syntax
LsCutRectL
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of robtarget>]
[\RefVectZ := <expression (IN) of robtarget>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[X :=] < expression (IN) of num > ,
[Y :=] < expression (IN) of num > ,
[Radius :=] < expression (IN) of num > ,
[LeadParam :=] < expression (IN) of leaddata > ,
[CutDirection :=] < expression (IN) of cwdirection > ,
[LsTableConf:=] < expression (IN) of LsTableConf> ,
[\LsCutParams:=] < expression (IN) of cuddata | LsCutParams > ,
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of shapeoffsetdata>],
[Tool :=] < persistent (PERS) of tooldata > ,
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

92 3HAC043508-001 Revision: A
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Description
Cut a slot in the work piece. It provides tuning switches to improve the shape accuracy, and
the offset argument to adjust the deviation. The instruction has the following functions:
Start the cutting process at start (piercing) point
Cut the shape with the specific lead-in and lead-out path
Stop the cutting process at specific position on the lead-out path
Auto tune the friction level of robot and reference points to improve the shape
accuracy
The difference between CutSlotL and CutSlotJ is they use different movement types (MoveL/
MoveJ) to approach the start point. CutSlotX and LsCutSlotX use different datatypes of
cutting parameters which are defined for different cutting processes. CutSlotX and Cutdata
are for general cutting. LsCutSlotX and LsCutParams are for laser cutting process. Although
LsCutSlotJ is used in the examples, CutSlotL/J or LsCutSlotL could also be used.

&XW'LUHFWLRQ
<

&HQWHU
;

6WDUW
(QG

S000001

Examples
LsCutSlotJ 6, p6, v1000, 20, 5, Arc3_r3_o3, iCW, TableConf21, tLaser\Wobj:=wobjPart;
The robot moves to the start (piercing) point with a speed v1000. A slot is cut that is
referenced to the default cut frame with the center p6, width of 20mm, height of 5mm.
Arc3_r3_o3 defines the leadin/leadout path as an arc leadin path with radius of 3 mm and
overlap of 3 mm. And the cut direction is clockwise (iCW). Cutting process data can be
obtained from parameter tables by TableConf21, including, for example, cut speed, cut power
and pierce time, etc. The tooldata used is tLaser and work object is wobjPart.

Continues on next page


3HAC043508-001 Revision: A 93
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

Arguments
LsCutSlotJ FeatureId, ToPoint, [\RefVectX], [\RefVectZ], [\BiasCut], Speed, X, Y,
LeadParam, CutDirection, LsTableConf, [\LsCutParams], [\FrcL], [\Ilc], [\Offset],
Tool, [\WObj], [\FeatureName]
FeatureId Data type: shpno
Feature identifier. A unique integer value that is used as an array pointer for feature specific
data stored in the system. Its data range is from 1 to 600.
ToPoint Data type: robtarget
ToPoint defines the reference point of the shape (typically the center) and the default cut
frame. The x and z axes of the default cut frame is in the reversed direction of x and z axes of
TCP. And Y axis is in the same direction of Y axis of TCP.

; <

7RROFRRUGLQDWHV\VWHP

=
=
<

&XWIUDPHFRRUGLQDWHV\VWHP

S000002

Continues on next page


94 3HAC043508-001 Revision: A
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

[\RefVectX] Data type: robtarget


Unit vector that represents the X axis direction of the cut frame that is related to the wobj
coordination system. The x direction of the default cut frame is neglected. It is useful to adjust
the TCP without changing the shape direction. If it is not used, the x-direction will be derived
from the negative tool x-axis.

= <
&XW)UDPHFRRUGLQDWHV\VWHP

5HI9HF;>999@

=
;
<

5HI9HF;>999@
:RUN2EMHFWFRRUGLQDWHV\VWHP
;

S0000003

[\RefVectZ] Data type: robtarget


Unit vector that represents the z axis direction of the cut frame that is related to the wobj
coordination system. The z direction of the default cut frame is neglected. If it is not used, the
z-direction will be derived from the negative direction of tool z-axis.

&XW)UDPHFRRUGLQDWHV\VWHP
=

=
<
< ;
5HI9HF=>999@

:RUN2EMHFWFRRUGLQDWHV\VWHP
;

S0000004

Continues on next page


3HAC043508-001 Revision: A 95
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

[\BiasCut] Data type:switch


BiasCut is only used when RefVectZ is defined. If BiasCut is used, the z direction of the TCP
is no parallel with the z direction of the cut frame (defined by RefVectZ). With BiasCut, it is
allowed to cut no perpendicularly to the surface. The maximum angle between z axis of TCP
and Cut Frame is 20 degree.
Speed Data type: speeddata
The speed data applies to approaching movements. It defines the velocity of the TCP during
the approach to the ToPoint or start (piercing) point, as well as the speed of the tools
reorientation and the speed of any uncoordinated additional axes.
X Data type: num
Argument num X defines the width of the shape in mm. The minimum value is 3mm.
Y Data type: num
Argument num Y defines the height of the shape in mm. The minimum value is 3mm.Note:
X should bigger than Y.
LeadParam Data type: leaddata
Argument leaddata LeadParam defines the lead-in/lead-out and overlap parameters.
CutDirection Data type: cwdirection
Argument cwdirection CutDirection defines the cut direction: Inside/outside cut clockwise /
counter-clockwise. (iCW/iCCW/oCW/oCCW)
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutSlotL/J. Argument
LsCutParams defines the laser cutting specific process data for LsCutSlotL/J, including cut
speed and parameters for controlling head, laser, cutting gas during piercing and cutting
phases.When both LsCutParams and LsTableConf are used in the instruction, the data of
LsCutParams would be used.
[\FrcL] Data type: fricdata
Friction level of 6 joints of the robot is used during cutting this shape. Its value is auto
calculated to improve the path accuracy of cutting the shape.Up to 5 global tuning data can
be used in different cutting instructions.Normal cutting data generated by users should be a

Continues on next page


96 3HAC043508-001 Revision: A
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

unique and persistent variable for each cut shape instruction. The value is larger than 0 and
less than 300 and varies at different locations in robot work range. It is very important for
cutting a good circle.
[\Ilc] Data type: switch
Switch for iteration learning control. Fine tune of robot performance after all the other tuning
methods are used (including friction tuning). Small corrections are auto introduced into
reference points of the cut shape perimeter according to the deviation. Default iteration times
of ILC is 3.
[\Offset] Data type: shapeoffsetdata
Optional parameter that defines the shape offset specific parameters. It is used for small
deviation compensation in location and dimension according to the measurement in
production.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\FeatureName] Data type: string
Optional parameter that defines the feature name.

Program execution

Shape calculation
System calculates the shape path according to the shape parameters. It takes some time to
complete the calculation. This procedure is performed during running program for the first
cycle in Auto mode and recalculated for every cycle in Manual mode. The result is stored in
path memory. It will be performed again after the tuning or reset path memory by moving PP
to Main or from HMI.

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out). The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Tuning execution
If the arguments of Frcl and ILC are used, the robot will move along the shape path in the cut
direction and in the reverse direction repeatedly, until system finds the optimal result for the
shape. It takes much longer time (25x) than cutting a shape in normal way. Only running
tuning after all the shape and cut data are correctly set. And it can be run in auto mode.
The turning is activated and deactivated by the cutting state blocking.

Continues on next page


3HAC043508-001 Revision: A 97
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

Execution in manual mode


The robot moves to the center of the shape (ToPoint), stops, calculates the shape, and then
moves to the start (piercing) point, stops, starts the cutting process and further movements.

Execution in auto mode


For the first cycle, the program is run with shape calculation, which is the same as in manual
mode. Since the 2nd cycle, the robot moves to the start (pierce) point directly, and then starts
the cutting process and movement.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and the shape is skipped.
Backward
The robot moves to the ToPoint position and the shape is skipped.

Argument Error
If the value of the argument is not correct, the following warnings and errors may be
generated.

Argument Error/Warning Description


FeatureId Out of Range FeatureId: -1 out of range.
FeatureId: 601 out of range.
Conflicting ID FeatureId: 10 Has been used
X,Y Shape calculation error Y< 1.4mm, X<=Y
RefVectZ Align angle too large the angle difference between Vectz
and negtive z axis of ToPoint >= 20

Continues on next page


98 3HAC043508-001 Revision: A
4 RAPID reference
4.1.7. CutSlotL/CutSlotJ/LsCutSlotL/LsCutSlotJ

Continued

Syntax
LsCutSlotL
[FeatureId :=] < expression (IN) of shpno> ,
[ ToPoint :=] < expression (IN) of robtarget >
[\RefVectX := <expression (IN) of pos>]
[\RefVectZ := <expression (IN) of pos>]
[\BiasCut] ,
[Speed :=] < expression (IN) of speeddata > ,
[X :=] < expression (IN) of num > ,
[Y :=] < expression (IN) of num > ,
[LeadParam :=] < expression (IN) of leaddata > ,
[CutDirection :=] < expression (IN) of cwdirection > ,
[LsTableConf:=] < expression (IN) of LsTableConf> ,
[\LsCutParams:=] < expression (IN) of cuddata | LsCutParams > ,
[\FrcL:= <persistent (PERS) of fricdata>]
[\Ilc]
[\Offset :=< expression (IN) of shapeoffsetdata>],
[Tool :=] < persistent (PERS) of tooldata > ,
[\WObj := <persistent (PERS) of wobjdata>]
[\FeatureName := <expression (IN) of string>]

3HAC043508-001 Revision: A 99
4 RAPID reference
4.1.8. CutLStart/LsCutLStart

4.1.8. CutLStart/LsCutLStart

Description
Begins cutting at the start point. This argument should be used to start a free form cut path.
The instruction has the following functions:
Move to the start point
Set the purge gas signal before reach the start point
Stop at the start point and start the cut process
CutLStart and LsCutLStart use different datatypes of cut parameters which are defined for
different cutting processes. CutLStart and cutdata are for general cutting. LsCutLStart and
LsCutParams or LsTableConf are for laser cutting process. Although LsCutLStart is used in
the examples, CutLStart could also be used.

S000005

Example
LsCutLStart pStart, v1000, TableConf21, fine, tLaser\Wobj:=wobjPart;
The robot moves to pStart point with a speed v1000. The cut begins at pStart after robot stop.
Cutting process data can be obtained from parameter tables by TableConf21, including, for
example, cut speed, cut power and pierce time, etc.

Continues on next page


100 3HAC043508-001 Revision: A
4 RAPID reference
4.1.8. CutLStart/LsCutLStart

Continued

Arguments
LsCutLStart ToPoint, [\ID], Speed, LsTableConf, [\LsCutParams], Zone, Tool,
[\WObj], [\SeamName]
ToPoint Data type: robtarget
ToPoint is the start point of the free form cut path.
[\ID] Data type: identno
Used to control the synchronization of two or more coordinated synchronized movements.
The data type identno can only be used in a MultiMove system with the option Coordinated
Robots, and can be used only in program tasks defined as Motion Task.
Speed Data type: speeddata
Defines the velocity of the robot and of the external axes while approaching the ToPoint.
LsTableConf Data type:LsTableConf
Argument LSTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutLStart. Argument
LsCutParams defines the laser cutting specific process data for LsCutLStart, including cut
speed and parameters for controlling head, laser, cutting gas during piercing and cutting
phases. The cut speed will be used for following movement along the free form path.When
both LsCutParams and LsTableConf are used in the instruction, the data of LsCutParams
would be used.
Zone Data type: zonedata
Only fine point is accepted here. Other zonedata is ignored. A stop point is always generated
automatically at the cut start position. Start-fly is not supportted in this version.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of workpiece. The cut frame is related to the tool and it should be define precisely to
achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).
[\SeamName] Data type: string
Optional parameter that is used to enter the string of the Seam name.

Continues on next page


3HAC043508-001 Revision: A 101
4 RAPID reference
4.1.8. CutLStart/LsCutLStart

Continued

Program execution

Controlling process equipment


The entire cutting process and each of its phases are coordinated with the robot movements.
The robot moves to the start position of the lead-in path. The cutting process is initiated
(surface search, laser ramping, piercing, etc.). The robot cuts to the end position (including
lead-out). The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and cut process is skipped.
Backward
The robot moves to the ToPoint position and cut process is skipped.

Syntax
LsCutLStart
[ ToPoint :=] < expression (IN) of robtarget >
[\ID := < expression (IN) of identno > ] ,
[Speed :=] < expression (IN) of speeddata >
[LsTableConf:=] < expression (IN) of LsTableConf> ,
[\LsCutParams:=] < expression (IN) of LsCutParams > ] ,
[Zone:=] < expression (IN) of zonedata > ,
[Tool :=] < persistent (PERS) of tooldata >
[\WObj := <persistent (PERS) of wobjdata>]
[\SeamName := < expression (IN) of string>]

102 3HAC043508-001 Revision: A


4 RAPID reference
4.1.9. CutC/LsCutC

4.1.9. CutC/LsCutC

Description
Cuts a circular curve from the current position to ToPoint. It can also trigger I/O signals
during movement.
CutC and LsCutC use different datatypes of cut parameters which are defined for different
cutting processes. CutC and cutdata are for general cutting. LsCutC and LsCutParams or
LsTableConf are for laser cutting process. Although LsCutC is used in the examples, CutC
could also be used.

Example
LsCutLStart pStart, v1000, TableConf21, fine, tLaser\Wobj:=wobjPart;LsCutC p1, p2, v100,
z1, tLaser\Wobj:=wobjPart;
The cut starts at pStart. Then cut continues in a circular path through p1 to p2. Cutting process
data can be obtained from parameter tables by TableConf21.

Continues on next page


3HAC043508-001 Revision: A 103
4 RAPID reference
4.1.9. CutC/LsCutC

Continued

Arguments
LsCutC CirPoint, ToPoint, [\ID], Speed, [\T1], [\T2], [\T3], [\T4], LsTableConf,
[\LsCutParams], Zone, Tool, [\WObj]
CirPoint Data type: robtarget
Argument CirPoint is the circle point of the circular path. The circle point is a position on the
circle between the start point and the destination point. To obtain the best accuracy, it should
be placed about halfway between the start and destination points. If it is placed too close to
the start or destination point, the robot may give a big movement.
ToPoint Data type: robtargetArgument
ToPoint is the destination position of the robot and external axes.
[\ID] Data type: identno
\ID is used to control synchronizing of two or more coordinated synchronized movements
with each other.
The data type identno can only be used in a MultiMove system with option Coordinated
Robots and only in program tasks defined as Motion Task.
Speed Data type: speeddata
The speed data applies to step forward/backward movements. The speed of the cut process is
given by LsCutParams or be obtained by LsTableConf.
[\T1], [\T2], [\T3], [\T4] Data type: triggdata
T1,T2,T3,T4 is the triggdata for periphery equipment. Totally four triggdata are for
customized behavior. No priority between four triggdata.
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutC. Argument LsCutParams
defines the laser cutting specific process data for LsCutC, including cut speed and parameters
for controlling head and laser during cutting phases. Only use it when the cut process data has

Continues on next page


104 3HAC043508-001 Revision: A
4 RAPID reference
4.1.9. CutC/LsCutC

Continued

to be changed. E.g. at the corner of the trim path. If no LsCutParams, the previous
LsCutParams.CutSpeed will be used.When both LsCutParams and LsTableConf are used in
the instruction, the data of LsCutParams would be used.
Zone Data type: zonedata
Defines how close the axes must be to the programmed position before they can start moving
towards the next position. Fly-by points should be used for all cutting positions except the
start point. A corner path is generated past the ToPoint.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instructions robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).

Program execution

Controlling process equipment


When argument udTableConf or LsCutParams is used, the signal cwdoDataChange will be
set at the beginning of the movement. The change of process data, e.g. power, will be sent to
related equipment.
The cutting process is influenced by the cutting state blocking.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and cut process is skipped.
Backward
The robot moves to the ToPoint position and cut process is skipped.

Continues on next page


3HAC043508-001 Revision: A 105
4 RAPID reference
4.1.9. CutC/LsCutC

Continued

Syntax
LsCutC
[CirPoint ':='] < expression (IN) of robtarget >','
[ ToPoint ':='] < expression (IN) of robtarget >','
['\'ID ':=' < expression (IN) of identno > ]
[Speed ':='] < expression (IN) of speeddata > ','
['\' T1 ':=' <persistent (VAR) of triggdata>]
['\' T2 ':=' <persistent (VAR) of triggdata>]
['\' T3 ':=' <persistent (VAR) of triggdata>]
['\' T4 ':=' <persistent (VAR) of triggdata>]
[LsTableConf:=] < expression (IN) of LsTableConf> ,
['\'LsCutParams':='] < expression (IN) of LsCutParams >]','
[Zone':='] < expression (IN) of zonedata > ','
[Tool ':='] < persistent (PERS) of tooldata >','
['\'WObj ':=' <persistent (PERS) of wobjdata>]

106 3HAC043508-001 Revision: A


4 RAPID reference
4.1.10. CutL/LsCutL

4.1.10. CutL/LsCutL

Description
Cut a linear path from the current position ToPoint. Meanwhile, it can trigger signals during
movement.
CutL and LsCutL use different datatypes of LsCutParams which are defined for different
cutting processes. CutL and cutdata are for general cutting. LsCutL and LsCutParams are for
laser cutting process. Although LsCutL is used in the examples, CutL could also be used.

Examples
LsCutLStart pStart, v1000, LsCutParams1, fine, tLaser\Wobj:=wobjPart;
LsCutL p3, v100, z1, tLaser\Wobj:=wobjPart;
The cut starts at pStart. Then the cut continues to p3 along a straight line. The cut speed is
defined in LsCutParams1.

Arguments
LsCutL ToPoint, [\ID], Speed, [\T1], [\T2], [\T3], [\T4], LsTableConf, [\LsCutParams],
Zone, Tool, [\WObj],
ToPointArgument ToPoint is the destination position of the robot and external axes.
[\ID] Data type: identno
\ID is used to control synchronizing of two or more coordinated synchronized movements
with each other.
The data type identno can only be used in a MultiMove system with option Coordinated
Robots and only in program tasks defined as Motion Task.
Speed Data type: speeddata
The speed data applies to step forward/backward movements. The speed of the cut process is
given by LsCutParams or be obtained by LsTableConf.
[\T1], [\T2], [\T3], [\T4] Data type: triggdata
T1,T2,T3,T4 is the triggdata for periphery equipment. Totally four triggdata are for
customized behavior. No priority between four triggdata.
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutL. Argument LsCutParams
defines the laser cutting specific process data for LsCutL, including cut speed and parameters
for controlling head and laser during cutting phases. Only use it when the cut process data has

Continues on next page


3HAC043508-001 Revision: A 107
4 RAPID reference
4.1.10. CutL/LsCutL

Continued

to be changed. E.g. at the corner of the trim path. If no LsCutParams, the previous
LsCutParams.CutSpeed will be used.When both LsCutParams and LsTableConf are used in
the instruction, the data of LsCutParams would be used.
Zone Data type: zonedata
Zone defines how close the axes must be to the programmed position before they can start
moving towards the next position. Fly-by points should be used for all cutting positions
except the start point. A corner path is generated past the ToPoint.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of work piece. The cut frame is related to the tool and it should be define precisely to
achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instruction's robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).

Program Execution
Controlling process equipment
When argument LsTableConf or LsCutParams is used, the signal cwdoDataChange will be
set at the beginning of the movement. The change of process data, e.g. power, will be sent to
related equipment.
The cutting process is influenced by the cutting state blocking.
Execution in stepwise mode
Forward
The robot moves to the ToPoint position and cut process is skipped.
Backward
The robot moves to the ToPoint position and cut process is skipped.

Syntax
LsCutL
[ ToPoint ':='] < expression (IN) of robtarget >','
['\'ID ':=' < expression (IN) of identno > ]
[Speed ':='] < expression (IN) of speeddata > ','
['\' T1 ':=' <persistent (VAR) of triggdata>]
['\' T2 ':=' <persistent (VAR) of triggdata>]
['\' T3 ':=' <persistent (VAR) of triggdata>]
['\' T4 ':=' <persistent (VAR) of triggdata>]
[LsTableConf:=] < expression (IN) of LsTableConf> ,
['\' LsCutParams':='] < expression (IN) of LsCutParams >]
[Zone':='] < expression (IN) of zonedata > ','
[Tool ':='] < persistent (PERS) of tooldata >
['\'WObj ':=' <persistent (PERS) of wobjdata>]

108 3HAC043508-001 Revision: A


4 RAPID reference
4.1.11. CutCEnd/LsCutCEnd

4.1.11. CutCEnd/LsCutCEnd

Description
Used for stopping the cutting process. It has the following functions.
Move a circular path to ToPoint.
Stop the cutting process on-fly at the current position or at the fine point according to
the LsCutParams used on the path.
CutCEnd and LsCutCEnd use different datatypes of LsCutParams which are defined for
different cutting processes. CutCEnd and cutdata are for general cutting. LsCutCEnd and
LsCutParams are for laser cutting process. Although LsCutCEnd is used in the examples,
CutCEnd could also be used.

Examples
LsCutLStart pStart, v1000, LsCutParams1, fine, tLaser\Wobj:=wobjPart;
LsCutC p1, p2, v100, z1, tLaser\Wobj:=wobjPart;
LsCutCEnd p4, p5, v100,, z1, tLaser\Wobj:=wobjPart;
The cut starts at pStart. Then cut continues in a circular path through p1 to p2. Then stop the
cutting process on-fly. The robot moves along a circular path through P4 to p5. The cut speed
is defined in LsCutParams1.

Continues on next page


3HAC043508-001 Revision: A 109
4 RAPID reference
4.1.11. CutCEnd/LsCutCEnd

Continued

Arguments
LsCutCEnd CirPoint, ToPoint, [\ID], Speed, LsTableConf, [\LsCutParams], Zone,
Tool,[\WObj]
CirPoint Data type: robtarget
Argument CirPoint is the circle point of the circular path. The circle point is a position on the
circle between the start point and the destination point. To obtain the best accuracy, it should
be placed about halfway between the start and destination points. If it is placed too close to
the start or destination point, the robot may give a big movement.
ToPoint Data type: robtarget
Argument ToPoint is the destination position of the robot and external axes.
[\ID] Data type: identno
\ID is used to control synchronizing of two or more coordinated synchronized movements
with each other.
The data type identno can only be used in a MultiMove system with option Coordinated
Robots and only in program tasks defined as Motion Task.
Speed Data type: speeddata
The speed data applies to step forward/backward movements. The speed of the cut process is
given by LsCutParams or be obtained by LsTableConf.
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutCEnd. Argument
LsCutParams defines the laser cutting specific process data for LsCutCEnd, including cut
speed and parameters for controlling head and laser during cutting phases. If no
LsCutParams, the previous LsCutParams.CutSpeed will be used. When both LsCutParams
and LsTableConf are used in the instruction, the data of LsCutParams would be used.
Zone Data type: zonedata
Zone defines how close the axes must be to the programmed position before they can start
moving towards the next position. Fly-by points should be used for all cutting positions
except the start point. A corner path is generated past the ToPoint.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instruction's robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).

Continues on next page


110 3HAC043508-001 Revision: A
4 RAPID reference
4.1.11. CutCEnd/LsCutCEnd

Continued

Program Execution

Controlling process equipment


The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and cut process is skipped.
Backward
The robot moves to the ToPoint position and cut process is skipped.

Syntax
LsCutCEnd
[CirPoint ':='] < expression (IN) of robtarget >
[ ToPoint ':='] < expression (IN) of robtarget >
['\'ID ':=' < expression (IN) of identno > ] ','
[Speed ':='] < expression (IN) of speeddata > ','
['\'LsCutParams':='] < expression (IN) of LsCutParams > ','
[Zone':='] < expression (IN) of zonedata > ','
[Tool ':='] < persistent (PERS) of tooldata >
['\'WObj ':=' <persistent (PERS) of wobjdata>]

3HAC043508-001 Revision: A 111


4 RAPID reference
4.1.12. CutLEnd/LsCutLEnd

4.1.12. CutLEnd/LsCutLEnd

Description
Used for stopping the cutting process. It has following functions.
Move a linear path to ToPoint.
Stop the cutting process on-fly at the current position or at the fine point according to
the LsCutParams used on the path.
CutLEnd and LsCutLEnd use different datatypes of cut parameters which are defined for
different cutting processes. CutLEnd and cutdata are for general cutting. LsCutLEnd and
LsCutParams are for laser cutting process. Although LsCutLEnd is used in the examples,
CutLEnd could also be used.
If the end point of the cutting path is a zone point, the cutting path would be following:

CutY

If the end point of the cutting path is a fine point, the cutting path would be following:

MoveL
CutLStart
MoveL

CutL

CutL

CutLEnd
CutX

Examples
LsCutLStart pStart, v1000, LsCutParams1, fine, tLaser\Wobj:=wobjPart;
LsCutL 3, v100, z1, tLaser\Wobj:=wobjPart;
LsCutLEnd p4, v100, z1, tLaser\Wobj:=wobjPart;
The cut starts at pStart. Then the cut continues to p3 along a straight line. Then stop the cutting
process on-fly. The robot moves to p4. The cut speed is defined in LsCutParams1.

Continues on next page


112 3HAC043508-001 Revision: A
4 RAPID reference
4.1.12. CutLEnd/LsCutLEnd

Continued

Arguments
LsCutLEnd ToPoint, [\ID], Speed, LsTableConf, [\LsCutParams], Zone, Tool, [\WObj]
ToPoint
Argument ToPoint is the destination position of the robot and external axes.
[\ID] Data type: identno
\ID is used to control synchronizing of two or more coordinated synchronized movements
with each other.
The data type identno can only be used in a MultiMove system with option Coordinated
Robots and only in program tasks defined as Motion Task.
Speed Data type: speeddata
The speed data applies to step forward/backward movements. The speed of the cut process is
given by LsCutParams or be obtained by LsTableConf.
LsTableConf Data type:LsTableConf
Argument LsTableConf defines the configuration of the current active LS cutting parameter
table. i.e. the combination of the cutting group and the piercing group of the LS cutting
parameter table, which are used in the cutting instruction.
[\LsCutParams] Data type: cutdata/LsCutParams
Argument cutdata defines the general cutting process data for CutLEnd. Argument
LsCutParams defines the laser cutting specific process data for LsCutLEnd, including cut
speed and parameters for controlling head and laser during cutting phases. If no
LsCutParams, the previous LsCutParams.CutSpeed will be used. When both LsCutParams
and LsTableConf are used in the instruction, the data of LsCutParams would be used.
Zone Data type: zonedata
Zone defines how close the axes must be to the programmed position before they can start
moving towards the next position. Fly-by points should be used for all cutting positions
except the start point. A corner path is generated past the ToPoint.
Tool Data type: tooldata
Tool used in the course of movement. The z-axis of the tool should be perpendicular to the
surface of the work piece. The cut frame is related to the tool and it should be define precisely
to achieve good cut accuracy.
[\WObj] Data type: wobjdata
The work object coordinate system to which the instruction's robot position is referenced.
When this argument is omitted, the robot position is referenced to the world coordinate
system (wobj0).

Program Execution

Controlling process equipment


The cutting process is terminated. See the process signals.
The cutting process is influenced by the cutting state blocking.

Continues on next page


3HAC043508-001 Revision: A 113
4 RAPID reference
4.1.12. CutLEnd/LsCutLEnd

Continued

Execution in stepwise mode


Forward
The robot moves to the ToPoint position and cut process is skipped.
Backward
The robot moves to the ToPoint position and cut process is skipped.

Syntax
LsCutLEnd[ ToPoint ':='] < expression (IN) of robtarget >
['\'ID ':=' < expression (IN) of identno > ] ','
[Speed ':='] < expression (IN) of speeddata > ','
[LsTableConf:=] < expression (IN) of LsTableConf> ,
['\'LsCutParams':='] < expression (IN) of LsCutParams > ','
[Zone':='] < expression (IN) of zonedata > ','
[Tool ':='] < persistent (PERS) of tooldata >
['\'WObj ':=' <persistent (PERS) of wobjdata>]

114 3HAC043508-001 Revision: A


4 RAPID reference
4.1.13. SetCutWareState

4.1.13. SetCutWareState

Description
Activates and deactivates different functions of cutting. It has the same function as the state
blocking window of Cutting HMI.

Examples
SetCutWareState \CutProcess;
All the process and equipment signals are activated. Cut instructions will start the cutting
process. The result of last tuning are used for each shape instruction, however, the friction
tuning and Ilc fine tuning won't be executed.

Arguments
SetCutWareState [\switch Process |switch CutProcess],[ \switch FrictionTune], [\switch
IlcInit|switch IlcContinue],[ \switch ResetPathMemory]
[\Process | CutProcess] Data type: switch
Process is to only activate part of the process control but not to cut the workpiece. E.g. enable
the cut head control, but not activate the laser power source and gas. It is used to verify the
path and IO signals during a dry run of the program.
CutProcess is to activate the all the process controls. Cutting instructions will cut the
workpiece. It is used in production.
[\FrictionTune] Data type: switch
Used to activate the advance shape tuning. Shape cut instructions will run the tuning motion
if the /FrcL argument is used.
[\IlcInit | IlcContinue] Data type: switch
IlcInit | IlcContinue is to activate the iterative learning control as fine tuning of the shape.
Shape cut instructions will run the tuning motion if the /Ilc argument is used. IlcInit start the
calculation from zero and IlcContinue continues the calculation based on the result of last
time.
[\ResetPathMemory] Data type: switch
Cleans the results of shape generation. Normally, the path memory will be reset automatically
in manual mode. It is a way to trigger recalculation of the shape generation in Auto mode.
E.g. recalculate the shape after the offset data is changed in production.

Syntax
SetCutWareState
['\'Process] '|'
['\'CutProcess]
['\'FrictionTune]
['\'IlcInit] '|'
['\'IlcContinue]
['\'ResetPathMemory] ';'

3HAC043508-001 Revision: A 115


4 RAPID reference
4.2.1. LsTableHead

4.2 Data types

4.2.1. LsTableHead

Description
The data type LsTablehead is used in laser cutting parameter tables to indicate the major
characteristics as thickness, cutting power, focal length and so on.
NOTE!
It is a built in data type for the laser table. It is not recommended for users to create their own
variables in Rapid programs, because these variables could not be managed by the laser table.

Components
CutPower Data: num
The max power of the laser equipment. Only this argument would directly affect the cutting
instruction. Other arguments are used for users reference to select the suitable cutting
table.Unit: w.
FocalLength Data: num
The focal length of the selected laser optic system. Unit: mm
FocalPoint Data: num
Focal Position of the lens with respect to the nozzle. Unit:mm
LaserType Data: string
Type and brand information of the laser device.
Material Data: String
The material that the cutting work object is made of, for example steel, Fe, and so on.
Nozzle Data: num
The nozzle diameter to be installed on the cutting head. Unit:mm
Thickness Data type:num
The thickness of the work object to be cut. Unit: mm

Structure
< dataobject of LsTableHead >
< CutPower of num >
< FocalLength of num >
< FocalPoint of num >
< LaserType of string >
< Material of string >
< Nozzle of num >
< Thickness of num >

116 3HAC043508-001 Revision: A


4 RAPID reference
4.2.2. LsCuttingData

4.2.2. LsCuttingData

Description
Used to control the laser-cutting process, and includes parameters for controlling the head,
laser, and also cutting gas during piercing and cutting phases.
NOTE!
It is a built in data type for the laser table. It is not recommended for users to create their own
variables in Rapid programs, because these variables could not be managed by the laser table.

Components
CutSpeed Data type: num
TCP speed during the cutting phase. The cut speed is proportional to the cut power.
Unit: mm/s, usually 10-300
PowerLevel Data type: num
Sets the power level of the laser during the cutting phase. The actual cutting power equals to
this value multiplying the max cut power. Use the 100% cut power of the laser source to
achieve the highest cutting speed.
Unit: %
MinPowerLevel Data type: num
Minimum laser power level for speed modulation power control.The minimum cutting power
equals to this value multiplying the max cut power.
Unit: %
CriticalSpeed Data type: num
In case the current speed is lower than it, the average power will be updated. If the critical
speed equals to 0, then speed modulation power control is disabled.
Unit: mm/s

LC001

Continues on next page


3HAC043508-001 Revision: A 117
4 RAPID reference
4.2.2. LsCuttingData

Continued

Acceleration Data type: num


Acceleration of the cutting speed. On fast machines, in some cases, the accelearation is
reduced during cut.
Unit: mm/s2
CutProgram Data type: num
Program(schedule) of the laser system used during the cutting process.
GasType Data type: num
Defines the gas type (valve selection) to be active during the cutting phase. It depends on
hardware setting. If only use one type gas during cutting, this data is ignored.
GasFlow Data type: num
Depending on the equipment, GasFlow defines the gas flow or pressure to be used during the
cutting phase.
The part is thicker, the pressure should be higher.
The pressure of oxygen is lower than that of nitrogen.
HC_StandOff Data type: num
The distance between the nozzle and the material.
Unit: mm
HC_LockOn Data type: bool
If the value is set to TRUE, the cutting head will remain locked during the entire cutting
phase. It is used in 2D shape cutting processes to improve the cut quality. Should not be used
in 3D free form cut instruction.
HC_CharCurve Data type: num
Selects the laser head characteristic curve. Different sensors have different, non-linear
characteristic curves. Selects the characteristic curve remains linear throughout the entire
work area.
Kerf Data type: num
Kerf width compensates for material that is removed by the cutting process. The value entered
should be the width of the cut path. The cut path is offset by half the Kerf width according to
the cut direction. There is not offset for the path, if the kerf = 0. And not compensation for
free form cut instructions (LsCutL/LsCutC).

Continues on next page


118 3HAC043508-001 Revision: A
4 RAPID reference
4.2.2. LsCuttingData

Continued

Structure
< dataobject of LsCuttingData >
< CutSpeed of num >
< PowerLevel of num >
< MinPowerLevel of num >
< CriticalSpeed of num >
< Acceleration of num >
< CutProgram of num >
< GasType of num >
< GasFlow of num >
< HC_StandOff of num >
< HC_LockOn of bool >
< HC_CharCurve of num >
< Kerf of num >

3HAC043508-001 Revision: A 119


4 RAPID reference
4.2.3. LsPierData

4.2.3. LsPierData

Description
Used to control the laser-cutting process, and includes parameters for controlling the head,
laser, and also cutting gas during piercing and cutting phases.
NOTE!
It is a built in data type for the laser table. It is not recommended for users to create their own
variables in Rapid programs, because these variables could not be managed by the laser table.

Components
GasType Data type: num
Defines the gas type (valve selection) to be active during the cutting phase. It depends on
hardware setting. If only use one type gas during cutting, this data is ignored.
GasFlow Data type: num
Depending on the equipment, this argument defines the gas flow or pressure to be used during
the piercing phase.
The part is thicker, the pressure should be higher.
The pressure of oxygen is lower than that of nitrogen.
PurgeTime Data type: num
Time that gas flows before the robot reaches the pierce point. Set to make the air stable
enough for protecting the cutting head before cutting begins. Default value is 0.
Unit: s
PowerLevel Data type: num
The proportion of current cutting power to the maximum cutting power. It is to be used in the
piercing phase.
Unit: %
PierceTime Data type: num
Time to pierce through the work piece. It is depends on the material thickness and the value
that is set for the above piercing power level. Usually it is less than 1s for thin metal.
Unit: s
CutProgram Data type: num
Program (schedule) of the laser system used during the piercing process. The value
corresponds to the program numbers in the laser equipment, e.g. IPG.
HC_StandOff Data type: num
The distance between the nozzle and the material.
Unit: mm
HC_LockOn Data type: bool
If the value is set to "True", the cutting head will remain locked during the entire piercing
phase.

Continues on next page


120 3HAC043508-001 Revision: A
4 RAPID reference
4.2.3. LsPierData

Continued

Structure
< dataobject of LsPierData >
< GasType of num >
< GasFlow of num >
< PurgeTime of num >
< PowerLevel of num >
< PierceTime of num >
< CutProgram of num >
< HC_StandOff of num >
< HC_LockOn of bool >

3HAC043508-001 Revision: A 121


4 RAPID reference
4.2.4. LsCutParams

4.2.4. LsCutParams

Description
Used to control the laser-cutting process, and includes parameters for controlling the head,
laser, and also cutting gas during piercing and cutting phases.
It contains three part: Cut power, CuttingParams, PierParams.
NOTE!
It is a built in data type for the laser table. It is not recommended for users to create their own
variables in Rapid programs, because these variables could not be managed by the laser table.

Components
CutPower Data type: num
Sets the power of the laser during the cutting phase. It is proportional to the cut speed. Use
the max cut power of the laser source to achieve the highest cutting speed.
Unit: watt
LsCuttingData Data type: CuttingParams
For detailed information about CuttingParams, see LsCuttingData on page 117.
LsPierData Data type: PierParams
For detailed information about PierParams, see LsPierData on page 120.

Continues on next page


122 3HAC043508-001 Revision: A
4 RAPID reference
4.2.4. LsCutParams

Continued

Structure
< dataobject of LsCutParams >
< CutPower of num >
< GasFlow of num >
< GasType of num >
< HC_StandOff of num >
< HC_LockOn of bool >
< MinPowerLevel of num >
< PowerLevel of num >
< CutSpeed of num >
< CriticalSpeed of num >
< Acceleration of num >
< Delay of num >
< HC_CharCurve of num >
< Kerf of num >
< Duty_max of num >
< Duty_min of num >
< CutProgram of num >
< GasFlow of num >
< GasType of num >
< HC_StandOff of num >
< HC_LockOn of bool >
< PowerLevel of num >
< PurgeTime of num >
< PierceTime of num >
< Duty_max of num >
< Duty_min of num >
< CutProgram of num >

3HAC043508-001 Revision: A 123


4 RAPID reference
4.2.5. LsTableConf

4.2.5. LsTableConf

Description
The data type LsTableConf is used to configure the cutting and piercing parameter groups
used in laser cutting parameter tables.It contains two index value representing the indexes of
the cutting group and the piercing group which are selected to be used in the current active
laser cutting parameter table. Up to 5 cutting groups and 5 piercing groups can be created in
a parameter table, so the maximum value of the indexes are 5.

Components
IndexCutting Data type:num
The index of cutting group to be used in cutting instructions. data range 1- 5.
IndexPiercing Data type: num
The index of piercing group to be used in cutting instructions. data range 1- 5.

Structure
< dataobject of LsTableConf >
< IndexCutting of num >
< IndexPiercing of num >

124 3HAC043508-001 Revision: A


4 RAPID reference
4.2.6. cutdata

4.2.6. cutdata

Description
The data type cutdata is used to control the general cutting process. It includes parameters for
cutting speed, and it also synchronizes movements with process signals.

Components
CutSpeed Data type:num
The TCP speed during the cutting phase. Unit: mm/s, datarange 1-400.
StartFly Data type: bool
Reserved. Flying start is not supported in this version.
EndFly Data type: bool
Specifies whether the robot stops or flies at the end of the cut path. If the value is set to "True",
cut process off task will be executed when the value starts to move at the current position.

CutY

If it is False, cut process off task will be executed after CutLEnd/CutCEnd reaches the
destination point and stops the robot.

MoveL
CutLStart
MoveL

CutL

CutL

CutLEnd
CutX

Continues on next page


3HAC043508-001 Revision: A 125
4 RAPID reference
4.2.6. cutdata

Continued

SpeedModulation Data type: bool


Specifies whether the TcpSpeed is monitored during cutting phase. If it is "True",
cwSpeedChange routine will be called when the change of TcpSpeed is larger than 2mm/s.
Kerf Data type: num
Compensates for material that is removed by the cutting process. The value entered should be
the width of the cut path. The cut path is offset by half the Kerf width according to the cut
direction. There is not offset for the path, if the kerf = 0. No compensation for free form cut
instructions (CutL/CutC).
PurgeTime Data type: num
Time for purging gas before the robot reaches the piercing point. If the value is bigger than 0,
the PurgeOn signal will be set on the fly.If it is 0, the PurgeOn signal won't be used.
Unit: s
Data1,Data2,Data3,Data4 Data type: num
4 data can be used in specific cutting process.

Structure
< dataobject of cutdata >
< CutSpeed of num >
< StartFly of bool >
< EndFly of bool >
< SpeedModulation of bool >
< Kerf of num >
< PurgeTime of num >
< Data1 of num >
< Data2 of num >
< Data3 of num >
< Data4 of num >

126 3HAC043508-001 Revision: A


4 RAPID reference
4.2.7. cwdirection

4.2.7. cwdirection

The cut direction of 2D shapes.


Value Description
iCW:=1 Cuts inside in clockwise direction. The pierce point is inside the shape. The
tool radius compensation is to decrease the dimension.

LC002

iCCW:=-1 Cuts inside in clockwise direction. The pierce point is inside the shape. The
tool radius compensation is to decrease the dimension.

LC003

Continues on next page


3HAC043508-001 Revision: A 127
4 RAPID reference
4.2.7. cwdirection

Continued

Value Description
oCW:=2; Cuts outside in counterclockwise direction. The pierce point is outside the
shape. The tool radius compensation is to increase the dimension.

LC004

oCCW:=-2 Cuts outside in counterclockwise direction. The pierce point is outside the
shape. The tool radius compensation is to increase the dimension.

LC005

NOTE!
Tool radius compensation is not support for CutCadL/CutCadJ

128 3HAC043508-001 Revision: A


4 RAPID reference
4.2.8. fricdata

4.2.8. fricdata

The data type fricdata contains auto friction tuning results for the robot.

Description
Used with shape cut instructions to improve the performance of an individual cut shape. It has
six elements corresponding to the six axes of the robot. Optimum friction data can be obtained
by executing friction tuning for related shape instruction. The data variable should be unique
for every shape cut instruction.

Components
num FricLev_Ax1;
FricLev_Ax1 Data type: num
Defines the friction compensation factor for axis 1 of the robot. Default is 100.
num FricLev_Ax2;
FricLev_Ax2 Data type: num
Defines the friction compensation factor for axis 2 of the robot. Default is 100.
num FricLev_Ax3;
FricLev_Ax3 Data type: num
Defines the friction compensation factor for axis 3 of the robot. Default is 100.
num FricLev_Ax4;
FricLev_Ax4 Data type: num
Defines the friction compensation factor for axis 4 of the robot. Default is 100.
num FricLev_Ax5;
FricLev_Ax5 Data type: num
Defines the friction compensation factor for axis 5 of the robot. Default is 100.
num FricLev_Ax6;
FricLev_Ax6 Data type: num
Defines the friction compensation factor for axis 6 of the robot. Default is 100.

Structure
< dataobject of fricdata >
< FricLev_Ax1 of num >
< FricLev_Ax2 of num >
< FricLev_Ax3 of num >
< FricLev_Ax4 of num >
< FricLev_Ax5 of num >
< FricLev_Ax6 of num >

3HAC043508-001 Revision: A 129


4 RAPID reference
4.2.9. leaddata

4.2.9. leaddata

Description
Used to define the leadin and leadout path for 2D shape cut instructions. The cutting process
starts on the leadin path and ends on the leadout path. The design of the lead path depends on
the cutting methods and the materials to cut.

Components
Zone Data type: num
Reserved. The zone of entry point on the boundary of the shape. Only support entry point on
the negative y axis direction in this version.
LeadIn Data type: inoutdata
[Type, Distance, Angle, Radius], these parameters define the leadin path. If Type = 0, there
is not lead in path. The limitation is that Distance>=1.0 mm. Angle is between 90 to 170
degreen. Radius is bigger or equal to 1.0 mm.
Unit: [/,mm, degree, mm]

LC006

Overlap Data type: num


The overlap distance between the entry point and the start point of leadout (exit point). Laser
is turned off at the exit point.
Unit: mm

LC007

Continues on next page


130 3HAC043508-001 Revision: A
4 RAPID reference
4.2.9. leaddata

Continued

LeadOut Data type: inoutdata


[Type, Distance, Angle, Radius], these parameters define the leadout path. If Type = 0, there
is no lead out for cutting, instead there is a short path following the boundary of the shape to
keep the move direction and to close the laser on the fly. The limitation is that Distance>=1.0
mm. Angle is between 90 to 170 degreen. Radius is bigger or equal to 1.0 mm.
Unit: [/,mm, degree, mm]

LC008

Examples
leaddata Arc3_r3_o3_Lin3_110:=[0,[2,3,0,3],3,[1,3,110,0]];

LC009

Continues on next page


3HAC043508-001 Revision: A 131
4 RAPID reference
4.2.9. leaddata

Continued

leaddata Arc3_r3_o3:=[0,[2,3,0,3],3,[0,0,0,0]];

LC0010

Structure
< dataobject of leaddata >
< Zone of num >
< LeadIn of inoutdata >
< Overlap of num >
< LeadOut of inoutdata >

< dataobject of inoutdata >


< Type of num >
< Distance of num >
< Angle of num >
< Radius of num >

132 3HAC043508-001 Revision: A


4 RAPID reference
4.2.10. pthpos

4.2.10. pthpos

Description
Used for defining free-form shapes. A customized 2D cut shape can be defined as an array
with each element representing a position and corresponding cut type. The path point array is
stored in the CadShape file which is used in cut instruction CutCad. The CadShape file can
be generated by RobotStudio Cutting PowerPac.

Components
Trans (translation) Data type: pos
The position (x, y and z) of the tool center point expressed in mm. The position is specified
in relation to the cut frame coordinate system. Z-value will be zero for all points in the pthpos
array.
Type Data type: num
The argument Type defines which type of move to perform. CutL=1, CutC=2.

Structure
< dataobject of pthpos >
< Trans of pos >
< Type of num >

3HAC043508-001 Revision: A 133


4 RAPID reference
4.2.11. ShapeOffsetData

4.2.11. ShapeOffsetData

Description
Used to adjust the small deviation of an individual cut shape in production based on the
measurement.
NOTE!
ResetPathMemory is necessary after modifying the ShapeOffsetData,in order to recalculate
the shape path.

Components
Description Data type: string
String to describe the shape.
OffsetX, OffsetY, OffsetZ Data type: num
Offset to adjust the center of the shape in wobj coordinate system.
Unit: mm

X Offset

t
se
Off
Y

Center

X
Of
fse
t

WorkObject coordinate system

LC0011

Continues on next page


134 3HAC043508-001 Revision: A
4 RAPID reference
4.2.11. ShapeOffsetData

Continued

OffsetShapeX, OffsetShapeY Data type: num


Offset to adjust the shape in the local cut frame coordinate system.
Unit: mm

X Offset

Y'

Offset Pos X'


Y Offset
Original Pos X

LC0012

ShapeRotation Data type: num


Rotate the shape in the local cut frame coordinate system.
Unit: degree

LC0013

Continues on next page


3HAC043508-001 Revision: A 135
4 RAPID reference
4.2.11. ShapeOffsetData

Continued

DiameterFineTune Data type: num


Adjusts the diameter of the circle.
Unit: mm

Y DiameterFineTune

D/2

Center D/2 X

LC0014

X_DimensionFineTune, Y_DimensionFineTune Data type: num


Adjusts the X, Y dimension of the shape.
Unit: mm

Y Y_DimensionFineTune

Y/2

Center X/2 X
X_DimensionFineTune

LC0015

Continues on next page


136 3HAC043508-001 Revision: A
4 RAPID reference
4.2.11. ShapeOffsetData

Continued

Structure
< dataobject of ShapeOffsetData >
< Description of string >
< OffsetX of num >
< OffsetY of num >
< OffsetZ of num >
< OffsetShapeX of num >
< OffsetShapeY of num >
< ShapeRotation of num >
< DiameterFineTune of num >
< X_DimensionFineTune of num >
< Y_DimensionFineTune of num >

3HAC043508-001 Revision: A 137


4 RAPID reference
4.2.11. ShapeOffsetData

138 3HAC043508-001 Revision: A


Index

A LeadOut 131
Acceleration 118 LeadParam 65
Advanced 36 LsCutHead 26
Align 55 LsCutParams 11
LsCuttingData 26
B LsPiercingData 26
Blocking 34 LSTableConf 66
LsTableConf 20, 71
C
M
CadShapeName 65
configurations 7 Material 116
configured 9 MinPowerLevel 117
CriticalSpeed 117 Motion 13
CutCircle ToPoint 87 N
cutdata 11
CutDirection 65 Nozzle 116
CutPower 116 num 129
CutProgram 118 O
Cutting 58
Offset 39
D OffsetShapeX 135
Description 134 OffsetX 134
Diameter 71, 76 P
DiameterFineTune 136
PowerLevel 117
E Process 33
EndFly 125 Program 11, 21
Equipment 25 program 9

F R
FeatureId 65 Radius 82
FocalLength 116 S
FocalPoint 116
Settings 29
force 63
shape 28
Frame 31
ShapeRotation 135
FricLev_Ax1 129
Speed 65
Friction 36
stActiveTableName 63
G StartFly 125
Gas 50 T
GasFlow 118
Thickness 116
GasType 118
Tool 66
H ToPoint 65
HC_CharCurve 118 Tuning 35, 59
HC_LockOn 118 X
HC_StandOff 118
X_DimensionFineTune 136
HMI 53
Y
I
Y 82
IndexCutting 124
IndexPiercing 124 Z
instructions 10 Zone 130
Internal 50
K
Kerf 118
L
Laser 10
LaserType 116
LeadIn 130

139
Index

140

You might also like