Dirremove - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

DirRemove

The DirRemove instruction deletes the specified directory from the SD Memory Card.
Instruction
DirRemove
Delete Directory
Variables
Name
Meaning
DirName
Directory to
delete
All
All designa-
tion
Bit strings
DirName
All
OK
Function
The DirRemove instruction deletes the directory with the name specified by directory to delete Dir from
the SD Memory Card.
If there are files or subdirectories in the specified directory, the following processing is performed
according to the value of all designation All.
Value of All
TRUE
FALSE
2-1320
Name
FB/FUN
FB
I/O
Description
Directory to delete
Specifies whether to delete
Input
files and subdirectories
inside specified directory
TRUE: Delete files and sub-
directories.
FALSE: Do not delete.
All files and subdirectories are deleted along with the specified directory.
The specified directory is not deleted and an error occurs.
Graphic expression
DirRemove_instance
DirRemove
Execute
Done
DirName
Busy
All
Error
ErrorID
Valid range
66 bytes max. (65 sin-
gle-byte alphanumeric
characters plus the final
NULL character)
Depends on data type.
Integers
Treatment
NY-series Instructions Reference Manual (W560)
ST expression
DirRemove_instance(Execute,
DirName, All, Done, Busy, Error,
ErrorID);
Unit
Default
''
FALSE
---
Times, durations, dates,
and text strings
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents