WWW.NNC.IR
Macro Reference
527
8
Appendices
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREPROC subroutine in the Unit Macro processing unit to set the gotten the edge position
X values with the edge position processing units (Processing Unit numbers 1 to 4) for the upper limits of
measure X of the search processing units (Processing Unit numbers 6 to 9) respectively.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREPROC
Dim POS#(3)
Rem Get the measurement result.
GetUnitData 1, 5, POS#(0)
GetUnitData 2, 5, POS#(1)
GetUnitData 3, 5, POS#(2)
GetUnitData 4, 5, POS#(3)
For NUM& = 0 To 3
Rem Set the setting data
SetUnitData NUM&+6, 136, POS#(NUM&)
Next
Return
Do Loop While (Reference: X Details (p.465)) GetUnitData (Reference: X Details (p.552))
SetUnitData (Reference: X Details (p.731))