254764-001 Rev B 27
b
- This character defines the fill character for masking purposes. This character cannot be
a character to be matched in the match field mmm.
c
- This character defines the size of the data match field to be fixed (“f”) or variable (“v”).
If variable, the data in the field is left justified in a 32 character possible field.
…
bbb…
- Fill characters prior to the Data Match text. These characters must match the character
defined by b in the command.
…mmm…
- Data Match Character Field. This can be from 1 to 32 characters. These define the exact
characters that must be matched.
…bbb…
- Fill characters after the Data Match text (if needed).
Note: Other Data Match Fields and Fill characters can follow for up to 32 characters total length.
Examples:
~BC005xfABCDE
-
Data match array #0 with 5 characters of “ABCDE” of fixed length with ‘x’ as the
ignore or fill character. In this case, the ‘x’ must be in the command, but is not used.
~BC210xfxxxABCDExZ
-
Data match array #2 with 10 characters of fixed length. ‘x’ as the ignore or fill
character. The 4
th
through 8
th
characters must be ABCDE respectively and the 10
th
character must be a Z in a 10 character field for a data match.
~BC004xvx111
- Data match array #0 is defined as variable length, therefore can be up to 32
characters long. ‘x’ is the fill character. The second through 4
th
characters all must be 1
for a match
~BC000bc
- Disable Data match array #0. Any proper character as described above can be used
for the b and c characters. The remainder of the array data is not required.
Note: In the above examples, the character ‘x’ (defined as the fill character) cannot be included in the
portion of the bar code data that is programmed to be matched.
~ Brnbb{ .. + 0-9.. ! .... )
Define increment or decrement data check
One array is available for checking a numeric (base 10) or alphanumeric (base 36) incrementing or
decrementing field. The data field being checked must be fixed length. Portions of a field can be checked
through masking. An initial (starting) value for the field may also be programmed in the array. Total field
length can be up to 32 characters maximum. Characters analyzed can be numeric or alphanumeric (0-9, A-
Z). This command can be used in conjunction with the ~BC command.
~B
- Command initiation for checking an incrementing data field
r
- Indicates incrementing (I) or decrementing (D) function
n
- Required digit following ~Br. If set to a ‘0’ (zero), the check is performed for digits 0-9
only. If set to 1, the check is performed for alphanumeric characters 0-9, A-Z.
bb
- Number of characters in array.
A value of 00 clears (disables) this array.
…!!!
- Mask characters for defining positions in the data field not being checked.
…+++
- Characters in the data field being checked. If + characters are used, this marks the field
and defines its size. Maximum field lengths are 8 characters for numeric and 6 characters
for alphanumeric. If a proper numeric or alphanumeric value is placed in the field, this
additionally becomes the initial value expected on the first data scanned after a power-up
or reset.
Incrementing Examples:
~BI010!!!!!!!+++
-
Increment is to be done in the last three characters of the 10 character array.
~BI010!!!!!!!234
-
Increment is to be done in the last three characters of the 10 character array. Initial
value scanned must be 234.