Unitech PA500 manual UPC a

Page 20

 

 

Supplement_five,S1.b2 is for Supplement_mh, S1.b3 is for

 

 

Supplement_ssi.

Supplement_two

Esc,0,4,88,m,S1,BCC

S1 is 0_off,1 on

Supplement_five

Esc,0,4,89,m,S1,BCC

S1 is 0_off,1 on

Supplement_mh

Esc,0,4,8a,m,S1,BCC

S1 is 0_transmit if present,1 must present

Supplement_ssi

Esc,0,4,8b,m,S1,BCC

S1 is 0 Space been inserted, 1_Space not been inserted

Delta_code_set

Esc,0,4,8c,m,S1,BCC

S1 is S1.b0 is for Delta_c_enable,S1.b1 is for

 

 

Delta_code_cdc,S1.b2 is for Delta_code_cds

Delta_c_enable

Esc,0,4,8d,m,S1,BCC

S1 is 0_disable,1 enable

Delta_code_cdc

Esc,0,4,8e,m,S1,BCC

S1 is 0_check digit calculate,1 not calculate

Delta_code_cds

Esc,0,4,8f,m,S1,BCC

S1 is =0 check digit send,1_not send

Get_version

Esc,0,3,90,2,BCC

Get firmware version.

DumpSetting

Esc,Lh,Ll,91,m,S1...Si,BC

Lh/Ll is command length. Si is in the range of s1 to S255.m=0

 

C

is download setting, m=1 is reset the setting area into FF. m=2

 

 

is upload setting.

 

 

Actually you just need the format as bellow:

 

 

Download:

 

 

Esc,1,02,91,0,s1,...,s255,BCC

 

 

Upload:

 

 

Esc,0,3,91,2,BCC

EAN128Brace

Esc,0,4,92,m,S1,BCC

S1 is =0_disable,1 enable(Remove the brace)

Remove

 

 

AimingTime

Esc,0,4,93,m,S1,BCC

S1 is =0 0.5s,1_1s,2 1.5s 3 2s

 

 

 

 

 

 

Exchange data

Esc,Lh,Ll,a3,S1,S2,....,Sn,

• Expect Acknowledge (Esc,80H+ACK(06H))

 

BCC

• Exchange the data between the host and the ICC.

 

 

• Expected return after issuing Execute/Enquiry command

 

 

are: Esc,Lh,Ll,0xa3,AH,data,BCC

 

 

Here: AH=0 Success

 

 

=1 Timeout

 

 

=2 No card present

 

 

data: Response data and status word

Note: Hamster save these commands to buffer and do not execute until it receives an Execute command (Esc,ENQ). Hamster execute the command after receive an “Esc,ENQ” then send back a reply. The Max. Length of data is 264. The m and the reply define as following:

DATA TO HOST FROM HAMSTER

Data format: Code_number,Lh,Ll,string

Here: The Lh/Ll is string length, Lh is high byte, Ll is low byte, The string length is excluded the

Code_number and Lh/Ll. The string contains the Code ID, pre_amble, scanned data,post_amble, and terminator. Code_number is equal to following number plus H’80.

0 Code 39 full ASCII

 

1 Code 39 standard or EDP Code

2 EAN 13

3 UPC A

4 EAN 8

 

5 UPC E

 

 

 

6 I25

7 Codabar

8 Code 128

9 Code 93

10 S25

 

11 MSI

 

 

12 EAN 128

13 Code 32

14 Delta

15 Label

16

Plessey

 

17 Code 11

 

 

18 Toshiba

19 reserved

20 Track 1

21 Track 2

22

Track 3

23

More than 1 track

 

24 reserved

25 RS232

 

26 reserved

27 reserved

28 reserved

 

29 reserved

 

 

30 reserved

31 reserved

32 reserved

33 reserved

-

Image 20
Contents PA500 Programming Manual Automatically enable scanner beam with pressing trigger key USI.DLL Unitech Scanner Interface DLLSCANKEY3.DLL Backward Compatible API for PT930/PT930S’S GET Device ID Update Notes Introduction How to download data from scanner COM definition for PA500 Function call Parameter inputEnable / Disable Scanner Reset ScannerGet error code Returns the system error codeParameter output Get scan dataFunction Description Get Symbology name Get length of scanned dataGood read indicator Wait for acknowledgement of the last sent commandSave setting to profiles Clear scan data system bufferSave scanner setting into specified file Change scanner setting from specified setting profileAutomatically enable scanner beam with pressing trigger key Parameter output ReturnCheck if auto scanning is enable Test if Scan2Key is enabledStop auto scanning function Check if Scan2Key.exe program is running or notEnable/Disable Scan2Key Send scanner command to decoding chipOnly send single command decoding chip Esc, 0x80+cmd Function callSend command to decoding chip Esc, parameter1, parameter2, …, BCCSpecial Command for control Control command for decoder chip Enable in Communication TRACK1,5 TRACK2,6 TRACK3 Code32setCodabarset LabelcodeUpcaset UpcesetUPC a Disable Decoder PTEnableBarcode Function callCheck barcode input Return codeGet DLL version no Reset all symbologies to defaultRead barcode data Disable laser trigger key Enable laser trigger keyPTEnableBarToKey Function call for VC INT PTVersionvoid Return IntegerSysIOAPI.DLL Keypad Related FunctionsReturn code Bool True Caps lock False Caps unlock Return code True Shift lock False Shift unlockScanner Related Functions ParameterInputLED related function ExampleLCD/Backlight related function ParametersInputDynamic Load DLL Get Device ID Update notes
Related manuals
Manual 84 pages 14.34 Kb