Creating A Work Object - ABB OmniCore Operating Manual

Hide thumbs Also See for OmniCore:
Table of Contents

Advertisement

6.6.2 Creating a work object

What happens when I create a work object?
A variable of the type wobjdata is created. The variable's name will be the name
of the work object. For more information on data types, see Technical reference
manual - RAPID Instructions, Functions and Data types.
This is detailed in section
Creating a work object
The work object's coordinate system is now identical with the world coordinate
system.
To define the position and orientation of the work object's coordinate system, see
Work object declaration settings on page
Work object declaration settings
If you want to change...
the work object's name
the scope
the storage type
the task
the module
Operating manual - OmniCore
3HAC065036-001 Revision: D
1 On the start screen, tap Calibrate, and then select Workobject from the
menu.
2 Tap Create New Data in the menu to the right.
The Create Workobject window is displayed.
3 Select the declaration and value parameters and tap Apply.
The work object is created.
© Copyright 20192020 ABB. All rights reserved.
6 Programming and testing
What is a work object? on page
123.
then...
enter a name in Name
select the scope of choice
from the menu
-
select the preferred task from
the menu
select the module in which
this work object should be
declared from the menu
6.6.2 Creating a work object
122.
Recommendation
Work objects are automatic-
ally named wobj followed by
a running number, for ex-
ample wobj10, wobj27.
You should change this to
something more descriptive.
If you change the name of a
work object after it is refer-
enced in any program you
must also change all occur-
rences of that work object.
Work objects should always
be global to be available to all
modules in the program.
Work object variables must
always be persistent.
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents