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

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

Advertisement

Ex.
Example of the Unicode text file format (Database name: database1, Table name: product-info1)
Data type: INT
Key restriction: Main key
proid1
proinfo1
1
abcd
1001
abcd
abcd
1010
//Database name
database1
<table>
//Table name
product-info1
//Field name
proid1 [Tab] proinfo1 [Tab] ... [Tab] proinfon
//Data type
INT [Tab] STRING: 124 [Tab] ... [Tab] STRING: 124
//Key restriction
1: pk1 [Tab] 0 [Tab] ... [Tab] 0
//Index
0
//Record
//First record
1 [Tab] abcd [Tab] efgh [Tab] ... [Tab] pqrs
//Second record
1001 [Tab] abcd [Tab] efgh [Tab] ... [Tab] pqrs tuv
//nth record
1010 [Tab] abcd [Tab] efgh [Tab] ... [Tab] pqrs
</table>
Unicode text files can be created using a text editor or spreadsheet software program. The method for saving
Unicode text files in Notepad or Excel is as follows:
• In the text editor (Notepad, an accessory of Windows
"Unicode" as the character code to save the file.
• In the spreadsheet software program (Excel 2010), select [Save As] from the [File] menu, and select
"Unicode" as the file type to save the file. When a Unicode text file is created using a spreadsheet software
program, tabs are automatically inserted by saving the file. Therefore, it is not necessary to insert tabs into
the file in the spreadsheet software program.
Data type: STRING, Number of characters: 124
Key restriction: None
proinfo2
efgh
efgh
efgh
proinfon
pqrs
pqrs tuv
pqrs
7), select [Save As] from the [File] menu, and select
13 DATABASE FUNCTION
13.2 Database Access Instruction
13
239

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents