Omron SYSMAC FH Series User Manual page 567

Vision sensor vision system
Hide thumbs Also See for SYSMAC FH Series:
Table of Contents

Advertisement

Usage Cautions
• None.
Example
Uses the *MEASUREDISPG subroutine in the Unit Macro processing unit to output the measured correlation
value with the search processing unit (Processing Unit number 1) to the system status console window.
*MEASUREDISPT
Rem Get the measurement result.
GetUnitData 1, 5, RESULT&
Rem Branch the process according the measured value
If RESULT&>=80 Then
DrawTextG "Excellent", 100, 100, 0
Elseif RESULT&>=60 Then
DrawTextG "Good", 100, 100, 0
Else
DrawTextG "Bad", 100, 100, 0
EndIf
Return
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
DrawTextG (Reference:
If Then Else (Reference:
Select Case Case Else End Select
(Reference:
Details (p.694))
Vision System FH/FZ5 Series
User's Manual (Z340)
Details (p.502))
Details (p.562))
WWW.NNC.IR
GetUnitData (Reference:
Details (p.552))
Macro Reference
8
565

Advertisement

Table of Contents
loading

Table of Contents