Denso RC5 Spécifications Page 615

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 614
Chapter 21 Vision Control (Option)
21-63
Example
VISSCREEN 1,0,1 'Instantaneously draws on drawing screen 0.
VISPLNOUT 0 '
VISCLS 0 '
WINDMAKE R,1,300,20,0,0 'Sets window 1 to rectangle.
CAMIN 2 'Obtains a camera image from the storage memory.
VISWORKPLN 0 'Designates the object to storage memory 0.
VISPLNOUT 0 '
VISEDGE 1,100,100,1,0,128 'Measures an edge.
WINDDISP 1 '
I1 = VISSTATUS(0) '
IF I1 = 0 THEN '
FORI1=0TOVISSTATUS(1)-1
'
VISCROSS VISPOSX(I1), VISPOSY(I1)
'
NEXT I1 '
I1 = VISSTATUS(1) '
IF I1 = 0 THEN '
VISLOC 10,10 '
VISPRINT “An edge cannot be found.”
'
END IF '
ELSEIF I1 <> 0 THEN '
VISLOC 10,10 '
VISPRINT “Measurement cannot be done.”
'
END IF '
Vue de la page 614
1 2 ... 610 611 612 613 614 615 616 617 618 619 620 ... 691 692

Commentaires sur ces manuels

Pas de commentaire