EasyManua.ls Logo

Omron SYSMAC FH Series

Omron SYSMAC FH Series
882 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WWW.NNC.IR
Macro Reference
480
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Uses the *MEASUREDISPG subroutine of the Unit Macro processing unit to draw a cross-hair cursor at the
measured coordinates by the search processing unit (Processing Unit number 5). The measured X and Y
coordinates can be gotten with External Reference Data numbers 6 and 7 respectively.
To display the string at the fixed position regardless of the position compensation result, specify the assigned
processing unit number to this Unit Macro processing unit (where the *MEASUREDISPG subroutine is used)
for the <unitNo> parameter.
Useable Modules
Unit macro
Supported Versions
Version 3.50 or later
Related Items
*MEASUREDISPG
Rem Get the measurement result.
GetUnitData 5, 6, X#
GetUnitData 5, 7, Y#
Rem Draw the image
DrawCursor Int(X#), Int(Y#), 0, UnitNo
Return
GetUnitData (Reference: X Details (p.552)) Int (Reference: X Details (p.575))
SetDrawStyle (Reference: X Details (p.700)) UnitData (Reference: X Details (p.778))
UnitNo (Reference: X Details (p.790)) Ut (Reference: X Details (p.793))

Table of Contents

Other manuals for Omron SYSMAC FH Series

Related product manuals