![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686635.webp)
WWW.NNC.IR
Macro Reference
633
8
App
end
ice
s
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.
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...