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
RAPID 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.
•
Storage type
: Set the type of memory used for the data instance from
the following options:
-
Persistent
to retain the data between sessions.
-
Variable
if the data instance is variable.
-
Constant
if the data instance is constant.
Continues on next page
112
Operating manual - OmniCore
3HAC065036-001 Revision: E
© Copyright 20192020 ABB. All rights reserved.
6 Programming and testing
6.5.2 Creating new data instance
Содержание OmniCore S Series
Страница 1: ...ROBOTICS Operating manual OmniCore ...
Страница 2: ...Trace back information Workspace RW 7 1 version a5 Checked in 2020 10 25 Skribenta version 5 3 075 ...
Страница 8: ...This page is intentionally left blank ...
Страница 22: ...This page is intentionally left blank ...
Страница 54: ...This page is intentionally left blank ...
Страница 60: ...This page is intentionally left blank ...
Страница 64: ...This page is intentionally left blank ...
Страница 208: ...This page is intentionally left blank ...
Страница 234: ......
Страница 235: ......