Skip to content

Configuring the comparison for Emerson PAC Machine Edition

The comparison configuration for Emerson PAC Machine edition allows you to define the scope of the comparison. You can exclude program blocks from the comparison or limit the comparison to individual program blocks. The same applies to the initial values and force values variables.

  1. Open the Comparison configuration dialog.

    Figure: Comparison configuration dialog

  2. If there are several projects in a component, select the corresponding project from the dropdown menu.

  3. If the Emerson PAC Machine Edition project is set as Shared Project in the editor, select the Shared Project checkbox.

    To include or exclude a Program Block from a comparison, proceed as follows:

    1. Use the radio buttons at the top of the Program Blocks section to choose whether to exclude specific program blocks from the comparison or to restrict the comparison to selected blocks only. The column names in the table below will update based on your selection.
    2. Select the Add button to add one or more new rows.
    3. In the table columns, specify which program blocks you want to exclude from the comparison:

      • Excluded or Included Program Blocks: Specify the name of the program block to include or exclude from the comparison.
      • Check existence: Indicate whether the system should verify the presence of the specified program block in the component.
      • Excluded or Included Rungs: Specify the rungs within the program block to include or exclude. You can list multiple rungs using commas (e.g., 1, 3, 5), define a range using a hyphen (e.g., 5–8), or combine both formats (e.g., 1, 5–8, 14).
    4. To add new program blocks, select the Import button. A text field will appear where you can paste a list of program blocks, each on a separate line.

    Info

    You can use the placeholders (?/) in all columns. To remove a program block from the list, use the Delete* button.

    To exclude Initial values or Force values variables from the comparison or restrict the comparison to them, proceed as follows:

    1. Use the checkboxes in the respective column to select whether you want to exclude certain variables from the comparison or restrict the comparison to individual variables.
    2. In the text field of the respective column, add all variables whose initial values you want to exclude from the comparison or whose initial values you want to restrict the comparison to.

      Info

      You can use placeholders (?/*) when specifying the values.

  4. Select OK to confirm.

The settings you define here will be applied to all comparisons: backup against version, version against version, and backup against backup.

Displaying descriptions below the variables

A comparison of Emerson PAC Machine Edition projects is initiated using the Emerson PAC Machine Edition editor.

To display text descriptions below the variables for the comparison:

  1. Go to the Comparison dialog in the UserClient.
  2. Select the Comparator specific settings button.
  3. Select the Display description of variables checkbox.
  4. Select OK to confirm.