WWW.NNC.IR
Macro Reference
565
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
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.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
*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
DrawTextG (Reference: X Details (p.502)) GetUnitData (Reference: X Details (p.552))
If Then Else (Reference: X Details (p.562))
Select Case Case Else End Select
(Reference: X Details (p.694))