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
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 and
NY-series Controllers.
• 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 there are no files or subdirectories in the directory specified by the SvrDirName input variable,
Done changes to TRUE to indicate a normal end. If 0 is stored in StoredNum, nothing is stored in
FileList[].
• If the number of array elements in FileList[] is less than the number of files specified with the GetFile-
Num input variable, only the file information that will fit in FileList[] is stored and the file information
that does not fit is 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 FileList[]. In this
case, Error does not change to TRUE.
• It may be impossible to obtain some or all of the specified file details depending on FTP server spec-
ifications. The members of FileList[] take the following values for files for which details are not
obtained. In this case, the value of Error is FALSE.
Member
ModifiedDate
Size
ReadOnly
Folder
• 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.
• ".." 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.
• 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.
2-1112
Meaning
Online
BOOL
Value
DT#1970-01-01-00:00:00.000000000
0
FALSE
FALSE
Data
type
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)

Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents