| Article ID: | T1099 |
| Date: | 7/20/04 |
| Product: | EPSON RC+ v3.5.0 and greater |
| Subject: | Vision image grab sometimes incorrect for async reset camera |
Symptoms
In some cases, the image grab for an async reset
camera may not work properly A part may not be found or the video image
does not look correct. For example, the program below may cause these
symtoms.
Do
VRun
myseq
On vistrigger, .01
Do
VGet
myseq.AcquireState, state
Wait .01
Loop Until
state = 3
VGet ... etc.
Loop
Causes
This is due to a
timing issue in EPSON RC+. Immediately after AcquireState = 3, the vision
sequence has not been run yet; only the image has been acquired. If a
vision command is executed too soon after AcquireState = 3, sometimes the
sequence may not have run yet.
Remedy
Add a small delay after AcquireState = 3, as
shown below.
Do
VRun myseq
On
vistrigger, .01
Do
VGet myseq.AcquireState,
state
Wait .01
Loop Until state = 3
Wait .01 ' <- add this delay before processing
VGet ...
etc.
Loop
Status
This problem will be fixed in a future release.
