7.8.2 Checking tag consistency

When using Siemens AG, with system variables you can check if the tags you are importing into a project file in the display unit are the same as the tags in device/PLC.

You can check tag consistency while the display unit is operating.

The check result is saved in a CSV file.

Operation Procedure for Checking Tag Consistency

To check consistency, please follow these steps. For more information about system variables, please see the following.

  1. Using the #H_TagConsistencyConfig, enter the consistency check settings, including the tag range and the location where the result is saved.
    Please use the following table for reference:

    Bit

    Value

    Description

    0

    1

    Location of check results: USB storage

    4

    1

    Setting for check results if file already exists: Do not overwrite

    8...9

    00

    Date format for saved check results: yy/mm/dd

    16...17

    00

    Items for consistency check: All tags imported into project file

    24...27

    0000

    Language for check results: English

    Other than those above

    0

    Reserved

  2. Turn on the #H_TagConsistencyTrigger. The consistency check begins.

  3. When the consistency check is complete, the bit 1 in the #H_TagConsistencyStatus turns ON. Review the check result, and turn off the #H_TagConsistencyTrigger.

Saving Check Result

When you check tag consistencies, a folder called "CONSISTENCY" is created in the location which is specified by the bit 0 of the system variable #H_TagConsistencyConfig, and the check result is saved using the following folder structure.

Name

Type

Description

Date

Folder

The system creates a new folder for each day you run the consistency check. The folder name is determined according to the data format specified in the bit 8 and 9 of the #H_TagConsistencyConfig.

Series Name

Folder

The system creates a folder with the name of the device/PLC's series you have checked.

Device Name

File

The system creates a folder with the name of the device/PLC you have checked.

 

Formatting Check Result

After the tag consistency check, the check result is saved in a CSV file. The image below shows how the data appears when opened in Microsoft Excel.

Header Information

Date: The date when the file is saved (according to the data format specified in bits 8 and 9 of #H_TagConsistencyConfig.)

Time: The time when the file is saved.

Series: The name of the series for which you performed the consistency check.

Plc: The name of the external device for which you performed the consistency check.

 

Data

No.: The error number.

Error code: The error code.

Tag name: The name of the tag where the error occurred.

Error message: Message for the error that occurred.

 

For details about error codes and error messages, please refer to display-related errors.
T.7.1 Settings common to all Display models

For details about error codes and error messages, specific to the device/PLC, please refer to "Error Messages" in the GP-Pro EX Device/PLC Connection Manual.