![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686493.webp)
WWW.NNC.IR
Macro Reference
491
8
App
end
ice
s
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPG subroutine of the Unit Macro processing unit to display the wide line with width
of 10 whose starting and ending point coordinates are the coordinates measured by the Processing Unit
numbers 5 and 6 search processing units respectively. The measured X and Y coordinates can be gotten
with External Reference Data numbers 6 and 7 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, 6, X_START#
GetUnitData 5, 7, Y_START#
GetUnitData 6, 6, X_END#
GetUnitData 6, 7, Y_END#
Rem Draw the image
DrawLineW Int(X_START#), Int(Y_START#), Int(X_END#), Int(Y_END#), 10, 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))
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...