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
• If a wildcard is used in the file name and an error occurs for more than one file, the results of the first
file for which the value of RemoveFileResult[].TxError is TRUE of all the files for which results are
stored in RemoveFileResult[] are stored in ErrorID and ErrorIDEx.
• In the following cases, the value of RemoveFileResult[].RemoveError changes to TRUE.
• The file directory specified with FileName does not exist on the FTP server.
• A file specified with FileName has a read-only attribute.
• The name specified for FileName is actually the name of a directory.
• 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.
• ".." is specified for a directory level in SvrDirName.
• An incorrect path such as "//" is specified for SvrDirName.
• The directory specified by SvrDirName does not exist on the FTP server.
• More than 1,000 files to delete exist in the directory specified with SvrDirName.
• A file that matches the file name specified with a wildcard in FileName does not exist in the direc-
tory on the FTP server.
• A file specified with FileName 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.
• More than 3 of the following instructions were executed at the same time: FTPGetFileList, FTP-
GetFile, FTPPutFile, FTPRemoveFile, and FTPRemoveDir.
• For this instruction, expansion error code ErrorIDEx gives the FTP response code that was returned
by the FTP server. The following table lists typical values of ErrorIDEx and describes the meanings of
the errors and the corrections. For details, refer to FTP server specifications. An expansion error
code is output to ErrorIDEx when the value of error code ErrorID is WORD#16#2407.
Value of ErrorI-
DEx
16#000001A9
16#000001AA
16#000001C2
16#00000212
16#00000214
16#00000226
16#00000229
Version Information
A CPU Unit with unit version 1.08 or later and Sysmac Studio version 1.09 or higher are required
to use this instruction.
2-1144
Meaning
It was not possible to establish a data
connection.
The connection was closed. Data trans-
fer was aborted.
It was not possible to perform the
requested file operation. Using the file
was not possible, e.g., it is already open.
User login was not possible.
An account to save files is required.
Execution of the requested file operation
was not possible because using the file
was not possible, e.g., accessing it was
not possible because it was not found.
Execution was not possible because the
file name was not correct.
Correction
If you use FTP communications with an FTP
server over the Internet, make sure that the
FTP open mode is not set to active.
Check the connection to the FTP server.
Make sure that the FTP server is operating.
Make sure that the file is not open for any
other application.
Check the FTP user name and password.
Check the FTP user access rights.
Make sure that a file with the specified name
exists in the directory on the FTP server.
Check the access rights of the specified file.
Check the access rights of the specified
directory.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents