Denso RC5 Specifications Page 605

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 604
Chapter 21 Vision Control (Option)
21-53
Note (1): If the process screen and the storage screen have the same
number, an error will result.
Note (2): Designate the process area with a window.
Note (3): If the designated window position is out of screen, the
execution will result in an error.
Note (4): The only possible window shape that may be designated is
a rectangle with 0 degrees. If another window shape is
designated, an error will result.
Note (5): In calculation of binarization, screen 1 is also binarized.
Note (6): For this instruction, a µ
µµ
µVision board (option) is required.
Related Terms
VISBINA
Example
VISSCREEN 0,0,1 'Instantaneously draws on storage memory 0.
WINDMAKE R,1,512,480,0,2
'Sets window 1 to rectangle.
CAMIN 1 'Obtains a camera image from the storage memory.
VISCOPY 0,1 'Copies storage memory 0 to 1.
VISBRIGHT 255 'Sets the drawing brightness to 255.
VISRECT 100,100,100,100,1
'Draws a filled rectangle on the screen.
VISPLNOUT 1 'Displays storage memory 1 on the monitor.
VISMASK 1,0,0,0,1,10
'Calculates the absolute value of the difference between the
2
'screens.
WINDDISP 1 'Draws the window.
After execution
Addition
An image of image storage memory 0
Example of addition for VISMASK)
To delete an unnecessary section (IC pins) in the image, create the image
with the draw instruction from image storage memory 1 (process screen
1) and add it to image storage memory 0 along with the brightness value.
You can obtain the same result if you use the maximum value setting.
An image of image storage memory 1
Page view 604
1 2 ... 600 601 602 603 604 605 606 607 608 609 610 ... 691 692

Comments to this Manuals

No comments