background image

KDC100 Programming Manual

 

‘E’

 

command

 

 

Parameters:   None 

Format:   

‘E’  

Output:   

‘@’ – all the times. 

Purpose:  

Erases the internal flash memory completely.  All scanned data is lost. 

Remarks: 

Should be issued after the upload commands (‘P’ or ‘p’). 

 

‘F’

 

command

 

 

Parameters:   None 

Format:   

‘F’  

Output:   

‘@’ – all the times. 

Purpose:  

Set KDC100 internal options and flags to the factory default setting. 

 

The factory default settings are: 

 

- All symbologies are enabled. 

        - All options are disabled except  

. UPCE_ReturnCheckDigit  

. UPCA_ReturnCheckDigit 

. EAN8_ReturnCheckDigit 

. EAN13_ReturnCheckDigit 

        - Minimum barcode length is set to 4. 

        - Time-out is set to 2 seconds. 

        - Security Level is set to 2. 

        - Select wide scan angle. 

        - Sleep timeout is set to 5 seconds. 

- Send the read data to HOST and save into flash when pressing scan button. 

- Send PAYLOAD(only barcode) data when pressing scan button. 

 

 

Содержание KDC100

Страница 1: ...KDC100 PROGRAMMING MANUAL Rev2 4 A New Wave in Auto ID ...

Страница 2: ...ollowing two conditions 1 This device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation INFORMATION TO USER This equipment has been tested and found to comply with the limit of a Class B digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection aga...

Страница 3: ... 10 h command 10 V command 10 L command 10 l command 11 N command 11 O command 11 o command 12 P command 12 p command 13 S command 13 s command 14 T command 14 t command 14 U command 15 u command 15 W command 15 w command 16 Z command 17 z command 17 Packet Data 18 HOST response to KDC100 after receiving data command 18 Wedge mode 18 Synchronization mode 19 Miscellaneous 20 KDC100 sends character ...

Страница 4: ...ormat C0 Y0 D0 T0 C1 Y1 D1 T1 Cn Yn Dn Tn Where C0 C1 Cn Total number of each barcode data 1 byte Y0 Y1 Yn Type of each barcode 1 byte D0 D1 Dn Actual barcode data of each barcode variable size T0 T1 Tn Timestamp of each barcode 4 bytes Barcodes are stored sequentially as they are scanned in the internal flash memory Since barcodes can have different lengths we need to keep track of length informa...

Страница 5: ... 4 time stamp 17 bytes The maximum number of UPCA barcodes that can be saved is 204 800 17 12 047 However the maximum number of barcodes can be stored is 10 240 Therefore KDC100 can store 10 240 UPCA barcodes If different length barcodes are mixed user cannot compute a priori what the maximum number of barcodes is What happens when this buffer is full When the internal flash memory is full KDC100 ...

Страница 6: ...V None string Get firmware version L value or Set minimum barcode length l None value Get minimum barcode length N None value Get number of barcode stored O value or Set scan options and flags o None value Get scan options and flags P None data Upload whole stored barcode data p value data Upload Nth stored barcode S value or Set decoding symbologies s None value Get current decoding symbologies T...

Страница 7: ...ond 0 59 Output all the times Purpose Set Date and Time of KDC100 c command Parameters None Format c Output YMDHmS where Y is year 0 means 2000 M is month 1 12 D is day 1 31 H is hour 0 23 m is minute 0 59 an S is second 0 59 Purpose Read current Date and Time of KDC100 D command Parameters None Format D Output KDC100 internal flash memory is full or Reading failure Barcode reading success Purpose...

Страница 8: ...ions and flags to the factory default setting The factory default settings are All symbologies are enabled All options are disabled except UPCE_ReturnCheckDigit UPCA_ReturnCheckDigit EAN8_ReturnCheckDigit EAN13_ReturnCheckDigit Minimum barcode length is set to 4 Time out is set to 2 seconds Security Level is set to 2 Select wide scan angle Sleep timeout is set to 5 seconds Send the read data to HO...

Страница 9: ...ent setting of handshaking mode 0 means disabled and 1 means enabled V command Parameters None Format V Output string where string is a F W version string and means the end of data Purpose Read the F W version of KDC100 L command Parameters Minimum length of barcode valid values 2 to 36 Format Lxx or lxx where xx is the value of parameter in hex Output invalid parameter all other times Purpose Set...

