Mitsubishi L02CPU User Manual page 149

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

Advertisement

(2) Control data
Device
Item
Execution type
+0
S1
Completion status
+1
S1
Total number of files
+2
S1
to be processed
Number of files
+3
S1
processed
(3) Function
• The SP/.FTPPUT instruction sends the specified file from the CPU module to the FTP server.
The function connects to the FTP server specified by "FTP Client Setting", and sends the file specified
S2 S3
by
to the directory specified by
S2
transfer.
• The function stores the total number of transfer files in "Total number of files to be processed" of
the number of files which has been transferred completely in "Number of files processed" of
If the values of
+2 and
S1
instruction.
Description
...
b15
+0
0
S1
[1] File overwrite setting
Specify the operation to be performed if a file with the same
name exists in the transfer destination.
• 00: Do not overwrite
• 01: Overwrite all
• 10: Overwrite only updated file
[2] Specification of measures in case of power off
Specify whether to take measures against power off.
• 0: Take measures against power off
• 1: No measures against power off
Completion status is stored
• 0000
: Completed normally
H
• Other than 0000
: Completed with an error (error code)
H
The total number of files to be processed is stored.
The number of files processed completely is stored.
. The function releases the connection from the FTP server after file
S3
+3 are not the same at completion of the instruction, the file transfer failed. Re-execute the
S1
CHAPTER 10 FILE TRANSFER FUNCTION (FTP CLIENT)
Setting
range
b4
b3
b2
b1
b0
[2]
0
[1]
0000
Set by
to 000A
User
H
H
System
System
System
+2 and
S1
+3.
S1
147
10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents