5.4.2 Creating new data instance
Creating new data instance
This section details how to create new data instances of data types.
1
2
3
4
5
6
7
8
9
Operating manual - IRC5 with FlexPendant
3HAC050941-001 Revision: G
Action
On the ABB menu, tap Program Data.
A list of all available data types is displayed.
Tap the data instance type to be created, i.e. bool and then tap Show data.
A list of all instances of the data type is displayed.
Tap New.
en0400000663
Tap ... the right of Name to define the data instance's name.Name
Tap the Scope menu to set accessibility for the data instance. Select:
•
Global - reachable by all tasks
•
Local - reachable within the module
•
Task - reachable within the task
Tap the Storage type menu to select type of memory used for the data instance. Select:
•
Persistent if the data instance is persistent
•
Variable if the data instance is variable
•
Constant if the data instance is constant
Tap the Module menu to select module.
Tap the Routine menu to select routine.
If you want to create an array of data instances, then tap the Dimensions menu and
select the number of dimensions in the array, 1-3.
•
1
•
2
•
3
•
None
Then tap ... to set the Size of the array's axes.
© Copyright 2018 ABB. All rights reserved.
5 Programming and testing
5.4.2 Creating new data instance
Continues on next page
169