WWW.NNC.IR
Macro Reference
699
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetDisplayUnitNo
Sets the processing unit number in the flow window to the selected state.
Format
SetDisplayUnitNo <unitNo>
Parameter
Return value
None.
Description
Sets the processing unit of the processing unit number specified in the <unitNo> parameter to the selected
state in the flow window.
When the processing unit displayed in the image window and the text window is set to "Link to Flow Display",
the information of the processing unit selected in the flow window is displayed.
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 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
• Execute this macro function when the BUSY signal or other measurement in progress signal is ON and
measurement is prohibited. (Reference: XState Transitions and Execution Timing (p.227))
Example
Sets the unit specified in the command argument of the communication command macro to the selected
state in the flow window.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Parameter
name
Data type Description
<unitNo> Integer type Processing unit number to be selected
Rem Select the processing unit that has the number specified in the argument of the communication command.
SetDisplayUnitNo argumentValue#(0)
DisplayUnitNo (Reference: X Details (p.464)) SetImageWindow (Reference: X Details (p.704))
UnitNo (Reference: X Details (p.790)) Ut (Reference: X Details (p.793))