Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 620

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

Advertisement

• File name (s2)
Operand: (s2)
Device
Item
+0 to +
File name character
string
• Write data (s3)
Operand: (s3)
Device
Item
+0
Number of request
write data
+1 to +
Write data
7 APPLICATION INSTRUCTIONS
618
7.6 Reading/Writing Data Instructions
Description
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)
"/folder1/user1/user1.csv"
(3)
(2)
(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.
Description
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)
The number of data to be requested to write is stored.
Setting range
Set by
Unicode string
User
Setting range
Set by
1 to 65535
User
0000H to FFFFH
User

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents