EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1126

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1124
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.5 File Transfer Function Instructions
Applicable devices
*1 T, ST, C, and FD cannot be used.
Control data
Processing details
This instruction sends files in the CPU module, which are specified by (s2), to the folder path of the FTP server, which is
specified by (s3). The CPU module opens a connection with the FTP server set in the module parameters ("FTP Client
Settings") at execution of the instruction, and closes a connection after sending files. For details on the parameter setting,
refer to the following.
MELSEC iQ-R Ethernet User's Manual (Application)
The total number of files to be transferred by the SP.FTPPUT instruction is stored in (s1)+2, and the number of transferred
files is stored in (s1)+3.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B,
SB, FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U) 
(s1) 
(s2) 
(s3) 
(d) 
*1

Operand: (s1)
Device Item Description Setting range Set by
+0 Application setting area
(1) Transfer completion file delete setting (b2)
Specify whether to delete transfer completion files or not.
0: Do not delete
1: Delete
(2) Temporary file create setting (b3)
Specify whether to create a temporary file (FTPCLI_I.TMP) during the file transfer
processing or not.
Setting this bit to 0 prevents files from becoming undefined in the transfer destination
when a cable is disconnected or power is shut off during the file transfer processing.
0: Create
1: Do not create
Refer to the
"Description"
column.
User
+1 Completion status The completion status is stored upon completion of the instruction.
0000H: Completed successfully
Other than 0000H: Completed with an error (error code)
System
+2 Total number of files to
be transferred
The total number of files to be transferred by the SP.FTPPUT instruction is stored. System
+3 Number of transferred
files
The number of transferred files is stored. System
b15 b3 b2 b1 b0
00
(2)
(1)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals