EasyManuals Logo

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #737 background imageLoading...
Page #737 background image
WWW.NNC.IR
Macro Reference
735
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
SetUnitJudge
Sets the judgement result of a processing unit.
Format
SetUnitJudge <unitNo>, <judge>[, <totalJudgeRefrect>]
Parameter
Return value
None.
Description
Sets the judgement result specified in the <judge> parameter in the judgement result of the processing unit
specified in the <unitNo> parameter. If the <totalJudgeRefrect> parameter is omitted, the specified
judgement is applied to the overall judgement.
When this macro function is used to set the judgement result of another processing unit, operation is as
follows:
• If measurement processing is executed on the processing unit after the judgement result for the first
measurement is set with this macro function, the judgement result set with this macro function is
overwritten with the measurement processing result of the processing unit.
• If the judgement result is set with this macro function after measurement processing is executed on the
processing unit for the first measurement, the judgement result of the processing unit is overwritten by the
judgement result set with this macro function.
In both cases, the judgement result can be reflected in the overall judgement prior to overwriting by
specifying True with the <totakJudgeRefrect> parameter.
If an incorrect data type is specified for a parameter, a "Type mismatch" error will occur.
If a non-existent number, numerical value, or combination of data types or values is specified for a parameter,
an "Illegal function call" 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
• None.
Parameter
name
Data type Description
<unitNo> Integer type
Processing unit number (0 to (the number of registered processing units in the current
scene minus one))
<judge> Integer type
Judgement result to set
JUDGE_NC: No judgement (unmeasured)
JUDGE_OK: Judgement result OK
JUDGE_NG: Judgement result NG
JUDGE_IMAGEERROR: Judgement result error (image format mismatch)
JUDGE_MODELERROR: Judgement result error (unregistered model)
JUDGE_MEMORYERROR: Judgement result error (insufficient memory)
JUDGE_ERROR: Judgement result error (other error)
<totalJudgeRefrect>
Integer type
Setting of whether to reflect the overall judgement result
False: not reflected
True: reflected

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals