![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686731.webp)
WWW.NNC.IR
Macro Reference
729
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetTextWindow
Sets the state of the text window.
Format
SetTextWindow <unitNo>, <subNo>, <update>, <visible>
Parameter
Return value
None.
Description
Sets the state of the text window.
Specify the value of the displayed processing unit number in the <unitNo> parameter. To link the processing
unit displayed in the text window to the flow display, specify -1.
In the <subNo> parameter, 0 should normally be specified for the value of the displayed sub image number.
When used with the unit macro, the text window state of a sub image number other than 0 can be set by
including the DisplaySubNo macro function in the MEASUREDISPT subroutine.
In the <update> parameter, 0 should always be specified for the update timing.
The value specified in the <visible> parameter is not reflected to the setting.
If an incorrect data type is specified for a parameter, a "Type mismatch" 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
• Execute this macro function when the BUSY signal or other measurement in progress signal is ON and
measurement is prohibited. (Reference:
State Transitions and Execution Timing (p.227))
Example
In the communication command macro, changes the processing unit number of the processing unit displayed
in the text display window to the number specified in the communication command argument.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Parameter
name
Data type
Description
<unitNo>
Integer type
Processing unit number of the target processing unit to display
<subNo>
Integer type
Sub number of the target image to display
<update>
Integer type
Updated timing (always 0)
<visible>
Integer type
Setting of whether to display (This parameter is always invalid i.e., the entered value is
always ignored).
Rem Get the state of the text window.
GetTextWindow UNITNO&, SUBNO&, UPDATE&, VISIBLE&
Rem Set the number specified in the command argument in the processing unit number that is displayed.
SetTextWindow argumentValue#(0), SUBNO&, UPDATE&, VISIBLE&
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...