The text of a manual · part 4 of 7
LM520 Scanner Integration & Programming Manual: Section 3, pages 24 to 33
Pages 24 to 33 of 50, from LM520 Scanner Integration & Programming Manual
The original document is the PDF (437 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the PSC LM520
Page 24
LM520 Scanner Configuration
Section 3
Setting Symbology Parameters The LM520 is able to decode UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 128, Code 93, Codabar, Interleaved 2 of 5, and Standard 2 of 5 symbologies. The decoder will actively attempt to match bar code data against all symbologies which are enabled. Thus, performance is enhanced by disabling symbologies which are not used in a particular environment. The possibility of misreads due to symbology overlap will also decrease by disabling unused symbologies.
Enabling All Symbologies It is possible to enable all symbologies at once. This command is typically used for diagnostic or demonstration purposes. For best performance in actual use, only those symbologies which are needed should be enabled. Table 10. Symbologies Command
Setting
QM
Enable all symbologies.
This command does not enable either ISBT 128 or UPC/EAN supplementals. NOTE
20
LM520 Scanner Integration & Programming Manual
Page 25
Section 3
LM520 Scanner Configuration
EAN Table 11. EAN Command
Parameter
Setting
RA
Disable EAN-13
RB
Enable 2 and 5 digit supplementals for EAN-13 and EAN-8.
RC *
Enable EAN-13
RN
Disable EAN-8
RP *
Enable EAN-8
RS
Disable all EAN 2 and 5 digit supplementals (EAN-8, EAN-13). xx (01-99)
QY
1
Enable number of scans to try to build EAN/UPC 2 and 5 digit supplementals. Maximum number of scans is 99, the default is 151
The higher the number of tries to build the supplemental portion of the code, the longer it takes EAN/UPC labels without supplemental code to decode.
UPC Table 12. UPC Command
Setting
QA
Disable UPC-A (If EAN-13 = enabled, UPC-A labels will decode as EAN-13).
QB
Enable 2 and 5 digit supplementals for UPC-A and UPC-E
QC *
Enable UPC-A
QH *
Disable expansion of UPC-E to UPC-A
QI
Enable expansion of UPC-E to UPC-A
QL *
Enable UPC-E
QV
Disable UPC-E
QX
Disable all UPC 2 and 5 digit supplementals (UPC-A UPC-E) xx (01-99)
QY
1
R44-2016
Parameter
Enable number of scans to try to build EAN/UPC 2 and 5 digit supplementals. Maximum number of scans is 99, the default is 151
The higher the number of tries to build the supplemental portion of the code, the longer it takes EAN/UPC labels without supplemental code to decode.
21
Page 26
LM520 Scanner Configuration
Section 3
Code 128 Reads variable length bar codes 1 to 50 characters. Table 13. Code 128
NOTE
22
Command
Setting
TA
Disable Code 128
TC *
Enable Code 128
TD
Enable function code transmission
TE *
Disable function code transmission
TF
Enable UCC 128 Emulation Code 128 function codes are transmitted as follows: FNC1 = 80h, FNC2 = 81h, FNC3 = 82, FNC4 = 83h FNC3 = in the first data position of a Code 128 bar code is reserved for programming labels and no data will be transmitted to the host from a programming label.
LM520 Scanner Integration & Programming Manual
Page 27
Section 3
LM520 Scanner Configuration
Code ISBT 128 ISBT 128 is a bar code symbology for labeling of whole blood and blood components adopted by the International Council for Commonality in Blood Banking Automation. (ICCBBA). Implementation of ISBT 128 requires the payment of a registration fee and an annual license fee thereafter. Contact the ICCBBA in Durham, NC USA. Their web address is: (http://www.ICCBBA.inter.net) The ISBT 128 standard allows two bar codes to be read as if they were a single bar code, known as concatenation. The physical placement of labels that can be concatenated is done so that a laser beam can pass completely through both labels. The information for both bar codes is transmitted to a host computer at the same time. There are 19 different code types in the ISBT symbology. Table 14. ISBT Symbology ISBT 128 Single label codes Donation Collection Date Donation Collection Date and Time Manufacturer’s Identity and Container Information Manufacture’s Lot Number Nationally-specified Special Testing National use Staff Member Identification Number Date of Production Date and Time of Production Donor Identification Number Special Concatenation Programming Label
ISBT 128 Concatenation label codes1 Blood Groups
Data ids are ‘=‘ and ‘%’, label length is 6 data characters including data ids.
Nationally-specified Confidential Unit Exclusion Status.
Data ids are ‘&’ and ‘!’, variable length, nationally defined
Donation Identification Number
Data ids are ‘=‘ and x (where x is A-Z or 0-9), label length is 16 data characters including data ids.
Nationally-specified Donor Identification Number
Data ids are ‘&’ and ‘;’, variable length, nationally defined
Expiration Date
Data ids are ‘=‘ and ‘>‘, label length is 8 data characters including data ids.
Expiration Date and Time
Data ids are ‘&‘ and ‘>‘, label length is 12 data characters including data ids.
Product Code
Data ids are ‘=‘ and ‘<‘, label length is 10 data characters including data ids.
Nationally-specified Product Code
Data ids are ‘&’ and ‘<’, label length is, label length is 10 data characters including data ids).
1
R44-2016
Of these, 8 types may be concatenated together in seven legal ways (see the Concatention Pairs table on following page).
23
Page 28
LM520 Scanner Configuration
Section 3
Table 15. Concatenation Pairs Normal Concatenation Pairs Donation Identification Number & Blood Groups Donation Identification Number & Nationally-specified Donor Identification Number Donation Identification Number & Nationally-specified Confidential Unit Exclusion Status Product Code & Expiration Date Nationally-specified Product Code & Expiration Date Product Code & Expiration Date and Time Nationally-specified Product Code & Expiration Date and Time
The other 11 types that are not normally concatenated may be specially programmed to be concatenated. See the specification for ISBT 128 from ICCBBA for creating specially programmed concatenated bar codes. Table 16. ISBT Commands Command
Setting Enables single label mode ISBT 128, disables concatenated label mode ISBT 128. The single label mode will read all 19 ISBT 128 labels as single labels only (no concatenation is done).
TQ
TR
To read single label ISBT 128, both Code 128 must be enabled (TC) and single ISBT 128 must be enabled (TQ). Standard Code 128 will not read while single ISBT 128 is enabled. To disable ISBT 128, use TA command. Enables concatenated mode ISBT 128, disables single ISBT 128. The concatenation mode will only read the 8 types of ISBT 128 labels that are used in concatenation. See Table 14 for the 8 types of concatenation labels and Table 15 for their legal combinations with other concatenation types. The other 11 types of ISBT labels that are not normally used in concatenation will still read as single labels. However, with the use of a special programming label, the other 11 types of ISBT128 labels that are not normally concatenated may be concatenated. If they are specially programmed, they will not read as single labels. Only one special concatenation of these other 11 type labels can be programmed at a time. To read concatenated ISBT 128, both Code 128 must be enabled (TC) and concatenated ISBT 128 must be enabled (TR). Standard Code 128 will not read while concatenated ISBT 128 is enabled. To disable ISBT 128, use TA command.
TS
Disables the specially programmed concatenated ISBT 128 labels, if defined. To again read specially programmed concatenated ISBT 128 labels, use TR command followed by the special programming label. See the specification for ISBT 128 from ICCBBA for creating specially programmed concatenated bar codes.
24
LM520 Scanner Integration & Programming Manual
Page 29
Section 3
LM520 Scanner Configuration
Code 93 When Code 93 is enabled, the bar code length defaults are set to zero which allows the scanner to read Code 93 bar codes of varying lengths up to 50 characters. If the scanner will be used for specific fixed length bar codes, use the UE and UF commands to enable these fixed lengths. Table 17. Code 93 Command
Parameter
Setting
UA *
Disable Code 93
UB
Enabled Code 93
UE
XX (00 - 50)
Set minimum length for Code 93 to XX. If 00 is selected, the scanner ignores the min. and max settings.
UF
XX (00 -50)
Set maximum length for Code 93 to XX.
Codabar When Codabar is enabled, the bar code length defaults is set to zero which allows the scanner to read Codabar bar codes of varying lengths up to 50 characters. If the scanner will be used for specific fixed length bar codes, use the VE and VF commands to enable these fixed lengths. Table 18. Codabar Command
Setting
VA *
Disable Codabar
VB
Enable Codabar
VC *
Disable transmission of start/stop characters
VD
Enable transmission of start/stop as upper-case characters
VE
XX (00 - 50)
Set minimum length for Codabar to XX characters. Includes start/stop and check characters, if transmitted. If 00 is selected, the scanner ignores the min. and max settings.
VF
XX (00 - 50)
Set maximum length for Codabar to XX characters. Includes start/stop and check characters, if transmitted.
VG
R44-2016
Parameter
Enable transmission of start/stop as lower-case characters
25
Page 30
LM520 Scanner Configuration
Section 3
Code 39 When Code 39 is enabled, the bar code length defaults is set to zero which allows the scanner to read Code 39 bar codes of varying lengths up to 46 characters. If the scanner will be used for specific fixed length bar codes, use the OH and OI commands to enable these fixed lengths. Table 19. Code 39 Command
26
Parameters
Setting
OA
Disable Code 39
OB *
Enable standard Code 39
OC
Enable full ASCII Code 39
OD *
Disable Modulo 43 check character
OE
Enable Modulo 43 check character
OF *
Disable transmission of the start/stop characters
OG
Enable transmission of the start/stop characters
OH
XX (00 - 46)
Set minimum data characters to XX characters. Includes start/stop characters and check characters, if transmitted. If set to 00, the scanner ignores the min/max settings.
OI
XX (00 -46)
Set maximum data characters to XX characters. Includes start/stop characters and check characters, if transmitted.
OJ
Enable transmission of the check character
OK *
Disable transmission of the check character
LM520 Scanner Integration & Programming Manual
Page 31
Section 3
LM520 Scanner Configuration
Interleaved 2 of 5 When Interleaved 2 of 5 is enabled, the default bar code length is fixed at 14 characters (PD14 & PE14). Table 20. Interleaved 2 of 5 Command
Parameters
Setting
PA *
Disable Interleaved 2 of 5.
PB
Enable Interleaved 2 of 5 without a check digit.
PC
Enable Interleaved 2 of 5 with a check digit.
PD
XX (04 - 50)
Set minimum number of data characters for Interleaved 2 of 5 to XX characters. Add check digit, if transmitted.
PE
XX (04 - 50)
Set maximum number of data characters for Interleaved 2 of 5 to XX characters. Add check digit, if transmitted.
PO *
Disable transmission of Interleaved 2 of 5 check digit.
PP
Enable transmission of Interleaved 2 of 5 check digit.
The total number of characters must be even. If the Check Digit is included, the number of data characters must be odd. NOTE
R44-2016
27
Page 32
LM520 Scanner Configuration
Section 3
Standard 2 of 5 When Standard 2 of 5 is enabled, the default bar code length is fixed at 14 characters (PT14 & PU14). Table 21. Standard 2 of 5 Command
28
Parameter
Setting
PQ *
Disable Standard 2 of 5.
PR
Enable Standard 2 of 5 without a check digit.
PS
Enable Standard 2 of 5 with a check digit.
PT
XX (04 - 48)
Set minimum length for Standard 2 of 5 to XX characters.
PU
XX (04 - 48)
Set maximum length for Standard 2 of 5 to XX characters.
PV *
Disable transmission of Standard 2 of 5 check digit.
PW
Enable transmission of Standard 2 of 5 check digit.
LM520 Scanner Integration & Programming Manual
Page 33
Section 3
LM520 Scanner Configuration
Formatting Bar Code Data Bar code data can be returned to the host as raw bar code data or additional characters may be appended before or after the bar code data, or the bar code data may be truncated and reformatted to meet the needs of the host. Formatting can be set to occur regardless of the symbology of the bar code scanned or it can be specific to the symbology by applying different filters to different types of bar codes. Formatting will occur on the bar code data if it is a single bar code, if it is a bar code with additional supplementals added (UPC/EAN), or if it is two codes concatenated together (ISBT=128). The data returned to the host can take the form of a Preamble, Filtered Data, and Postamble. Both the Preamble and the Postamble apply to all bar codes regardless of symbology, and one or both can be omitted if not required by the host.
Preamble A preamble may be added to the beginning of bar code data transmissions to provide a standard start-of-transmission character. It may also be set for up to twenty ASCII characters. Note that the characters set as the preamble will be added to every bar code transmission for all symbologies. Table 22. Preamble Command
Parameter
KA * KB
Setting No preamble
(Up to 20 characters)
Add the characters specified to the beginning of every data transmission.
Postamble A Postamble may be added to the end of bar code data transmissions. This is commonly used to provide a standard end-of-transmission character, but may be set to up to twenty ASCII characters. Note that the characters set as the Postamble will be added to every bar code transmission for all symbologies. Table 23. Postamble Command
Parameter
LA LB *
R44-2016
Setting No postamble
(Up to 20 characters)
Add the characters specified to the end of every data transmission. The default is CR, LF (0x0D hex, 0x0A hex)
29