(2) Transferring the substituted element string
If the bar code data contains the specified substitution string within the specified search area, the scanner transfers the
substituted element string followed by the bar code data read.
(Example)
Search start position
2nd position
5th position
9th position
(3) Transferring the substituted full string
If the bar code data contains the specified substitution string within the specified search area, the scanner substitutes the
search string with the substitution string and transfers the full string. If it contains two or more search strings, only the first
one is substituted.
(Example)
Search start position
2nd position
5th position
9th position
9.3 Blocksorting Data
The scanner splits bar code data read into a maximum of 5 blocks at the specified split positions and sorts those blocks in
the specified order.
The split position must be specified by the number of digits from the head of bar code data. Specifying the number of
digits exceeding that in the bar code data results in an error.
The following sample bar code and scanner settings output data as listed below depending upon the sorting conditions.
- Bar code sample
Bar code type: Code 128, Data read: 1234567890
- Scanner settings
Header: STX, Terminator: ETX, Prefix/Suffix: None, Code ID mark: Type 1,
Transmission of number of digits: 2 digits
(Example)
Split position
3rd position, 8th position
3rd position, 8th position
Search string
Substitution string
456
A
890
XYZ
890
XYZ
Search string
Substitution string
456
A
890
XYZ
890
XYZ
Order of blocks
Block 2, 1, 3
Block 1, 3
[STX]K11A1234567890[ETX]
[STX]K13XYZ1234567890[ETX]
Error
[STX]K08123A7890[ETX]
[STX]K101234567XYZ[ETX]
Error
Output data
[STX]K104567812390[ETX]
[STX]K0512390[ETX]
34
Output data
Output data