Siemens SIMATIC VS130 Series Manual page 41

Vision sensor
Table of Contents

Advertisement

"Match" Submenu
in the "Match" submenu, you decide whether or not the read codes will be
compared with a pattern you have selected.
Menu Entry
Parameter
Option
Match-Opt
Vision Sensor VS 130
A5E00199459-01
Possible
Meaning
Values
Off (=default)
No comparison
All
Compare all characters of the read code with all
characters of the learned code
Position
Compare the string starting at character number
"StartPos" over the length specified in "Length" of the
read code with the corresponding string of the learned
code
Example:
Learned code = 1PABCDEF, StartPos = 3, Length = 2
The read codes are then checked to find out whether the
letter at the 3rd position is "A" and at the 4th position is
"B".
ID
A substring is formed according to the following
rules:
The start of the substring is identified by the
MATCH-ID.
MATCH-ID can be at the beginning of the read code
or immediately following a separator.
The substring extends as far as the next separator
or to the end of the code if there are no separators.
Compare the substring of the read code with the
substring of the learned code.
If they do not match, there is a MatchErr.
Example:
learned code = A-1P01234+B, separators = +-, MATCH-
ID = 1P, read code = A-1P01235-B
substring of the read code: 01235, substring of the
learned code: 01234
=> Match Err
If you change the separators and/or the "MATCH-ID",
the processing unit checks all learned codes to find out
whether they contain a substring that results from the
rules formulated with the parameters. If this is not the
case for one or more learned codes, you have the
following alternatives:
You can delete all the learned codes.
You can cancel the changes to the separators
and/or "MATCH-ID".
Operator Functions
5-11

Advertisement

Table of Contents
loading

Table of Contents