Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions
The following figure shows a programming example. A file position indicator is set at 100 bytes from the
beginning of the file.
LD
A
abc
DINT#100
_SEEK_SET
Reference position Origin =
The reference position is
at the beginning of the file.
The offset Offset = DINT#100
The offset is 100 bytes.
2-1262
FileSeek_instance
def
FileSeek
Execute
Done
ghi
FileID
Busy
jkl
Offset
Error
mno
Origin
ErrorID
The FileSeek instruction sets a file position indicator in the file specified by FileID in the SD Memory Card.
The file position indicator is at the position that is Offset from the beginning of the file.
_SEEK_SET
File position indicator
ST
FileSeek_instance(A, abc, DINT#100,
File FileID = abc

NY-series Instructions Reference Manual (W560)

_SEEK_SET, def,
ghi, jkl, mno);
The position that is 100 bytes
from the beginning of the file.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents