Sd Memory Card Operation Instructions - Omron NJ-series User Manual

Machine automation controller cpu unit software
Hide thumbs Also See for NJ-series:
Table of Contents

Advertisement

8 CPU Unit Functions
 Maximum Number of Stored Files
The number of files that you can store on an SD Memory Card depends on the directory level in
which you store the files. The maximum number of files for each is given in the following table. How-
ever, the values in the table assume that 8.3 filename is used. If you use long file names, the maxi-
mum number of stored files is less than the value given in the following table.
Directory level
Root directory
Subdirectory
 Maximum Size of One File
The maximum size of any one file is 2,147,483,647 bytes (2 GB 1 byte).
8-3-3

SD Memory Card Operation Instructions

You can perform various operations on the SD Memory Card by using the following instructions.
Instruction name
Read Variable
from File
Write Variable to
File
Open File
Close File
Seek File
Read File
Write File
Get Text String
Put Text String
Delete File
Change File
Name
Copy File
Create Directory
Delete Directory
8-12
Maximum number of
Format
FAT16
FAT32
FAT16, FAT32
Instruction
The FileReadVar instruction reads the contents of a binary file on the
FileReadVar
SD Memory Card and writes it to the specified variable. You can
specify array and structure variables.
The FileWriteVar instruction writes the value of a specified variable to
a binary file in the SD Memory Card. You can specify array and struc-
FileWriteVar
ture variables. If the directory specified for the file name does not
exist, it is created.
FileOpen
The FileOpen instruction opens the specified file.
FileClose
The FileClose instruction closes the specified file.
The FileSeek instruction sets a file position indicator in the specified
FileSeek
file.
FileRead
The FileRead instruction reads the data from the specified file.
FileWrite
The FileWrite instruction writes data to the specified file.
The FileGets instruction reads a text string of one line from the speci-
FileGets
fied file.
The FilePuts instruction writes a text string of one line to the specified
FilePuts
file.
The FileRemove instruction deletes the specified file from the SD
FileRemove
Memory Card.
The FileRename instruction changes the name of the specified file or
FileRename
directory.
FileCopy
The FileCopy instruction copies the specified file to a different file.
DirCreate
The DirCreate instruction creates a directory in the SD Memory Card.
The DirRemove instruction deletes a directory from the SD Memory
DirRemove
Card.
stored files
511
65,533
65,533
Description
NJ-series CPU Unit Software User's Manual (W501)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents