Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1134

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

Advertisement

• The following figure shows the execution timing of the SP.FTPGET instruction.
Sequence scan
SP.FTPGET instruction
Completion status (s1)+1
Total number of files to be
transferred (s1)+2
Number of transferred files
(s1)+3
Completion device (d)
Completion status
indication device (d)+1
FTP client connection status
(SM1392)
(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.
• 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.
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
1132
8.5 File Transfer Function Instructions
0
END
0
END
Execution of the instruction
OFF
OFF
(1)
0
END
0
END
(2)
ON
Completed with an error
ON
Completed successfully
1 scan
File transfer
(3)
OFF
OFF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents