Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1129

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

Advertisement

• In the following cases, the instruction completes with an error: when there is no free space in the transfer destination; or
when b3 (Temporary file create setting) of (s1)+0 is set to 0 (Create), but there is not enough free space for storing transfer-
target files and a temporary file (same size as transfer-target files) in the transfer destination.
• Even though the operating status of the CPU module is switched from RUN to STOP during the file transfer processing, the
CPU module continues the processing until completed.
Precautions
• If a cable is disconnected, power is shut off, or the CPU module is reset during the file transfer processing, delete
unnecessary files (such as a temporary file and undefined files) on the FTP server as needed. Then, transfer files again.
• When b2 (Transfer completion file delete setting) of (s1)+0 is set to 1 (Delete), note the following.
Item
When files in the CPU module are
transferred
When wild card characters are used to
specify a file name
• When transfer source file access is restricted by the file password function, the SP.FTPPUT instruction completes with an
error. Note, however, that the instruction can be executed if b2 (Transfer completion file delete setting) of (s1)+0 is set to 0
(Do not delete) and the file password setting type is "Write Protection".
• When b3 (Temporary file create setting) of (s1)+0 is set to 0 (Create), a temporary file of 12 characters (FTPCLI_I.TMP) will
be created in the transfer destination. Therefore, set the folder path so that the total number of characters in the folder path
and the temporary file does not exceed the maximum path length supported by the FTP server.
• Do not use any unsupported characters. If an unsupported character is included in the file name or the folder name
specified by (s2) and (s3), the character is converted to "_" and processed. When wild card characters are used and an
unsupported character is included in the name of files stored in the transfer source CPU module, the character is converted
to "_" and processed. For this reason, the corresponding file is transferred in the same way as files having the same file
name or folder name after character conversion are transferred.
Operation error
Error code
Description
(SD0)
2820H
There is no NULL code (0000H) in each setting area in the device/label memory in device specified by (s2), (s3) and later.
3405H
The number of characters in the string specified by (s2) exceeds 255.
The number of characters in the path specified by (s2), excluding the file name, exceeds 246 (not including a delimiter).
The total number of characters in the strings specified by (s2) (only the file name part, excluding the drive number and folder path) and
(s3) exceeds 255.
The drive number specified by (s2) is out of range.
3426H
A file name is not specified by (s2).
The file name that cannot be transferred is specified by (s2).
The delimiter used to separate the drive number in (s2) is neither ':\' nor ':/'.
Two or more asterisks '*' are used in the file name (before the period) or the extension specified by (s2).
An asterisk '*' and a question mark '?' are used in the file name (before the period) or the extension specified by (s2).
Wild card characters, '*' and '?', are used in the string specified by (s3).
3430H
The SP.FTPPUT instruction was executed without setting FTP client parameters.
Description
Files required for the CPU module to operate are also deleted. If deleted, operations of the CPU module cannot
be guaranteed.
Required files may be deleted unintentionally.
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.5 File Transfer Function Instructions
8
1127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents