Denso RC5 Specifications Page 623

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 622
Chapter 21 Vision Control (Option)
21-71
Note (1): Before executing this function, you need to execute labeling
with BLOB.
Note (2): When you obtain the periphery length, you need to leave the
source image when you executed labeling.
Note (3): The following is an example of the data you can obtain with
the processing result obtaining function.
Note (4): For this instruction, a µ
µµ
µVision board (option) is required.
Related Terms
BLOB
Example
VISSCREEN 1,0,1 'Instantaneously draws the drawing screen 0.
WINDMAKE R,1,512,480,0,2 'Sets window 1 to rectangle.
CAMIN 1 'Obtains a camera image from the storage memory.
BLOB 1,0,0,0,128 'Executes labeling.
IF VISSTATUS(0)=0.0 THEN '
IF VISSTATUS(1)<>0.0 THEN '
FORI1=0TOVISSTATUS(1)-1
'
BLOBMEASURE I1,0 'Obtains the main axis angle of label I1.
VISCROSS VISGETNUM(I1,1), VISGETNUM(I1,2),10,20,VISGETNUM(I1,3)
NEXT I1 '
END IF '
END IF '
VISSTATUS (n)
n Item
0 Execution result 0=Norma
-1=Abnormal
1 unknown
2 Execution time
VISGETNUM (a, b)
b a = 0~ max511
0Area
1 Center of gravity a
coordinate X value
2 Center of gravity a
coordinate Y value
3 Main axis angle
4 Filet dia. Reference point
coordinate X
5 Filet dia. Reference point
coordinate Y
6 Filet dia. width
7 Filet dia. height
8 Periphery length
9
unknown
Page view 622
1 2 ... 618 619 620 621 622 623 624 625 626 627 628 ... 691 692

Comments to this Manuals

No comments