EasyManuals Logo
Home>Omron>Industrial Equipment>SYSMAC FH Series

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #434 background imageLoading...
Page #434 background image
WWW.NNC.IR
Macro Reference
432
Vision System FH/FZ5 Series
User’s Manual (Z340)
Close
Closes up the file.
Format
Close [#<fileNo>[, #<fileNo>]...]
Parameter
Return value
None.
Description
Close the file number specified in the <fileNo> parameter.
In the <fileNo> parameter, specify the specified file number in the Open function that has been used to open
the file.
If multiple file numbers have been specified in the <fileNo> parameter, the multiple open files are closed.
If the <fileNo> parameter is omitted, all open files are closed.
If a value outside the range of 0 to 15 is specified in the <fileNo> parameter, an "Illegal function call" error will
occur.
Be sure to use this macro function to close the opened file with the Open function within the same subroutine
as where the Open function is used. File accessing processes such as data writing to a file and data reading
from a file may not be completed properly in the following cases.
• This macro function is not executed.
• This macro function is used in a different subroutine from where the Open function is executed.
• This macro function is executed at a different timing from the Open function execution.
To access the files that have been closed by executing this macro function, execute the Open function again
to open the closed file.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If the format is written incorrectly, such as writing the macro function name incorrectly, omitting a comma, or
omitting a half-width space, a "Syntax error" error will occur.
Usage Cautions
• None.
Parameter
name
Data type Description
<fileNo> Integer type File number (0 to 15) of closed file

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals