Specifications - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

13.1

Specifications

Database specifications
The following table lists specifications of databases which the user can create.
Item
The maximum number of fields
The maximum number of records
The maximum number of tables
The maximum number of databases
The maximum number of concurrently connectable
databases (number of connections)
The maximum number of characters of a field name
The maximum number of characters of a table name
Corresponding data type
*1 For the programmable controller CPU with firmware version earlier than "28", up to 16 fields can be created per table.
*2 For the programmable controller CPU with firmware version earlier than "28", up to 100000 records can be created per table.
*3 For the programmable controller CPU with firmware version earlier than "28", up to 16 tables can be created per database.
*4 For rough standards of the access time depending on the database size, refer to the following.
Page 922 Database function processing time
■Data type
The following table lists the data types that can be used in the table created by using the database access instructions and the
corresponding data types for the CPU module database access function.
Data type that can be used in the table
created by using the database access
instruction
BOOL: Bit
WORD: Unsigned 16-bit numerical value
DWORD: Unsigned 32-bit numerical value
INT: Signed 16-bit numerical value
DINT: Signed 32-bit numerical value
REAL: Single-precision real number
LREAL: Double-precision real number
STRING: String (Shift-JIS code)
WSTRING: String (Unicode)
The following table lists the data types that can be used in the table created by the CPU module database access function and
the corresponding data types for the database access instructions.
Data type that can be used in the table
created by the CPU module database
access function
BOOLEAN: Bit
INT: Signed 16-bit numerical value
BIGINT: Signed 32-bit numerical value
REAL: Single-precision real number
DOUBLE PRECISION: Double-precision real
number
NLSCHAR: String (Unicode)
Description
*1
128 fields per table
No limitation (they can be created up to the capacity of the SD memory card)
*3
32 tables per database
No limitation (they can be created up to the capacity of the SD memory card)
4
32 single-byte alphabetical characters
32 single-byte alphabetical characters
Page 233 Data type
Range
0, 1
0 to 65535
0 to 4294967295
-32768 to 32767
-2147483648 to 2147483647
E1.175495-38 to E3.402823+38
E2.22507385850721-308 to
E1.79769313486231+308
Number of supported characters: 1 to 124
Number of supported characters: 1 to 124
Range
0, 1
-32768 to 32767
-2147483648 to 2147483647
E1.175495-38 to E3.402823+38
E2.22507385850721-308 to
E1.79769313486231+308
Number of supported characters: 1 to 124
*2*4
Corresponding data type for the CPU
module database access function
BOOLEAN: Bit
INT: Unsigned 16-bit numerical value
BIGINT: Unsigned 32-bit numerical value
INT: Signed 16-bit numerical value
BIGINT: Signed 32-bit numerical value
REAL: Single-precision real number
DOUBLE PRECISION: Double-precision real
number
NLSCHAR: String (Unicode)
NLSCHAR: String (Unicode)
Corresponding data type for the
database access instruction
BOOL: Bit
INT: Signed 16-bit numerical value
DINT: Signed 32-bit numerical value
REAL: Single-precision real number
LREAL: Double-precision real number
WSTRING: String (Unicode)
13 DATABASE FUNCTION
13.1 Specifications
13
233

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents