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
The DirCreate instruction creates a directory with the name specified by DirName
in the SD Memory Card.
Directory is created.
Related System-defined Variables
Name
_Card1Ready
*2
_Card1Protect
*2
_Card1Err
*2
_Card1Access
_Card1PowerFail
*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.
2-1318
DirName
'Dir0'
Meaning
Data type
SD Memory Card
BOOL
Ready Flag
SD Memory Card Write
BOOL
Protected Flag
SD Memory Card Error
BOOL
Flag
SD Memory Card
BOOL
Access Flag
SD Memory Card
BOOL
Power Interruption Flag
Description
This flag indicates if the SD Memory Card can be
accessed by instructions and communications com-
*1
mands.
TRUE: Can be used.
FALSE: Cannot be used.
This flag indicates if the SD Memory Card is write pro-
tected when it is inserted and ready to use.
TRUE: Write protected.
FALSE: Not write protected.
This flag indicates if an unspecified SD Memory Card
(e.g., an SDHC card) is mounted or if the format is
incorrect (i.e., not FAT16 or corrupted).
TRUE: Error.
FALSE: No error.
This flag indicates if the SD Memory Card is currently
being accessed.
TRUE: Being accessed.
FALSE: Not being accessed.
This flag indicates if an error occurred in completing
processing when power was interrupted during
*3
access
. This flag is not cleared automatically.
TRUE: Error.
FALSE: No error.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents