The enumeration ET_Result contains the possible values that indicate the result of operations executed by the POUs of this library.
Name |
Value (UDINT) |
Description |
---|---|---|
0 |
The function or function block is ready to be executed. |
|
Status information, indicated by q_etResult if q_xDone = TRUE |
||
1 |
The function block or method has been executed successfully. |
|
Status information, indicated by q_etResult if q_xError = FALSE and q_xBusy = TRUE |
||
10 |
The inputs are being verified. |
|
15 |
An internal resource is being initialized. |
|
17 |
The file is being opened. |
|
20 |
The file is being analyzed. |
|
24 |
The file is being read. |
|
25 |
The file is being written. |
|
30 |
The file is being closed. |
|
35 |
The size of the file is being retrieved. |
|
Error information, indicated by q_etResult if q_xError = TRUE |
||
100 |
The specified file path has invalid syntax. |
|
102 |
The specified XPath (XML Path language) expression has an invalid syntax or is not supported. |
|
103 |
The content of the specified file to be read is not supported. |
|
104 |
A timeout has expired during execution. |
|
110 |
An error has been detected while opening the file. |
|
111 |
An error has been detected while writing the file. |
|
112 |
An error has been detected while closing the file. |
|
113 |
The specified file for the write operation already exists. It is not allowed to be overwritten. |
|
114 |
The specified file for the write operation does not exist. It is not possible to append data. |
|
115 |
An error has been detected while retrieving the size of the file. |
|
120 |
The nesting depth of the XML structure is greater than specified by the parameter Gc_udiXmlMaxNumOfParents in the global parameter list. |
|
140 |
The size of the buffer for storing the read items is insufficient. |
|
150 |
The pointer pbyAdditionalContent is 0 while the value of udiNumBytesToWrite is > 0. |
|
160 |
No element has been found that matches the XPath expression. |
|
165 |
The parent-child relations between the elements in the array XmlItems are not consistent. |
|
167 |
The type of an item in the array XmlItems is invalid. |
|
168 |
The reference specified at i_refXmlItems is invalid. |
|
169 |
While parsing the file, an internal error has been detected. |
|
170 |
The structure of the parsed XML file is inconsistent. It contains at least one tag which is not properly closed. |
|
171 |
The dimensions provided for the table where the read values shall be stored are not valid. Refer to ST_CsvTable. |
|
172 |
The dimensions provided for the table which contains the values that shall be written are not valid. Refer to ST_CsvTable. |
|
175 |
The pointer pbyAdditionalContent to the buffer provided by the application must not be 0. |
|
181 |
The parameters to control the read operation are not valid. Refer to ST_CsvReadParameter. |
|
182 |
The parameters to control write operation are not valid. Refer to ST_CsvWriteParameter. |
|
190 |
While reading the file, an internal error has been detected. |
|
200 |
The table does not provide enough cells to store the number of values which shall be read from the file. |
|
210 |
The value specified by the row and column does not exist in the CSV file. |
|
215 |
The specified file path without file extension characters is outside the valid range. It is not possible to add the default file extension. The file path without file extension is limited to 255 characters minus length of the default file extension. |
|
216 |
The specified file name including the file extension exceeds the allowed length of 126 characters. |
|
217 |
The specified file name is invalid. |
|
220 |
The first item in the array XmlItems is not of type element. |
|
221 |
The value for diParentIndex of the first item in the array XmlItems is not -1. |
|
222 |
The name of the first element in the array XmlItems does not match the root element specified in the XPath expression. |
|
230 |
The specified XPath expression is not supported by this function. |
|
240 |
No element selected for processing the XML data. |
|
241 |
The value for at least one input of the executed function is invalid. |
|
242 |
Attribute of the selected element is not found. |
|
243 |
The execution was aborted due to a login in conjunction with an online modification of the application was detected. |
|
244 |
AppendElement() is not allowed, because the selected element is the root element. |
|
245 |
Attribute of the selected element already exists. |
|
300 |
The data type of the variable assigned to the input of type ANY is not supported. |
|
301 |
There is no open object in the STRING that is being processed. |
|
302 |
There is no open ARRAY in the STRING that is being processed. |
|
303 |
A name/value pair cannot be added at the present position in the STRING that is being processed. |
|
304 |
The maximum length of the JSON-formatted STRING that is being processed has been reached. The maximum length is specified by the parameter Gc_udiJsonMaxLengthOfString in the global parameter list. |
|
305 |
The size of the buffer is insufficient for copying the STRING that is being processed. |
|
306 |
The maximum number of levels is reached for the JSON-formatted STRING that is being processed. The maximum number of levels is specified by the parameter Gc_uiJsonMaxNumOfLevels in the global parameter list. |
|
400 |
The pointer to the buffer is not valid. |
|
401 |
The size of the buffer must not be 0. |
|
500 |
Data to parse has an invalid JSON format and contains an invalid token. |
|
501 |
Data to parse has an invalid JSON format and starts with an invalid token. |
|
502 |
Data to parse has an invalid JSON format and ends with an invalid token. |
|
503 |
Selected item has no higher item in the hierarchy. The selected item is the root item. |
|
504 |
Data to parse includes a too long name. Increase global parameter Gc_uiJsonMaxLengthOfName. |
|
505 |
Data to parse includes a too long value. Increase global parameter Gc_uiJsonMaxLengthOfValue. |
|
506 |
Selected item has no next item in the same hierarchy level. |
|
507 |
Data to parse contains an invalid name. |
|
508 |
Specified JPath expression is invalid. |
|
509 |
Parsing is in process. |
|
510 |
Item cannot be found inside parsed JSON data. |
|
511 |
Specified JPath expression is not supported. |
|
512 |
Selected item is not of type TypeArray. |
|
513 |
Selected item is not of type TypeObject. |
|
515 |
Data to parse has too many items. Increase global parameter Gc_udiJsonMaxNumOfItems. |
|
516 |
Selected item has no name (for example, ARRAY element). |
|
517 |
Selected item has no value (for example, item of type TypeObject or TypeArray). |
|
518 |
No item selected. Select an item first. |
|
519 |
Internal error occurred. Retry operation. |
|
520 |
Data must be parsed before selecting an item. |
|
521 |
File cannot be found. |
|
522 |
Item could not be removed. |
|
523 |
An internal error has been detected. Unsupported JsonValueType. |
|
524 |
The parent element of the selected item is not of type TypeArray. |
|
525 |
The parent element of the selected item is not of type TypeObject. |
|
526 |
The selected item must be of simple type (TypeString, TypeNumber, TypeBoolean, TypeNull). |
|
527 |
Asynchronous writing process is ongoing. |
|
528 |
An invalid escape character is in the STRING. |
|
529 |
The STRING to be added is too large.
NOTE: If required, special characters are implicitly added by the method. This can increase the string length.
Increase GPL.Gc_uiJsonMaxLengthOfValue. |
|
999 |
An internal error has been detected. Contact your local Schneider Electric support representative. |