Denso RC5 Specifikace Strana 647

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 692
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 646
Chapter 21 Vision Control (Option)
21-95
VISPOSX (Function)
Function
Obtains an image process result (Coordinate X) from the storage memory.
Format
VISPOSX (<Parameter>)
Explanation
<Parameter> Designates the number of the process result (Coordinate X) to
obtain (0 to 511).
Note (1): This is the same as when the VISGETNUM parameter is set to
1.
VISGETNUM (n, 2) = VISPOSY (n)
Note (2) :The process results are different from the results stored with
previous image processing instructions. Refer to the image
processing instructions.
Note (3) :You can repeatedly obtain results because they are kept until
the next image process instruction is executed,
Note (4) : If the previous image processing instruction designated an
unexpected storage location, the value becomes an unknown
number.
Note (5) : For this instruction, a µ
µµ
µVision board (option) is required.
Related Terms
VISMEASURE, VISPROJ, VISEDGE, VISREADQR, BLOB, BLOBMEASURE,
SHMODEL, SHCORNER, SHCIRCLE, VISGETNUM, VISPOSY
Example
VISSCREEN 1,0,1 'Instantaneously draws on drawing screen 0.
VISCLS 0 '
WINDMAKE R,1,512,480,0,2 'Sets window 1 to rectangle.
CAMIN 1 'Obtains a camera image from the storage memory.
VISPLNOUT 0 '
VISWORKPLN 0 'Designates an object to storage memory 0.
BLOB 1,0,0,0,128 'Executes labeling.
I1 = VISSTATUS(0) '
IF I1 = 0 THEN '
I2 = VISSTATUS(1) '
IF I2 <> 0 THEN '
FORI1=0TO15 '
VISDEFCHAR 1,1,0 '
VISLOC 10,10+I1 '
VISPRINT “X=”;VISPOSX(I1), “Y=”;VISPOSY(I1)
'
VISCROSS VISPOSX(I1), VISPOSY(I1)
'
NEXT I1 '
END IF '
END IF '
VISCAMOUT 1 '
Zobrazit stránku 646
1 2 ... 642 643 644 645 646 647 648 649 650 651 652 ... 691 692

Komentáře k této Příručce

Žádné komentáře