EasyManuals Logo

ABB SmarTac User Manual

ABB SmarTac
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #102 background imageLoading...
Page #102 background image
6.3 The module OFrame
About OFrame
Exercise 5 uses a program module called OFrame.
The module is included on a disk with the delivery. Its purpose is to speed up the
training process, whether it be an ABB training course or end-users training
themselves. If the disk is not present, use this printout to assist in writing the code.
Note
Generic robtargets have been reduced to "*" to save space.
Code for OFrame
! Example Module
MODULE OFrame
PERS wobjdata obREF:=[FALSE,TRUE,"",[[0,0,0], [1,0,0,0]],
[[0,0,0], [1,0,0,0]]];
PERS wobjdata obNEW:=[FALSE,TRUE,"",[[0,0,0], [1,0,0,0]],
[[0,0,0], [1,0,0,0]]];
PERS robtarget p1:=*;
PERS robtarget p2:=*;
PERS robtarget p3:=*;
PERS pose pe1a:=[[0,0,0],[1,0,0,0]];
PERS pose pe1b:=[[0,0,0],[1,0,0,0]];
PERS pose pe2a:=[[0,0,0],[1,0,0,0]];
PERS pose pe3a:=[[0,0,0],[1,0,0,0]];
PERS pose pe1:=[[0,0,0],[1,0,0,0]];
PERS pose pe2:=[[0,0,0],[1,0,0,0]];
PERS pose pe3:=[[0,0,0],[1,0,0,0]];
PROC NewPoints()
PDispOff;
MoveJ RelTool(p1,0,0,-100), v200, fine, tWeldGun\WObj:= obREF;
MoveL RelTool(p1,0,0,-50), v200, fine, tWeldGun\WObj:= obNEW;
MoveL p1, v200, fine, tWeldGun\WObj:= obNEW;
Stop;
MoveL RelTool(p2,0,0,-50), v200, fine, tWeldGun\WObj:= obNEW;
MoveL p2, v200, fine, tWeldGun\WObj:= obNEW;
Stop;
MoveL RelTool(p3,0,0,-50), v200, fine, tWeldGun\WObj:=obNEW;
MoveL p3, v200, fine, tWeldGun\WObj:= obNEW;
Stop;
MoveL RelTool(p3,0,0,-50), v200, fine, tWeldGun\WObj:= obNEW;
MoveJ RelTool(p3,0,0,-100), v200, fine, tWeldGun\WObj:= obREF;
ENDPROC
PROC WeldSample()
MoveJ *, v200, fine, tWeldGun\WObj:=obNEW;
! Simulated weld:
Continues on next page
102 Application manual - SmarTac
3HAC024845-001 Revision: A
© Copyright 2004-2016 ABB. All rights reserved.
6 RAPID reference
6.3 The module OFrame

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ABB SmarTac and is the answer not in the manual?

ABB SmarTac Specifications

General IconGeneral
BrandABB
ModelSmarTac
CategoryAccessories
LanguageEnglish

Related product manuals