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 #843 background imageLoading...
Page #843 background image
2-795
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
SD Memory Card Instructions
2
FileWriteVar
The following figure shows a programming example. The contents of array variable abc[0] is written to a
file named ‘Temp\f_name.bin.’
The root directory of the file name is the top level of the SD Memory Card.
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.
_Card1Protect SD Memory Card Write
Protected Flag
BOOL 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.
_Card1Err SD Memory Card Error
Flag
BOOL 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.
_Card1Access SD Memory Card
Access Flag
BOOL This flag indicates if the SD Memory Card is currently
being accessed.
TRUE: Being accessed.
FALSE: Not being accessed.
_Card1PowerFail SD Memory Card
Power Interruption Flag
BOOL This flag indicates if an error occurred in completing
processing when power was interrupted during SD
Memory Card access. This flag is not cleared automat-
ically.
TRUE: Error.
FALSE: No error.
Additional Information
FileWriteVar_instance(A, ‘Temp/f_name.bin’, abc,
TRUE, def, ghi, jkl, mno);
LD
ST
A
’Temp/f_name.bin’
abc
TRUE
FileWriteVar
Execute Done
FileName Busy
WriteVar Error
OverWrite ErrorID
FileWriteVar_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