![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.
Содержание 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...