
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
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...