3nStar SC050 Technical Manual

Summary of SC050

  • Page 2: Table of Contents

    Table of contents about this manual..................................................................................... I introduction............................................................................................. I caution.................................................................

  • Page 3

    4.10 light delay after triggering the scanner caused by the trigger pin ...................................................................................................................31 4.11 light delay after triggering the scanner caused by the serial port commands/auto trigger ...................

  • Page 4

    2 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 i...

  • Page 5

    3 1.3 interface specifications all winson readers can 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 customize...

  • Page 6

    4 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 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 ...

  • Page 7

    5 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: whe...

  • Page 8

    6 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 ad...

  • Page 9

    7 1.3.4 rs485 interface no. Function 1 trigger(optional) 3 a+ 8 b- 5 gnd 9 dc 5v(optional).

  • Page 10

    8 1.3.5 usb interface no. Function 1 vcc 2 d- 3 d+ 4 gnd.

  • Page 11

    9 1.3.6 ps2 keyboard wedge omission.

  • Page 12: 2. Command Instructions

    10 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...

  • Page 13

    11 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, ...

  • Page 14

    12 2.3 command table table 2.3-1 command table name opcode description barcode comman 1 serial port comman 2 serial port respond 3 set 0x24 enter setting mode √ x x end 0x24 save & exit 6 √ √ √ trigger_scan 0x26 trigger scan x √ √+barcode 4 stop_scan 0x27 stop scan √ √ √ factory_defaults 0x28 restor...

  • Page 15

    13 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 0...

  • Page 16

    14 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.

  • Page 17

    15 3.2 defaults parameter data format: command: opcode %set restore factory default 0x28 df restore user default 0x29 dc write user default 1 0x2a wc %end note: 1. Setting “write user default” will automatically set with “%end”. Length message source message target reserve opcode command beeper chec...

  • Page 18

    16 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.

  • Page 19

    17 3.4 version data format: length message source message target reserve opcode command beeper check sum 0x08 0x04 0x31 0x00 0x2b command: %set read product batch version rv read product bootload version rb %end.

  • Page 20

    18 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 op...

  • Page 21

    19 example 1 (hex): ring 3 times sound 1 (2500hz), last for 100ms; sound 2 (1500hz), last for 100ms; sound 3 (2500hz), last for 100ms; stop time between each sound is 250ms. Setting command: 0f 04 31 00 31 2f 03 05 04 01 04 05 04 0a ff fe 39 example 2 (hex): ring once sound 1 (2500hz), last for 250m...

  • Page 22

    20 3.6 ack handshaking data format: length message source message target reserve opcode command beeper check sum 0x07 0x04 0x31 0x00 0x3f 0x2f scanner->host: handshaking respond (protocol) data format: length message source message target reserve opcode data beeper check sum 0x0d 0x31 0x04 0x00 0x3f...

  • Page 23: 4. Modify Parameters Command

    21 4. Modify parameters command 4.1 data output mode data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *ttl/rs232 a0000 *usb hid keyboard a0001 usb virtual com port a0002 usb hid communication a0003 rs485 a0004 ps2 keyboa...

  • Page 24

    22 4.2 keyboard language data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *us a0100 french a0101 german a0102 turkish a0103 belgian a0104 brazil a0105 %end.

  • Page 25

    23 4.3 buzzer & led control data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set disable boot buzzer b0000 *enable boot buzzer b0001 disable good read buzzer b0100 *enable good read buzzer b0101 buzzer volume: low b0200 *buz...

  • Page 26

    24 4.4 serial port setting data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 the baud rate is the rate at which bits are transmitted from the reader to the host, and vice verse. Both the reader and the host should be set to the same ba...

  • Page 27

    25 odd parity c0301 even parity c0302 %end.

  • Page 28

    26 4.5 serial port respond data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *disable respond e0000 enable respond e0001 %end decode respond data format: length message source message target reserve opcode command beeper ...

  • Page 29

    27 4.6 transmit “no read” message data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *disable transmit nr g0000 enable transmit nr g0001 enable transmit nr (protocol) g0002 %end decode-> host: enable transmit nr (protocol)...

  • Page 30

    28 4.7 power mode data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set regular power consumption e0100 low power consumption e0101 %end.

  • Page 31

    29 4.8 trigger mode & read mode data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *single read f0000 continuous read f0001 disable repeat read f0100 *enable repeat read f0101 multiple read f0102 %end note: 1. Trigger mode...

  • Page 32

    30 4.9 delay for repeating to read the same barcode data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *0ms f0200 100ms f0201 200ms f0202 500ms f0205 900ms f0209 1000ms f0210 1500ms f0215 2000ms f0220 9900ms f0299 %end not...

  • Page 33

    31 4.10 light delay after triggering the scanner caused by the trigger pin data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *0ms f0300 100ms f0301 200ms f0302 500ms f0305 900ms f0309 1000ms f0310 1500ms f0315 2000ms f032...

  • Page 34

    32 4.11 light delay after triggering the scanner caused by the serial port commands/auto trigger data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set 100ms f0401 200ms f0402 500ms f0405 900ms f0409 1000ms f0410 1500ms f0415 ...

  • Page 35

    33 4.12 laser mode & swing plate boot mode data format: command: %set *standard mode f0500 high detection mode f0501 low detection mode 1 f0502 low detection mode 2 f0503 *trigger swing f0600 power swing f0601 %end note: 1. Laser mode: this mode only supports specified laser scan engine. Standard mo...

  • Page 36

    34 4.13 auto trigger data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set disable h0000 *enable h0001 %end.

  • Page 37

    35 4.14 barcode setting data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: 1 byte 3 byte barcode id command data.

  • Page 38

    36 4.14.1 ean13 & upc-a the ean13 symbology is a fixed length symbology encoding 12 data digits, a check digit and non printable start/stop characters. The following characters are supported: the digits 0 up to 9. The upc-a symbology is a fixed length symbology encoding 11 data digits, a check digit...

  • Page 39

    37 4.14.2 ean8 the ean8 symbology is a fixed length symbology encoding 7 data digits, a check digit and non printable start/stop characters. The following characters are supported: the digits 0 up to 9. Command: %set disable ib000 *enable ib001 %end.

  • Page 40

    38 4.14.3 upc-e the upc-e symbology is a fixed length symbology encoding 6 data digits, a check digit and non printable start/stop characters. The following characters are supported: the digits 0 up to 9. An optional leading digit can be transmitted, which together with the data and the check digit ...

  • Page 41

    39 4.14.4 codabar (nw-7) codabar (nw-7) is a variable length symbology with an optional check digit and printable start/stop characters. The next characters are supported: the digit 0 up to 9; the characters “-”, “$”, “:”, “/”, “.”, “+”; start/stop characters are a, b, c, d. The checksum is calculat...

  • Page 42

    40 codabar min/max barcode length %set min barcode length(5) ie805 min barcode length(6) ie806 min barcode length(7) ie807 min barcode length(8) ie808 min barcode length(10) ie810 min barcode length(12) ie812 min barcode length(14) ie814 min barcode length(16) ie816 max barcode length(10) ie910 max ...

  • Page 43

    41 4.14.5 code 39 code 39 is a variable length symbology with an optional check digit and printable start/stop characters. The following characters are supported: the digit 0 up to 9; the upper case characters a up to z; the characters “-”, “$”, “%”, “/”, “.”, “+”, space; start/stop character is “*”...

  • Page 44

    42 *code32 not transmit st: a if600 code32 transmit st: a if601 code32 not transmit cd if700 *code32 transmit cd if701 %end.

  • Page 45

    43 code 39 min/max barcode length %set min barcode length(5) if805 min barcode length(6) if806 min barcode length(7) if807 min barcode length(8) if808 min barcode length(10) if810 min barcode length(12) if812 min barcode length(14) if814 min barcode length(16) if816 max barcode length(10) if910 max ...

  • Page 46

    44 4.14.6 code 93 code 93 is a variable length symbology with 2 mandatory check digits and non printable start/stop characters. The following characters are supported: the digit 0 up to 9; the upper case characters a up to z; the characters “-”, “$”, “%”, “/”, “.”, “+”, space; 4 non printable shift ...

  • Page 47

    45 code 93 min/max barcode length %set min barcode length(2) ig802 min barcode length(4) ig804 min barcode length(6) ig806 min barcode length(8) ig808 min barcode length(10) ig810 min barcode length(12) ig812 min barcode length(14) ig814 min barcode length(16) ig816 max barcode length(10) ig910 max ...

  • Page 48

    46 4.14.7 interleaved 2 of 5 this symbology encodes a pair of digits in each symbol. The number of digits is therefore always an even number. Information is carried in the bars and spaces. The start and stop pattern are not unique inside the code. It is therefore essential to use the fixed length op...

  • Page 49

    47 interleaved 2 of 5 min/max barcode length %set min barcode length(5) ih805 min barcode length(6) ih806 min barcode length(7) ih807 min barcode length(8) ih808 min barcode length(10) ih810 min barcode length(12) ih812 min barcode length(14) ih814 min barcode length(16) ih816 max barcode length(10)...

  • Page 50

    48 4.14.8 standard 2 of 5 (industrial 2 of 5) this symbology encodes a single digit in each data symbol. Information is carried in the bars and spaces. Command: %set *disable ii000 enable ii001 *not check cd ii100 check cd ii101 not transmit cd ii200 *transmit cd ii201 *min barcode length ii804 *max...

  • Page 51

    49 standard 2 of 5 (industrial 2 of 5) min/max barcode length %set min barcode length(5) ii805 min barcode length(6) ii806 min barcode length(7) ii807 min barcode length(8) ii808 min barcode length(10) ii810 min barcode length(12) ii812 min barcode length(14) ii814 min barcode length(16) ii816 max b...

  • Page 52

    50 4.14.9 matrix 2 of 5 this symbology encodes 1 digit in each character. The number of digits can therefore be an odd or an even number. Information is carried in the bars and spaces. Command: %set *disable ij000 enable ij001 *min barcode length ij806 *max barcode length ij970 min barcode length(8)...

  • Page 53

    51 4.14.10 code 128 & ean/ucc 128 code 128 is a variable length symbology with a mandatory check digit and non printable start/stop characters. The following characters are supported : all 128 ascii characters; 4 non data function characters; 3 start characters; 4 code set selection characters ; 1 s...

  • Page 54

    52 code 128 & ean/ucc128 min/max barcode length %set min barcode length(4) ik804 min barcode length(6) ik806 min barcode length(7) ik807 min barcode length(8) ik808 min barcode length(10) ik810 min barcode length(12) ik812 min barcode length(14) ik814 min barcode length(16) ik816 max barcode length(...

  • Page 55

    53 4.14.11 code 11 code 11 is a variable length symbology with 1 or 2 optional check digits and non printable start/stop character. If the data is 10 or less characters, one check digit is used. If the data is more than 10 characters, then 2 check digits are used. The following characters are suppor...

  • Page 56

    54 code 11 min/max barcode length %set min barcode length(5) im805 min barcode length(6) im806 min barcode length(7) im807 min barcode length(8) im808 min barcode length(10) im810 min barcode length(12) im812 min barcode length(14) im814 min barcode length(16) im816 max barcode length(10) im910 max ...

  • Page 57

    55 4.14.12 chinese post command: %set *disable in000 enable in001 *min barcode length in806 *max barcode length in970 min barcode length(8) in808 min barcode length(10) in810 min barcode length(12) in812 min barcode length(14) in814 max barcode length(10) in910 max barcode length(12) in912 max barco...

  • Page 58

    56 4.14.13 set positive/negative barcodes usually barcodes are printed black on white, but sometimes white on black. These labels are called positive and negative respectively. In case the “negative barcodes” option has been selected, positive labels may not be decoded anymore or with difficulty. Th...

  • Page 59

    57 4.14.14 all barcodes setting command: %set disable all barcodes i1000 enable all barcodes i1001 *no case conversion i1200 convert to upper case i1201 convert to lower case i1202 %end.

  • Page 60

    58 4.15 set prefix data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *disable prefix j1000 space j1001 aim + barcode j1002 id + barcode j1003 id + user-defined prefix + barcode j1006 user-defined prefix + id + barcode j10...

  • Page 61

    59 4.16 set suffix data format: length message source message target reserve opcode command beeper check sum 0x0b 0x04 0x31 0x00 0x50 command: %set *disable suffix j2000 0x0d as suffix j2001 0x0a as suffix j2002 0x0d 0x0a as suffix j2003 tab(0x09) as suffix j2004 tab(0x09) 0x0d as suffix j2005 barco...

  • Page 62

    60 4.17 customize prefix/suffix command: %set enter user-defined prefix mode ja100 enter user-defined suffix mode ja200 control character hex ^@ (null) 00 ^a (soh) 01 ^b (stx) 02 ^c (etx) 03 ^d (eot) 04 ^e (enq) 05 ^f (ack) 06 ^g (bel) 07 ^h (bs) 08 ^i (ht) 09 ^j (lf) 0a ^k (vt) 0b ^l (ff) 0c ^m (cr...

  • Page 63

    61 ^n (so) 0e ^o (si) 0f ^p (dle) 10 ^q (dc1) 11 ^r (dc2) 12 ^s (dc3) 13 ^t (dc4) 14 ^u (nak) 15 ^v (syn) 16 ^w (etb) 17 ^x (can) 18 ^y (em) 19 ^z (sub) 1a ^[ (esc) 1b ^\ (fs) 1c ^] (gs) 1d ^^ (rs) 1e ^_ (us) 1f spc 20

  • Page 64

    62 character hex ! 21 " 22 # 23 $ 24 % 25 & 26 ' 27 ( 28 ) 29 * 2a + 2b , 2c - 2d . 2e / 2f 0 30 1 31 2 32 3 33.

  • Page 65

    63 4 34 5 35 6 36 7 37 8 38 9 39 : 3a ; 3b = 3d > 3e ? 3f @ 40 a 41 b 42 c 43 d 44 e 45 f 46 g 47.

  • Page 66

    64 h 48 i 49 j 4a k 4b l 4c m 4d n 4e o 4f p 50 q 51 r 52 s 53 t 54 u 55 v 56 w 57 x 58 y 59 z 5a [ 5b.

  • Page 67

    65 \ 5c ] 5d ^ 5e _ 5f ` 60 a 61 b 62 c 63 d 64 e 65 f 66 g 67 h 68 i 69 j 6a k 6b l 6c m 6d n 6e o 6f.

  • Page 69

    67 f3 82 f4 83 f5 84 f6 85 f7 86 f8 87 f9 88 f10 89 f11 8a f12 8b backspace 8c tab 8d return (enter) 8e enter(numeric keypad) 8f esc 90 arrow down 91 arrow up 92 arrow right 93 arrow left 94 insert 95.

  • Page 70

    68 home 96 end 97 page up 98 page down 99 left shift 9a left ctrl 9b left alt 9c left gui 9d right shift 9e right ctrl 9f right alt a0 right gui a1 caps lock a2 %end note: how to customize prefix/suffix: 1. Scan “%set” label; 2. According to command, scan “enter user-defined prefix/suffix mode”; 3. ...

  • Page 71

    69 4.18 update firmware mode command: %set update firmware mode $down %end note: 1. This feature only supports usb interface. When you don’t need to update the firmware, please use caution. 2. When switching to update firmware mode and then repowering the product, it will automatically virtualize th...

  • Page 72: Appendixes

    70 appendixes appendix 1: barcode test card.

  • Page 73

    71 appendix 2: ascii code table decimal octal hexadecimal character description 0 0 00 nul 1 1 01 soh start of header 2 2 02 stx start of text 3 3 03 etx end of text 4 4 04 eot end of transmission 5 5 05 enq enquiry 6 6 06 ack acknowledge 7 7 07 bel bell 8 10 08 bs backspace 9 11 09 ht horizontal ta...

  • Page 74

    72 decimal octal hexadecimal character description 36 44 24 $ 37 45 25 % 38 46 26 & 39 47 27 ' 40 50 28 ( 41 51 29 ) 42 52 2a * 43 53 2b + 44 54 2c , 45 55 2d - 46 56 2e . 47 57 2f / 48 60 30 0 49 61 31 1 50 62 32 2 51 63 33 3 52 64 34 4 53 65 35 5 54 66 36 6 55 67 37 7 56 70 38 8 57 71 39 9 58 72 3...

  • Page 75

    73 decimal octal hexadecimal character description 74 112 4a j 75 113 4b k 76 114 4c l 77 115 4d m 78 116 4e n 79 117 4f o 80 120 50 p 81 121 51 q 82 122 52 r 83 123 53 s 84 124 54 t 85 125 55 u 86 126 56 v 87 127 57 w 88 130 58 x 89 131 59 y 90 132 5a z 91 133 5b [ 92 134 5c \ 93 135 5d ] 94 136 5e...

  • Page 77

    75 decimal octal hexadecimal character description 150 226 96 home 151 227 97 end 152 230 98 page up 153 231 99 page down 154 232 9a left shift 155 233 9b left ctrl 156 234 9c left alt 157 235 9d left gui 158 236 9e right shift 159 237 9f right ctrl 160 240 a0 right alt 161 241 a1 right gui 162 242 ...

  • Page 78

    76 appendix 3: example codes ean13 upc-a ean8 upc-e default data: 1234565 codabar code 93 encoded data: c01235d code 39(regular) code 39(full ascii) encoded data: *code 39* gs1 databar encoded data: 65473728281919.