Omron SYSMAC FH Series User Manual page 787

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Return value
Returns processing unit information as an integer value. Returns -1 if information does not exist.
Description
Gets the information specified in the <kind> parameter of the processing unit specified in the <unitNo>
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
Checks if model registration is possible on the processing unit of Processing Unit number 2.
If UnitInfo(2, 5) > 0 Then
Rem Write a model registration processing statements here.
Endifi
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
UnitNo (Reference:
Vision System FH/FZ5 Series
User's Manual (Z340)
Details (p.790))
WWW.NNC.IR
Ut (Reference:
Details (p.793))
8
785
Macro Reference

Advertisement

Table of Contents
loading

Table of Contents