Chapter 13 Database Function - Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual

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

Advertisement

13
DATABASE FUNCTION
RnPCPU
RnCPU RnENCPU
(Process)
• This function cannot be used in the R00CPU, R01CPU, and R02CPU.
This function manages the data such as product information or production information as a database in an SD memory card of
the CPU module.
Database access instruction
The database access instructions allow the databases of product information and production information to be created, input,
updated, edited, searched, transacted, and rolled back.
CPU module database access (from external device) function
The CPU module database access function enables operations such as table creation and record operation/search of the
database built in an SD memory card inserted into the CPU module.
Product
information
Production
information
Ethernet
13 DATABASE FUNCTION
232
RnPCPU
RnPSFCPU RnPSFCPU RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(Standard)
Read the data of product
ID = 2.
DBSELECT
Write the processing data
to the production result.
DBINSERT
Production
Product
information
information
Database is built in an SD memory card.
(Safety)
Database (Product information table)
Product ID
Product name
Product name 1
1
2
Product name 2
Database (Production information table)
Product
Product
Processing date
number
ID
1234
1
2017/4/28 15:40:30
1235
2
2017/4/28 15:41:15
Size(X)
Size(Y)
Size(Z)
80
100
60
40
90
40
Result(X)
Result(Y)
Result(Z)
81
99
58
79
100
60

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents