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
_Card1Ready
*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 the number of downloaded file results to store exceeds the number of array elements in GetFileRe-
sult[], 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 GetFileResult[].
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.
• 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 GetFileResult[].TxError is TRUE of all the files for which results are stored
in GetFileResult[] are stored in ErrorID and ErrorIDEx.
• File names are not case sensitive. Therefore, if the only difference between the names of the files at
the transfer destination and the transfer files is in capitalization, the files are detected as having the
same names. The following is performed in this case.
Value of OverWrite
TRUE
FALSE
• If the file specified by FileName does not exist in the specified directory on the FTP server, a transfer
error occurs and the value of GetFileResult[].TxError changes to TRUE.
• If the name specified for FileName is actually the name of a directory, a transfer error occurs and the
value of GetFileResult[].TxError changes to TRUE.
• If ExecOption.FileRemove is TRUE and the file specified with FileName has a read-only attribute, a
deletion error occurs and GetFileResult[].RemoveError changes to TRUE.
2-1126
Data
Meaning
type
Online
BOOL
SD Memory Card
BOOL
Ready Flag
Overwrite
specification
Overwrite
The files are overwritten.
Do not over-
The transfer destination files are not overwritten. The files are not
write.
transferred to the transfer destination.
Description
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.
This variable indicates whether the SD Memory
Card is recognized and usable.
TRUE: Can be used.
FALSE: Cannot be used.
Processing

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents