Omron FZ4 Series User Manual page 229

Vision sensor
Table of Contents

Advertisement

if Isfile("/c0/input.dat") <> 1 then
   print "No file"
endif
Gets the number of the available processing items
ItemCount
Parameters
None.
Return Value
Returns the value of the integer type.
The content of the value is available processing item numbers.
Description
Gets the number of the available processing items.
Example
Acquire the number of the available processing items and search a search processing item and acquire
graphic data biggest number information of the search processing item.
   'Gets the number of the processing items
   Inum& = ItemCount
   'Search of search item.
   For I&=0 To Inum&-1
     If ItemIdent$(I&) = "Search" Then
       Goto *GetInfo
     Endif
   Next
   .
   .
   .
*GetInfo
   'Gets graphic data biggest number information of the search processing item.
   figMax& = ItemInfo (I& , 4)
Gets the Distinguished Name of the processing item
ItemIdent$ (<itemNo>)
Parameters
<itemNo>
FZ4 User's Manual
Processing item number (integer type)
Using Custom Command
4
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents