Fileremove - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions

FileRemove

The FileRemove instruction deletes the specified file from the SD Memory Card.
Instruction
FileRemove
Delete File
Variables
Name
Meaning
FileName
File name
Bit strings
FileName
Function
The FileRemove instruction deletes the file specified by file name FileName from the SD Memory Card.
The following figure shows a programming example. Here, the file named 'ABC.bin' is deleted.
LD
A
'ABC.bin'
Related System-defined Variables
Name
_Card1Ready
2-848
Name
FB/FUN
FB
I/O
Description
Input
Name of file to delete
FileRemove_instance
FileRemove
Execute
Done
def
FileName
Busy
ghi
Error
jkl
ErrorID
Meaning
Data type
SD Memory Card
BOOL
Ready Flag
Graphic expression
FileRemove_instance
FileRemove
Execute
Done
FileName
Busy
Error
ErrorID
Valid range
Depends on data type.
Integers
ST
FileRemove_instance(A, 'ABC.bin', abc,
abc
This flag indicates if the SD Memory Card is physically
inserted and is mounted normally, i.e., if it can be
accessed by instructions and communications com-
mands.
TRUE: Can be used.
FALSE: Cannot be used.
NJ-series Instructions Reference Manual (W502)
ST expression
FileRemove_instance(Execute,
FileName, Done, Busy, Error,
ErrorID);
Unit
Default
''
---
Times, durations,
dates, and text strings
def, ghi, jkl);
Description
OK

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents