EasyManua.ls Logo

Omron SYSMAC FH Series

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
Loading...
WWW.NNC.IR
Macro Reference
633
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
OpenTextData
Opens a messages file.
Format
OpenTextData <ident> As #<textDataNo>
Parameter
Return value
None.
Description
Assigns the specified text data number in the <textDataNo> parameter to the specified file by the <ident>
parameter and opens the file.
Be sure to execute the CloseTextData function to close the file opended with this macro function within the
same subroutine. The message file cannot properly be closed and this macro function may not properly be
executed in the subsequent processes in the following cases.
The CloseTextData function is not executed.
This CloseTextData function is used in a different subroutine from where this function is executed.
This CloseTextData function is executed at a different timing from this function execution.
If a value outside the range from 0 to 15 is specified in the <textDataNo> parameter, an "Illegal function call"
error will occur.
If the text data number that is already opened is specified in the <textDataNo> parameter, an "Illegal function
call" error will occur.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified for a 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 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
<ident>
Character
string type
Identification name for the message file that is opened as text data
<textDataNo> Integer type Text data number (0 to 15) that is assigned to the message file opened as text data.

Table of Contents

Other manuals for Omron SYSMAC FH Series

Related product manuals