EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #854 background imageLoading...
Page #854 background image
2 Instruction Descriptions
2-806
NJ-series Instructions Reference Manual (W502)
FileClose
The FileClose instruction closes the specified file in the SD Memory Card.
The FileClose instruction closes the file specified by FileID in the SD Memory Card.
The following figure shows a programming example. Here, the file whose file ID is the value of variable
abc is closed.
Instruction Name FB/FUN Graphic expression ST expression
FileClose Close File FB FileClose_instance(Execute,
FileID, Done, Busy, Error,
ErrorID);
Variables
Name Meaning I/O Description Valid range Unit Default
FileID File ID Input ID of file to close Depends on data type.
--- 0
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
FileID OK
Function
Related System-defined Variables
Name Meaning Data type Description
_Card1Ready SD Memory Card
Ready Flag
BOOL 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.
FileClose
Execute Done
FileID Busy
Error
ErrorID
FileClose_instance
FileClose_instance(A, abc, def, ghi, jkl, mno);
LD ST
abc
A
FileClose
Execute Done
FileID Busy
Error
ErrorID
FileClose_instance
ghi
jkl
mno
def

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals