The text of a manual · part 13 of 16
TC1100 Reference Manual: 5 References
Pages 111 to 121 of 131, from TC1100 Reference Manual
The original document is the PDF (979 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 Datalogic TC1100
Page 111
REFERENCES
5
5
REFERENCES
5.1
RS232 PARAMETERS
5.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
Figure 31 - 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
Figure 32 - XON/XOFF Handshaking
103
Page 112
TC1100
5
5.1.2
ACK/NACK from Host 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
TC1100 cable
Host
ACK or NACK
Figure 33 - ACK/NACK Enabled
5.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.
5.1.4
RX Timeout
When the RS232 interface is selected, the Host can be used to configure the device by sending it command strings (see chapter 3). 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.
104
Page 113
REFERENCES
5.2
5
PEN PARAMETERS
5.2.1
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.
5.2.2
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.
105
Page 114
TC1100
5
5.2.3
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: Inverted idle space black white barcode output space
OUTPUT: Inverted IDLE: Normal idle white bar black barcode output OUTPUT: Inverted IDLE: Inverted idle white space bar black barcode output
Figure 34 - Output and Idle Levels
5.2.4
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.
106
Page 115
REFERENCES
5.3
5
DATA FORMAT
5.3.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: RS232:
no header, terminator CR-LF
WEDGE:
no header, terminator ENTER
These default values are always restored through the reading of RS232 or WEDGE interface selection code, see chapter 3. 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 readers using Wedge interface, all values from 9C to FE send the Space character.
107
Page 116
TC1100
5
5.3.2
Set Custom Extended Header/Terminator Keys
The extended Header/Terminator keys for Wedge Interface users can be customized by defining them through a simple keyboard setting procedure. For example, the Numeric Keypad keys can be set for use as Headers or Terminators by substituting the default extended keys using this procedure. The type of computer or terminal must be selected before activating the keyboard setting command. Press and release a key to set it. Some characters may require more than one key pressed simultaneously during normal use (refer to the manual of your PC or terminal for keyboard use). The exact sequence must be indicated to the reader in this case pressing and releasing the different keys.
Example: If one has to press the "Shift" and "4" keys simultaneously on the keyboard to transmit the character "$" to the video, to set the "$", press and release "Shift" then press and release "4". Each pressed and released key must generate an acoustic signal on the reader, otherwise repress the key. Never press more than one key at the same time, even if this corresponds to the normal use of your keyboard. Press "Backspace" to correct a wrong key entry. In this case the reader emits 2 beeps. Note: "CAPS LOCK" and "NUM LOCK" must be off before starting the keyboard setting procedure. "SHIFT" must be repressed for each character and cannot be substituted by "CAPS LOCK".
108
Page 117
REFERENCES
5 Set Custom Extended Header/Terminator Keys i i i
$+FB1$-
Enter the code above. •
If the first 4 KEYS (Shift, Alt, Ctrl, and Backspace) are not available on your keyboard, you can only substitute them with keys not used, or substitute them with each other.
•
Keys 5 to 28 must be defined
Press the desired keys in the following order: The reader signals the end of the procedure with 2 beeps indicating the keys have been registered. CUSTOM EXTENDED KEYBOARD SETTING TABLE Custom Order
HEX
KEY
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A
Shift Alt Ctrl Backspace
109
Page 118
TC1100
5
5.4
POWER SAVE
5.4.1
Sleep State
This mode allows the µP in the reader to enter a “Sleep” state for minimum power consumption. This command is only valid when On-Line is selected. Before entering Sleep mode, the following are verified: • • • no commands coming from Host no data being transmitted to Host Enter Sleep Timeout ended
To exit Sleep mode press the trigger. Enabling the Sleep state implements Standby mode for CCD devices.
5.4.2
Enter Sleep Timeout
For readers that have the Sleep state enabled, this timeout determines when the reader will enter this state.
5.4.3
Standby
If this command is enabled, part of the CCD circuitry shuts down (Standby), in order to optimize low power consumption when not reading. When the trigger is pressed this circuitry powers up. This mode causes a minor delay of about 100 ms before the reader is ready.
5.5
READING PARAMETERS
5.5.1
Operating Modes
This group of parameters allows setting different reading modes: •
110
ON-LINE: the TC1100 reader is connected to an external Presence Sensor using EXT TRIG+ and EXT TRIG- inputs. During the active phase of the presence sensor, the TC1100 tries to acquire and correctly decode the code. If the operation is successful, the barcode characters are transmitted on the serial interface in the format defined by the current configuration. Otherwise a No Read message is sent: by default the <CAN> symbol is sent;
Page 119
REFERENCES
5
•
AUTOMATIC: the TC1100 reader does not require connections with external presence sensors in this operating mode. In this mode the illuminator is always ON and TC1100 is continuously scanning. The reading phase is enabled when a barcode enters the reading zone of the camera and is terminated after a fixed number of scans without a code. The next reading phase will begin when a code enters the reading zone again. The number of scans without a code is an optimized value for the CCD camera in order to improve code identification in the reading zone. Code transmission occurs as in the other operating modes but in case of No Read condition there is no transmission on the serial port.
•
AUTOMATIC / Lighting System Standby: this mode should be used when working with sufficient ambient light In this Automatic mode the illuminator is OFF while the CCD remains active and exploits the ambient light to detect whether a barcode enters the reading zone of the camera. If a barcode is detected, then the lighting system automatically turns on and the reading phase is enabled. Thus, this mode allows increasing the lighting system life when the Automatic mode is required.
•
SERIAL ON-LINE: the reading phase starts when the Serial Start Character is received on the serial interface and ends when the code is read or a Serial Stop Character is received. If decoding is correct, the data is transmitted on the serial port as defined by the configuration. Otherwise a No Read message is sent: it is fixed as the CAN symbol. The Start and Stop characters are also fixed: Serial START: STX Serial STOP: ETX
•
TEST MODE: test mode allows verifying the reader position and the associated reading features. The code is continuously read when in this mode. After 400 ms, the values relative to an internal counter and the decoded code are displayed and transmitted on the serial interface. The counter reports a statistical calculation which consists of a good reading percentage of the total acquisitions. The following message could be displayed: Counter value Code 090% 12345ABC If the CCD reader cannot decode a label, the following message will be displayed: 0%. Only one barcode label must be read for each reading cycle.
111
Page 120
TC1100
5
NOTE
5.5.2
Since Test Mode is basically a diagnostic mode, it can only be enabled at run time and not saved to a non-volatile memory. For the same reason, this operating mode must be disabled only via RS232 interface by selecting another Operating Mode command, if you want to restore the previous state of the reader.
Reads per Cycle
In general, a reading cycle corresponds to the Phase ON / Phase OFF times of a device. The resulting effects of this parameter on code reading depend on other related configuration conditions. Here are the definitions of Phase ON and Phase OFF times. When one read per cycle is selected, the device decodes only one code during the Phase ON period and immediately turns to the Phase OFF. It is only possible to read another code when the next Phase ON time occurs. In multiple reads per cycle, the Phase ON period is extended so that the device can continue decoding codes until an OFF event occurs.
5.6
DECODING PARAMETERS
CAUTION
5.6.1
These parameters are intended to enhance the decoding capability of the reader for particular applications. Used incorrectly, they can degrade the reading performance or increase the possibility of a decoding error.
Ink-Spread
The ink-spread parameter allows the decoding of codes which are not perfectly printed because the page texture tends to absorb the ink.
112
Page 121
REFERENCES
5.6.2
5
Overflow Control
The overflow control parameter can be disabled when decoding codes printed on small surfaces, which don’t allow the use of an overflow space. This command does not effect code families 2/5, Code 128 and Code 93. This command is forced (enabled) when PDF417 codes are enabled.
5.6.3
Interdigit Control
The interdigit control parameter verifies the interdigit spacing for code families Code 39 and Codabar.
5.7
CONFIGURATION EDITING COMMANDS
The following commands carry out their specific function and then exit the configuration environment. Command
Description i i i
Pk Pk Pk
Restore TC1100 reader default configuration (see par. 3.1 for default settings).
i i i
Transmit the TC1100 software release (not for PEN Emulation)
i i i
Transmit TC1100 reader configuration in readable format (not for PEN Emulation)
113