3nStar SC050 Owner's manual


Table of Contents
About this manual.....................................................................................I
Introduction............................................................................................. I
Caution.................................................................................................... I
Service information................................................................................. I
Manual apply to the following models ................................................... I
Revised version....................................................................................... I
1. Product Specifications ..........................................................................1
1.1 Technical parameters ........................................................................1
1.2 Barcode default parameters..............................................................1
1.3 Interface specifications .....................................................................2
1.3.2 Scan engine interface without decoding .......................................................3
1.3.3 Standard serial port (DB9)............................................................................4
2. Command instructions .........................................................................5
2.1 Barcode command instructions.........................................................5
2.2 Serial port command instructions .....................................................6
2.3 Command table.................................................................................7
2.4 Quick command (HEX format) ........................................................8
3. General command data format .........................................................10
3.1 SET & END....................................................................................10
3.2 Defaults parameter..........................................................................11
3.3 TRIGGER_SCAN & STOP_SCAN...............................................12
3.4 Version ............................................................................................13
3.5 OPEN_BEEPER .............................................................................14
3.6 ACK Handshaking..........................................................................16
4. Modify parameters command ...........................................................17
4.1 Data output mode............................................................................17
4.2 USB Keyboard set ..........................................................................18
4.2.2 Numeric keypad mode setting ....................................................................19

4.2.3 CapsLock key setting..................................................................................19
4.3 Serial port setting............................................................................21
4.3.2 Data bit, stop bit and check bit....................................................................22
4.3.3 Serial port respond.......................................................................24
4.3.4 If Serial Port Data need to response ............................................25
4.3.5 Serial port data format .................................................................26
4.4 Trigger mode & Continuous read mode .........................................28
2)Delay for repeating to read the same barcode...................................29
4.5 Trigger scan timeout setting............................................................30
4.6 Buzzer setting .................................................................................33
4.7 Auto trigger.....................................................................................34
4.8~ 4.16 Reserved ...............................................................................34
4.17 Barcode setting .............................................................................35
4.17.1 EAN13 & UPC-A .....................................................................................36
4.17.2 EAN8 ........................................................................................................39
4.17.3 UPC-E.......................................................................................................41
4.17.4 CODABAR (NW-7)..................................................................................43
4.17.5 CODE 39...................................................................................................46
4.17.6 CODE 93...................................................................................................50
4.17.7 INTERLEAVED 2 OF 5 ...........................................................................53
4.17.8 STANDARD 2 of 5 (Industrial 2 of 5) .....................................................56
4.17.9 MATRIX 2 of 5.........................................................................................59
4.17.10 CODE 128...............................................................................................60
3) EAN/UCC 128 & GS1-128 setting .................................................................63
4.17.11 CODE 11.................................................................................................65
4.17.12 GS1 Databar............................................................................................68
4.17.13 CHINESE POST.....................................................................................69
4.17.14 Set Positive/Negative Barcodes ..............................................................70
4.17.15 All barcodes setting.................................................................................71
4.18 Case control ..................................................................................72
4.19 Character processing (add/delete/insert characters) .....................73
4.19.1 Prefix/Suffix setting ..................................................................................73

4.19.1.1 Set prefix.................................................................................74
4.19.1.2 Set suffix .................................................................................75
4.19.1.3 Customize prefix/suffix ..........................................................77
4.19.2 Insert character setting code......................................................................78
4.19.3 Delete part of the symbol of barcode.........................................81
2) Delete front X symbols....................................................................................82
3) Delete end X symbols......................................................................................83
4.20 Update firmware mode .................................................................85
5.1 Brazilian bank code conversion.....................................................................85
Appendixes...............................................................................................87
Appendix 1: Character table 1 ..............................................................87
Appendix 2: Character table 2 ..............................................................97
Appendix 4: Example codes ...............................................................107

I
About this manual
Introduction
This manual is intended for setting up your barcode reader to optimize its performance
for your particular application. When the required options have been configured, they
remain in the reader, even after power down. The reader can be set to factory default by
reading the default barcode label.
Caution
This information is subject to change without prior notice. This manual may not, in
whole or in part, be copied, photocopied, reproduced, translated or converted to any
electronic or machine readable form without prior written consent of 3nStar, Inc.
Service information
Please read this manual first before using any 3nStar product. If you need more
technical support, please let us know.
Web Site: http://www.3nStar.com
Email: [email protected]
Manual applies to the following models
•SC050
•SCI150
Revised version
Revised Date
Version
Description
2012.5.3
V1.1
STM
2013.1.1
V2.1
STM_SIM
2.14.5.27
V2.1.1
Modify the prefix/suffix set mode

