EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1134

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...
1132
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.5 File Transfer Function Instructions
The following figure shows the execution timing of the SP.FTPGET instruction.
SM1392 (FTP client connection status) is on while the CPU module is connected to the FTP server, and SM1392 turns off
when disconnected.
SM753 (File access in progress) turns on while the SP.FTPGET instruction is being executed. While SM753 is on, the
SP.FTPGET instruction cannot be executed. If executed, no processing is performed.
If the SP.FTPGET instruction is executed while the SP.FTPPUT or SP.FTPGET instruction is being executed, the instruction
is ignored and not executed until the currently executing instruction completes. When the instruction is ignored, SM699
(Dedicated instruction skip flag) turns on.
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.
(1)SM1392 turns on during the END processing after the CPU module is connected to the FTP server.
(2)Values are stored upon completion of the instruction.
(3)When all files have been transferred, SM1392 turns off.
END0 END0END0 END0
OFF
OFF
(2)
(1)
(3)
OFF
OFF
ON
ON
Sequence scan
FTP client connection status
(SM1392)
Total number of files to be
transferred (s1)+2
Completion status (s1)+1
Number of transferred files
(s1)+3
SP.FTPGET instruction
Completion device (d)
Completion status
indication device (d)+1
File transfer
Completed with an error
Completed successfully
1 scan
Execution of the instruction

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals