Edit Program properties
Use the
Program Properties
dialog box to edit the configuration of an existing program.To edit program properties:
- From either the Controller Organizer or Logical Organizer, right-click the program to change and chooseProperties.
- InName, enter the name of the program.
- InDescription, enter a description of the program.
- From theClasslist, choose either aStandardprogram or aSafetyprogram.TIP:This field appears only for Safety controllers, and is enabled only if the program is unscheduled. If the program is scheduled in the Safety task, the Class is set to Safety; otherwise, it is set to Standard.
- Clear theUse as Foldercheck box for a folder to change the selected folder into a program. This field is disabled for programs (cannot change a program into a folder).ParameterDescriptionNameDisplays the name of the program whose properties are being viewed.DescriptionDisplays a description of the program whose properties are being viewed.parentDisplays the parent program of this program in the logical model.ClassIndicates whether the program is a Safety program or a standard program. This value applies to Safety applications only.Use as FolderIndicates whether the item whose properties being viewed is a program folder. This parameter is not applicable for Equipment Phases.Schedule InDisplays the task in which the program is scheduled.OKSelect to apply edits and close theProgram Propertiesdialog box.If online, the changes are sent to the controller.CancelSelect to cancel edits and close theProgram Propertiesdialog box.ApplySelect to apply edits and continue editing in theProgram Propertiesdialog box.If online, the changes are sent to the controller.
- Select theConfigurationtab to configure additional program properties.ParameterDescriptionAssign Main RoutineSelect the Main routine assigned to this program from the list.Assign Fault RoutineSelect the Fault routine assigned to this program from the list.Inhibit ProgramSelectInhibit Programto prevent the controller from executing this program. The check box is cleared by default.This check box is not shown if theUse as Foldercheck box is selected on the General tab.Synchronize Redundancy Data after ExecutionSelectSynchronize Redundancy Data after Executionto synchronize data at the end of the program execution.TIP: TheSynchronize Redundancy Data after Executionoption only applies to standard controllers; it does not apply to Safety controllers.This check box is not shown for non-Redundancy catalog numbers or if theUse as Foldercheck box is selected on theGeneraltab. The check box is always enabled for controllers with Redundancy enabled as long as the controller is not in Hard Run mode. The check box appears dimmed when Redundancy is not enabled.OKSelect to apply edits and close theProgram Propertiesdialog box.CancelSelect to cancel edits and close theProgram Propertiesdialog box.ApplySelect to apply edits and continue editing in theProgram Propertiesdialog box.
- Select theParameterstab to configure parameters to interface with other programs.ParameterDescriptionNameSelect the row of the program parameter to edit.Select to view the members of the program parameter. Some program parameters require cascading more than one level to see all the members.Select to collapse the list.To create a program parameter, look for the create icon at the bottom of the grid and enter the name of the program parameter for theNameparameter.UsageSelect the usage type from the list. Select anInput,Output,InOut, orPublicparameter.Specific conditions exist for the usage value when online with the controller.
- If the usage value is set to Public, cannot change the usage to another value.
- Cannot change the usage of a parameter of another program or one that is aliased by a local tag of another program.
Use this column to switch to another valid usage type.- OnlyInput,Output, andPublicparameters are referenced by a parameter of another program.
- Only a Local tag can be an alias tag for an Input, Output, or Public parameter of another program. Use theTag Editorto create a local tag, or to change the usage type of a tag fromInput,Output,InOut, orPublictoLocal.
Sequencing (Equipment Phase only)For theFactoryTalk BatchServer to see the program parameter, select theSequencingcheck box. A sequence can only useInputandOutputparameters.Data TypeEnter the type of tag to create or selectBrowseto navigate to theSelect Data Typedialog box. Choose the appropriate data type.Alias ForEnter the tag to use as an alias tag or selectBrowseto access tags using the tag browser. For more information, seeUsing the Tag Browser.Optionally, use this field to alias a parameter of another program. Select the down arrow to select tags using the tag browser.Base TagTheBase Tagparameter automatically populates. TheBase Tagis the last link in an alias chain. This is the tag that contains the datatype definition.DescriptionEnter a description for the program parameter.If a description for a particular item is not provided, the description of the next highest item in the tag hierarchy appears in this column. This is called a pass-through description. These descriptions appear according to these rules.- If a description for the selected item is supplied, this description appears in this column.
- If a description is not supplied, and the item is an alias, the description of the base tag (if available) appears in this column.
- If a description is not supplied and the item is a tag identifier of a structure, the corresponding member description of the structure’s data type appears in this column.
- If a description is not supplied and no other descriptions is found in the hierarchy, the description of the item’s data type appears in this column.
If a description for the item is not provided, then the description appears dimmed in this column, indicating that the description originates from another item.Can only edit explicit descriptions (that is, those items that do not appear dimmed.)External AccessSelect whether the tag has Read/Write, Read Only, or no access (None) from external applications such as HMIs.Cannot edit the external access if an alias tag is selected.ConstantSelect theConstantcheck box to prevent executing logic from writing values to the associated program parameter. If a logic routine tries to write to a constant tag, the routine does not verify.ConnectionsUse theConnectionscolumn to view one connection associated with the program parameter.If multiple connections exits, the connections are shown in the{X:Y} Connectionsformat.For example, for{2:3} Connections, the 2 represents the number of connections to the tag member; 3 represents the total number of connection to all of the sub-members of the tag member.When selecting a row that has connections, the connections show in the Connections grid in the bottom part of the Parameters tab. If a connection has multiple connections, the{X:Y} Connectionsformat is shown.Connections paneTo add a new connection to the program parameter, look for the create icon at the bottom of theConnectionsgrid. Enter the name of the program parameter or controller scope tag in theNameparameter. SelectBrowseto navigate to theSelect Tagdialog box to choose a tag.IconsThe leftmost part of the grid indicates the condition of the program parameter or connection:*- Indicates changed content a row and the change is not yet saved. An asterisk appears on the Parameters tab of the properties dialog box when content within the Parameters tab changed.
- Indicates an error in the content of a row. Fix the error before downloading the project to the controller.
- Indicates the ability to create a program parameter or connection in a row.
OKSelect to apply edits and close theProgram Propertiesdialog box.CancelSelect to cancel edits and close theProgram Propertiesdialog box.ApplySelect to apply edits and continue editing in theProgram Propertiesdialog box. - Select theMonitortab to view program performance information.ParameterDescriptionScan Time - MaxDisplays the largest scan time since the last Reset.Scan Time - LastThe time used for this task from the previous scan.Reset MaxSelect to reset the scan time values.OKSelect to apply edits and close theProgram Propertiesdialog box.CancelSelect to cancel edits and close theProgram Propertiesdialog box.ApplySelect to apply edits and continue editing in theProgram Propertiesdialog box.
- SelectOKto accept changes and close the Program Properties dialog.
Provide Feedback