![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686582.webp)
WWW.NNC.IR
Macro Reference
580
Vision System FH/FZ5 Series
User’s Manual (Z340)
ItemIdent$
Gets the identification name of the processing item.
Format
ItemIdent$(<itemNo>)
Parameter
Return value
Returns the value of the processing item identification name as a character string.
Description
Gets the identification name of the processing item with the processing item number specified in the
<itemNo> parameter.
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 by repeated processing, searches for search processing
items and gets the processing item type of each search processing item.
Useable Modules
Scene Control Macro / Communication Command Macro
Parameter
name
Data type
Description
<itemNo>
Integer type
Processing item number to get the identification name of the processing item
Rem Get the number of the available processing items.
INUM& = ItemCount
Rem Search for search processing items a number of times equal to the number of processing items
For I&=0 To INUM&-1
If ItemIdent$(I&) = "Search" Then
Rem Get the processing item type of the search processing item
FIGNAME& = ItemInfo(I&, 0)
Endif
Next
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...