WWW.NNC.IR
Macro Reference
734
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Changes the position of the region figure (rectangle) of the search processing unit of Processing Unit number
2.
Useable Modules
Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Dim FIGURE&(5)
Rem Get the figure data of the processing unit.
GetUnitFigure 2, 1, FIGURE&()
Rem Based on the gotten figure data, change the values of the upper left point XY coordinates and lower right point XY
coordinates of the region figure.
FIGURE&(2) = 100
FIGURE&(3) = 100
FIGURE&(4) = 300
FIGURE&(5) = 300
Rem Set the figure data in which the position of the region figure has been changed in the processing unit.
SetUnitFigure 2, 1, FIGURE&()
CopyUnitFigure (Reference: X Details (p.444)) GetUnitData (Reference: X Details (p.552))
GetUnitFigure (Reference: X Details (p.554)) MeasureStart (Reference: X Details (p.617))
MeasureStop (Reference: X Details (p.619)) SetUnitData (Reference: X Details (p.731))
UnitNo (Reference: X Details (p.790)) Ut (Reference: X Details (p.793))