Страница 10: ...internal flash memory O command Parameters The options it is unsigned 32 bit number Format Oxxxxxxxx where xxxxxxxx is the value of parameter in hex Output invalid parameter all other times Purpose Enables the selected options Example Sending O0 disables all the options To enable an option set the appropriate bit to 1 in the parameter Option bit Option bit CodaBar_NoStartStopChars 0 UPCA_as_EAN13 ...

Страница 11: ...nd Parameters None Format P Output A multi byte string see below Purpose Read all barcodes data stored in KDC100 internal flash memory Does not erase the stored barcodes The format of the output is as follows N C0 Y0 D0 T0 C1 Y1 D1 T1 Cn Yn Dn Tn Where N Total number of bytes to be sent 3 bytes C0 C1 Cn Total number of each barcode data 1 byte Y0 Y1 Yn Type of each barcode 1 byte D0 D1 Dn Actual b...

Страница 12: ...es data stored in KDC100 internal flash memory Does not erase the barcode S N C Y D T K Where S Start byte 0x03 1 byte N Total number of bytes to be sent 3 bytes C Total number of each barcode data 1 byte Y Type of each barcode 1 byte D Actual barcode data of each barcode variable size T Timestamp of each barcode 4 bytes K Check sum byte 1 byte All sum except S should be 0 Note To upload all store...

Страница 13: ...ameters None Format s Output xxxxxxxx where xxxxxxxx is the selected symbologies and means the end of data Purpose Read the selected symbologies Please see the table of command S for detailed explanation of each symbology T command Parameters Time in msec Valid range is 100msec to 10sec Format Txxxx where xxxx is the value of parameter in hex Output invalid parameter all other times Purpose Set th...

Страница 14: ... the memory and just transmits it to the host 1 KDC100 stores scanned data in the memory and transmits it to the host 2 KDC100 stores scanned data in the memory but doesn t transmit it to the host 3 KDC100 stores scanned data in the memory only if succeeded to send read barcode to host u command Parameters None Format u Output xxxxxxxx where xxxxxxxx is the value sent to KDC100 by command U Purpos...

Страница 15: ... KDC100 sends only PAYLOAD to HOST 1 KDC100 sends PACKET data and wait for response from HOST If KDC100 doesn t get response from HOST within 100msec KDC100 sends the same data to HOST again KDC100 will attempt 10 times until it gets a response from HOST Data Format KDC100 supports two kind of data format when sending data to HOST as the following PAYLOAD only Barcode data CR LF Where Barcode data...

Страница 16: ...ck sum byte 1 byte All sum except S should be 0 Z command Parameters Security level valid values 1 to 5 Format Zx where x is the value of parameter in hex Output invalid parameter all other times Purpose Set the security level z command Parameters None Format z Output xxxxxxxx where xxxxxxxx is the current security level and means the end of data Purpose Read the current security level value ...

Страница 17: ...n error while receiving a packet data from KDC100 HOST should send a failure response to KDC100 by sending a character Wedge mode If KDC100 read a barcode and configured to send packet data KDC100 waits for 1 second to get a response from HOST after sending a read barcode data to HOST KDC100 goes to ready mode upon receiving either success or failure response KDC100 goes to ready mode if there is ...

Страница 18: ...a success response from HOST The following is detailed steps between the HOST and KDC100 a HOST configures KDC100 to send packet data b HOST sends a command P and index to KDC100 to read stored barcode c KDC100 sends a stored barcode to HOST with packet data format d KDC100 goes to waiting state e HOST receives a packet data from KDC100 f HOST checks if it receives a packet data without error g HO...

Страница 19: ...Miscellaneous KDC100 sends character is sent by KDC100 when the device receives undefined character command from Host Application would ignore character ...

Страница 20: ...C100 Programming Manual Contact Information KDC Technical Support Team 116 Village Blvd Suite 200 Princeton NJ 08540 USA TEL 1 908 734 4335 FAX 1 609 226 4373 Email support koamtac com URL www koamtac com ...

Отзывы: