The text of a manual · part 13 of 21
MicroBar NX Reference Manual, pages 121 to 130
Pages 121 to 130 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 121
Product checklist
Product checklist all systems
MicroBar NX the right cable for your host system MicroBar NX Installation Guide options external power supply UBI pen barcode reader dual pen adaptor this MicroBar NX Reference Manual
MB/NX/RM/00/E/970131
111
Page 122
Reset all configuration parameters
Reset all configuration parameters Reset factory defaults Reset Factory Defaults resets all the MicroBar NX parameters to their factory default settings (indicated by “(*)” in this manual): • null interface (no host system interface driver selected - no transmission),
• default symbology settings and operating settings.
Ð Parameter list / data strings provides the full list of parameters and default settings.
M If you scan Reset Factory Defaults, you will have to re-enter the appropriate interface number for your host system and any custom settings if applicable - keep a list in case you have to do a reset. It is often easier to reset individual parameters.
General reset procedure
1. Switch off the host system and disconnect the MicroBar NX power supply if applicable. 2. Reconnect the MicroBar NX power supply if applicable. 3. Switch on the host system. 4. Use your barcode reader to scan Reset Factory Defaults. 5. Scan the interface number for your system (Ð Predefined interface numbers for your interface or Compose interface number). 6. Customize the settings for output transmission to your host system if required (Ð Data transmission parameters for your interface). 7. Customize the data input parameter settings if required (Ð Symbologies, Laser scanner input devices, Magstripe input devices, RS-232 input devices). 8. Customize the MicroBar NX operating settings if required (Ð Parameter list / data strings and individual operating parameter entries). Reset Factory Defaults
112
MB/NX/RM/00/E/970131
Page 123
RS-232 input devices
RS-232 input devices Use the configuration codes in this section if your application has an RS-232 C or RS-232 TTL input on Port 4 of the MicroBar NX.
Baud Rate 9600 (*)
300
600
1200
2400
4800
MB/NX/RM/00/E/970131
113
Page 124
RS-232 input devices Data bits Seven (*)
Eight
Parity Even (*)
Odd
Mark
Space
None
Stop bits One (*)
Two
114
MB/NX/RM/00/E/970131
Page 125
RS-232 input devices ENQ / ACK / NAK software protocol The RS-232 input device connected to the MicroBar NX can synchronize communication by sending an ENQ character (05h). The MicroBar NX answers with an ACK character (06h) - even if ENQ/ACK/NAK has not been activated in the MicroBar NX. When a message - terminated with the selected end-of-message character - is received from the RS-232 input device, the MicroBar NX sends an ACK character if the message is understood, or a NAK character (15h) if the message is not understood. The ACK character is sent when transmission has been completed. The hardware/software protocols timeout for RS-232 input devices is unlimited and can not be configured.
Typical ENQ / ACK / NAK scenarios RS-232 input device
MicroBar NX
RS-232 input device
MicroBar NX
ENQ
ENQ
ACK
ACK message (OK)
message (not OK)
ACK (clears message)
NAK repeats message (OK)
ACK (clears message)
MB/NX/RM/00/E/970131
115
Page 126
RS-232 input devices ENQ enquiry character ENQ Not Active (*)
ENQ (HEX 05)
ACK positive acknowledge character ACK Not Active
ACK (HEX 06) (*)
NAK negative acknowledge character NAK Not Active
NAK (HEX 15) (*)
116
MB/NX/RM/00/E/970131
Page 127
RS-232 input devices XON/XOFF software protocol This protocol allows the MicroBar NX to control the flow of data from the RS-232 input device. To interrupt reception of data, the MicroBar NX transmits the XOFF character (ASCII DC3). To restart the flow, it sends the XON character (ASCII DC1). Activating XON/XOFF deactivates the RTS/CTS and ENQ/ACK/NAK protocols.
Not Active (*)
Active
RTS/CTS hardware protocol When the RTS/CTS protocol is activated, the MicroBar NX waits for an RTS from the RS-232 input device and sends a CTS when it is ready to receive data.
Not Active (*)
Active
MB/NX/RM/00/E/970131
117
Page 128
RS-232 input devices Transmission to the host system Transmit on end-of-message character The RS-232 input device transmits data on a message-by-message basis. By default, the MicroBar NX transfers the data to an input buffer (250 characters maximum) and sends the data to the host system when it receives an end-of-message character. Carriage Return (0Dh) is the default end-of-message character. To compose a different end-of-message character, scan Compose End-Of-Message Character and scan an ASCII character (Ð ASCII character codes ). Transmit On End-Of-Message Character (*)
Carriage Return (*)
Carriage Return + Line Feed
Compose End-Of-Message Character
Transmit character by character Transmit Character By Character transmits to the host system each character as it is received - the characters do not go through the input buffer. If you use this option, we recommend that you activate the RTS/CTS protocol with the input device. Transmit Character By Character
118
MB/NX/RM/00/E/970131
Page 129
RS-232 input devices Transmit on timeout Transmit On Timeout transmits the buffered message to the host system when the specified timeout value is received - useful if the RS-232 input device does not send an end-ofmessage character for example. To compose a transmission timeout value, scan Compose TimeOut Before Transmission, scan a numerical value in milliseconds (for example, scan 4 5 0 0 to enter a value of 4.5 s), and scan End Selection to finish (Ð Number codes or inside back cover of this manual). Transmit On Timeout Not Active (*)
Transmit On Timeout (default = 2.5 s)
Compose Timeout Before Transmission (max = 5 s)
ASCII control code transmission filter The RS-232 input device may send control characters that you do not want the MicroBar NX to transmit to the host system - preambles and end-of-message characters for example. With the ASCII control code transmission filter, ASCII control characters 00h-20h received from the RS-232 input device are removed by the MicroBar NX before the data is transmitted to the host system. Do Not Transmit ASCII Characters 00h-20h
Transmit All ASCII Characters (*)
MB/NX/RM/00/E/970131
119
Page 130
RS-232 input devices Special keys interpretation - Output to keyboard wedge In keyboard wedge applications, special keyboard keys such as <Backspace> and <Tab> can be emulated by interpreting as keyboard functions dual-character combinations (“. A” for example) or single characters with ASCII values greater than 7Fh (Ð RS-232 input - Keyboard emulation chart below).
Example - Dual-character combinations original bar code with . L dual characters (<Backspace>)
interpreted and transmitted as:
code39.L12
1 - not activeCODE39.L12 2 - always activeCODE312 3 - separate 2 characters or hyphenCODE39.L12 4 - separate 2 charsCODE39.L12 code39-.L12
1 - not activeCODE39-.L12 2 - always activeCODE3912 3 - separate 2 chars or hyphenCODE312 4 - separate 2 charsCODE39-.L12
--.L
1 - not active--.L 2 - always active3 - separate 2 chars or hyphen 4 - separate 2 chars--.L
.L
1 - not active.L 2 - always activ 3 - separate 2 chars or hyphe 4 - separate 2 char
Example - Single character with ASCII value > 7Fh original bar code with single character 8Bh (<Backspace>)
<8B>
120 interpreted and transmitted as: <Backspace>
MB/NX/RM/00/E/970131