Performing A Database Rollback - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Performing a database rollback

DBROLBAK(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions execute the rollback of the database corresponding to the specified identification number.
Ladder
(s)
FBD/LD
EN
ENO
s
d1
d2
■Execution condition
Instruction
DBROLBAK
DBROLBAKP
Setting data
■Description, range, data type
Operand
Description
(s)
Database identification number
(d1)
Completion device (start device that turns on one scan
upon completion of instruction)
• (d1)+0: Completion signal
• (d1)+1: Error completion signal
(d2)
Completion status
• 0000: Normal completion
• Other than 0000: Error completion (error code)
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
(d1)
(d2)
7 APPLICATION INSTRUCTIONS
984
7.21 Database Access Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d1) (d2)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DBROLBAK(EN,s,d1,d2);
ENO:=DBROLBAKP(EN,s,d1,d2);
Range
1 to 4
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
16-bit signed binary
ANY16
Bit
ANYBIT_ARRAY
(Number of elements: 2)
Word
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents