![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686538.webp)
WWW.NNC.IR
Macro Reference
536
Vision System FH/FZ5 Series
User’s Manual (Z340)
GetMeasureOut
Gets the external output setting for measurement results.
Format
GetMeasureOut
Parameter
None.
Return value
Description
Gets the "External output" setting in the layout settings as the external output setting for measurement
results. (Reference:
Setting the Behavior of Output Signals for Each Layout (Layout Settings) (p.90))
Even when the measurement result external output setting is 0, data can be output using the SendData
function or SendString function in the macro customize function.
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
• 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 scene control macro, outputs the measurement results to an external device when "External Output" is
ON, and outputs the measurement results to the system status console window when OFF.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Returns the external output setting as an integer value.
0: Not output externally
1: Output externally
Rem Get the read character string of the 2D code processing unit of Processing Unit number 3.
GetUnitData 3, "decodeCharStr", RESULT$
Rem Branch the processing based on the external output setting
If GetMeasureOut = 1 Then
SendString "TcpNormal", RESULT$
Else
Print RESULT$
Endif
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...