Data Dictionary
The Data Dictionary support supplied with the Tsentry system is a collection of functions and programs that provide easy access to all of the global variables defined in the system. It is included in all versions of Tsentry and is used internally for basic functionality as system startup, shutdown, and ProbeX and TrendX displays.
Access to a variable is provided by the fully qualified variable name; that is the variable name as it might be used in a ‘C’ program. This variable name may be used by data dictionary functions to access and update the variable value. Additionally, the variable may have a user defined minimum, maximum, and initial values defined as well as a text description. These values are also accessible through data dictionary functions calls.
The HMI included in Tsentry is provided with components that directly reference data dictionary functionality. Components display text values and graphical objects that change size, shape, and color based on variable values reference global common variables through the data dictionary functionality.
Global variables are initialized using the contents of data dictionary control and data files whenever the application system is restarted. On system shutdown, these same variables are saved on files for restoration on the next system restart.
The Data Dictionary is normally built as a standard part of the application build procedure.
References in the files in the remainder of this chapter to ‘Loc’ indicate where you would substitute an abbreviation of your location. ‘Sys’ refers to places where you would substitute an abbreviation of your system.
Data Dictionary Form
File Format
© 2022 TelePro, Inc.
3811 Illinois Avenue, Suite 100, St. Charles, IL 60174