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

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

Advertisement

Specifying Options for FTP Server Processing
The operation specified with ExecOption is performed to delete the files from the FTP server.
The option settings are the same as those for the FTPGetFile instruction (page 2-1120). Refer to the
specified page for details.
However, the only option that is valid for this instruction is ExecOption.PassiveMode.
Specifying Retrying Connection Processing with the FTP Server
You can specify retrying connection processing with the FTP server.
The operation for the retry settings 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 FTPRemoveFile instruction after execution has started.
The results of deleting files from the FTP server up to the point where it is canceled are stored in
RemoveNum and RemoveFileResult[].
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.
• If the number of deleted files exceeds the number of array elements in RemoveFileResult[], the
results that will not fit are not stored. In this case, Error does not change to TRUE.
• If a file name exceeds 255 characters, the first 255 characters are stored in Name in RemoveFileRe-
sult[]. In this case, Error does not change to TRUE.
• You can execute a maximum of 3 of the following instructions at the same time: FTPGetFileList, FTP-
GetFile, FTPPutFile, FTPRemoveFile, and FTPRemoveDir.

NY-series Instructions Reference Manual (W560)

Data
Meaning
type
Online
BOOL
2 Instruction Descriptions
Description
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.
2
2-1143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents