Page 2
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired. In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.
Page 3
This table contains a list of topics changed in this version, the reason for the change, and a link to the topic that contains the changed information. Topic Name Reason Cover Added 5069 CompactGuardLogix to the list of supported controllers. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Program parameter connection rules ................33 Standard program to standard program connection rules ......... 33 Safety program to safety program connection rules ..........34 Safety program to standard program connection rules ........35 Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 6
Table of contents Chapter 2 Directly accessing program Introduction ........................37 Direct access ........................37 parameters Behavior of direct access in logic ................37 Access program parameters when editing ladder logic........38 Index Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Logix 5000™ controllers for discrete, process, batch, motion, safety, and drive-based solutions. The Studio 5000® environment is the foundation for the future of Rockwell Automation® engineering design tools and capabilities. The Studio 5000 environment is the one place for design engineers to develop all elements of their control system.
You can view or download publications at http://www.rockwellautomation.com/literature. To order paper copies of technical documentation, contact your local Rockwell Automation distributor or sales representative. Important terminology This table defines the terms that are important to understanding the concepts described in this manual.
Page 10
VersaView, WINtelligent, XM, SequenceManager are trademarks of Rockwell Automation, Inc. Any Rockwell Automation logo, software or hardware product not mentioned herein is also a trademark, registered or otherwise, of Rockwell Automation, Inc. Other Trademarks CmFAS Assistant, CmDongle, CodeMeter, CodeMeter Control Center, and WIBU are trademarks of WIBU-SYSTEMS AG in the United States and/or other countries.
Page 11
This document is current as of the time of release of the product; however, the accompanying software may have changed since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this document or the software at any time without prior notice.
Output parameters also automatically buffer data, so that you do not need to create separate tags to buffer IO data (although if desired, you can still buffer data using the Synchronous Copy File [CPS] instruction). Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
You can use any of the following methods to connect program parameters in the Logix Designer application. methods • Connections column on the Program Parameters and Local Tags dialog Tip: To show the Connections column click View > Toggle Columns > Connections. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 15
Connecting program parameters Chapter 1 • Ellipses button (...) in the Connections cell on the Program Parameters and Local Tags dialog box Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 16
Chapter 1 Connecting program parameters • Properties pane on the Program Parameters and Local Tags dialog box • Parameters tab on the Program Properties dialog box Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
The syntax {x:y} is used to connect program parameters where: syntax x = the number of full connections, meaning connections at the word or user-defined type level y = the number of partial connections, meaning connections at the bit or member level Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Output parameter to a controller scope tag or Public parameter or any other predefined or user-defined data type may be interrupted by a task switch. For more information on the Input parameter connections that can be made, see Program parameter connection rules page Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
1. In the Controller Organizer, expand the folder for the program for which you are connecting an Input parameter, and double-click Parameters and Local Tags. 2. On the Program Parameters and Local Tags dialog box, choose the Input parameter that you want to connect. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 20
Connecting program parameters 3. On the right, in the Properties pane, expand Parameter Connections. 4. Click New Connection. 5. Click the Browse (...) button. 6. In the Tag box, choose the drop-down arrow. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Tip: If using direct access another program can be a source for an Output parameter. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
That is, when an InOut parameter is used in logic, the current value of the parameter connected to the InOut parameter is used. For more information on the Output parameter connections that can be made, see Program parameter connection rules page Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
2. On the Program Properties dialog box, click the Parameters tab. 3. In the Name box, click the name of the Output parameter for which you want to add a connection. 4. In the Connections area, click New Connection. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
1. In the Controller Organizer, expand the folder for the program for which you are creating an Output parameter connection, and double-click Parameters and Local Tags. 2. On the Program Parameters and Local Tags dialog box, choose the Output parameter that you want to connect. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 25
Connecting program parameters Chapter 1 3. On the right, in the Properties pane, expand Parameter Connections. 4. Click New Connection. 5. Click the Browse (...) button. 6. In the Tag box, choose the drop-down arrow. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Another useful scenario for InOut parameters is for instructions whose tags can only be placed at the controller scope, such as the Message (MSG) instruction. InOut parameters can connect directly to the MSG instruction tags in the controller scope. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
1. In the Controller Organizer, expand the folder for the program for which you are creating an InOut parameter connection, and double-click Parameters and Local Tags. 2. On the Program Parameters and Local Tags dialog box, choose the InOut parameter that you want to connect. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 28
6. (optional) On the Tag Browser, clear all but the Show controller tags check box to limit the number of available parameters that appear in the list. 7. In the list of available parameters, double-click the desired parameter. 8. Click OK. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
The Public parameter contains the real-time value of the controller scope tag. For more information on the Public parameter connections that can be made, see Program parameter connection rules page Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
2. On the Program Parameters and Local Tags dialog box, click the Edit Tags tab. 3. Locate the tag you want to change to a Public parameter, and in the Usage box, choose Public Parameter. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 31
7. On the Tag Browser, in the Show parameters from other program list, choose the program to which you want to connect this Public parameter. 8. In the list of available parameters, double-click the desired parameter. 9. Click OK. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Safety Output parameters cannot connect to a standard class InOut parameter. • Safety local tags can alias safety class controller scope tags. • Safety Public parameters can alias safety class controller scope tags. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
An Input parameter from Program_A can connect to an Output parameter of Program_A (wrap around). • Parameters of the same type cannot be connected together. • Public tags can only bind to controller scope tags using an alias. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
An Input parameter from Program_A can connect to an Output parameter of Program_A (wrap around). • Safety mapping must be used to connect standard class tags to safety class tags/parameters. • Standard class tags cannot alias safety class tags. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
An Input parameter from Program_A can connect to an Output parameter of Program_A (wrap around). • Safety mapping must be used to connect standard class tags to safety class tags/parameters. • Standard class tags cannot alias safety class tags. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 37
Using direct access of Input parameters is a good way to circumvent the one connection limit of Input parameters. If you create an Input parameter but do not configure any connections for that Input parameter, you can directly reference it from multiple programs. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 38
3. Double-click the existing tag name (it appears as ? if currently unassigned), and choose the drop-down arrow. 4. (optional) On the Tag Browser, clear or select the check boxes to focus the list of available parameters that appear to what you need. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 39
Chapter 2 5. In the Show parameters from other program list, choose the program to which you want to connect this instruction. 6. In the list of available parameters, double-click the desired parameter. Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 41
Output parameter connect to a controller scope tag 22 connect to another program 23 connection types and uses 21 general connection rules 22 overview 21 passed by reference 8 passed by value 8 Rockwell Automation Publication 1756-PM021C-EN-P - February 2018...
Page 42
Automation representative. New product satisfaction return Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures.