![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686763.webp)
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
Содержание 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...