Omron SYSMAC FH Series User Manual page 635

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

OpenTextData
Opens a messages file.
Format
OpenTextData <ident> As #<textDataNo>
Parameter
Parameter
Data type
name
Character
<ident>
string type
<textDataNo> Integer type
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.
Vision System FH/FZ5 Series
User's Manual (Z340)
Identification name for the message file that is opened as text data
Text data number (0 to 15) that is assigned to the message file opened as text data.
WWW.NNC.IR
Description
8
633
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents