Exporting data from the data base
DBEXPORT(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions export the data stored in the specified database to the Unicode text file.
Ladder
(s)
(d1) (d2)
FBD/LD
EN
ENO
s
d1
d2
■Execution condition
Instruction
DBEXPORT
DBEXPORTP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Start device for storing the database folder path
Example: "2:\database1\recipe"
Within 128 characters
(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,
J\
SM, F, B, SB,
FX, FY
(s)
(d1)
(d2)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DBEXPORT(EN,s,d1,d2);
ENO:=DBEXPORTP(EN,s,d1,d2);
Range
Data type
Unicode string
Bit
Word
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.21 Database Access Instructions
Data type (label)
ANYSTRING_DOUBLE
ANYBIT_ARRAY
(Number of elements: 2)
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7
949