Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 237

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

Advertisement

Available operations
The following table lists the operations that can be performed with the database functions.
: Can be performed, : Cannot be performed
Operation
Database
Connection
Disconnection
Import
Export
Table
Add
Record
Access
Add
Update
Acquire
(Search)
Delete
Transaction
Start
Commit
Rollback
Database operation by a desired SQL
• For details on the database access instructions, refer to the following.
 MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
• For the available SQL commands for the CPU module database access function, refer to the following.
Page 996 List of Available SQL Commands for CPU Module Database Access Function
• The user cannot execute multiple database access instructions simultaneously. If they are executed
simultaneously, instructions other than the first one will be completed with an error.
• Even though the operation can be performed for the database of the CPU module by the SQL command, an
error occurs on the application side when it cannot be performed in the application. In this case, check the
details of the error and perform the operation within the range of the specifications of the application again.
Description
Connects to the specified database.
Disconnects from the specified database.
Imports the specified data from the
specified Unicode text file to create a
database.
Exports the specified data in the specified
database into a Unicode text file.
Adds a table to the database.
Accesses the specified table in the
database.
Adds a record to the specified table of the
database.
Updates the value of the specified record
on the specified table in the database.
Acquires the value of the specified record
on the specified table in the database.
Deletes the specified record on the
specified table in the database.
Starts a transaction for the specified
database.
Commits a transaction for the specified
database.
Performs rollback on the specified
database.
Database access instruction
Availability and instruction
symbol
DBOPEN(P)
DBCLOSE(P)
DBIMPORT(P)
DBEXPORT(P)
DBINSERT(P)
DBUPDATE(P)
DBSELECT(P)
DBDELETE(P)
DBTRANS(P)
DBCOMMIT(P)
DBROLBAK(P)
13 DATABASE FUNCTION
CPU module database
access function
Availability and application
Microsoft Access
,
Excel
, user-created
application
Microsoft Access
Microsoft Access
Microsoft Access
Microsoft Access
Excel
Microsoft Access
Microsoft Access
(The
transaction range depends
on the application.)
Microsoft Access
(The
transaction range depends
on the application.)
Microsoft Access
(The
transaction range depends
on the application.)
User-created application
235
13.1 Specifications
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents