beautypg.com

Mvi56e-ldm development tools – ProSoft Technology MVI56E-LDM User Manual

Page 41

background image

ControlLogix Platform ♦ "C" Programmable

Understanding the MVI56-LDM API

Linux Application Development Module

Developer's Manual

ProSoft Technology, Inc.

Page 35 of 264

March 12, 2014

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 (.)
is used to separate 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 considered significant

The naming conventions are based on the IEC-1131 Rules for Identifiers.

For additional information on ControlLogix CPU tag addressing, please refer to
the ControlLogix User Manual.

4.2

MVI56E-LDM Development Tools

An application that is developed for the MVI56E-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.