WWW.NNC.IR
Macro Reference
618
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
In the communication command macro, executes measurement on the Shape Search III processing unit of
Processing Unit number 1 after input of the measurement trigger is allowed, and gets the measurement
result. Sets the "BUSY ON" setting to ON in advance. Multi-point output is external reference data number
168, the measurement X coordinate is external reference data number 6, and the measurement Y coordinate
is external reference data number 7.
Useable Modules
Scene Control Macro / Communication Command Macro
Supported Versions
Version 3.50 or later
Related Items
Rem Set multi-point output to OFF on the Shape Search III processing unit.
SetUnitData 1, 168, 0
Rem Allow input of the measurement trigger.
MeasureStart
Rem Execute measurement.
Measure 1
Rem Prohibit input of the measurement trigger.
MeasureStop
Rem Get the measurement result of the Shape Search processing unit.
GetUnitData 1, 6, POSX#
GetUnitData 1, 7, POSY#
GetUnitData (Reference: X Details (p.552)) Measure (Reference: X Details (p.612))
MeasureStop (Reference: X Details (p.619)) SetUnitData (Reference: X Details (p.731))