Mvi69e-ldm development tools, Cip api architecture – ProSoft Technology MVI69E-LDM User Manual

Page 40

Advertising
background image

Contents

MVI69E-LDM ♦ "C" Programmable

Developer's Manual

Linux Application Development Module

Page 40 of 130

ProSoft Technology, Inc.

August 21, 2014

Controller Tags have global scope. To access a controller scope tag, you only need to
specify the tag controller name. For example:

TagName

Single tag

Array[11]

Single dimensioned array element

Array[1,3]

Two dimensional array element

Array[1, 2, 3]

Three dimensional array element

Structure.Element

Structure element

StructureArray[1].Element

Single element of an array of structures

Program Tags are tags declared in a program and scoped only within the program in which
they are declared. To correctly address a Program Tag, you must specify the identifier
"PROGRAM:" followed by the program name. A dot (.) separates the program name and the
tag name.

PROGRAM:ProgramName.TagName

PROGRAM:MainProgram.TagName

Tag "TagName in program called "MainProgram"

PROGRAM:MainProgram.Array[11]

An array element in program "MainProgram"

PROGRAM:MainProgram.Structure.Element A Structure Element in program "MainProgram"

Rules
 A tag name can contain up to 40 characters.
 A tag name must start with a letter or underscore ("_"). All other characters can be

letters, numbers or underscores.

 Names cannot contain two contiguous underscore characters and cannot end in with an

underscore.

 Letter case is not significant.
 The naming conventions are based on the IEC-1131 Rules for Identifiers.
For additional information on CompactLogix CPU tag addressing, please refer to the
CompactLogix User Manual.

3.2

MVI69E-LDM Development Tools

An application that is developed for the MVI69E-LDM module must be executed from the
module’s Flash ROM disk. Tools are provided with the API to build the disk image and
download it to the module’s Config/Debug port. See Building a Project (page 34).

Advertising