![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686581.webp)
WWW.NNC.IR
Macro Reference
579
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
ItemCount
Gets the number of useable processing item types.
Format
ItemCount
Parameter
None.
Return value
Returns the number of usable processing item types as an integer value.
Description
Gets the number of processing item types that can be used on the sensor controller.
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.
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
Supported Versions
Version 3.50 or later
Related Items
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
ItemIdent$ (Reference:
X
Details (p.580))
ItemInfo (Reference:
X
Details (p.582))
ItemTitle$ (Reference:
X
Details (p.584))
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...