EasyManuals Logo
Home>Omron>Industrial Equipment>SYSMAC FH Series

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #484 background imageLoading...
Page #484 background image
WWW.NNC.IR
Macro Reference
482
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPG subroutine of the Unit Macro processing unit to display the ellipse whose radii in
the X and Y directions are the measured coordinates of the center of gravity by the labeling processing unit
(Processing Unit number 5). In this example, set the judgement conditions for the labeling processing unit to
"Gravity X", "Gravity Y", "Elliptic major axis", and "Elliptic minor axis" from label number 0. Therefore, the
assigned external reference data numbers to the gravity X, gravity Y, elliptic major axis, and elliptic minor axis
parameters are 1000, 1100, 1200, and 1300 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, 1000, X#
GetUnitData 5, 1100, Y#
GetUnitData 5, 1200, XDIAMETER#
GetUnitData 5, 1300, YDIAMETER#
Rem Draw the image
DrawEllipse Int(X#), Int(Y#), Int(XDIAMETER# / 2), Int(YDIAMETER# / 2), 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))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals