WWW.NNC.IR
Macro Reference
790
Vision System FH/FZ5 Series
User’s Manual (Z340)
UnitNo
Gets the processing unit number.
Format
UnitNo
Parameter
None.
Return value
Returns the processing unit number as an integer value.
Description
Gets the processing unit number of the processing unit.
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 judgement result of the processing unit registered immediately before the current processing unit.
Useable Modules
Unit Calculation Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Get the processing unit number of this processing unit
UNO& = UnitNo
Rem Get the judgement result of the processing unit registered immediately before this processing unit.
JUDGE& = UnitJudge(UNO& - 1)
UnitJudge (Reference: X Details (p.788)) Ut (Reference: X Details (p.793))