2 wildcard symbols (“!” and “?”) – KEYENCE BL-700 Series User Manual
Page 59

Chapter 3 Functions for Reading Operation
45
3
3.6.2 Wildcard Symbols (“!” and “?”)
Using “!” and “?” in the preset data allows for flexible settings.
?: Does not define numeric values (characters) of certain digit(s) of the bar code.
!: Ignores numeric values and symbols within the dot box and recognizes the bar
codes as the same group.
Setting examples
1. “ABC?”
ABCD (OK),
ABC3 (OK), ABC (NG),
ABCDE (NG)
2. “ABC!”
ABCD (OK),
ABC3 (OK), ABC (OK),
ABCDE (OK),
AB (NB)
3. “?????”
Any 5-digit bar code will be OK.
4. “!CDE”
ABCDE (OK),
3CDE (OK), CDE (OK),
ABBDE (NG),
ADE (NG)
5. “A!E”
ABCDE (OK),
A3CE (OK), ABCD (NG),
AE (OK)
Note: You can use “!” only once in the setting.
If you do not register preset data, “!” is automatically registered. Therefore, when the unit
successfully reads a bar code, “OK” is output; when the unit fails to read, “NG” is output.
4 9 1 2 3 4 5 6
4 9 1 2 5 2 5 6
4 9 1 2 A B 5 6
4 9 1 2 3 4 5 6
4 9 1 2 C
4 9 1 2
When using “?” data as “4912??56”, 2
digits positioned in “??” can contain
any numeric values (or characters),
expanding the allowable range.
Identifies all the bar codes to be OK as
long as the beginning or ending strings
match.
When using “!” as “4912!”, any bar
code which begins with “4912” will be
OK. When using “!” as “!4912”, any bar
code which ends with “4912” will be
OK.
Tips