7 - additonal considerations for tags, Introduction, Export considerations – Rockwell Automation 20D-DL2-CKS1 Import/Export Project Components User Manual

Page 57: Import considerations, Chapter 7, Additional considerations for, Tags, Additional considerations for tags

Advertising
background image

Chapter 7

Additional considerations for tags

This chapter explains import and export of referenced tags.

Tip: Starting with version 24 of Logix Designer application, you can use program parameters to share data between

programs in much the same way that you use controller-scoped tags. Program parameters are imported and
exported in the same way as tags in most instances. For more information on program parameters, see

Logix5000

Controllers Program Parameters Programming Manual

, publication

1756-PM021

.

Tags are not exported to an .l5x file themselves, but they are exported to the .l5x

file as part of a program, equipment phase, or Add-On Instruction export

(program-scoped tags with a program export, equipment phase-scoped tags with

an equipment phase export, and parameters and local tags with an Add-On

Instruction export).

Tags may also be exported to an .l5x file as references from another component

being exported (controller-scoped tag references with a program or equipment

phase export or program-scoped and controller-scoped tag references with a rung

or routine export). The definitions for the referenced tags are exported to the .l5x

file by default if they exist in the project.

When exporting logic, especially if it is intended for general use, be aware that

logic that references a bit member of a tag or member of a user-defined data type

tag cannot be replaced during import to reference another bit or user-defined data

type member. If you expect to connect the logic reference to another bit or

member of a tag, consider editing the logic before export so the reference is to a full

tag name (and alias if need be) so that the reference can be connected to the

desired tag on import.

When you import a program, the program-scoped tags are imported with the

program automatically (the same as they are for equipment phase). When you

import an Add-On Instruction, the parameters and local tags are imported with

the Add-On Instruction automatically.

During program or equipment phase imports, referenced controller-scoped tags

may also be imported. For routine and rung imports, referenced tags may be

imported as well. You configure how referenced tags are imported during import

configuration. By default, referenced tags that collide with project components are

not imported.

Keep the following considerations in mind when importing tags.

Introduction

Export considerations

Import considerations

Rockwell Automation Publication 1756-PM019E-EN-E - October 2014

57

Advertising