Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 950

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Precautions
In the following cases, the error completion signal in (d1)+1 is turned on and an error code is stored as the completion status
in the device (d2).
• The DBIMPORT(P) instruction is executed during execution of the database access instruction.
• The Unicode text file specified by (s) does not exist.
• The number of fields specified in the field name row of the Unicode text file does not match the number of fields in the
record row.
• A table definition start tag or end tag is missing in the Unicode text file.
• An out-of-range value is set for the key constraint in the Unicode text file.
• The database name, table name, or field name in the Unicode text file exceeds 32 characters.
• The number of tables or fields in the Unicode text file exceeds the maximum number.
• An out-of-spec data type is specified in the Unicode text file.
• The number of records in the Unicode text file exceeds the maximum number (for a programmable controller CPU with
firmware version earlier than "28").
• An access to the database has failed.
• The database name contains an invalid character.
• The total number of characters used in the database name specified in the Unicode text file and those used in the folder
path (including the drive path character) specified by (s) exceeds 128.
• The database that is already open exists and the DBIMPORT(P) instruction is executed.
• The number of characters on the comment line exceeds the maximum number.
• A character other than those that can be represented as ASCII codes (0020H to 007EH) is used in the folder name of the
Unicode text file specified by (s).
• The database name in the Unicode text file exists on the SD memory card and the database is used by another function
when the DBIMPORT(P) instruction is executed.
If an error is detected because of the Unicode text format, the DBIMPORT(P) instruction turns on the error termination signal
in (d1)+1 and stores the Unicode text line where an error was detected in SD760 and SD761.
Operation error
Error code
Description
(SD0)
2840H
A numerical value other than 2 is specified for the drive number in (s).
3405H
The character string (path) in the device specified by (s) exceeds 255 characters.
For the error code stored in the completion status of the operand, refer to the following.
Page 986 Error codes related to database access instructions
7 APPLICATION INSTRUCTIONS
948
7.21 Database Access Instructions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents