Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Specifying Retrying Connection Processing with the FTP Server
You can specify retrying connection processing with the FTP server.
The operation for retrying is the same as that for the FTPGetFileList instruction (page 2-1103). Refer to
the specified page for details.
Canceling Instruction Execution
You can cancel execution of the FTPRemoveDir instruction after execution has started.
The operation for cancellation is the same as that for the FTPGetFileList instruction (page 2-1103).
Refer to the specified page for details.
Related System-defined Variables
Name
*1
_EIP_EtnOnlineSta
*2
_EIP1_EtnOnlineSta
*3
_EIP2_EtnOnlineSta
*4
_EIPIn1_EtnOnlineSta
*1 Use this variable name for an NJ-series CPU Unit.
*2 Use this variable name for port 1 on an NX-series CPU Unit, or for an NY-series Controller.
*3 Use this variable name for port 2 on an NX-series CPU Unit.
*4 Use this variable name for the internal communication port on an NY-series Controller.
Precautions for Correct Use
• This instruction can be used only for the built-in EtherNet/IP ports on NJ/NX-series CPU Units.
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section (page 2-3) for a timing chart for Execute, Done, Busy, and Error.
• Even if you use Cancel to cancel the execution of this instruction, sometimes the directory on the
FTP server is deleted depending on the timing of when Cancel changes to TRUE.
Check the directory on the FTP server.
• You can execute a maximum of 3 of the following instructions at the same time: FTPGetFileList, FTP-
GetFile, FTPPutFile, FTPRemoveFile, and FTPRemoveDir.
• An error will occur in the following cases. Error will change to TRUE.
• The value of any input parameter is outside of the valid range.
• The directory specified by SvrDirName does not exist on the FTP server.
• ".." is specified for a directory level in SvrDirName or RemoveDirName.
• An incorrect path such as "//" is specified for SvrDirName or RemoveDirName.
• The directory specified by RemoveDirName does not exist on the FTP server.
• There are no files or subdirectories in the directory specified with RemoveDirName.
• The directory specified with RemoveDirName has a read-only attribute.
• The FTP server specified by ConnectSvr does not exist on the network or the specified FTP
server is not operating.
2-1152
Data
Meaning
type
Online
BOOL
Description
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents