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 #474 background imageLoading...
Page #474 background image
WWW.NNC.IR
Macro Reference
472
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPG subroutine of the Unit Macro processing unit to draw an arc of the measured
radius whose starting angle is -90
° and ending angle is 180° at the measured center coordinates by the
circular scan edge position processing unit (Processing Unit number 5). The displayed arc is a wide arc
whose outer radius is the measured maximum radius and whose inner radius is 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 arc 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
DrawArcW Int(X#),Int(Y#), Int(R#), -90, 180, Int(W#), 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