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
Sample Programming
Here, four bytes of data are written from the second byte from the beginning of the file 'ABC.bin.' The
contents of the BYTE array variable OutDat[] is written to the file. The processing procedure is as fol-
lows:
1
The FileOpen instruction is used to open the file 'ABC.bin.'
2
The FileSeek instruction is used to set a file position indicator at the second byte from the begin-
ning of the file.
3
The FileWrite instruction is used to write four bytes from array variable OutDat[] to the position
of the file position indicator.
4
The FileClose instruction is used to close the file 'ABC.bin.'
2-1276

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents