![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686480.webp)
WWW.NNC.IR
Macro Reference
478
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPG subroutine of the Unit Macro processing unit to draw a circle of the measured
radius by the circular scan edge position processing unit (Processing Unit number 5) at the measured center
coordinates by the same circular scan edge position processing unit used for measuring the radius. This wide
circle has an outer radius of the measured maximum radius and an inner radius of the measured minimum
radius. The measured X/Y coordinates and radius, and maximum/minimum radii can be gotten with External
Reference Data numbers 5, 6, 7, 8, and 9 respectively.
To display the string at the fixed position regardless of the position compensation result, specify the assigned
processing unit number to this Unit Macro processing unit (where the *MEASUREDISPG subroutine is used)
for the <unitNo> parameter.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREDISPG
Rem Get the measurement result.
GetUnitData 5, 5, X#
GetUnitData 5, 6, Y#
GetUnitData 5, 7, R#
GetUnitData 5, 8, R_MAX#
GetUnitData 5, 9, R_MIN#
Rem Determine the width
W# = R_MAX# - R_MIN#
Rem Draw the image
DrawCircleW Int(X#), Int(Y#), Int(W#), Int(R#), 0, UnitNo
Return
GetUnitData (Reference:
X
Details (p.552))
Int (Reference:
X
Details (p.575))
SetDrawStyle (Reference:
X
Details (p.700))
UnitData (Reference:
X
Details (p.778))
UnitNo (Reference:
X
Details (p.790))
Ut (Reference:
X
Details (p.793))
Содержание 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...