WWW.NNC.IR
Macro Reference
640
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Gets the gotten values of "correlation value", "measurement coordinate X", and "measurement coordinate Y"
by the search processing unit (Processing Unit number 2) and outputs to the system status console window.
The correlation value, measured position coordinates X and Y can be gotten with External Reference Data
numbers 5, 6, and 7 respectively.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Get the measurement result.
GetUnitData 2, 5, CR#
GetUnitData 2, 6, X#
GetUnitData 2, 7, Y#
Rem Output the gotten measurement results to the system status console window.
Print CR#; ","; X#; ","; Y#
Cont (Reference: X Details (p.436)) Debug (Reference: X Details (p.456))
DebugPrint (Reference: X Details (p.458)) GetUnitData (Reference: X Details (p.552))
List (Reference: X Details (p.597)) SetStop (Reference: X Details (p.723))
SetVar (Reference: X Details (p.741)) Stop (Reference: X Details (p.747))
VarList (Reference: X Details (p.796))