II
2.14.6.25
V2.1.2
Modify the prefix/suffix set mode; Replace the
barcode; Complement the background of the
code; Delete the reservation instruction content.
Typesetting
2014.11.19
V2.2
ADD 4.6,4.20
2015.1.28
V2.3
More rigorous description in the content
2015.2.3
V2.4
Added serial data format and serial port settings for custom
suffixes
2018.10.26
V2.5
Added Brazil, GS1-128 barcode function command
2018.11.15
V2.6
Rearrange the instructions

1
1. Product Specifications
1.1 Technical parameters
Details can be referred to the related product brochures.
1.2 Barcode default parameters
Type
Read
Check
Check
Transmission
Start/End
Characters
Transmission
Min/
Max
Length
ID
EAN13 n
√
√
√
X
(13)2
A
EAN8 n
√
√
√
X
(8)2
B
UPC-A n
√
√
√
X
(12)2
C
UPC-E n
√
√
√
X
(8)2
D
CODABAR(NW-7)n
√
-
√
-
4~70
E
CODE 39 n
√
-
√
-
3~50
F
CODE 93 n
√
√
√
X
1~80
G
INTERLEAVED 2OF5 n
√
-
√
X
4~80
H
STANDARD 2OF5
-
-
√
X
4~80
I
MATRIX 2OF5
-
X
X
X
6~80
J
CODE 128 n
√
√
-
X
1~80
K
EAN/UCC 128 n
√
√
-
X
1~80
L
CODE 11
-
√
-
X
4~80
M
CHINESE POST
-
X
X
X
6~80
N
Note:
1. “√” means default enable, “-” means default disable, “×” means parameter of this
barcode type does not exist;
2. The min/max length of barcode noted with “2” means the length of barcode is
fixed length;
3. The type of barcode noted with “n” means support negative barcode decode.

2
1.3Interface specifications
SC050 and SCI150can be equipped with USB Keyboard, TTL/RS232 (DB9 female),
RS485 (DB9 male), PS2 keyboard or any other customized interfaces. Different
product’s standard interface is different. So please confirm it before purchase. Other
interfaces can be customized according to customer’s demand.
1.3.1 Scan module interface CMOS
Pin No.
Name
Type
Description
1
NC
Null
Reserved
2
VCC
DC Power
DC3.3V or DC5V
(according to different modules) ±5%
3
GND
Digital
Ground
GND
4
Rx
Input
COM input port TTL level
5
Tx
Output
COM output port TTL level
6
NC
Null
Reserved
7
NC
Null
Reserved
8
NC
Null
Reserved
9
BPR
Output
Buzzer good read will be activated and output
frequency is 3K for 150ms if decoding successfully.
Output low level when idle.
10
LED
Output
LED good read will be activated and output low level
if decoding successfully.
11
NC
Null
Reserved
12
TRIG
Input
Trigger scan

3
1.3.2 Scan engine interface without decoding
Interface circuit is a ZIP (0.5mm-8p) interface which communicates with outside world.
It’s the microprocessor that controls the scan engine’s work and takes the data to
decode.
Pin NO.
Pin Name
Description
1、2
GND
Ground
3
SOS
Scan starting signal:
When the laser line reaches the edge, the signal will
transform from high to low or from low to high in order
to detect the start and finish of a scan.
4
DATA
The width of the DATA signal stands for the width of
black and white bars. The output is CMOS level.
High level=Bars, Low level=Spaces
5
TRIG
Allowing Trigger scanning signal:
TRIG=High: The scan engine will enter a power-saving
mode;
TRIG=Low: The scan circuit will be activated to the
ready state.
6
LASER-EN
Activation signal
LASER-EN=High or not connected: The laser will be
closed;
LASER-EN=Low and TRIG=Low: The scan engine
circuit will be activated and ready to scan barcodes. The
laser will open.
7
IR-TRIG
Optional, IR trigger pin, only for WSL3000
8
VCC
Power Supply: DC 5V

4
1.3.3 Standard serial port (DB9)
NO.
Function
1
Trigger(optional)
2
Rx
3
Tx
5
GND
9
DC 5V(optional)
When pin 1 receives low level for 10ms, it means trigger and scan. (optional)
Pin 6 is only used in trigger mode. It will output low level for 100ms if it detects no
barcode after trigger. (value added service)
1.3.4 RS485 interface
NO.
Function
1
Trigger(optional)
3
A+
8
B-
5
GND
9
DC 5V(optional)
1.3.5 USB interface
NO.
Function
1
VCC
2
D-
3
D+
4
GND

5
2. Command instructions
2.1 Barcode command instructions
A. Command barcodes are printed via Code 128 CODE B barcode set. Command
barcode is same as serial port command value(Detail as Chart 2.2-1).
B. Note with “*” means factory default parameter.
(a) “%SET”: Enter setting mode; It will drop out setting mode automatically if it not
scans next command barcode in 30s;
(b) Modify parameters command: It can scan one or several command barcodes;
(c) “%END”: Save & Exit.

6
2.2 Serial port command instructions
Table 2.2-1 Serial Port Command Data Format
Length
Message
Source
Message
target
Reserve
Opcode
Command
Beeper
Check
Sum
Table 2.2-2 Serial Port Command Data Analysis
Field
Format
Sub-Field
Description
Length
1 Byte
Length
Command length,
excluding Check Sum,
maximum value is 0xFF.
Message
Source
1 Byte
0x04=Host (PC or industrial
computer);
0x31= Decoder (barcode scanner)
Command source
Message
target
1 Byte
0x04=Host (PC or industrial
computer);
0x31=Decoder (barcode scanner)
Command target address
Reserve
1Byte
Reserved (0x00)
Opcode
1Byte
Op-code command
function table
Command
Variable
number
of bytes
Beeper
1 Byte
0x31=Enable
0xFF=Disable
Buzzer status
Check
Sum
2 Byte
Message check sum
format High byte
low byte
Note:
1. Check Sum: Radix complement of command sum, high byte in the beginning and
low byte in the end.
Check digit calculation method: Adding up all bytes to get sum before checking
(excluding two check digit bytes). Check digit value=Sum reversed as per digit then
add one.
Example: Save & Exit (0A 04 31 00 24 25 45 4E 44 FF) adding up to obtain the
sum: 02 5E, switch to binary (0000 0010 0101 1110), then reverse (1111 1101 1010
0001), finally add one is check digit (FD A2).
2. When Command uses character in the following data format pack (prefix excluding
“0x”) and be sent via serial port command, it should switch character to Hex of ASCII
code accordingly.

7
2.3 Command table
Table 2.3-1 Command table
Name
Opcode
Description
Barcode
comman1
Serial port
comman2
Serial port
respond3
SET
0x24
Enter setting
mode
√
X
X
END
0x24
Save & Exit6
√
√
√
TRIGGER_SCAN
0x26
Trigger scan
X
√
√+barcode4
STOP_SCAN
0x27
Stop scan
√
√
√
FACTORY_DEFAULT
S
0x28
Restore
factory default
√
√
√
CUSTOM_DEFAULTS
0x29
Restore
user default
√
√
√
WR_CUSTOM_DEFA
ULTS
0x2A
Write
user default
√
√
√
READ_REVISION
0x2B
Read product
software
version
√
√
√+software
version5
PARAM_MODIFY
0x50
Modify
parameter
value
√
√
√
OPEN_BEEPER
0x31
Open buzzer
X
√
X
ACK
0x3F
Handshaking
X
√
X
Note:
1. Whether to support the barcode command setting;
2. Whether to support to send command setting via serial port;
3. Whether it is necessary for the scanner to respond when it allowed to answer;
4. Scanner will respond and return the ASCII code of the barcode characters if read successfully;
5. Scanner will respond first and then return the software version when allowed replying;
6. Save settings.

8
2.4 Quick command (HEX format)
Quick command can be used in the following conditions:
Message Source=0x04 (PC or Industrial Computer);
Message target=0x31 (barcode scanner 0x31);
Beeper=0xFF (Closed). Table 2.4-1 Host to Scanner
Function
Command(HEX format)
Common command:
Save & Exit (%END)
0A 04 31 00 24 25 45 4E 44 FF FD A2
Trigger scan (LT)
08 04 31 00 26 4C 54 FF FD FE
Stop scan (LS)
08 04 31 00 27 4C 53 FF FD FE
Restore factory default (DF)
08 04 31 00 28 44 46 FF FE 12
Restore user default (DC)
08 04 31 00 29 44 43 FF FE 14
Write user default (WC)
08 04 31 00 2A 57 43 FF FE 00
Read product batch version (RV)
08 04 31 00 2B 52 56 FF FD F1
Modify parameter command:
Single read (F0000)
0B 04 31 00 50 46 30 30 30 30 FF FD 6B
Continuous read (F0001)
0B 04 31 00 50 46 30 30 30 31 FF FD 6A
Disable repeat read (F0100)
0B 04 31 00 50 46 30 31 30 30 FF FD 6A
Enable repeat read (F0101)
0B 04 31 00 50 46 30 31 30 31 FF FD 69
Multiple read (F0102)
0B 04 31 00 50 46 30 31 30 32 FF FD 68
TTL/RS232 output (A0000)
0B 04 31 00 50 41 30 30 30 30 FF FD 70
USB HID Keyboard output (A0001)
0B 04 31 00 50 41 30 30 30 31 FF FD 6F
Disable respond (E0000)
0B 04 31 00 50 45 30 30 30 30 FF FD 6C
Enable respond (E0001)
0B 04 31 00 50 45 30 30 30 31 FF FD 6B
Disable transmit NR (G0000)
0B 04 31 00 50 47 30 30 30 30 FF FD 6A
Enable transmit NR (G0001)
0B 04 31 00 50 47 30 30 30 31 FF FD 69
Enable transmit NR (protocol) (G0002)
0B 04 31 00 50 47 30 30 30 32 FF FD 68
Disable read all barcodes (I1000)
0B 04 31 00 50 49 31 30 30 30 FF FD 67
Enable read all barcodes (I1001)
0B 04 31 00 50 49 31 30 30 31 FF FD 66
Table 2.4-2 Scanner to Host
Function
Command(HEX format)
Respond if setting succeed
07 31 04 00 01 06 FF FE BE
Respond if setting fail
07 31 04 00 01 15 FF FE AF
Enable transmit NR (protocol)
08 31 04 00 02 4E 52 FF FE 22

9

10
3. General command data format
3.1 SET & END
Data format:
Length
Message
Source
Message
target
Reserve
Opcode
Command
beeper
Check
Sum
0x0A
0x04
0x31
0x00
0x24
%END
Command:
Enter setting mode
%SET
Save & Exit
%END

11
3.2 Defaults parameter
Data format:
Command:
Opcode
%SET
Restore factory default
0x28
DF
%END
Note:
1. Setting “Write user default” will automatically set with “%END”.
Length
Message
Source
Message
target
Reserve
Opcode
Command
beeper
Check
Sum
0x08
0x04
0x31
0x00

12
3.3 TRIGGER_SCAN & STOP_SCAN
Data format:
Length
Message
Source
Message
target
Reserve
Opcode
Command
beeper
Check
Sum
0x08
0x04
0x31
0x00
Command:
Opcode
%SET
Trigger scan
0x26
LT
Stop scan
0x27
LS
%END

13
3.4 Version
Data format:
Length
Message
Source
Message
target
Reserve
Opcode
Command
beeper
Check
Sum
0x08
0x04
0x31
0x00
0x2B
Command:
%SET
Read program version
RV
%END

14
3.5 OPEN_BEEPER
Field
Format
Sub-Field
Description
Data format:
Table 3.5-1
Field
Sub-Field
Description
Length
0x0F
Command length,
excluding Check Sum
Message
Source
0x04
0x04=Host
(PC or Industrial Computer)
Message target
0x31
0x31=Decoder (barcode scanner)
Reserve
0x00
Reserved
Opcode
0x31
OPEN_BEEPER
Command
0x2F
Fixed(/)
Beeper Type
Sound type (0x01~0x03)
First Frequency
Sound 1 Frequency (0x00~0x08)
refer chart 3.5-2
first_x25ms
Sound 1 time based on 25ms (0x00~0xFF)
Second Frequency
Sound 2 Frequency (0x00~0x08)
refer chart 3.5-2
second_x25ms
Sound 2 Time based on 25ms (0x00~0xFF)
Third Frequency
Sound 3 Frequency (0x00~0x08)
refer chart 3.5-2
third_x25ms
Sound 3 time based on 25ms (0x00~0xFF)
Between Stop
Beeper_x25ms
Stop time between each sound
of type 2 or 3
Beeper
0xFF
Reserved
Check Sum
2 byte
Note: Different Command value can produce different sound.
Table 3.5-2
Value
Frequency
0x00
BEEPER_1350Hz
0x01
BEEPER_1500 Hz
0x02
BEEPER_1700 Hz
0x03
BEEPER_2000 Hz
0x04
BEEPER_2300 Hz
0x05
BEEPER_2500 Hz
0x06
BEEPER_2700 Hz
Other manuals for SC050
1
Table of contents
Other 3nStar Barcode Reader manuals

3nStar
3nStar SC440 User guide

3nStar
3nStar SC430 User manual

3nStar
3nStar PTE0905-MSR User manual

3nStar
3nStar SC505 User manual

3nStar
3nStar 2054K Series User manual

3nStar
3nStar SC430 User guide

3nStar
3nStar SC050 User manual

3nStar
3nStar SCI150 User manual

3nStar
3nStar SC550 User manual

3nStar
3nStar SC365 User manual