![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686550.webp)
WWW.NNC.IR
Macro Reference
548
Vision System FH/FZ5 Series
User’s Manual (Z340)
GetText$
Get a text data from a messages file.
Format
GetText$(#<textDataNo>, <textIdent>)
Parameter
Return value
Returns an gotten text data value in character string type.
Description
Get the text data of the identification name specified in the <textIdent> parameter, from the message file of
the text data number specified in the <textDataNo> parameter.
In the <textDataNo> parameter, specify the speficied text data number in the OpenTextData function that has
been used to open the message file.
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 has not been opened is specified in the <textDataNo> parameter, an "Illegal
function call" error will occur.
Even if an identification name that does not exist is specified in the <textIdent> parameter, an error will not
occur. If an identification name that does not exist is specified for a parameter, a text string of "#ERROR" will
be returned.
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 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
<textDataNo> Integer type
Text data number of the messages file (0 to 15) that contains the gotten text
<textIdent>
Character
string type
Identification name of the text data to be gotten
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...