6.5.2 Creating new data instance
Creating new data instance
This section details how to create new data instances of data types.
1 On the start screen, tap
Code
, and then select
Program Data
from the menu.
The
Data Types
dialog is displayed.
Tip
Define what data to be displayed by selecting either
Only used types
or
All data types
.
2 Tap the data instance type to be created, for example,
bool
.
3 Tap the context menu, and select
Create New Data
.
The
Create New Data
dialog is displayed.
4 In the
Declaration
tab, complete the following fields for the new data type:
xx1900000351
•
Name
: Type a new name.
•
Scope
: Set the accessibility for the data instance from the following
options:
-
Global
- reachable by all the tasks.
-
Local
- reachable within the module.
-
Task
- reachable within the task.
Continues on next page
130
Operating manual - OmniCore
3HAC065036-001 Revision: J
© Copyright 2019-2021 ABB. All rights reserved.
6 Programming and testing
6.5.2 Creating new data instance
Summary of Contents for OmniCore
Page 1: ...ROBOTICS Operating manual OmniCore ...
Page 8: ...This page is intentionally left blank ...
Page 24: ...This page is intentionally left blank ...
Page 62: ...This page is intentionally left blank ...
Page 72: ...This page is intentionally left blank ...
Page 98: ...This page is intentionally left blank ...
Page 234: ...This page is intentionally left blank ...
Page 242: ...This page is intentionally left blank ...
Page 264: ......
Page 265: ......