Thank you for purchasing our robot products. This manual contains the information
necessary for the correct use of the EPSON RC+ software.
Please carefully read this manual and other related manuals when using this software.
Keep this manual in a handy location for easy access at all times.
The robot and its optional parts are shipped to our customers only after being subjected
to the strictest quality controls, tests and inspections to certify its compliance with our
high performance standards.
Product malfunctions resulting from normal handling or operation will be repaired free
of charge during the normal warranty period. (Please ask your Regional Sales Office
for warranty period information.)
However, customers will be charged for repairs in the following cases (even if they
occur during the warranty period):
1. Damage or malfunction caused by improper use which is not described in the
manual, or careless use.
2. Malfunctions caused by customers’ unauthorized disassembly.
3. Damage due to improper adjustments or unauthorized repair attempts.
4. Damage caused by natural disasters such as earthquake, flood, etc.
Warnings, Cautions, Usage:
1. If the robot or associated equipment is used outside of the usage conditions
and product specifications described in the manuals, this warranty is void.
2. If you do not follow the WARNINGS and CAUTIONS in this manual, we
cannot be responsible for any malfunction or accident, even if the result is
injury or death.
3. We cannot foresee all possible dangers and consequences. Therefore, this
manual cannot warn the user of all possible hazards.
ii Vision Guide 5.0 Reference (Ver.5.3) Rev.1
TRADEMARKS
Microsoft, Windows, Windows logo, Visual Basic, and Visual C++ are either
registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries.
Other brand and product names are trademarks or registered trademarks of the
respective holders.
TRADEMARK NOTIFICATION IN THIS MANUAL
Microsoft® Windows® XP Operating system
Microsoft® Windows® Vista Operating system
Throughout this manual, Windows XP, and Windows Vista refer to above respective
operating systems. In some cases, Windows refers generically to Windows XP, and
Windows Vista.
NOTICE
No part of this manual may be copied or reproduced without authorization.
The contents of this manual are subject to change without notice.
Please notify us if you should find any errors in this manual or if you have any
comments regarding its contents.
INQUIRIES
Contact the following service center for robot repairs, inspections or adjustments.
If service center information is not indicated below, please contact the supplier office
for your region.
Please prepare the following items before you contact us.
- Your controller model and its serial number
- Your manipulator model and its serial number
- Software and its version in your robot system
- A description of the problem
SERVICE CENTER
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 iii
MANUFACTURER & SUPPLIER
TEL : +81-(0)266-61-1802
FAX : +81-(0)266-61-1846
Japan & Others
SEIKO EPSON CORPORATION
Suwa Minami Plant
Factory Automation Systems Dept.
1010 Fujimi, Fujimi-machi,
Suwa-gun, Nagano, 399-0295
JAPAN
SUPPLIERS
Factory Automation/Robotics
TEL : +1-562-290-5900
FAX : +1-562-290-5999
E-MAIL : info@robots.epson.com
Factory Automation Division
TEL : +49-(0)-2159-538-1391
FAX : +49-(0)-2159-538-3170
E-MAIL : robot.infos@epson.de
North & South America
Europe
EPSON AMERICA, INC.
18300 Central Avenue
Carson, CA 90746
USA
EPSON DEUTSCHLAND GmbH
Otto-Hahn-Str.4
D-40670 Meerbusch
Germany
iv Vision Guide 5.0 Reference (Ver.5.3) Rev.1
SAFETY PRECAUTIONS
Installation of robots and robotic equipment should only be performed by qualified
personnel in accordance with national and local codes. Please carefully read this
manual and other related manuals when using this software.
Keep this manual in a handy location for easy access at all times.
WARNING
CAUTION
NOTE
)
This symbol indicates that a danger of possible serious injury
or death exists if the associated instructions are not followed
properly.
This symbol indicates that a danger of possible harm to
people or physical damage to equipment and facilities exists
if the associated instructions are not followed properly.
The “NOTE” sections describe important information to be
followed for operating the Robot system.
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 v
vi Vision Guide 5.0 Reference (Ver.5.3) Rev.1
TABLE OF CONTENTS
Vision Properties and Results Reference............................................................................................ 1
YTilt Result ............................................................................................................................ 202
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 xi
Table of Contents
xiiVision Guide 5.0 Reference (Ver.5.3) Rev.1
Vision Properties and Results
Reference
Overview
This reference manual explains all Vision Guide sequence, object, and calibration properties and
results, and all Vision Guide SPEL+ commands. For more information on how to use Vision Guide,
refer to the Vision Guide manual.
Vision Properties and Results Format Description
All Vision Guide properties and results are listed in the pages that follow. An explanation of the
headings for the property and result reference pages is given below:
Applies To
Description
Usage
Values
Remarks
See Also
Runtime only
If the property or result is used with vision objects, then this section simply lists
the vision objects for which this property applies. (Ex. Blob, Correlation,
Polar...)
If the property or result is used with vision sequences then the words Vision
Sequence will appear in this section.
If the property or result is used with vision calibration then the words Vision
Calibration will appear in this section.
A simple description is given for each property or result. This section is
normally very short for simplicity.
The Usage Section describes how to access the property or result from the
+
Language.
SPEL
Describes the range of acceptable values which the property can be set to or
which the result will return. A default value is also shown for those properties
that have a default.
Explains more details than the Description Section. This section is normally
used to describe any caveats or special information that may apply to the
specific property or result. (It is highly recommended to read the Remarks
Section for each property prior to its usage.)
Gives a list of related properties, results, vision objects and other topics that may
prove useful to review.
This is displayed under the property or result name when it applies. Runtime
only properties and results cannot be accessed from the Vision Guide GUI.
They can only be accessed from the SPEL+ language or from VB Guide.
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 1
AbortSeqOnFail Property
AbortSeqOnFail Property
Applies To
Vision Objects: Blob, Geometric, Correlation, Edge, Freame, Line, Point, Polar
Description
Allows the user to specify that if an object fails (i.e. is not found), then the entire sequence is aborted at that
point and no further objects are processed.
Usage
VGet Sequence.Object.AbortSeqOnFail, var
VSet Sequence.Object.AbortSeqOnFail, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Boolean variable that will contain the value of the property.
value Boolean expression for the new value of the property.
Values
False Does not cause the sequence to abort when the object is not found.
True Causes the sequence to abort when the object is not found.
Default: False
Remarks
Use AbortSeqOnFail when you no longer want a sequence to continue if an object is not found.
See Also
Blob Object, Correlation Object, Edge Object, Frame Object, Geometric Object, Line Object, Point Object,
Polar Object, Object Tab
The Accept property specifies the score that a feature must equal or exceed to be considered found.
Usage
VGet Sequence.Object.Accept, var
VSet Sequence.Object.Accept, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Integer variable that will contain the value of the property.
value Integer expression for the new value of the property.
Values
Integer number from 1 - 999
Default: 700 - Correlation, Geometric, Polar
100 - Edge
Remarks
The Accept property can also affect the searching speed by providing a hint as to when to pursue the search
in a given area of the Region of Interest. When the Accept property is high, features must be very similar
to the model, so many regions can be ruled out by a cursory examination and not pursued further. However,
if the Accept property is low, features that are only slightly similar to the model may exceed the Accept
property, so that a detailed examination of more regions in the scene is needed. Thus, raising the Accept
property tends to reduce the time required for searches.
If the specified value is small, it may result in false detection.
The AcquireState result is used determine if a picture has been taken for a sequence whose
RuntimeAcquire property has been set to Strobed.
Usage
VGet Sequence.AcquireState, var
Sequence Name of a sequence or string variable containing a sequence name.
var Integer variable that will contain the value of the result.
Values
0 Picture has not been taken, strobe has not yet fired.
3 Picture has been taken.
Remarks
After calling VRun for a strobed sequence, the SPEL
before further vision processing can continue.
See Also
Object Tab, RunTimeAcquire Property
+
program must wait for the AcquireState to become 3
4 Vision Guide 5.0 Reference (Ver.5.3) Rev.1
AllFound Result
AllFound Result
Applies To
Vision Sequence
Description
The AllFound result returns whether or not all objects within the specified sequence were found.
Usage
VGet Sequence.AllFound, var
Sequence Name of a sequence or string variable containing a sequence name.
var Boolean variable that will contain the value of the result.
Values
False One of the objects within the sequence was not found.
True All objects within the sequence were found.
Remarks
The AllFound result is useful to determine that all objects within a specified sequence are found. This
result applies to sequences only and will not be found in object results.
See Also
Found Result, Sequence Tab, Time Result, Vision Sequences
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Real variable that will contain the value of the result.
result Optional result number. If omitted, the result number is the CurrentResult. Used for objects
that return multiple results.
Values
Real number in degrees
Blob : −90 to 90 degree
Others : 0 to 360 degree
Remarks
The Angle result returns the found part's angle in the image coordinate system. In some cases, you may
want to use a Polar object to determine angle because it can be faster and more accurate.
Statistics
For the Angle result, the following statistics are available. AngleMax, AngleMean, AngleMin,
AngleRange, AngleStdDev. Please see Statistics in the Vision Guide manual for details about using
statistics.
Specifies the accuracy of a correlation search with rotation.
Usage
VGet Sequence.Object.AngleAccuracy, var
VSet Sequence.Object.AngleAccuracy, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
varReal variable that will contain the value of the property.
NOTE
)
value Real expression for the new value of the property.
Values
Real number in degrees from 0.1 - 10
Default: 1
Remarks
The AngleAccuracy property is used at model training time and not at run-time. This value specifies the
desired accuracy for angle search.
The Correlation model must be taught after a new value for the AngleAccuracy property is set in order for
the new setting to take affect. If you teach a Correlation Model, then later set the AngleAccuracy property
to a new value, and then try to run that Correlation object, it will not search with the new angle accuracy.
You must re-teach the Correlation Model with the AngleEnable property set to True, and with the new
value for the AngleAccuracy property in order for Correlation search with angle to use the new
AngleAccuracy property value.
Specifies whether or not a correlation or geometric object will search for rotation of a feature.
Usage
VGet Sequence.Object.AngleEnable, var
VSet Sequence.Object.AngleEnable, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
varBoolean variable that will contain the value of the property.
Values
Remarks
NOTE
)
valueBoolean expression for the new value of the property.
False Do not search for rotation.
True Search for rotation.
Default: False
The AngleRange and AngleMaxIncrement properties will not be used with the correlation or geometric
search object if the AngleEnable property is set to False.
It should be noted that while correlation with angle is normally able to find rotated parts, the correlation
search time usually increase significantly. This is why correlation with angle is most useful for finding
parts which rotate only slightly. The Polar object however, is normally very fast and can be used in
conjunction with the Correlation object for a powerful and fast combination. (See the sections on
Correlation or Polar Searching for more information.)
The Correlation Model must be taught after the AngleEnable property is set to True. If you teach a
Correlation Model, then set the AngleEnable property to True, and then try to run that Correlation object, it
will not search with angle. You must re-teach the Correlation Model with the AngleEnable property set to
True in order for Correlation search with angle to work properly. You must also have the proper settings
for the AngleMaxIncrement and AngleRange Properties prior to teaching the new Model as well.
The AngleMaxIncrement property specifies the maximum angle increment amount for teaching a
correlation model for searching with angle. The model training function selects an angular increment
automatically and then uses the smaller of the automatically selected increment and the maximum angle
increment defined by the AngleMaxIncrement property.
Usage
VGet Sequence.Object.AngleMaxIncrement, var
VSet Sequence.Object.AngleMaxIncrement, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
NOTE
)
var Real variable that will contain the value of the property.
value Real expression for the new value of the property.
Values
Real number in degrees from 1 - 45
Default: 1
Remarks
Before reading anything else about the AngleMaxIncrement property it should be noted that the Correlation
Model must be taught after a new value for the AngleMaxIncrement property is set in order for those
settings to take affect. If you teach a Correlation Model, then later set the AngleMaxIncrement property to
a new value, and then try to run that Correlation object, it will not search with the new angle increment.
You must re-teach the Correlation Model with the AngleEnable property set to True, and with the new
value for the AngleMaxIncrement property in order for Correlation search with angle to use the new
AngleMaxIncrement property value. You must also have the proper settings for the AngleRange property
prior to teaching the new Model as well.
If you wish to measure angle precisely, you should provide a maximum angle increment corresponding to
the degree of precision you desire. You should keep in mind, however, that the smaller the angle increment,
the more storage will be required for the model and the slower the search time will be.
It should be noted that while correlation with angle is normally able to find rotated parts, the correlation
search time usually increase significantly. This is why correlation with angle is most useful for finding
parts which rotate only slightly. The Polar object however, is normally very fast and can be used in
conjunction with a Correlation object for a powerful and fast combination. (See the sections on Correlation
or Polar Searching for more information.)
Sets / returns the object to be used to determine the angle of rotation for the ImageOp object Rotate
operation.
Usage
VGet Sequence.Object.AngleObject, var
VSet Sequence.Object.AngleObject, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var String variable that will contain the value of the property.
value String expression for the new value of the property.
Values
Screen, or the name of an object whose step number is prior to the step number of the ImageOp object and
returns an Angle result.
Default: Screen
Remarks
Use AngleObject together with the Rotate setting of the Operation property to automatically rotate the
image according to the Angle result of the AngleObject.
An angle value which is used as an offset to line up the Polar Search direction indicator (graphic line on the
image display) with the part since it is virtually impossible and normally impractical to teach a polar object
with the proper rotation of a part so that the direction lines up with the part.
Usage
VGet Sequence.Object.AngleOffset, var
VSet Sequence.Object.AngleOffset, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Real variable that will contain the value of the property.
value Real expression for the new value of the property.
Values
Real number in degrees from 0 - 360
Default: 0
Remarks
The AngleOffset is provided to allow the Polar object's graphic direction indicator to line up with a specific
area on a part. The graphic direction indicator is normally set at the default position for the polar object
which is 0 degrees (at 3 O'clock). The rotation for the AngleOffset property is then defined in a counter
clockwise direction.
See Also
Object Tab, Polar Object
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 11
AngleRange Property
AngleRange Property
Applies To
Vision Objects: Correlation, Geometric
Description
Specifies the range within which to train a series of rotated models.
Usage
VGet Sequence.Object.AngleRange, var
VSet Sequence.Object.AngleRange, value
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
varInteger variable that will contain the value of the property.
Values
Remarks
NOTE
)
valueInteger expression for the new value of the property.
Integer number in degrees from 0 - 180
Default: 180
Before reading anything else about the AngleRange property it should be noted that the Correlation Model
must be taught after a new value for the AngleRange property is set in order for those settings to take affect.
If you teach a Correlation Model, then later set the AngleRange property to a new value, and then try to run
that Correlation object, it will not search with the new angle range. You must re-teach the Correlation
Model with the AngleEnable property set to True, and with the new value for the AngleRange property in
order for Correlation search with angle to use the new AngleRange property value. You must also have the
proper settings for the AngleMaxIncrement property prior to teaching the new Model as well.
The AngleRange property is must be set before teaching the model. This value specifies the range within
which to train a series of rotated models. For example, if the AngleRange property is set to 5, then when
the model is trained, a set of models is actually trained within +/- 5 degrees of the current model position.
These models are then used when a correlation search with angle is specified.
It should be noted that using correlation with angle will generally cause the correlation time to increase
significantly. This is why correlation with angle is normally used for small angle increments only. The
Polar object however, is normally very fast and can be used in conjunction with the Correlation object for a
powerful and fast combination. (See the sections on Correlation or Polar Searching in the Vision Guide Manual for more information.)
Specify a small value for the setting. If the value is large, the detection time gets longer and may result in
false detection.
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Integer variable that will contain the value of the property.
value Integer expression for the new value of the property.
Values
Integer number in degrees from 0 - 360
Default: 0
Remarks
Use AngleStart to set the starting search angle. This property is only valid when AngleEnable is set to True.
The system will search for the model starting with AngleStart using the AngleRange property. For
example, if AngleStart is 45 degrees and AngleRange is 10 degrees, then the system will search from 35 to
55 degrees.
Note that after setting AngleStart, the model will be automatically preprocessed on the next run, which
could cause slower cycle time on that first run. Subsequent cycle times will be at normal speed.
Sequence Name of a sequence or string variable containing a sequence name.
Object Name of an object or string variable containing an object name. The object must exist in the
specified sequence.
var Real variable that will contain the value of the result.
result Optional result number. If omitted, the result number is the CurrentResult.
Values
Real number in pixels from 1 to searchWinWidth x searchWinHeight
Remarks
The Area result is the total area of the blob (in pixels). The area measurement may have a fractional
component.
Statistics
For the Area result, the following statistics are available. AreaMax, AreaMean, AreaMin, AreaStdDev.
Please see Statistics in the Vision Guide manual for details about using statistics.