The text of a manual · part 16 of 21
QuickScan Mobile Reference Manual: 4 REFERENCES, pages 128 to 135
Pages 128 to 135 of 176, from QuickScan Mobile Reference Manual
The original document is the PDF (1.2 MB). 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 Datalogic M2130
Page 128
®
QUICKSCAN MOBILE
4
REFERENCES
4.1
RS-232 PARAMETERS
4.1.1
Handshaking
Hardware handshaking: (RTS/CTS) The RTS line is activated by the decoder before transmitting a character. Transmission is possible only if the CTS line (controlled by the Host) is active. Signals at EIA levels
RTS
TX Transmitted data
Transmitted data
Host busy
CTS
RTS/CTS handshaking
Software handshaking: (XON/XOFF) During transmission, if the Host sends the XOFF character (13 Hex), the decoder interrupts the transmission with a maximum delay of one character and only resumes when the XON character (11 Hex) is received. Transmitted data
Transmitted data
TX
RX XOFF Host busy
XON Host ready
XON/XOFF handshaking
122
Page 129
REFERENCES
4.1.2
ACK/NACK Protocol
This parameter sets a transmission protocol in which the Host responds to the reader after every code transmitted. The Host sends an ACK character (06 HEX) in the case of good reception or the NACK character (15 HEX) requesting re-transmission, in the case of bad reception. data ®
QuickScan Mobile cable
Host
ACK or NACK ACK/NACK enabled
If the reader does not receive an ACK or NACK, transmission is ended after the RX Timeout (see par. 4.1.4). When ACK/NACK protocol is enabled, FIFO must be disabled manually, see par. 4.1.3. The transmission protocol takes place between reader, cradle and Host. The reader passes its data (code read) to the cradle, which sends it to the Host. In the following descriptions the completed transmission is indicated by the Beeper Control for Radio Response parameter with its default setting to Normal, see par. 4.7.3. When ACK/NACK is disabled, there is no control from cradle to Host transmission, the reader responds with the good reception tone. data data ®
QuickScan Mobile
CRADLE cable
Host good RX beep
ACK/NACK disabled data data cable ®
QuickScan Mobile good RX beep
CRADLE
NACK
Host data ACK
ACK/NACK enabled
123
Page 130
®
QUICKSCAN MOBILE
When ACK/NACK is enabled, the Host sends an ACK character (06 HEX) in the case of good reception or the NACK character (15 HEX) requesting re-transmission, in the case of bad reception. Only after the ACK character is received by the cradle does the reader respond with the good reception tone. If the reader does not receive an ACK or NACK, transmission is ended after the RX Timeout (see par. 4.1.4). When ACK/NACK protocol is enabled, FIFO must be disabled manually, see par. 4.1.3.
4.1.3
FIFO
This parameter determines whether data (barcodes) are buffered on a First In First Out basis allowing faster data collection in certain cases for example when using slow baud rates and/or hardware handshaking. If the FIFO buffering is enabled, codes are collected and sent out on the serial line in the order of acquisition. About 800 characters can be collected (buffer full), after which the reader signals an error and discards any further codes until the transmission is restored. If the FIFO buffering is disabled, each code must be transmitted before another one can be read. If enabled, the cradle collects all messages sent by QuickScan® Mobile and sends them in order of acquisition to the connected Host. If disabled, QuickScan® Mobile blocks message transmission until the cradle has completed transmission towards the Host.
124
Page 131
REFERENCES
4.1.4
RX Timeout
When the RS-232 interface is selected, the Host can be used to configure the device by sending it command strings (see appendix A). This parameter can be used to automatically end data reception from the Host after the specified period of time. If no character is received from the Host, after the timeout expires, any incomplete string (any string not terminated by <CR>) is flushed from the device buffer.
4.2 4.2.1
PEN PARAMETERS Minimum Output Pulse
This parameter sets the duration of the output pulse corresponding to the narrowest element in the barcode. In this way the code resolution is controlled by the signal sent to the decoder, independently of the physical resolution of the code read. The shortest pulse (200 μs) corresponds to a high resolution code emulation and therefore a shorter transfer speed to the decoder (for decoders able to work on high resolution codes). Likewise, longer pulses correspond to low resolution code emulation and therefore a longer transfer time to the decoder.
4.2.2
Conversion to Code 39 and Code 128
When using these readers it is possible to choose between converting the decoded codes into either Code 39 format or Code 128 format. It is not possible to disable conversion.
125
Page 132
®
QUICKSCAN MOBILE
4.2.3
Overflow
This parameter generates a white space before the first bar and after the last bar of the code. The selections are as follows: narrow medium wide
= space 10 times the minimum output pulse. = space 20 times the minimum output pulse. = space 30 times the minimum output pulse.
4.2.4
Output and Idle Levels
The following state diagrams describe the different output and idle level combinations for Pen emulation: idle bar
OUTPUT: Normal space
IDLE: Normal black white barcode output bar
OUTPUT: Normal idle IDLE: Inverted space black white barcode output space
OUTPUT: Inverted white idle bar
IDLE: Normal black barcode output
OUTPUT: Inverted idle white space bar
IDLE: Inverted barcode output
Output and Idle Levels
126 black
Page 133
REFERENCES
4.2.5
Inter-Block Delay
For the PEN Emulation interface, data are sent to the Host in fixed size blocks of 20 characters each. The inter-block delay parameter allows setting a delay between each block sent to the Host.
4.3 4.3.1
IBM 46XX IBM Data Formatting (Transmission Format)
The IBM 46xx Series cash register recognizes the following codes: •
EAN 8 / EAN13 / UPC A / UPC E with and without Add On
•
Interleaved 2/5
•
Code 39
•
Codabar
•
Code 128
•
Code 93
•
Normal 2/5
The transmission format of codes belonging to this set is specified by the protocol. As the reader allows a wider set of codes to be selected, the following formats are defined to offer the user all the reading possibilities of the Datalogic product. Conversion to Code 39 Format Data from any code selected may be transmitted. Each code is transmitted to the Host as Code 39. Any character not included in the standard Code 39 set will be replaced with a “Space” (20 Hex). IBM Standard Format Only codes belonging to the above mentioned set may be transmitted. Each code transmitted to the Host is recognized by the identifier requested by the protocol. If the selected code does not belong to this set, it wiII not be transmitted. Mixed IBM Standard + Code 39 Format Data from any code selected may be transmitted. For codes belonging to the above mentioned set, the “IBM Standard Format” is applied. The “Code 39’ Format applies to codes not belonging to this set. Cradle Check the Host Command and Cradle Ignore the Host Command By default the cradle accepts the configuration commands received by the Host. When the other command is selected, the cradle ignores completely the commands sent from the Host and maintains its configuration.
127
Page 134
®
QUICKSCAN MOBILE
4.4
DATA FORMAT
The system always provides reader to host data communication using the following message formatting: Output Message from QuickScan® Dx30 or QuickScan® Mobile Stand Alone Towards Host [Header] [Gun_Addr] [Gun_Addr_delimiter] ] [Code ID] [Code Length] CODE [Terminator] [Items in square brackets are optional.]
Output Message from QuickScan® Mobile STAR-System™ Towards Host [Header] [Code ID] [Code Length] CODE [Terminator] [Items in square brackets are optional.]
4.4.1
Header/Terminator Selection
The header/terminator selection is not effected by the reading of the restore default code. In fact, header and terminator default values depend on the interface selection: RS-232:
no header, terminator CR-LF
WEDGE:
no header, terminator ENTER
These default values are always restored through the reading of RS-232 or WEDGE interface selection code, see chapter 2.
128
Page 135
REFERENCES
For the WEDGE interface, the following extended keyboard values can also be configured: EXTENDED KEYBOARD TO HEX CONVERSION TABLE IBM AT IBM 3153 APPLE ADB
IBM XT
IBM 31xx, 32xx, 34xx, 37xx
Wyse Digital
HEX
KEY
KEY
KEY
KEY
83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B
ENTER TAB F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 HOME END PG UP PG DOWN ↑ ↓ ← → ESC CTRL (Right) Euro
ENTER TAB F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 ESC BACKSPACE HOME END PG UP PG DOWN ↑ ↓ ← → ESC CTRL (Right) Space
FIELD EXIT TAB F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 ENTER RESET INSERT DELETE FIELD FIELD + ENTER (Paddle) PRINT
RETURN TAB F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 UP DOWN LEFT RIGHT ESC CTRL (Right) Space
Space
For all devices using IBM AT (compatible) Wedge or USB-KBD interfaces, all values from 9C to FE send the relative simulated keypress when available or else the relative ALT-Mode sequence. See the Hex to Character Conversion Table in Appendix C. For all devices using other Wedge interfaces, all values from 9C to FE send the Space character.
129