EasyManua.ls Logo

Omron NJ501-1500

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
Loading...
2 Instruction Descriptions
2-834
NJ-series Instructions Reference Manual (W502)
To create a line feed after you write the text sting, add a line feed code to the end of In.
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-2 for a timing chart for Execute, Done, Busy, and Error.
You must use the FileOpen instruction to obtain the value for FileID before you execute this instruc-
tion.
If the operating mode of the CPU Unit is changed to PROGRAM mode or when a major fault level
Controller error occurs during instruction execution, the file is closed by the system. Any read/write
operations that are in progress are completed to the end.
An error occurs in the following cases. Error will change to TRUE.
The SD Memory Card is not in a usable condition.
The SD Memory Card is write protected.
There is insufficient space available on the SD Memory Card.
The file specified by FileID does not exist.
The file specified by FileID is being accessed.
The file specified by FileID was not opened in a writing mode.
An error that prevents access occurs during SD Memory Card access.
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 incor-
rect (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 pro-
cessing when power was interrupted during SD Memory
Card access. This flag is not cleared automatically.
TRUE: Error.
FALSE: No error.
Additional Information
Precautions for Correct Use

Table of Contents

Related product manuals