beautypg.com

Rockwell Automation Logix5000 Logix5000 Controllers Quick Start User Manual

Page 39

background image

Publication 1756-QS001E-EN-P - October 2009

39

Organize a Project Chapter 2

If you have multiple machines, stations, or processes that use identical logic but different data, create a
program for each machine, station, or process.

• You can re-use both code and tag names in the programs.

• There is no need to manage conflicting tag names between the programs.

1. Right-click MainTask and choose New Program.

2. Type a name for the program and click OK.

Certain tags must be controller scope.

TIP

Names follow these conventions:

• Only letters, numbers, and underscores (_)
• Must start with a letter or an underscore
• ≤ 40 characters
• No consecutive or trailing underscores
• Not case-sensitive

If you want to use a tag

Use this scope

In more than one program in the project

Controller Tags

In a Message (MSG) instruction

To produce or consume data

To communicate with a PanelView terminal

In a single program only

Program Tags for the program

This manual is related to the following products: