Mitsubishi L02CPU User Manual page 151

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

(b)
(transfer destination directory path)
S3
• In
, specify the character string indicating the file transfer destination directory in the FTP server. (Any file
S3
name in the transfer destination cannot be specified.)
• When using the FTP server function of the CPU module in place of the FTP server, specify the character
string beginning from the drive number.
• Use one-byte "\" or "/" for the delimiters of directory names. The delimiter at the end of string can be omitted.
If the delimiter is omitted, "\" is assumed at the end.
• Up to 32 one-byte characters can be used in the specified string. However, by specifying with a device
number, up to 255 characters including the file name of
omitted) can be set. The characters that can be used are the same as
Up to 32 characters
-[∙∙∙ "¥CPUData¥LOG01" ∙∙∙]-
(1)
(1) Use "\" or "/" for the delimiters of directory names.
(2) The delimiter at the end of string can be omitted.
• The character string specified in
specified or only "00
H
server. For details, follow the FTP server specifications.
• If the same file exists in the transfer destination, operation is performed according to the settings in b0 and
b1 of
+0. If the same file exists in the transfer destination while "Do not overwrite" is specified, the
S1
SP.FTPPUT instruction is completed with an error.
● Two-byte characters of file name
When a file whose file name contains a two-byte character or two-byte code character is transferred, set the kanji code type
of the FTP server to Shift JIS.
If the kanji code types do not match between the FTP server and client, file names may not be identified. To prevent this
problem, assign a file name with one-byte ASCII code characters to the file transferred to the FTP client by the SP.FTPGET
instruction. Do not change the name of the file, which has been transferred to the FTP server using the SP.FTPPUT
instruction, in the FTP server.
● Distinction of upper-case and lower-case characters
The FTP client (CPU module) does not distinguish between one-byte upper-case and lower-case letters, except in drive 2
(SD memory card), and therefore the specification with lower-case characters is handled the same as the specification with
upper-case characters. Upper-case and lower-case characters are distinguished in drive 2.
(c) Instruction execution
• The result of the SP.FTPPUT instruction can be checked with the completion device,
• Completion device
instruction completes, and turns off during the next END processing.
• Completion device
State
When
completed
Remains off.
normally
Turns on during END processing of the scan where the SP.FTPPUT instruction completes, and turns
When
off during the next END processing.
completed
When the instruction is completed with an error, an error code is stored in the completion status of
with an error
+1.
S1
(2)
is the relative path from the home directory of the FTP server. If NULL is
S3
" is specified for the device, it shows directly under the home directory of the FTP
+0: This device turns on during END processing of the scan where the SP.FTPPUT
D
+1: This device turns on or off according to the result of the SP.FTPPUT instruction.
D
CHAPTER 10 FILE TRANSFER FUNCTION (FTP CLIENT)
(up to 254 characters if the trailing delimiter is
S2
.
S2
Description
10
+0 and
+1.
D
D
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents