Contents Contents ..............................i Notes about structure and electric circuit design ................iii 1 Specifications ............................4 1-1 Technical specifications ........................ 4 1-2 Default setting for each barcode ....................5 2 Getting started ............................. 6 2-1 Parts of scanner ..........................6 2-2 Electrical interface/Pin assignment of cable connector ..............
Notes about structure and electric circuit design 1. The embedded scanner must be electrically isolated. 2. Leave sufficient space to accommodate the maximum size of the embedded scanner.
1 Specifications 1-1 Technical specifications Dimensions 78 mm × 77.5 mm × 19.6 mm (L × W × H) Weight 221 g (without cable) Case Material Zinc alloy Scan Window Material Tempered glass Indicator Interface Beeper Interface Supported RS-232 (3.3 V TTL-level), USB Keyboard, USB Virtual COM Trigger Mode Handheld, Auto-detect, Command, Level Programming Method...
2-2 Electrical interface/Pin assignment of cable connector The embedded scanner has a RJ-45 cable connector. Table 2-1 lists the pin assignments of the embedded scanner. Pin10 Pin1 Cable connector Figure 2-2 Electrical interface/Pin assignment Table 2-1 Electrical interface/Pin assignment RS-232 Descriptions Pin/Signal Name Type...
Page 10
The embedded scanner has a TTL-level RS-232 interface to communicate with a host. RTS and CTS are only used for hardware flow control and should be leaved unconnected or tied to V by 100K Ohm resistors when they are not used. The following diagram demonstrates the interconnection.
2-3 Typical input/output, LDO external, and DC/DC circuitries Input: each input IO pin is internally pulled up by a 100K Ohm resistor (VCC=3.3V). Min. Max. -0.3V 0.7V 2.4V 3.6V Output: each output port is an open-drain pad with a 100K Ohm pull-up resistor and the maximum sink current is 100 mA (VCC=3.3V).
2-5 Notes of timing 2-5-1 Timing characteristics Table 2-2 Timing characteristics Symbol Parameter Conditions Min. Typ. Max. Unit General characteristics Low to high rise time =50pf High to low fall time =50pf Trigger timing Trigger low level hold time trig_1 Trigger high level hold time trig_h Trigger de-bounce time...
2-6 Operation of Embedded Scanner The following cases demonstrate how a host operates an embedded scanner quickly and easily. 2-6-1 Request revision Host sends a Firmware Version list command (0x16, 0x4D, 0x0D, 0x25, 0x25, 0x25, 0x56, 0x45, 0x52, 0x2E). After receiving the command, Embedded Scanner responds with firmware version. 2-6-2 Decode by pulling down pin TRIG Host pulls down pin TRIG.
2-6-3 Decode by commands Host sends a command (0x16, 0x4D, 0x0D, 0x30, 0x34, 0x30, 0x31, 0x44, 0x30, 0x35, 0x2E) to set Scan mode to Host. Then Embedded Scanner responses with the received command and a <ACK> (0x06) character, and then change Scan mode to Host. After receiving the <ACK>...
3 Parameter menus 3-1 Introduction This section describes the programmable parameters, to change the parameter values. Refer to 3-2 Example 1: Single-parameter setting by scanning 1D barcodes 3-3 Example 2: Multiple-parameter setting by scanning a QR code barcode, scan the appropriate barcodes included in this section, The new values replace the existing values.
3-2 Example 1: Single-parameter setting by scanning 1D barcodes Important notes: 1. After each successful programming, the embedded scanner will beep twice. 2. Throughout the programming barcode menus, the factory default settings are indicated with asterisks (*). Two programming modes have been provided as bellows: ❶...
3-3 RS-232 interface Flow control: None - The communication only uses TXD and RXD signals without any hardware or software handshaking protocol. RTS/CTS – If the embedded scanner wants to send the barcode data to the host, it will assert the RTS signal first, and then waits for the CTS signal from the host to perform normal data communication.
Page 19
Multiple-scan setting Single-scan setting Option barcode Option Alpha. entry None RTS/CTS Flow control Two-direction flow control XON/XOFF ACK/NAK 0 ms 5 ms 10 ms Inter-character delay 20 ms 40 ms 80 ms 00-99 Response delay 00-99 (100 ms) 1200 Baudrate 2400 4800 9600...
Page 20
Multiple-scan setting Single-scan setting Option barcode Option Alpha. entry 19200 38400 57600 115200 None Parity bit Even 8 bits Data bit 7 bits 1 bit Stop bit 2 bits...
3-4 USB interface USB device type: HID keyboard – By setting, the embedded scanner is used as a USB HID keyboard emulation device. USB Virtual COM – By setting, the embedded scanner emulates a regular RS-232-based COM port. If a Microsoft Windows PC is connected to the embedded scanner, a driver is required to install on the connected PC.
Page 22
Multiple-scan setting Single-scan setting Option bar code Option Alpha. entry HID keyboard HID keyboard for Apple Mac USB device type USB virtual COM Simple COM Port Emulation Turkish F Turkish Q French Italian Spanish Slovak Keyboard layout Denmark Japanese German Belgian Russian Czech...
Page 23
Multiple-scan setting Single-scan setting Option bar code Option Alpha. entry Swiss German Portugal 0 ms 5 ms 10 ms Inter-character delay 20 ms 40 ms 60 ms Alphabetic key Numeric keypad Alt + keypad Numeric key BIGS THAI Output non-printing characters USB function code Output function codes corresponding to...
3-5 Scan mode & some global settings Scan mode: Good-read off – The trigger pin must be pulled down once to activate scanning. The scanner stops scanning when there is a successful reading or no code is decoded after the Scan standby duration elapsed.
Page 25
is set as “HID keyboard” or “HID keyboard for Apple Mac”, refer to 3-5 USB interface. If it is enabled, the scanner will not start next decode attempt until previous data output is completed. Sleep mode: If it is enabled, the scanner will go to sleep when no code is successful decoded after the Sleep mode delay elapsed.
Page 26
Multiple-scan setting Single-scan setting Option barcode Option Alpha. entry 5 minutes 7 minutes 10 minutes 15 minutes 20 minutes 30 minutes 45 minutes 1 hour 00-FF Same barcode delay time for 1D symbol 00-FF (50 ms) 00-09 Double confirm 00-09 (00: no ) Global max.
Page 27
Multiple-scan setting Single-scan setting Option barcode Option Alpha. entry Enable ASCII UTF-8 Windows-1251 Simplified Chinese Character encoding system Traditional Chinese Windows-1250 KOI8R Japanese Complete data output before Disable next decode attempt Enable Disable Deep sleep Sleep mode Idle mode Shallow sleep 1 second 5 seconds 10 seconds...
3-6 Indication Power on alert: After power-on the embedded scanner will generate an alert signal to indicate a successful self-test. Beeper indication: After each successful reading, the embedded scanner will beep to indicate a good barcode reading, and its beep tone duration is adjustable. Volume of beeper: This parameter can be adjusted for different level of the volume of the beeper.
3-7 Decode illumination mode and Decode aiming pattern Decode illumination mode: Enable illumination causes the embedded scanner to turn on the illumination to aid decoding. Disable illumination to turn off illumination for the embedded scanner during decoding. Better quality images could be obtained with illumination support. The effectiveness of the illumination decreases as the distance to the target increases.
Note 1 : The instruction of calibrating the aimer in vertical centering direction Scan the barcode on this page. The scanner will give three musical short beeps to indicate entering calibration mode. Press the trigger of the scanner while maintaining the distance of about 15cm between the scan window of the scanner and this paper.
Note 2 : Scan barcode or send command to enter upgrade mode Scan barcode to enter upgrade mode Send command 0x16 0x4D 0x0D 0x25 0x4E 0x4D 0x55 Send command to enter upgrade mode 0x47 0x44 0x2E by USB virtual COM or RS232 COM.
3-8 UPC-A Read: Format System character Data digits (10 digits) Check digit Check digit verification: The check digit is optional. Check digit trans.: By setting Enable, check digit will be transmitted. Code ID setting: Code ID is a one-two-character string used to represent the symbol upon a succeeding reading.
3-9 UPC-E Read: Format System character “0” Data digits (6 digits) Check digit Check digit verification: The check digit is optional. Check digit trans.: By setting Enable, check digit will be transmitted. Code ID setting: Refer to Code ID setting of 3-10 UPC-A.
3-10 UPC-E1 Read: Format System character “1” Data digits (6 digits) Check digit Check digit verification: The check digit is optional. Check digit trans.: By setting Enable, check digit will be transmitted. Code ID setting: Refer to Code ID setting of 3-10 UPC-A.
3-11 EAN-13 Read: Format Data digits (12 digits) Check digit Check digit verification: The check digit is optional. Check digit trans.: By setting Enable, check digit will be transmitted. Code ID setting: Refer to Code ID setting of 3-10 UPC-A. Insertion group selection: Refer to Insertion group selection of 3-10 UPC-A.
3-12 EAN-8 Read: Format Data digits (7 digits) Check digit Check digit verification: The check digit is optional. Check digit trans.: By setting Enable, check digit will be transmitted. Code ID setting: Refer to Code ID setting of 3-10 UPC-A. Insertion group selection: Refer to Insertion group selection of 3-10 UPC-A.
3-13 Code 39 (Code 32, Trioptic Code 39) Read: Format Start character(*) Data digits (variable) Check digit (optional) End character(*) Check digit verification: The check digit is optional and made as the sum module 43 of the numerical value of the data digits. Check digit trans.: By setting Enable, check digit will be transmitted.
3-14 Interleaved 2 of 5 Read: Format Data digits (variable) Check digit (optional) Check digit verification: The check digit is made as the sum module 10 of the numerical value of the data digits. There are two optional check digit algorithms: the specified Uniform Symbol Specification (USS) and the Optical Product Code Council (OPCC).
3-15 Codabar Read: Format Start character Data digits (variable) Check digit (optional) End character Check digit verification: The check digit is made as the sum module 16 of the numerical value of the data digits. Check digit trans.: By setting Enable, check digit will be transmitted. Max./Min.
3-16 Code 128 Read: Format Data digits (variable) Check digit (optional) Check digit verification: The check digit is made as the sum module 103 of all data digits. Check digit trans.: By setting Enable, check digit will be transmitted. Max./Min. code length: Refer to Max./Min. code length of 3-15 Code 39 (Code 32, Trioptic Code 39).
3-17 UCC/EAN 128 (GS1-128) Read: Format Data digits (variable) Check digit (optional) Check digit verification: The check digit is made as the sum module 103 of all data digits. Check digit trans.: By setting Enable, check digit will be transmitted. Max./Min.
3-18 ISBT 128 Read: Format “=” or “&” Data digits (variable) Check digit (optional) Check digit verification: The check digit is made as the sum module 103 of all data digits. Check digit trans.: By setting Enable, check digit will be transmitted. Max./Min.
Page 56
3-19 Code 93 Read: Format Data digits (variable) 2 Check digit (optional) Check digit verification: The check digit is made as the sum module 47 of all data digits. Check digit trans.: By setting Enable, check digit will be transmitted. Max./Min.
3-20 G1-G4 & C1-C2 & FN1 substitution string setting Format of barcode data transmission: Prefix Code name Preamble Code ID Code length Code data Code ID Postamble Suffix Suffix string setting: The <enter> key is represented indifferent ASCII when it is applied by different OS.
Page 58
Testing barcode: FN1 substitution string setting: The FN1 character (0x1D) in an UCC/EAN128 barcode, or a Code 128 barcode, or a GS1 DataBar barcode can be substituted with a defined string. Single character C1/C2 replacement: By setting, a defined character in the data string can be replaced by another defined character.
3-21 G1-G4 string position & Code ID position Format of barcode data transmission: Prefix Code name Preamble Code ID Code length Code data Code ID Postamble Suffix Insert G1/G2/G3/G4 string position: The embedded scanner offers 4 positions to insert strings among the symbol.
3-22 String transmission Note: The information in this chapter is closely related to 3-20 G1-G4 & C1-C2 & FN1 substitution string setting. Format of barcode data transmission: Prefix Code name Preamble Code ID Code length Code data Code ID Postamble Suffix Prefix transmission: By setting Enable, prefix will be appended before the data transmitted.
Page 64
Multiple-scan setting Single-scan setting Option barcode Option Alpha. entry Enable 01-99 Transmit the first N data characters only 01-99 Transmit the last N data characters only...
4 Serial Communication Interface (SCI) Note: The SCI programming commands can be used in place of the programming barcodes. All communication between the embedded scanner and host occurs over the hardware interface lines using the Serial Communication Interface (SCI). The function of the SCI show as below: Maintain a bi-directional communication interface between the embedded scanner and the host.
4-1 Programming command syntax 4-1-1 Single-parameter setting Format Prefix Parameter index Value Storage Prefix: <SYN> M <CR> (ASCII 0x16, 0x4D, 0x0D). Parameter index: Each parameter has a unique 4-digit index which is similar to the option barcode listed in 6 Parameter Menus, except that there is no leading ‘%’ and ending “M%” in the Parameter index.
4-1-2 Multiple-parameter setting Format ··· Prefix Parameter index 1 Value 1 Parameter index N Value N Storage Prefix: Refer to Prefix of 4-1-1Single-parameter setting. Parameter index 1 to Parameter index N: Refer to Parameter index of 4-1-1Single-parameter setting. D/H: Refer to D/H of 4-1-1Single-parameter setting.
4-1-6 Get Image Original Image Ship Format <SYN>M<CR> %OISHP 0x16 0x4D 0x0D 0x25 0x4F 0x49 0x53 0x48 0x50 0x2E An image is taken whenever the scan operation is done. The last image is always stored in memory. The original image can be “shipped” by using the %OISHP command. Down-sampled Image Ship Format <SYN>M<CR>...
4-2 Examples of setting and query commands The following examples illustrate how a command should be constructed and transmitted to the embedded scanner. Example 1: Append prefix “1N” to all symbols Step 1: Set Prefix string setting to be “1N”. Look up the parameter table in 6 Parameter Menus and the ASCII table in 11 ASCII table.
Page 71
Example 2: Query current scan mode Look up the parameter table in 6 Parameter Menus and the ASCII table in 11 ASCII table. The target parameter index is “0401”. The numeral system is decimal, thus, ‘D’ is used. The value field is filled with ‘?’. Put all above parts and then append a storage indicator ‘.’...
5 Enable & Disable “NR” Enable “NR” If it is enabled, while the scanner receives the STOP_DECODE command or fails to decode a barcode within the Stand-by duration time, the scanner will transmit “NR”. Disable “NR” (Default)
6 Enable & Disable configuration by scanning barcode Note: The setting of the below two barcodes does affect the operation of scanning the barcodes in 10 Return default parameters & firmware version. Enable configuration by scanning barcode (Default) The default status of the embedded scanner is enabled to scan configuration barcode. Disable configuration by scanning barcode Scan the above barcode to disable scanning configuration barcode, then the embedded scanner will not operate configuration by scanning configuration barcodes, but the data string of...
7 Barcode representing non-printable character Notes to make the following barcode: According to different barcode printing software, the method of printing following barcode is different. If using CODESOFT software, firstly read the information through “Help→Index→Code128→ Special input syntax”. Also refer to ASCII table. For example, if we wish to make “F1” barcode, select “CODE 128”, then select “CODE A”...
8 ASCII table for keyboard wedge for RS-232 Null Down Left Right PgUp PgDn Home Enter Insert Ctrl+ Delete Alt+ Notes: The 2nd and the 3rd columns above are used for keyboard wedge only. “ & ‘ < > Example: ASCII “A” = “41”.
10 Return default parameters & firmware version Restore Factory Defaults Scan this barcode to restore the factory default values. Write to Custom Defaults Store the current scanner settings as custom defaults. Restore Custom Defaults Restore the scanner’s custom default settings. If no custom defaults were set, restore the factory default values.
Need help?
Do you have a question about the ES4790i and is the answer not in the manual?
Questions and answers