Data Table Status Messages

You can find Data Table information and error messages in:

Data Table System Operand Struct

Tag Name

Description

SD Store Success Counter

From Data Table to SD Card File

SD Store Failure Counter

From Data Table to SD Card File

SD Store Pending Requests

Requests not yet executed

SD Load Success Counter

From SD to Data Table

SD Load Failure Counter

From SD to Data Table

SD Load Pending Requests

Requests not yet executed

 

Data Table Struct Status codes

Code

Message

0

OK

-1

DT is Full

Relevant for LIFO and FIFO Data Tables only.

-2

DT is Empty

Relevant for LIFO and FIFO Data Tables only.

-3

Request Size Mismatch, Load/Store DTI to/from Array. This occurs when:
- an array is not long enough to contain the DTI data
or
- the request exceeds the number of rows in the DTI, as for example if the table contains 10 rows, and the function requests row # 20

-4

Function in Progress. This means that data is being loaded/stored, in functions involve load/store from/to an SD file.

Relevant for all Data Tables

 

Status Messages for DTI/SD Store and Load Functions

 

When using Store DTI to File followed by Load from File:
- Allow approximately 15 seconds for the Store function to complete its procedure before activating the Load function.
- Check the status of the Load function.
- If status ≠ 0, wait 1 second and run Load again.

See LadderSee Ladder

 

 

Code

Message

1

Function in progress

0

No errors

-1

Function failed

-2

Internal error. Contact Support.

-3

General Error.

-4

Internal error. Contact Support.

-5

Read file error

-6

Write file error

-7

CRC error. The structure of the Data Table and the external file do not match

-8

Signature file error

-9

PLC Data Table cannot be stored to external file

-10

External File cannot be loaded to PLC Data Table

-12

Internal error. Contact Support.

-13

Function Failed

-14

Append file error, no file created; see Help topic LF: Store DTI to File for more information

-31

Number of lines in file is 0

-32

File Name missing: the file name parameter is empty within the function

-33

The number of lines specified in the function exceeds the number of lines that are in the Data Table

-34

The file name exceeds 63 characters

-35

Too many requests

-36

Internal error. Contact Support.

-37

Download in Progress

-38

Array locked by other utility

 

 

 

Related Topics

Data Tables

Creating a Data Table

Entering/Editing Data Table Values

DT: FIFO Queue

DT: LIFO

Data Table: Indexed (DTI)