Creating a new global variable – Rockwell Automation 2098-UWCPRG Ultraware Software User Manual User Manual

Page 205

Advertising
background image

Rockwell Automation Publication 2098-UM001G-EN-P - February 2011

207

Configuring the Ultra5000 Drive Chapter 4

Creating a new Global Variable

To create a new Global Variable, perform these steps.

1. Click the Global Variables branch for an Ultra5000 drive in the Workspace

window.

2. Click Variable in the Insert menu (or place the cursor on the Global

Variables branch and right-click Insert Variable from the pop-up menu).

The New Variable dialog box opens.

3. Enter this information in the New Variable dialog box.

4. Click OK.

Once a Global variable has been created, its name appears in the Workspace
window beneath the Global Variables branch.

Property

Description

Name

Type the variable or array name.

Type

The variable type:
Long Int
Float

Number of Elements

Type an integer, from 1 to 200. The total number of
elements from all global variables cannot exceed
8191.

IMPORTANT

Ultraware software automatically assigns each global variable an
instance number. When viewed online, the read-only field Array Instance
N appears at the top of a global variable’s properties window. This
instance number must be used to access and use a global variable from a
user-created program. The instance number can change when a global
variable is copied or moved to another drive.

Advertising