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 #860 background imageLoading...
Page #860 background image
2 Instruction Descriptions
2-812
NJ-series Instructions Reference Manual (W502)
FileRead
The FileRead instruction reads the data from the specified file in the SD Memory Card.
Instruction Name FB/FUN Graphic expression ST expression
FileRead Read File FB FileRead_instance(Exe-
cute, FileID, ReadBuf, Size,
Done, Busy, Error, ErrorID,
ReadSize, EOF);
Variables
Name Meaning I/O Description Valid range Unit Default
FileID File ID
Input
ID of file to read
Depends on data type.
---
0
Size Number of
elements to
read
Number of elements to read 1
ReadBuf[]
(array)
Read buffer In-out Buffer in which to write data
that was read
Depends on data type. --- ---
ReadSize Number of
read ele-
ments
Output
Number of elements that
were actually read
Depends on data type. --- ---
EOF End of file Whether end of file was
reached
TRUE: Reached.
FALSE: Not reached.
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
Size OK
ReadBuf[]
(array)
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Arrays enumerations or structures can also be specified.
ReadSize OK
EOF OK
FileRead
Execute Done
FileID Busy
ReadBuf
Size Error
ErrorID
ReadSize
EOF
FileRead_instance

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