Fileputs - Omron NY532-5400 Reference Manual

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

Advertisement

FilePuts

The FilePuts instruction writes a text string to the specified file in the SD Memory Card.
Instruction
FilePuts
Put Text String
Variables
Name
Meaning
FileID
File ID
In
Write text
string
Bit strings
FileID
In
Function
The FilePuts instruction writes a text string to the position of the file position indicator in the file speci-
fied by file ID FileID in the SD Memory Card. The file position indicator is set at the desired location in
advance with the FileSeek instruction. The contents of write text string In is written to the file.
The following figure shows a programming example. Here, the contents of array element def[0] is writ-
ten to the file.
LD
FilePuts_instance
A
Execute
abc
FileID
def[0]
In
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FB
I/O
Description
ID of file to write
Input
Text string to write
OK
ghi
FilePuts
Done
Busy
jkl
Error
mno
ErrorID
pqr
Graphic expression
FilePuts_instance
FilePuts
Execute
Done
FileID
Busy
In
Error
ErrorID
Valid range
Depends on data type.
Integers
ST
FilePuts_instance(A, abc, def[0], ghi, jkl, mno, pqr);
2 Instruction Descriptions
ST expression
FilePuts_instance(Execute,
FileID, In, Done, Busy, Error,
ErrorID);
Unit
Default
0
---
''
Times, durations, dates,
and text strings
2-1289
2
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents