![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686223.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
221
5
Optimizing Scene
s (
M
ea
su
re
men
t Flo
w
s)
(M
acr
o
Custo
m
ize
Fu
ncti
ons)
Vision System FH/FZ5 Series
User’s Manual (Z340)
• Data Settings
The data setting method is as follows.
Example:Re-registering the model of the Unit No. 1 Search processing unit (model figure: rectangle) in
the current measurement image, and changing the reference position (0, 0) and detection point
coordinates (320, 240).
Image data
Image data is data that is held by the processing unit itself.
When there are multiple image data items in the processing item, a unique number is assigned to each image
data item. This makes it possible to set image data by specifying the processing unit number and image
number.
Image data can be set from a macro customize program.
An image data setting macro function is used to set image data from a macro customize program.
Reference:
• Image Data Types
There are two types of image data.
• Acquisition of Data
Execution of only image data acquisition is not possible.
Dim FIGURE&(5)
GetUnitFigure 1, 0, FIGURE&()
Rem Re-register the model by setting the model figure
SetUnitFigure 1, 0, FIGURE&()
Rem Update reference coordinates XY
SetUnitData 1, 129, 0
SetUnitData 1, 130, 0
Rem Update detection point coordinates XY
SetUnitData 1, 132, 320
SetUnitData 1, 133, 240
Type
Image
number
Description
Measurement
image data
0 to 3
Image data that the processing unit registered in the measurement flow processes at
the time of measurement. Normally the image is set in measurement image 0 at the time
of measurement for "image input related" processing items and "image conversion
related" processing items such as camera image input and filtering, and image
processing is performed using images set in other processing items.
Normally 0 should be used.
Processing unit
image data
0 to
max. 31
Image data that is held by each processing item separately from the measurement
image data. The number of processing unit image data items and content varies by
processing item.
Use when you want to retain image processing results such as binarized images and
filtered images.
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...