Value | Group of local variables | Value type | Meaning |
---|
QUERY action |
0 | _Q_YES | INT | Positive response to an action. |
1 | _Q_NO | INT | Negative response to an action. |
2 | _Q_TIMEOUT | INT | Exceeded the maximal wait time on action. |
3 | _Q_DONTKNOW | INT | Response to an action. |
Variables describing an error |
- | _ERR_LINE | INT | Line, where the error occurred. |
- | _ERR_NR | INT | Error number. |
Kotva |
---|
| err_nr_trans_ex |
---|
| err_nr_trans_ex |
---|
|
- | _ERR_NR_TRANS_EX | INT | Extended error number - list of existing errors. |
- | _ERR_MSG | TEXT | Error message. |
Database opening parameters |
1 | _DB_READ | INT | ''Read only'' access to the database. |
2 | _DB_MODIFY | INT | ''Modify'' access to the database. |
Parameters from process D2000 HI |
- | _FROM_HIP | ALIAS | If the script is started from process D2000 HI, then the variable contains the reference to the given process. |
- | _HIP_PAR_STR | TEXT | If the script is started from process D2000 HI, then the variable contains the parameter declared during event linking. |
- | _HIP_USER_DESC | TEXT | If the script is started from process D2000 HI, then the variable contains the name of logged-on user. After logging off the user and then logging on the other one to D2000 HI, this variable is updated. |
|
0 | Kotva |
---|
| _err_no_error |
---|
| _err_no_error |
---|
|
_ERR_NO_ERROR | INT | No error. |
1 | Kotva |
---|
| _err_expression_status |
---|
| _err_expression_status |
---|
|
_ERR_EXPRESSION_STATUS | INT | Undefined value. |
2 | Kotva |
---|
| _err_expression_type |
---|
| _err_expression_type |
---|
|
_ERR_EXPRESSION_TYPE | INT | Invalid value. |
3 | Kotva |
---|
| _err_no_assigned_alias |
---|
| _err_no_assigned_alias |
---|
|
_ERR_NO_ASSIGNED_ALIAS | INT | Unassigned ALIAS. |
4 | Kotva |
---|
| _err_exec_event |
---|
| _err_exec_event |
---|
|
_ERR_EXEC_EVENT | INT | Script execution failed. |
5 | | INT | Unexpected RETURN. |
6 | Kotva |
---|
| _err_local_var_nfound |
---|
| _err_local_var_nfound |
---|
|
_ERR_LOCAL_VAR_NFOUND | INT | Unknown local variable. |
7 | Kotva |
---|
| _err_local_var_not_record |
---|
| _err_local_var_not_record |
---|
|
_ERR_LOCAL_VAR_NOT_RECORD | INT | Local variable must be a structure. |
8 | Kotva |
---|
| _err_object_nfound |
---|
| _err_object_nfound |
---|
|
_ERR_OBJECT_NFOUND | INT | Unknown object. |
9 | Kotva |
---|
| _err_archiv_not_running |
---|
| _err_archiv_not_running |
---|
|
_ERR_ARCHIV_NOT_RUNNING | INT | The archive is not running. |
10 | Kotva |
---|
| _err_trans_abort |
---|
| _err_trans_abort |
---|
|
_ERR_TRANS_ABORT | INT | Transaction abort. Synchronous operation is broken. |
Kotva |
---|
| err_trans_error |
---|
| err_trans_error |
---|
|
11 | Kotva |
---|
| _err_trans_error |
---|
| _err_trans_error |
---|
|
_ERR_TRANS_ERROR | INT | Transaction error. Synchronous operation is not started (process is not running). |
12 | Kotva |
---|
| _err_trans_ignored |
---|
| _err_trans_ignored |
---|
|
_ERR_TRANS_IGNORED | INT | Transaction ignored. Synchronous operation is not accepted (e.g. invalid parameters). |
13 | Kotva |
---|
| _err_eval_error |
---|
| _err_eval_error |
---|
|
_ERR_EVAL_ERROR | INT | Error during the expression evaluation. |
14 | Kotva |
---|
| _err_range_error |
---|
| _err_range_error |
---|
|
_ERR_RANGE_ERROR | INT | Limits overrun. |
15 | Kotva |
---|
| _err_no_alias |
---|
| _err_no_alias |
---|
|
_ERR_NO_ALIAS | INT | ALIAS is required. |
16 | Kotva |
---|
| _err_no_record |
---|
| _err_no_record |
---|
|
_ERR_NO_RECORD | INT | Value must be a structure. |
17 | Kotva |
---|
| _err_record_no_comp |
---|
| _err_record_no_comp |
---|
|
_ERR_RECORD_NO_COMP | INT | Structures are not the same type. |
18 | Kotva |
---|
| _err_invalid_obj_type |
---|
| _err_invalid_obj_type |
---|
|
_ERR_INVALID_OBJ_TYPE | INT | Invalid object type. |
19 | Kotva |
---|
| _err_value_range |
---|
| _err_value_range |
---|
|
_ERR_VALUE_RANGE | INT | Value out of the range |
20 | Kotva |
---|
| _err_invalid_handle |
---|
| _err_invalid_handle |
---|
|
_ERR_INVALID_HANDLE | INT | Invalid handle. |
21 | Kotva |
---|
| _err_local_must_public |
---|
| _err_local_must_public |
---|
|
_ERR_LOCAL_MUST_PUBLIC | INT | Local variable must be PUBLIC. |
22 | | INT | No data. |
23 | Kotva |
---|
| _err_more_data |
---|
| _err_more_data |
---|
|
_ERR_MORE_DATA | INT | More data available. |
24 | Kotva |
---|
| _err_time_out |
---|
| _err_time_out |
---|
|
_ERR_TIME_OUT | INT | Timeout. |
25 | Kotva |
---|
| _err_unknown_refid |
---|
| _err_unknown_refid |
---|
|
_ERR_UNKNOWN_REFID* | INT | Unknown graphic object. |
26 | Kotva |
---|
| _err_invalid_refid_type |
---|
| _err_invalid_refid_type |
---|
|
_ERR_INVALID_REFID_TYPE* | INT | Invalid type of the graphic object. |
27 | Kotva |
---|
| _err_missing_return |
---|
| _err_missing_return |
---|
|
_ERR_MISSING_RETURN | INT | RETURN or END ProcedureName is missing in the procedure. |
28 | Kotva |
---|
| _err_server_required |
---|
| _err_server_required |
---|
|
_ERR_SERVER_REQUIRED | INT | Attempt to call a remote procedure of system event, that is not declared as Server Event in the configuration. |
29 | Kotva |
---|
| _err_procedure_not_found |
---|
| _err_procedure_not_found |
---|
|
_ERR_PROCEDURE_NOT_FOUND | INT | Attempt to call a remote procedure that does not exist. |
30 | Kotva |
---|
| _err_inv_num_params |
---|
| _err_inv_num_params |
---|
|
_ERR_INV_NUM_PARAMS | INT | Incorrect number of parameters when calling the procedure. |
31 | Kotva |
---|
| _err_set_const |
---|
| _err_set_const |
---|
|
_ERR_SET_CONST | INT | Attempt to change a constant value on the place of input-output parameter. |
32 | Kotva |
---|
| _err_file_error |
---|
| _err_file_error |
---|
|
_ERR_FILE_ERROR | INT | Error during running the actions: DB_READ_BLOB - new file creation or modification is disabled DB_UPDATE_BLOB - file reading is disabled IMPORT_CSV - file reading is disabled
|
33 | Kotva |
---|
| _err_java_exception |
---|
| _err_java_exception |
---|
|
_ERR_JAVA_EXCEPTION | INT | Error at calling JAVA RPC procedure. Called procedure terminated in exception. |
34 | Kotva |
---|
| _err_object_is_not_in_archive |
---|
| _err_object_is_not_in_archive |
---|
|
_ERR_OBJECT_IS_NOT_IN_ARCHIVE | INT | - archive manipulation actions enable to specify archived object instead of archive object.
This condition cannot be verified during saving ESL script therefore this error occurs when the object is not archived during this action. - this error can also occur if limits (row) are exceeded in reference to structured archive.
|
Kotva |
---|
| _err_database_rows_limit |
---|
| _err_database_rows_limit |
---|
|
35 | _ERR_DATABASE_ROWS_LIMIT | INT | Actions DB_READ, DBS_READ, SQL_FETCH or SQL_SELECT required to read and the database table contained more rows than the limit specified by the parameter Maximum returned rows defined on the Database object. |
36 | ERR_IS_RECORD | INT | Defined value may not be a structure. |
37 | ERR_DEADLOCK_RPC | INT | Detection of ESL script deadlock when synchronous calling the RPC procedures between the scripts. If the deadlock occurs, the execution of script will be finished. |
Kotva |
---|
| pristupove_prava |
---|
| pristupove_prava |
---|
| Access rights |
0 | _ACC_NONE | INT | No access |
1 | _ACC_READ | INT | "Read only" access |
2 | _ACC_CONTROL | INT | "Control" access - value setting |
3 | _ACC_MODIFY | INT | "Modify" access |
Kotva |
---|
| priorita pre zápis do monitorovacej databázy |
---|
| priorita pre zápis do monitorovacej databázy |
---|
| Priority for storing into the log database |
| _LOG_PRTY_INFO | INT | Information |
2 | _LOG_PRTY_WARNING | INT | Warning |
3 | _LOG_PRTY_ALARM | INT | Alarm |
4 | _LOG_PRTY_CRITALARM | INT | Critical alarm |
5 | _LOG_PRTY_ERROR | INT | Error |
Row and column of the trigger value change during script start |
- | _TRIGGER_ROW | INT | Position of change: row |
- | _TRIGGER_COL | INT | Position of change: column |
Kotva |
---|
| konstanty_pre_specifikaciu_stat_funkcie |
---|
| konstanty_pre_specifikaciu_stat_funkcie |
---|
| Constants for specification of statistical function for the action CALCSTATFUNC and for functions D2_CalcStatFunc and D2_CalcStatFuncArr |
1 | _STAT_F_AVG | INT | Arithmetical average |
2 | _STAT_F_WGAVG | INT | Weighted average |
3 | _STAT_F_INTEGRAL | INT | Integral |
4 | _STAT_F_SUM | INT | Sum |
5 | _STAT_F_MAX | INT | Maximum |
6 | _STAT_F_MIN | INT | Minimum |
7 | _STAT_F_COUNT | INT | Count |
8 | _STAT_F_FILTER | INT | Filter |
9 | _STAT_F_INCREMENT | INT | Increment (Compare value is 1.0) |
10 | _STAT_F_DELTA | INT | Delta (Compare value is 1.0) |
11 | _STAT_F_ECOAVG | INT | EcoAvg |
12 | _STAT_F_GT_TIME | INT | GT Time (>) |
13 | _STAT_F_GE_TIME | INT | GE Time (>=) |
14 | _STAT_F_LT_TIME | INT | LT Time (<) |
15 | _STAT_F_LE_TIME | INT | LE Time (<=) |
16 | _STAT_F_MAXT | INT | Interval maximum |
17 | _STAT_F_MINT | INT | Interval minimum |
18 | _STAT_F_NUMPEEKS | INT | Number of local maxima |
19 | _STAT_F_SUM_POSITIVE | INT | Sum of positive values |
20 | _STAT_F_SUM_NEGATIVE | INT | Sum of negative values |
21 | _STAT_F_AVG_POSITIVE | INT | Arithmetical average of values greater than or equal to 0 (positive values and 0) |
22 | _STAT_F_AVG_NEGATIVE | INT | Arithmetical average of values smaller than or equal to 0 (negative values and 0) |
23 | _STAT_F_ADDITION | INT | Sum of increments (Compare value is 1.0) |
24 | _STAT_F_TIMESLICE | INT | Time slice |
25 | _STAT_F_NUMPITS | INT | Number of local minima |
27 | _STAT_F_SAMPLE_DEV | INT | Sample standard deviation |
1000 | _STAT_F_ADDITION_PARAM | INT | Sum of increments |
1001 | _STAT_F_INCREMENT_PARAM | INT | Increment |
1002 | _STAT_F_DELTA_PARAM | INT | Delta |
Constants for specification of integral size for the action CALCSTATFUNC and for functions D2_CalcStatFunc and D2_CalcStatFuncArr |
1 | _INTEGRAL_HOURUNIT | INT | Hour integral |
2 | _INTEGRAL_MINUNIT | INT | Minute integral |
3 | _INTEGRAL_SECUNIT | INT | Second integral |
Events class for log database. Application in functions %HI_OpenLogDBByMask and %HI_OpenLogDBForObject. |
| _LOGF_ALARM | INT | Alarms |
2 | _LOGF_SYSTEM | INT | System |
4 | _LOGF_PROCES | INT | Processes |
8 | _LOGF_KOM | INT | Kom |
16 | _LOGF_OPERATOR | INT | Operator intervention |
32 | _LOGF_EVENT | INT | Events |
64 | _LOGF_LOGONLOGOFF | INT | Log on / Log off |
128 | _LOGF_DATAEXPORT | INT | Data export |
256 | _LOGF_CHANGEVALUE | INT | Impulsive value change |
512 | _LOGF_POSTMORTEMDATA | INT | Time recorder |