CAMIN (Statement)


Captures an image from a camera into the specified image memory (processing screen).


CAMIN <camera#>[,<memory#> [,<table#> ] ]


<camera#>
Specifies a camera number. (1 or 2)
<memory#>
Specifies a memory number (processing screen number). (0 to 3)
Omitting this parameter automatically specifies "0."
<table#>
Specifies a lookup table number to use when getting an image. (0 to 15)
Omitting this parameter automatically specifies "0."
  • No connection of a camera or no correct data entry due to camera failure results in an error.
  • If <table#> is non-zero, switching to the specified table is made. It may disturb the screen, but it is not a failure. After execution of this command, the table number automatically reverts to "0."
  • This command requires a ÉþVision board (option) to be mounted in the robot controller.



CAMIN 1, 0, 0
'Capture the image of camera 1 into memory 0
'after conversion with table 0
'(same brightness level as the camera image)
DELAY 2000
'Stop for 2 seconds
CAMIN 1
'Same execution result as CAMIN 1,0,0
DELAY 2000
'Stop for 2 seconds
I1 = 1
'
I2 = 0
'
I3 = 3
'
CAMIN I1, I2, I3
'Capture the image of camera 1 into memory 0
'after conversion with table 3 (inversion)
VISPLNOUT 0
'Output the image held in memory 0 to the monitor
'(static image)


Top