WWW.NNC.IR
Macro Reference
584
Vision System FH/FZ5 Series
User’s Manual (Z340)
ItemTitle$
Gets the processing item title.
Format
ItemTitle$(<itemNo>)
Parameter
Return value
Returns the title as a character string.
Description
Gets the title of the processing item specified in the <itemNo> parameter.
The title can be gotten in a language based on the language setting.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
Even if a non-existent number, numerical value, or combination of data types or values is specified for the
parameter, an error will not occur.
If a value is assigned to the return value variable or the variable is not used in an expression, a "Syntax error"
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.
Example
Gets the number of processing item types, and gets the title of the processing item of each processing item
number by repeated processing.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<itemNo> Integer type Processing item number to get the title name
Rem Get the number of the available processing items.
INUM& = ItemCount
Rem Repeat the process up to the number of the processing items.
For I&=0 To INUM&-1
Rem Get the title of the processing item
TITLE$ = ItemTitle$(I&)
Next
ItemCount (Reference: X Details (p.579)) ItemInfo (Reference: X Details (p.582))
ItemIdent$ (Reference: X Details (p.580))