WWW.NNC.IR
Macro Reference
464
Vision System FH/FZ5 Series
User’s Manual (Z340)
DisplayUnitNo
Gets the selection state of the processing unit number of the flow window.
Format
DisplayUnitNo
Parameter
None.
Return value
Returns the processing unit number as an integer value.
Description
Gets the processing unit number of the unit selected in the flow window.
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
In the communication command macro, gets the processing unit number selected in the flow window.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Get the processing unit number selected in the flow window.
NO& = DisplayUnitNo
Rem Set the processing unit number in the response data of the communication command.
ResponseString$ = Str$(NO&)
CommandResponse& = 0
GetImageWindow (Reference: X Details (p.533)) SetDisplayUnitNo (Reference: X Details (p.699))
UnitNo (Reference: X Details (p.790)) Ut (Reference: X Details (p.793))