![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222194.webp)
4
Using
Tool
192
Using Custom Command
FZ4 User's Manual
Example
Clear a scene group 1.
ClearSceneGroup 1
Closes the specified file
Close [#<File No.>[,#<File No.>]...]
Parameters
<File No.>
The file number (integer) of the file to be closed.
Return Value
None.
Description
This closes a file that has been opened for data I/O processing.
In <File No.>, specify the <File No.> that was specified when the file was opened using the Open
command.
A file closed using the Close command cannot be used for I/O processing until it is opened again using
the Open command.
The <File No.> specified in Close can be specified with a later Open command for I/O processing of
other files.In addition, files that have been freed from the <File No.> specified by Close can be opened
again using the same <File No.>.
Multiple files can be closed at one time with a single Close command by specifying multiple File
Numbers.
Omitting the <File No.> will result in all open files being closed.
When a file that has been opened for output is closed, closing is done only after all of the data remaining
in the file buffer has been written out.Always execute the Close command in order to ensure the correct
end of a file writing operation.
Example
Open a file and then Close it after writing data to it.
Open "C:\input.dat" for output as #1
Print #1 DATA&
Close #1
Continues the execution of a program halted by a stop statement.
Cont
Parameters
None.
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......