Add a connection to a program parameter
Add a connection to a program parameter to pass data between elements.
Add parameter connections in offline projects.
TIP:
You cannot add parameter connections in online
projects.
Prerequisites
- Create a program.
- Add a parameter.
TIP:
- Connect parameters with matching data types only.
- Connect library program parameters only to other library program parameters.
- An output parameter can have multiple parameter connections.
- Connect two parameters within the same controller.
- Connections can also be added in thePropertiespane:System
, Execution
, or Library
>View tags and parameters
>Properties>Connections.
- To add a connection
- In the explorer bar, selectSystem
, Execution
, or Library
. - Select the element to add connections to. Do one of the following:
- InSystem, select a program within a Smart Object.
- InExecution, select a program within a controller application.
- InLibrary, select a program within a Smart Object.
- In the explorer title bar, selectView tags and parameters
or right-click the element and select Tags and parameters. - In theTag Editor, locate the desired parameter andConnectionscolumn.
- InConnections, do one of the following:
- To add one connection if you know the exact spelling of the object, program, and parameter names:
- Do one of the following. To connect a:
- FactoryTalk Smart ObjectinSystem, enter the name with the format Area.SmartObject.Program.Parameter.
- program that is in a controller application and not associated with aFactoryTalk Smart ObjectinExecution, enter the name in the format ControllerApplicationName.Program.Parameter.
- FactoryTalk Smart ObjectinLibrary, enter the name with the format SmartObject.Program.Parameter.
Matching names appear. - Select the desired name.
- To add one connection if you do not know the exact spelling of the object, program, and parameter names:
- SelectData Item Browser
.TheData Item Browserdisplays available parameter names. - Select the desired name.
- SelectClose
- To add more than one connection:
- SelectBrowse
. - InConnection Configuration, navigate to the first empty row.
- Do one of the following:
- If you know the exact spelling of the object, program, and parameter names, to connect a:
- FactoryTalk Smart ObjectinSystem, enter the name with the format Area.SmartObject.Program.Parameter.
- program that is in a controller application and not associated with aFactoryTalk Smart ObjectinExecution, enter the name in the format ControllerApplicationName.Program.Parameter.
- FactoryTalk Smart ObjectinLibrary, enter the name with the format SmartObject.Program.Parameter.
Matching names appear. - If you do not know the exact spelling of the object, program, and parameter names:
- SelectData Item Browser
.TheData Item Browserdisplays available parameter names.
- Select the desired name.
- (optional) Repeat to add another connection.
- SelectClose.
Provide Feedback