![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222279.webp)
4
Using
Tool
FZ4 User's Manual
Using Custom Command
277
Example
Set in a rectangular shape to the area of ??the search processing unit # 2 processing unit
Dim figure&(5)
figure&(0) = 8
'Shape Type
figure(1) = 100
'X coordinate of the upper left point
figure(2) = 100
'Y coordinate of the upper left point
figure(3) = 300
'X coordinate of the lower right corner
figure(4) = 300
'Y coordinate of the lower right corner
SetUnitFigure 2, 1, figure&()
Sets judge value of a processing unit
SetUnitJudge <unitNo>, <judge>[, <totalJudgeRefrect>]
Parameters
<unitNo>
Processing unit number
<judge>
Judgement result to be set
<totalJudgeRefrect>
Whether or not reflected on the overall judgement
Return Value
None.
Description
Sets the judgement result of the relevant processing unit.
The processing unit-number to be set is specified for the argument <unitNo>.
To the argument <judge> as a judgment result of the setting.
The following judgement result values can be 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)
It is specified for the argument <totalJudgeRefrect>(possible to omit) whether to reflect the judgment
result of the setting in the total judgment result by either of the following value.
False
reflected
True
not reflected
Example
Set to OK determination result of the determination result of the search processing unit # 2 processing
unit
SetUnitJudge 2, JUDGE_OK, True
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......