Omron FZ4 Series User Manual page 291

Vision sensor
Table of Contents

Advertisement

Gets processing unit information
UnitInfo(<unitNo>, <kind>)
Parameters
<unitNo>
Processing unit number (integer type)
<kind>
The kind of information that is to be get (integer type)
Return Value
Processing unit information.
Description
Gets processing unit information.
The information kind is specified in the argument <kind>.
The value that can be specified is as follows.0: The kind of processing item
1: The size of setting data struct
2: The size of measure data struct
3: The size of control data struct
4: The maximum of figure data
5: The maximum of model data
6: The maximum of image data
7: The maximum of inner processing unit
8: Whether camera setting is effective or not
9: Whether processing unit measure processing can parallel or not
Example
Check processing units that are registered in the register to the processing unit number 2 model whether
If UnitInfo(2, 5) > 0 Then
   'Possible to perform processing model
   .
   .
   .
Endif
Gets the processing item ident name of processing unit
UnitItemIdent$(<unitNo>)
Parameters
<unitNo>
Return Value
The processing item ident name of processing unit.
The null character string("") is returned for unregistration the specified processing unit.
FZ4 User's Manual
Processing unit number (integer type)
Using Custom Command
4
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents