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
*1 For the NJ/NX-series, it is a precondition that the SD Memory Card is physically inserted and mounted normally. For an
NY-series Controller, it is a precondition that the shared folder is detected by the Controller.
*2 These variables are not used for the NY-series Controller. They are fixed to FALSE.
*3 For the NJ/NX-series, this indicates an access to the SD Memory Card. For an NY-series Controller, this indicates an
access to the shared folder.
Additional Information
The root directory of the file name is the top level of the SD Memory Card.
Precautions for Correct Use
• 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 on page 2-3 for a timing chart for Execute, Done, Busy, and Error.
• If the copy operation fails, the file specified by DstFileName may remain in an incomplete state in the
SD Memory Card.
• If a file is open when the operating mode of the CPU Unit is changed to PROGRAM mode or when a
major fault level Controller error occurs, the file is closed by the system. Any read/write operations
that are in progress are completed to the end.
• For an NJ/NX-series CPU Unit, if a file is open when the power supply is stopped with the SD Mem-
ory Card power supply switch, the file is not corrupted.
• For an NJ/NX-series CPU Unit, if a file is open and the SD Memory Card is removed before the SD
Memory Card power supply switch is pressed, the contents of the file will sometimes be corrupted.
Always turn OFF the power supply before removing the SD Memory Card.
• For an NJ/NX-series CPU Unit, if a file is open when the power supply is stopped or the SD Memory
Card is removed, it will not be possible to read or write the file even if the SD Memory Card is inserted
again.
• Do not simultaneously access the same file. Perform exclusive control of SD Memory Card instruc-
tions in the user program.
• An error occurs in the following cases. Error will change to TRUE.
• The SD Memory Card is not in a usable condition.
• The SD Memory Card is write protected.
• There is insufficient space available on the SD Memory Card.
• The file specified by SrcFileName does not exist.
• The value of SrcFileName is not a valid file name.
• The value of DstFileName is not a valid file name.
• The maximum number of files or directories is exceeded.
• The file specified by SrcFileName or DstFileName is already being accessed.
• A file with the name DstFileName already exits and the value of OverWrite is FALSE.
• A file with the name DstFileName already exits and the file is write protected.
• If more than four SD Memory Card instructions that do not have a FileID variable (i.e., FileWrite-
Var, FileReadVar, FileCopy, DirCreate, FileRemove, DirRemove, and FileRename) are executed
at the same time.
• The value of DstFileName exceeds the maximum number of bytes allowed in a file name.
• An error that prevents access occurs during SD Memory Card access.
2-1300

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents