The text of a manual · part 5 of 21
MicroBar NX Reference Manual, pages 41 to 50
Pages 41 to 50 of 202
The original document is the PDF (718 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 UBI NX
Page 41
Configuration modes Display data string mode Display Data String Mode allows you to display the data string values and checksum for configuration bar codes on a terminal screen. The configuration codes in this manual are in Code 128 format. Data string values are displayed in hexadecimal and are separated by backslashes or other characters depending on your terminal emulation setup. Data string values are useful if you want to concatenate configuration bar codes (Ð Concatenating configuration bar codes) or if you want to send commands directly from the host terminal to the MicroBar NX in RS-232 Slave Mode (Ð RS-232 - Slave mode ). Display Data String Mode remains active until you switch off the MicroBar NX. Display Data String Mode
Example
1. Scan Display Data String Mode. 2. Read a configuration bar code - the Code 39 activation code (Ð Symbologies - Code 39 ) for example. The following data string will be displayed on your terminal screen: \41\4C\60\5E In this example, "\41\4C\60" is the command for Code 39 activation and "\5E" is the checksum.
MB/NX/RM/00/E/970131
31
Page 42
Data reformatting
Data reformatting The MicroBar NX can reformat the barcode data it receives before transmitting this data to the host system. To reformat data, you must: 1. Activate reformatting and define the input data to be formatted. 2. Define the reformatting for the output data.
1. Activate reformatting and define the input data to be formatted Before the MicroBar NX can reformat the data it receives, you must activate data reformatting for one or more input ports (Ð 1.1. Activate data reformatting for selected input ports). You can choose to reformat data for all input symbologies or for certain symbologies only (Ð 1.2. Select symbology for data reformatting ). You can choose to reformat data for all input barcode lengths or for one barcode length only (Ð 1.3. Compose input barcode data length ).
32
MB/NX/RM/00/E/970131
Page 43
Data reformatting 1.1. Activate data reformatting for selected input ports Select the input ports you want to assign for data reformatting - selecting an input port activates the data reformatting function. Not Active - Reformat Data (*)
Port 1 Or Port 3 - Reformat Data
Port 4 - Reformat Data
Port 5 - Reformat Data
MB/NX/RM/00/E/970131
33
Page 44
Data reformatting 1.2. Select symbology for data reformatting By default, data reformatting is applied to all the symbologies supported. If you only want to reformat data for some symbologies, select the corresponding codes below - data of the other symbologies will not be reformatted.
All Symbologies - Reformat Data (*)
Ames Code - Reformat Data
Codabar - Reformat Data
Code 11 - Reformat Data
Code 39 - Reformat Data
Code 93 - Reformat Data
Code 128 - Reformat Data
EAN 128 - Reformat Data
34
MB/NX/RM/00/E/970131
Page 45
Data reformatting Interleaved 2 of 5 - Reformat Data
Matrix 2 of 5 - Reformat Data
MSI Code
Plessey Code - Reformat Data
Standard 2 of 5 - Reformat Data
Telepen - Reformat Data
UPC/EAN - Reformat Data
MB/NX/RM/00/E/970131
35
Page 46
Data reformatting 1.3. Compose input barcode data length To limit data reformatting to input bar codes with a given length only (barcode data): 1. Scan Compose Input Barcode Data Length. 2. Scan a number for the length of the input barcode data you want to reformat (Ð Number codes or inside back cover of this manual). 3. Scan End Selection (provided with the number codes) to finish. Compose the numerical value “0” if you want to reset “any length”. The "quick-and-easy" reformatting option (Ð 2.a. Quick-and-easy reformatting below) cancels any values entered with Compose Input Barcode Data Length. For "advanced full-options" reformatting (Ð 2.b. Advanced Full-Options reformatting below), you must enter a value ("0" or a barcode data length) with Compose Input Barcode Data Length.
Compose Input Barcode Data Length (default = any length, max = 120)
36
MB/NX/RM/00/E/970131
Page 47
Data reformatting 2. Define the reformatting for the output data Now that you have activated data reformatting and defined the input data you want to reformat, you can define the actual reformatting sequence you want to transmit. There are two ways to redefine the data for transmission: Ð 2.a. Quick-and-easy reformatting - you can define 1 or 2 blocks of characters from the original input string and insert a string of ASCII characters between the blocks if required, Ð 2.b. Advanced full-options reformatting - you can change the position of the characters received, remove and insert characters, insert delays, and systematically substitute or delete characters. These two reformatting methods are mutually exclusive - you can not combine functions from each method.
MB/NX/RM/00/E/970131
37
Page 48
Data reformatting 2.a. Quick-and-easy reformatting You must activate data reformatting if you want to transmit reformatted data (Ð 1. Activate reformatting and define the input data to be formatted above). The "quick-and-easy" reformatting option cancels any values entered with the Compose Input Barcode Data Length function (Ð 1.3. Compose input barcode data length). To cancel the "quick-and-easy" reformatting option, scan the Compose Input Barcode Data Length code and scan Not Active - Reformat Data (Ð 1.1. Activate data reformatting for selected input ports above). The codes on the next page allow you to extract for transmission 1 or 2 blocks of characters from the original input string: 1. Scan Activate "Quick-And-Easy" Reformatting. 2. Define the first block: • scan Define Start Of Block 1 and scan the ASCII code with the decimal value corresponding to the position of the first character in Block 1 (ÐASCII character codes), • scan Define End Of Block 1 and scan the ASCII code with the decimal value corresponding to the position of the last char acter in Block 1. 3. Define the second block if required: • scan Define Start Of Block 2 and scan the ASCII code with the decimal value corresponding to the position of the first character in Block 2, • scan Define End Of Block 2 and scan the ASCII code with the decimal value corresponding to the position of the last character in Block 2. 4. Insert an ASCII string between the two blocks if required: • scan Insert ASCII String Between Blocks, • scan the codes for the ASCII characters you want to insert (maximum = 120 characters) and scan End Selection to finish.
Example input data string characters:
1
2
3
4
5
6 input data string format:
SOH
STX
ETX
EOT
ENQ
ACK to transmit characters 2, 3 and 4: •
Define Start Of Block 1
•
Define End Of Block 1 transmitted data string:
38
STX EOT 2
3
4
MB/NX/RM/00/E/970131
Page 49
Data reformatting Define character blocks / ASCII string for transmission
Activate "Quick-And-Easy" Reformatting
Define Start Of Block 1
Define End Of Block 1
Define Start Of Block 2
Define End Of Block 2
Insert ASCII String Between Blocks
MB/NX/RM/00/E/970131
39
Page 50
Data reformatting 2.b. Advanced full-options reformatting You must activate data reformatting if you want to transmit reformatted data (Ð 1. Activate reformatting and define the input data to be formatted above). To activate "advanced full-options" reformatting, you must enter a value with the Compose Input Barcode Data Length function (Ð 1.3. Compose input barcode data length above). To cancel "advanced full-options" reformatting, scan Not Active - Reformat Data (Ð 1.1. Activate data reformatting for selected input ports above).
Example input data string characters:
1
2
3
4
5
6 input data string format:
SOH
STX
ETX
EOT
ENQ
ACK ignore the 4th character (“EOT”) and define new sequence = “65123”: (Ð 2.b.1. Define the reformatting sequence )
ACK ENQ SOH
STX
ETX insert additional characters “y” = A, “z” = <Enter>: (Ð 2.b.2. Define additional characters )
y
ACK
ENQ z
SOH
STX
ETX insert Delay 1 of 250 ms (“~”): (Ð 2.b.3. Define 1 or 2 delays )
y
ACK
ENQ z
~
SOH
STX
ETX transmitted data string:
A
6
5
2
3
<Enter> <250 ms 1 delay>
You can also systematically replace or delete any given characters before you transmit the final data string (Ð 2.b.4. Substitute/delete input characters ).
40
MB/NX/RM/00/E/970131