Rockwell Automation 20D-DL2-CKS1 Import/Export Project Components User Manual

Page 28

Advertising
background image

Chapter 1 Import and export logic components

Example: using the operation and final connection boxes to establish connections

Parameter in

Imported File

Connection in

Imported File

Operation Value Final Connection box

What happened in this case

\Prog1.InA

\Prog2.OutA

Connect

\Prog2.OutA

This connection exists in both the import content and in the program in the

project, so the connection is the same.

\Prog1.InB

\Prog2.OutB

Connect

\Prog2.OutB

The endpoint parameter does not exist in the target project file.

If you are importing the program offline, the error flag appears. You can

continue the import, but you must resolve the error before you can download
the project to the controller.

If you are importing the program online, the red-x error appears, and you

must resolve the error before continuing the import.
To resolve the error, you can either:
• Set the Operation Value to Disconnect (see Example Row 3 in this table).
• Select an existing parameter in the Final Connection box to reassign the

connection (see Example Row 4 in this table).

\Prog1.InB

\Prog2.OutB

Disconnect

\Prog2.OutB

Example Row 3: Parameter \Prog2.OutB does not exist in the target project, so
you set the Operation Value to Disconnect.

\Prog1.InA

\Prog2.OutA

Connect

\Prog3.OutB

Example Row 4: Parameter \Prog2.OutA does not exist in the target project, so
in the Final Connection box select an existing parameter to reassign the
connection.

\Prog1.InC

none

Connect

\Prog3.OutD

This connection did not exist, so in the Final Connection box select an existing

parameter to create the connection. See

Create a new connection on page 28

for more information on creating connections.

Create a new connection

When you import one program you can create a new connection on the last row of
the Connections grid. The new connection connects a program parameter in the

import content to an endpoint connection in a program that is in the project.

Your new connection did not previously exist in the import content nor in the
project. The New Connection row is not available when you import multiple

programs with existing connections between the programs you are importing.

You can type the parameter name for the new connection or click the down arrow

to make a selection from the tag browser. Because only parameters that are in the
import content are valid for the Parameters box, only the parameters that reside

in the import content are listed in the tag browser. For more information about
the tag browser, see

Using the Tag Browser in the online help.

When both the parameter and final connection have been specified, the
connection is made (added) to the connection grid after you move off the New
Connection
row or after you press Enter. If you enter an invalid parameter or

final connection, the connection is not created and the error indicator displays in

the leftmost column. Hover the cursor over the error indicator to see a description

for the cause of the error.

28

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

Advertising