Verifier.VerifyCertificate (METH) ¶ METHOD VerifyCertificate : UDINT InOut: Scope Name Type Return VerifyCertificate UDINT Input hCert RTS_IEC_HANDLE eCurState RTS_IEC_RESULT
Functions ¶ CertCreate (Function) CertRemove (Function) CheckThumbString (Function) ConvThumbToBytes (Function) ConvThumbToString (Function) EnumUnitTest (Enum) GetCertHandle (Function) GetCertRenewTime (Function) GetCurrentUtcOffset (Function) GetUnitTestStatus (Function) IsTimeExpired (Function) LogManager (Function) UTC_TO_DT (Function) WriteCfgThumb (Function)
TicketsSafe.RefreshForExpired (METH) ¶ METHOD RefreshForExpired Refresh the use time
ETrendStorageReaderStep (ENUM) ¶ TYPE ETrendStorageReaderStep : This enumeration is used to identify a singe step, that is done when accessing the trend storage. Normally it is used in conjunction with error processing, when values of this enum are used to identify the currently processed step, where an error occurred. Attributes: qualified_only InOut: Name Comment Undefined Initial value resp. indicating the absence of a value ReadingVariableConfiguration Reading the variable configuration from table TblTrendConfiguration
ErrorHandlingConstants (GVL) ¶ This GVL contains constants used in conjunction with the error handling Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant NO_ERROR INT 0 Indicates, that no error occurred METHOD_BEGIN_TRANSACTION INT 110 The method or function, where the error occurred METHOD_END_TRANSACTION INT 111 METHOD_WRITE_TEMPORARY_BUFFER_TO_STORAGE INT 112 METHOD_WRITE_TO_TBL_TREND_CONFIGURATION INT 113 METHOD_WRITE_TO_TBL_TREND_CONFIGURATION_DURATION INT 114 METHOD_NEXT_TIMESTAMP_REACHED INT 115 METHOD_PROCESS_VARIABLE_FOR_TIMESTAMP INT 116 METHOD_PRV_INSERT_OR_UPDATE_ROW INT 117 METHOD_WRITE_TO_TBL_META_DATA INT 118 METHOD_PRV_INITIALIZE INT 119 METHOD_STORE_TRACE_CONFIGURATION INT 120 METHOD_PRV_DELETE_OLDEST_RECORDS INT 121 METHOD_TBL_TREND_CONFIGURATION_DURATION_FIND_TIMESTAMPS INT 122 METHOD_TBL_TREND_CONFIGURATION_DURATION_GET_TIMESTAMPS INT 123 METHOD_TBL_TREND_CONFIGURATION_DURATION_GET_ABS_PACKET_START_TIME INT 124 METHOD_TBL_TREND_CONFIGURATION_DURATION_OPEN_CURSOR INT 125 METHOD_CLOSE_CURSOR INT 126 METHOD_TBL_TREND_DATA_FIND_TIMESTAMP INT 127 METHOD_TBL_TREND_DATA_OPEN_CURSOR INT 128 METHOD_TBL_TREND_DATA_GET_VALUE INT 129 METHOD_OPEN_TABLES INT 130 METHOD_OPEN_CURSOR INT 131 METHOD_READ INT 132 METHOD_GET_CURSOR INT 133 METHOD_TBL_TREND_CONFIGURATION_GET_CONFIG INT 134 METHOD_ALLOCATE_TIMESTAMP_BUFFER INT 135 METHOD_ALLOCATE_VALUES_BUFFER INT 136 METHOD_ALLOCATE_VALIDITY_BUFFER INT 137 METHOD_GET_MIN_MAX_TIMESTAMPS INT 138 METHOD_PRV_ANALYZE_TIMESTAMPS_IN_BUFFER INT 139 METHOD_ANALYZE_TIMESTAMPS_IN_BUFFER INT 140 METHOD_DETERMINE_PREVIOUS_CONFIGURATION INT 141 METHOD_PRV_DETERMINE_VARIABLES_COUNT INT 142 METHOD_DETERMINE_CURRENT_COLUMN_MAPPING INT 143 METHOD_PRV_SET_TBL_TREND_CONFIGURATION_DURATION_TSTO INT 144 METHOD_CREATE_TREND_STORAGE_METADATA_FILE INT 145 METHOD_TREND_FCT_CURSOR_SEARCH_FIRST_ROW INT 146 METHOD_DETERMINE_ROOT_PAGES INT 147 METHOD_PRV_DETERMINE_OLDEST_ROW INT 148 METHOD_CYCLIC_CALL INT 149 METHOD_ALLOCATE_CONFIGURATION_CURRENT INT 150 METHOD_ALLOCATE_CONFIGURATION_APPEARANCE INT 151 METHOD_WRITE_TO_TBL_DIAGRAM_CONFIGURATION INT 152 METHOD_TBL_TREND_CONFIGURATION_GET_DIAGRAM_CONFIG INT 153 METHOD_ALLOCATE_TREND_STORAGE_VARIABLE_DESCRIPTION INT 154 METHOD_ALLOCATE_VARIABLE_OFFSETS_BUFFER INT 155 METHOD_ALLOCATE_NULL_INFO_BUFFER INT 156 METHOD_RECORDING_DETERMINE_ROOTPAGES INT 157 METHOD_LOADNEWESTABSOLUTETIMEFROMDB INT 158 ACTION_STORAGE_OPEN INT 3000 Some constants describing the actions, that are performed during method or function Actions during accessing the trend storage ACTION_BEGIN_TRANSACTION INT 3001 ACTION_END_TRANSACTION INT 3002 ACTION_OPEN_TABLE INT 3003 ACTION_CURSOR_OPEN INT 3004 ACTION_CURSOR_CLOSE INT 3005 ACTION_CURSOR_MOVE INT 3006 ACTION_CURSOR_SEARCH_LINT INT 3007 ACTION_CURSOR_SEARCH_ROWID INT 3008 ACTION_CURSOR_MOVE_LAST INT 3009 ACTION_CREATE_ROW INT 3010 ACTION_INSERT_ROW INT 3011 ACTION_UPDATE_ROW INT 3012 ACTION_DELETE_ROW INT 3013 ACTION_RELEASE_ROW INT 3014 ACTION_SELECT_ROW INT 3015 ACTION_SET_COL_ID_ INT 3016 ACTION_SET_COL_VAR_IDX INT 3017 ACTION_SET_COL_VAR_TYPE INT 3018 ACTION_SET_COL_VAR_NAME INT 3019 ACTION_SET_COL_COL_ID INT 3020 ACTION_SET_COL_GRAPH_COLOR INT 3021 ACTION_SET_COL_GRAPH_TYPE INT 3022 ACTION_SET_COL_ACTIVATE_MIN_WARNING INT 3023 ACTION_SET_COL_ACTIVATE_MAX_WARNING INT 3024 ACTION_SET_COL_MIN_WARNING_THRESHOLD INT 3025 ACTION_SET_COL_MAX_WARNING_THRESHOLD INT 3026 ACTION_SET_COL_MIN_WARNING_COLOR INT 3027 ACTION_SET_COL_MAX_WARNING_COLOR INT 3028 ACTION_SET_COL_DISPLAY_VARIABLE_NAME INT 3069 ACTION_SET_COL_DESCRIPTION_TEXT_ID INT 3070 ACTION_SET_COL_LINE_STYLE INT 3083 ACTION_SET_COL_LINE_WIDTH INT 3085 ACTION_SET_COL_CURVE_TYPE INT 3087 From SP14 ACTION_SET_COL_FILLING_TYPE INT 3088 ACTION_SET_COL_FILLING_COLOR INT 3089 ACTION_SET_COL_FILLING_ALPHA INT 3090 ACTION_SET_COL_GRD_COLOR1 INT 3091 ACTION_SET_COL_GRD_TRANSP_COLOR1 INT 3092 ACTION_SET_COL_GRD_COLOR2 INT 3093 ACTION_SET_COL_GRD_TRANSP_COLOR2 INT 3094 ACTION_SET_COL_GRD_ANGLE INT 3095 ACTION_SET_COL_GRD_CENTERX INT 3096 ACTION_SET_COL_GRD_CENTERY INT 3097 ACTION_SET_COL_GRD_GRADIENT_TYPE INT 3098 ACTION_SET_COL_GRD_USE_TWO_COLORS INT 3099 ACTION_SET_COL_GRD_BRIGHTNESS INT 3100 ACTION_SET_COL_GRD_COLOR_BRIGHTNESS INT 3101 ACTION_SET_COL_CONF_ID INT 3073 ACTION_SET_COL_VAR_IDX_ INT 3074 ACTION_SET_COL_YAXIS_DESCRIPTION INT 3076 ACTION_SET_COL_DIAGRAM_ID : INT := 3075; not used at the moment ACTION_GET_COL_CONF_ID INT 3078 ACTION_SET_COL_YAXIS_DESCRIPTION_TEXT_ID : INT := 3077; not used at the moment ACTION_GET_COL_VAR_IDX_ INT 3079 ACTION_GET_COL_YAXIS_DESCRIPTION INT 3081 ACTION_GET_COL_DIAGRAM_ID : INT := 3080; not used at the moment ACTION_SET_COL_TIMESTAMP_FROM INT 3029 ACTION_GET_COL_YAXIS_DESCRIPTION_TEXT_ID : INT := 3082; not used at the moment ACTION_SET_COL_TIMESTAMP_TO INT 3030 ACTION_SET_COL_ID INT 3031 ACTION_SET_COL_COUNT_VARIABLES INT 3032 ACTION_SET_COL_ABS_PACKET_STARTTIME INT 3033 ACTION_SET_COL_PACKET_HANDLE INT 3034 ACTION_SET_COL_PACKET_FLAGS INT 3035 ACTION_SET_COL_TIMESTAMP INT 3036 ACTION_SET_COL_VAL INT 3037 ACTION_SET_COL_BYTE_ORDER INT 3038 ACTION_GET_COL_TIMESTAMP_FROM INT 3039 ACTION_GET_COL_TIMESTAMP_TO INT 3040 ACTION_GET_COL_ID INT 3041 ACTION_GET_COL_COUNT_VARIABLES INT 3042 ACTION_GET_COL_ABS_PACKET_STARTTIME INT 3043 ACTION_GET_COL_PACKET_FLAGS INT 3044 ACTION_GET_COL_TIMESTAMP INT 3045 ACTION_GET_COL INT 3046 ACTION_GET_COL_ID_ INT 3047 ACTION_GET_COL_VAR_IDX INT 3048 ACTION_GET_COL_VAR_TYPE INT 3049 ACTION_GET_COL_VAR_NAME INT 3050 ACTION_GET_COL_COL_ID INT 3051 ACTION_GET_COL_GRAPH_COLOR INT 3052 ACTION_GET_COL_GRAPH_TYPE INT 3053 ACTION_GET_COL_ACTIVATE_MIN_WARNING INT 3054 ACTION_GET_COL_ACTIVATE_MAX_WARNING INT 3055 ACTION_GET_COL_MIN_WARNING_THRESHOLD INT 3056 ACTION_GET_COL_MAX_WARNING_THRESHOLD INT 3057 ACTION_GET_COL_MIN_WARNING_COLOR INT 3058 ACTION_GET_COL_MAX_WARNING_COLOR INT 3059 ACTION_GET_COL_DISPLAY_VARIABLE_NAME INT 3071 ACTION_GET_COL_DESCRIPTION_TEXT_ID INT 3072 ACTION_GET_COL_LINE_STYLE INT 3084 ACTION_GET_COL_LINE_WIDTH INT 3086 ACTION_GET_COL_CURVE_TYPE INT 3187 From SP14 ACTION_GET_COL_FILLING_TYPE INT 3188 ACTION_GET_COL_FILLING_COLOR INT 3189 ACTION_GET_COL_FILLING_ALPHA INT 3190 ACTION_GET_COL_GRD_COLOR1 INT 3191 ACTION_GET_COL_GRD_TRANSP_COLOR1 INT 3192 ACTION_GET_COL_GRD_COLOR2 INT 3193 ACTION_GET_COL_GRD_TRANSP_COLOR2 INT 3194 ACTION_GET_COL_GRD_ANGLE INT 3195 ACTION_GET_COL_GRD_CENTERX INT 3196 ACTION_GET_COL_GRD_CENTERY INT 3197 ACTION_GET_COL_GRD_GRADIENT_TYPE INT 3198 ACTION_GET_COL_GRD_USE_TWO_COLORS INT 3199 ACTION_GET_COL_GRD_BRIGHTNESS INT 3200 ACTION_GET_COL_GRD_COLOR_BRIGHTNESS INT 3201 ACTION_CREATE_TEXT_FROM_STRING INT 3060 ACTION_TEXT_FREE INT 3061 ACTION_TEXT_COPY_TO_STRING INT 3062 ACTION_GET_COL_VERSION INT 3063 ACTION_GET_COL_TYPE INT 3064 ACTION_GET_COL_NAME INT 3065 ACTION_GET_COL_TBL_NAME INT 3066 ACTION_GET_COL_ROOTPAGE INT 3067 ACTION_GET_ROW_ID INT 3068 ERR_UNABLE_TO_GET_CURRENT_ROW INT 5 Error code, that indicates, that no data server is available ERR_TSH_NOTCREATED UDINT 16#1000 ERR_TSH_NOMORETAGS UDINT 16#1040 ERR_TSH_NOCONTAINERTAG UDINT 16#1041 ERR_TSH_NODATATAG UDINT 16#1042 ERR_TSH_ENDOFTAG UDINT 16#1043 ERR_TSH_READONWRONGTAG UDINT 16#1044 ERR_TSH_MANDATORY_PARAMETER_MISSING UDINT 16#1045 ERR_INVALID_PARAMETER_COUNT_VARIABLES UDINT 16#2001 An invalid value was passed as parameter “count variables” ERR_NO_MEMORY UDINT 16#2002 Failed to dynamically create instances ERR_BUFFER_TOO_SMALL UDINT 16#2003 The buffer the service uses is too small to store all the data
GlobalInstances (GVL) ¶ Global instances, that have to be present. This GVL must be initialized before the generated GVL “__GVL__TrendRecording”, because the generated GVL is used to initialize the variable g_TrendRecordingManager. Attributes: qualified_only InOut: Name Type Initial Comment g_ErrorHandler TrendFbDatabaseAccessErrorHandler The only instance of TrendFbDatabaseAccessErrorHandler, that does the error haindling CHECKED_OMIT g_TrendBufferSizeManager TrendFbBufferSizeManager The only instance of TrendFbTrendRecordingManager, where trend elements can query its buffer size of the trace mgr packet g_GlobalRootPageManager TrendFbGlobalRootPageManager CHECKED_OMIT g_TraceDynamicInstanceFactory VisuFbTraceDynamicInstanceFactory The factory used to create dynamic instances of ITraceMgrVariable g_TimeFactorToDetectRecordingInterruption DINT 5 Time factor to detect a recording interruption which is multiplied with the average recording timespan
ITrendStorageReaderConsumer (ITF) ¶ INTERFACE ITrendStorageReaderConsumer This interface must be implemented by function blocks, that process the data read by TrendStorageReader.Read Methods: ErrorOccurred ReadingDataCompleted TimestampRead ValueRead VariableConfigurationRead Structure: ErrorOccurred (Method) ReadingDataCompleted (Method) TimestampRead (Method) ValueRead (Method) VariableConfigurationRead (Method)
ITrendStorageReaderConsumer.ErrorOccurred (METH) ¶ METHOD ErrorOccurred Notification, that an error occurred. InOut: Scope Name Type Comment Input eETrendStorageReaderErrors ETrendStorageReaderErrors The error, that occurred eDuringWhichStep ETrendStorageReaderStep Identifies the step, where the error occurred
ITrendStorageReaderConsumer.ReadingDataCompleted (METH) ¶ METHOD ReadingDataCompleted Notification, that reading the data (i.e. the values) has been completed.
ITrendStorageReaderConsumer.TimestampRead (METH) ¶ METHOD TimestampRead Notification, that a timestamp from TblTrendData has been read and can be processed. InOut: Scope Name Type Comment Input diWhichRow DINT A 0-based index of the row read from TblTrendData liTimestamp LINT The absolute timestamp, that was read from TblTrendData