Fileread - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

FileRead

The FileRead instruction reads the data from the specified file in the SD Memory Card.
Instruction
FileRead
Read File
Variables
Name
Meaning
FileID
File ID
Size
Number of
elements to
read
ReadBuf[]
Read buffer In-out
(array)
ReadSize
Number of
read ele-
ments
EOF
End of file
Bit strings
FileID
Size
ReadBuf[]
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
(array)
ReadSize
EOF
OK
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FB
I/O
Description
ID of file to read
Number of elements to read
Input
Buffer in which to write data
that was read
Number of elements that
were actually read
Whether end of file was
Output
reached
TRUE: Reached.
FALSE: Not reached.
OK
OK
Arrays enumerations or structures can also be specified.
OK
Graphic expression
FileRead_instance
FileRead
Execute
Done
FileID
Busy
ReadBuf
Size
Error
ErrorID
ReadSize
EOF
Valid range
Depends on data type.
Depends on data type.
Depends on data type.
Integers
2 Instruction Descriptions
ST expression
FileRead_instance(Execute,
FileID, ReadBuf, Size,
Done, Busy, Error, ErrorID,
ReadSize, EOF);
Unit
Default
0
1
---
---
---
---
---
Times, durations, dates,
and text strings
2-1265
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents