WWW.NNC.IR
Macro Reference
761
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
TotalJudge
Gets the total judgement result.
Format
TotalJudge
Parameter
None.
Return value
Returns the overall judgement result as an integer value.
• 0: No judgement (unmeasured)
• 1: Judgement result OK
• -1: Judgement result NG
Description
Gets the overall judgement result that is the result of execution of the measurement flow.
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 *MEASUREDISPG subroutine of the Unit Macro processing unit, gets the overall judgement result and
displays a character string in the image window.
Useable Modules
Unit Calculation Macro / Unit Macro
CHARSTRING$ = ""
Rem Get the total judgement result.
JG& = TotalJudge
Change the displayed character string depending on the overall judgement result.
If JG& = 1 Then
CHARSTRING$ = "OK"
ElseIf JG& = -1 Then
CHARSTRING$ = "NG"
ElseIf JG& = 0 Then
CHARSTRING$ = "NC"
Endif
Rem Display a character string.
DrawTextG CHARSTRING$, 100, 100, 0
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...