Edit Program properties

Use the
Program Properties
dialog box to edit the configuration of an existing program.
To edit program properties:
  1. From either the Controller Organizer or Logical Organizer, right-click the program to change and choose
    Properties
    .
  2. In
    Name
    , enter the name of the program.
  3. In
    Description
    , enter a description of the program.
  4. From the
    Class
    list, choose either a
    Standard
    program or a
    Safety
    program.
    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.
  5. Clear the
    Use as Folder
    check 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).
    Parameter
    Description
    Name
    Displays the name of the program whose properties are being viewed.
    Description
    Displays a description of the program whose properties are being viewed.
    parent
    Displays the parent program of this program in the logical model.
    Class
    Indicates whether the program is a Safety program or a standard program. This value applies to Safety applications only.
    Use as Folder
    Indicates whether the item whose properties being viewed is a program folder. This parameter is not applicable for Equipment Phases.
    Schedule In
    Displays the task in which the program is scheduled.
    OK
    Select to apply edits and close the
    Program Properties
    dialog box.
    If online, the changes are sent to the controller.
    Cancel
    Select to cancel edits and close the
    Program Properties
    dialog box.
    Apply
    Select to apply edits and continue editing in the
    Program Properties
    dialog box.
    If online, the changes are sent to the controller.
  6. Select the
    Configuration
    tab to configure additional program properties.
    Parameter
    Description
    Assign Main Routine
    Select the Main routine assigned to this program from the list.
    Assign Fault Routine
    Select the Fault routine assigned to this program from the list.
    Inhibit Program
    Select
    Inhibit Program
    to prevent the controller from executing this program. The check box is cleared by default.
    This check box is not shown if the
    Use as Folder
    check box is selected on the General tab.
    Synchronize Redundancy Data after Execution
    Select
    Synchronize Redundancy Data after Execution
    to synchronize data at the end of the program execution.
    TIP: The
    Synchronize Redundancy Data after Execution
    option 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 the
    Use as Folder
    check box is selected on the
    General
    tab. 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.
    OK
    Select to apply edits and close the
    Program Properties
    dialog box.
    Cancel
    Select to cancel edits and close the
    Program Properties
    dialog box.
    Apply
    Select to apply edits and continue editing in the
    Program Properties
    dialog box.
  7. Select the
    Parameters
    tab to configure parameters to interface with other programs.
    Parameter
    Description
    Name
    Select the row of the program parameter to edit.
    Select LogDesPPDrillIcon to view the members of the program parameter. Some program parameters require cascading more than one level to see all the members.
    Select LogDesPPHomeIcon to collapse the list.
    To create a program parameter, look for the create icon LogDesPPNewIconat the bottom of the grid and enter the name of the program parameter for the
    Name
    parameter.
    Usage
    Select the usage type from the list. Select an
    Input
    ,
    Output
    ,
    InOut
    , or
    Public
    parameter.
    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.
    • Only
      Input
      ,
      Output
      , and
      Public
      parameters 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 the
      Tag Editor
      to create a local tag, or to change the usage type of a tag from
      Input
      ,
      Output
      ,
      InOut
      , or
      Public
      to
      Local
      .
    Sequencing (Equipment Phase only)
    For the
    FactoryTalk Batch
    Server to see the program parameter, select the
    Sequencing
    check box. A sequence can only use
    Input
    and
    Output
    parameters.
    Data Type
    Enter the type of tag to create or select
    Browse
    dots_win7 to navigate to the
    Select Data Type
    dialog box. Choose the appropriate data type.
    Alias For
    Enter the tag to use as an alias tag or select
    Browse
    dots_win7 to access tags using the tag browser. For more information, see
    Using 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 Tag
    The
    Base Tag
    parameter automatically populates. The
    Base Tag
    is the last link in an alias chain. This is the tag that contains the datatype definition.
    Description
    Enter 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 Access
    Select 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.
    Constant
    Select the
    Constant
    check 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.
    Connections
    Use the
    Connections
    column to view one connection associated with the program parameter.
    If multiple connections exits, the connections are shown in the
    {X:Y} Connections
    format.
    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} Connections
    format is shown.
    Connections pane
    To add a new connection to the program parameter, look for the create icon LogDesPPNewIconat the bottom of the
    Connections
    grid. Enter the name of the program parameter or controller scope tag in the
    Name
    parameter. Select
    Browse
    to navigate to the
    Select Tag
    dialog box to choose a tag.
    Icons
    The 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.
    LogDesPPErrorIcon
    • Indicates an error in the content of a row. Fix the error before downloading the project to the controller.
    LogDesPPNewIcon
    • Indicates the ability to create a program parameter or connection in a row.
    OK
    Select to apply edits and close the
    Program Properties
    dialog box.
    Cancel
    Select to cancel edits and close the
    Program Properties
    dialog box.
    Apply
    Select to apply edits and continue editing in the
    Program Properties
    dialog box.
  8. Select the
    Monitor
    tab to view program performance information.
    Parameter
    Description
    Scan Time - Max
    Displays the largest scan time since the last Reset.
    Scan Time - Last
    The time used for this task from the previous scan.
    Reset Max
    Select to reset the scan time values.
    OK
    Select to apply edits and close the
    Program Properties
    dialog box.
    Cancel
    Select to cancel edits and close the
    Program Properties
    dialog box.
    Apply
    Select to apply edits and continue editing in the
    Program Properties
    dialog box.
  9. Select
    OK
    to accept changes and close the Program Properties dialog.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.