Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 114

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

Advertisement

■Importing data to the database
Instruction symbol
DBIMPORT
DBIMPORTP
■Exporting data from the database
Instruction symbol
DBEXPORT
DBEXPORTP
■Starting a transaction
Instruction symbol
DBTRANS
DBTRANSP
■Committing a transaction
Instruction symbol
DBCOMMIT
DBCOMMITP
■Performing a rollback
Instruction symbol
DBROLBAK
DBROLBAKP
File register operation instructions
■Switching the file register block number
Instruction symbol
RSET
RSETP
■Changing the file register file name
Instruction symbol
QDRSET
QDRSETP
File register read/write instructions
■Reading 1-byte data from the file register
Instruction symbol
ZRRDB
ZRRDBP
■Writing 1-byte data to the file register
Instruction symbol
ZRWRB
ZRWRBP
2 CPU MODULE INSTRUCTIONS
112
2.3 Application Instructions
Processing details
Imports the data set in the Unicode text file stored in the path specified by (s) to construct a
database.
Processing details
Exports the data stored in the database to the Unicode text file stored in the path specified by (s).
Processing details
Declares the start of a transaction in relation to the database corresponding to the identification
number specified by (s).
Processing details
Commits the transaction in relation to the database corresponding to the identification number
specified by (s).
Processing details
Executes the rollback in relation to the database corresponding to the identification number
specified by (s).
Processing details
Switches the block number of the file register used in the program to that stored in the device
specified by (s).
Processing details
Changes the file name of the file register used in the program.
Processing details
Reads the data from the file register with the specified serial byte number.
Lower 8 bits
0
1
Upper 8 bits
2
Lower 8 bits
3
Upper 8 bits
(s)
8 bits
Processing details
Writes the data in the lower bits of the specified device to the file register with the specified serial
byte number.
(s2)
Lower 8 bits
0
Upper 8 bits
1
2
Lower 8 bits
3
Upper 8 bits
(s1)
ZR0
ZR1
(d)
ZR0
ZR1
8 bits
Reference
Page 946
DBIMPORT(P)
Reference
Page 949
DBEXPORT(P)
Reference
Page 980
DBTRANS(P)
Reference
Page 982
DBCOMMIT(P)
Reference
Page 984
DBROLBAK(P)
Reference
Page 991 RSET(P)
Reference
Page 993 QDRSET(P)
Reference
Page 995 ZRRDB(P)
Reference
Page 997 ZRWRB(P)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents