618
7 APPLICATION INSTRUCTIONS
7.6 Reading/Writing Data Instructions
• File name (s2)
• Write data (s3)
Operand: (s2)
Device
Item
Description
Setting range
Set by
+0 to +
File name character
string
Specify the folder path where the files are stored and the file name.
• The folder path and file name (including an extension) must be within 253
characters in total.
• The folder path must be within 244 characters. (A delimiter is not included.)
• The number of folder path hierarchies must be within 10 levels.
• When omitting an extension in the file name, omit the ". (period)" as well.
• The file name must be within 60 characters (a period and extension excluded). If
61 or more characters are used, the extension is ignored and replaced with ".BIN"
or ".CSV".
(1): Up to 253 characters
(2): Use "\" or "/" as a delimiter of the folder path and file.
(3): Can be omitted. When omitted, (1) is up to 252 characters.
Unicode string
User
Operand: (s3)
Device
Item
Description
Setting range
Set by
+0
Number of request
write data
Specify the number of data to be requested to write.
The processing unit and setting range depend on the value set in (d1)+0.
■
When "Writing binary data" is specified by (d1)+0
• When 16-bit binary data is specified: In units of words (1 to 65535)
• When 32-bit binary data is specified: In units of double words (1 to 32767)
■
When "Converting and writing data in CSV format" is specified by (d1)+0: Number
of elements
• When decimal (signed 16-bit data) or decimal (unsigned 16-bit data) is specified: In
units of words (1 to 65535)
• When decimal (signed 32-bit data) or decimal (unsigned 32-bit data) is specified: In
units of double words (1 to 32767)
• When hexadecimal (16-bit data) is specified: In units of words (1 to 65535)
• When hexadecimal (32-bit data) is specified: In units of double words (1 to 32767)
• When a string (ASCII data) is specified: Number of elements (1 to 1023)
• When a floating point real number (single-precision real number) is specified: In
units of double words (1 to 32767)
• When a floating point real number (double-precision real number) is specified: In
units of 4 words (1 to 16383)
1 to 65535
User
+1 to +
Write data
The number of data to be requested to write is stored.
0000H to FFFFH
User
(1)
"/folder1/user1/user1.csv"
(3)
(2)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......