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 #437 background imageLoading...
Page #437 background image
WWW.NNC.IR
Macro Reference
435
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPT subroutine of the Unit Macro processing unit to display the measured correlation
value by the search processing unit (Processing Unit number 5), along with the gotten text string from the
prepared message file for the processing unit, in the text window. The correlation value can be gotten with
External Reference Data number 5.
The result is shown below.
Useable Modules
Unit Calculation Macro / Unit Macro
Supported Versions
Version 5.00 or later
Related Items
*MEASUREDISPT
Rem Get the measurement result.
GetUnitData 5, 5, CR#
Rem Open the messages file
OpenTextData "Search" As #1
Rem Get the text
TEXT$ = GetText$(#1, "Correlation")
Rem Draw the gotten text string from the messages file without adding any line break on the text window.
DrawText TEXT$, UnitJudge(5), 0
Rem Draw the measurement results on the text window.
DrawText Str2$(CR#, 4, 4, 0, 0), UnitJudge(5), 1
Rem Close up the messages file.
CloseTextData
Return
Correlation value: 90.0000
DrawText (Reference: X Details (p.500)) GetText$ (Reference: X Details (p.548))
GetUnitData (Reference: X Details (p.552)) OpenTextData (Reference: X Details (p.633))
UnitJudge (Reference: X Details (p.788))

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