![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686785.webp)
WWW.NNC.IR
Macro Reference
783
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
In the *MEASUREDISPG subroutine of the Unit Macro processing unit, gets the measurement X and Y
coordinate values of the search processing unit of Processing Unit number 5 and displaying the cursor in the
image coordinates. The measurement X coordinate is the external reference data number 8 and the external
reference data identification name "X", and the measurement Y coordinate is the external reference data
number 7 and the external reference data identification name "Y".
Even when the "Calibration" setting of the search processing unit is "ON", this macro function can be used to
get drawing coordinates without concern for the calibration settings.
Useable Modules
Unit Calculation Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
SEARCHX& = UnitData2(5, 6)
SEARCHY& = UnitData2(5, 7)
Rem The same result can be gotten by specifying "X" instead of 6.
SEARCHX& = UnitData2(5, "X")
SEARCHY& = UnitData2(5, "Y")
Rem Display the cursor in the coordinates prior to position correction.
DrawCursor SEARCHX&, SEARCHY&, 0, UnitNo
GetUnitData (Reference:
X
Details (p.552))
SetUnitData (Reference:
X
Details (p.731))
UnitData (Reference:
X
Details (p.778))
UnitData$ (Reference:
X
Details (p.780))
UnitNo (Reference:
X
Details (p.790))
Ut (Reference:
X
Details (p.793))
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...