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 #629 background imageLoading...
Page #629 background image
WWW.NNC.IR
Macro Reference
627
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Open For Append As#
Open the file in append mode.
Format
Open <fileName> For Append As #<fileNo>
Parameter
Return value
None.
Description
Assigns the specified file number in the <fileNo> parameter to the specified file by the <fileName> parameter
and open the file in append mode.
Be sure to execute the Close function to close the file opended with this macro function within the same
subroutine. 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.
• The Close function is not executed. The Close function is used in a different subroutine from where this
macro function is executed.
• This macro function is executed at a different timing from the Open function execution.
In the <fileName> parameter, use an absolute path to specify the file name of the file to be opened.
If the file of the file name specified in the <fileName> parameter does not exist, the file is newly created.
If the file of the file name specified in the <fileName> parameter already exists, open the existing file so that
the additional writing in the file is possible.
If a value outside the range of 0 to 15 is specified in the <fileNo> parameter, an "Illegal function call" error will
occur.
If a value outside the range -2147483648 to 2147483647 is specified as an integer parameter, an "Overflow"
error will occur.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a character string longer than 255 characters is specified for a character string parameter, a "String too
long" 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
<fileName>
Character
string type
Absolute path of the file to be opened
<fileNo> Integer type Assigned file number (0 to 15) to the opened 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