POSline TPC7030 Скачать руководство пользователя страница 42

 

 

MENU

Purpose

Κ

  To create a menu. 

Syntax

Κ

 

A% = MENU(Item$)

 

Example

Κ

  MENU_STR$="1.Auto off"+CHR$(13) 

MENU_STR$=ME"2.System Info"+CHR$(13) 
MENU_STR$=ME"3.Power on"+CHR$(13) 
MENU_STR$=ME"4.Suspend"+CHR$(13) 
MENU_STR$=ME"5.Restart"+CHR$(13) 
MENU_STR$=ME"6.Exit"+CHR$(13) 
MENU_STR$=ME"@SYSTEM 
TEST"+CHR$(13) 
…… 
S%=MENU(MENU_STR$) 
ON S% GOTO 10,20,30,40,50,60 
…… 

 

Description

Κ

 

A%

 is an integer variable to be assigned to the result, it is the 

ordinal number of the menu item that user has selected. 

Item$

 is a string variable, indicating the menu item that are 

separated and ended by carriage return (CR, 0xd). 
This command allows user to select an item by using the 
UP/DOWN arrow keys (or the shortcut keys), and then the 
ENTER key to confirm the selection. Also it allows the use 
of ESC key to cancel the current operation. 

„

 

Menu title

Κ

@ (the title can be put anywhere in the menu 

string) 

 

T P C 7 0 3 0

 Programming Manual    Ver. 1.00                                                                                       

 

41/131   

Содержание TPC7030

Страница 1: ...Version 1 03 Copyright 2009 by POSLINE S A DE C V http www posline mx TPC7030 Programming Manual...

Страница 2: ...location for future use TPC7030 interpreter provides a platform for users to develop application programs to be excuted series data terminals using BASIC language Users can develop an application to m...

Страница 3: ...Expression and Operators 10 2 3 1 Assignment Operator 11 2 3 2 Arithmetic Operator 11 2 3 3 Relational Operator 11 2 3 4 Logical Operator 11 2 4 Operator Precedence 12 2 5 Labels 12 2 6 Subroutines 1...

Страница 4: ...PC simulator commands 102 4 Appendices 103 Appendix A 103 TPC7030 Commands list 103 A1 General commands 103 A2 Commands for decision structures 103 A3 Commands for looping structures 104 A4 Commands...

Страница 5: ...USB commands 113 A21 Simulator Only for PC simulator commands 113 Appendix B 114 Scan Module Configuration Table 114 Appendix C 130 Parameter for Color 130 T P C 7 0 3 0 Programming Manual Ver 1 00 4...

Страница 6: ...1 How to run BASIC program 1 1 Download BASIC Interpreter PDT sid PC side T P C 7 0 3 0 Programming Manual Ver 1 00 5 131...

Страница 7: ...Through the above steps BASIC Interpreter can be downloaded into PDT T P C 7 0 3 0 Programming Manual Ver 1 00 6 131...

Страница 8: ...rogram file Default bas in the direct path D Program then you can run the BASIC program now If the BASIC program file Default bas is not in the direct path D Program then the following message will pr...

Страница 9: ...1 2 3 Information You can use this item to get version information of all software and firmware parts of the system T P C 7 0 3 0 Programming Manual Ver 1 00 8 131...

Страница 10: ...nnot contain commas There are two types of numeric constants that can be used in the TPC7030 interpreter Integer constants 2147483648 2147483647 Real number constants Positive or negative real number...

Страница 11: ...e same variable name Each element in an array is referenced by an array variable that is subscripted with an integer or an integer expression Each element in an array is referenced by an array variabl...

Страница 12: ...Relational operators are used to compare two values Result of the comparison is either True or False Operator Operation Example Equality A B Inequality A B Greater than A B Less than A B Greater than...

Страница 13: ...ghest Arithmetic Arithmetic MOD Arithmetic Relational Logical NOT AND OR XOR Lowest Assignment 2 5 Labels Line labels are used to represent some special lines in the BASIC program They can be either i...

Страница 14: ...being called by a GOSUB command For example ON COM 1 GOSUB ReadCOM ReadCOM RETURN The command RETURN marks the end of the subroutine and tells the processor to return to the caller A subroutine has to...

Страница 15: ...em will go to BASIC Menu PRINT Press key to exit WHILE INKEY WEND END 2 8 Special notes Commands have to be appeared in uppercase letters PRINT OK right print NG error Variable names are case sensitiv...

Страница 16: ...d to the absolute value of a numeric expression N or N is a numeric expression it can be an integer or a real number DIM Purpose To specify the maximum value of variable subscripts and to allocate sto...

Страница 17: ...l is the line label of a subroutine SubNumber is the line number of a subroutine GOTO Purpose To branch unconditionally to a specified line number or line lable from the normal program sequence Syntax...

Страница 18: ...program Syntax REM remark or remark Example REM This is function This is BASIC program Description remark may be any sequence of characters BASIC interpreter will ignore whatever follows the REM or un...

Страница 19: ...tax A SGN N or A SGN N Example A SGN 9 86 PRINT A B SGN 5 68 PRINT B B SGN 0 PRINT B Description N or N is a numeric expression it can be an integer or a real number A is an integer variable to be ass...

Страница 20: ...EN statements1 ELSE IF condition2 THEN statements2 ELSE elsestatements END IF Example PRINT Input a number Result INPUT K IF K 10 THEN PRINT One digit ELSE IF K 100 THEN PRINT Two digits ELSE PRINT Ov...

Страница 21: ...URN WED PRINT WEDNESDAY RETURN THR PRINT THURSDAY RETURN FRI PRINT FRIDAY RETURN SAT PRINT SATURDAY RETURN SUN PRINT SUNDAY RETURN Description N is a numeric expression that is rounded to an integer T...

Страница 22: ...INT THURSDAY END 5 PRINT FRIDAY END 6 PRINT SATURDAY END 7 PRINT SUNDAY END Description N is a numeric expression which is rounded to an integer The value of N determines which line lable in the list...

Страница 23: ...P step Statement Block NEXT Example FOR N 1 TO 6 STEP 1 PRINT FOR NEXT N NEXT Description N is an integer variable to be used as loop counter Startvalue is a mumeric expression which is the initial va...

Страница 24: ...HEN EXIT END IF WEND Description If the condition is true loop statements are executed until the WEND statement is encountered Then the program execution returns to WHILE statement and checks the cond...

Страница 25: ...GEFGHIJK G GH PRINT INSTR 5 Str G PRINT INSTR 3 Str CGE Description A is an integer variable to be assigned to the result N is a numeric expression Optional offset N sets the position for starting the...

Страница 26: ...he null string is returned MID Purpose To retrieve a given number of characters from anywhere of the target string Syntax A MID Str N M Example Str ABCDEFGHIJK PRINT MID Str 5 3 PRINT MID 123 168IbB 6...

Страница 27: ...RIM_LEFT Happy TEST END Description A is a string variable to be assigned to the result Str is a string variable that may contain some space character at the beginning TRIM_RIGHT Purpose To return a c...

Страница 28: ...a numeric expression OCT Purpose To return a string that represents the octal value base 8 of the decimal argument Syntax A OCT N Example A OCT 136 A 210 Description A is a string variable to be assi...

Страница 29: ...d to the result N is a numeric expression VAL Purpose To return the numeric value of a string expression in interger form Syntax A VAL Str Example PRINT VAL 16898 Description A is an integer variable...

Страница 30: ...X Example PRINT STRING 10 45 PRINT STRING 3 89 888 Description A is a string variable to be assigned to the result N is numeric expression J is numeric expression in the range of 0 to 255 indicating t...

Страница 31: ...event trigger Syntax OFF ESC Example ON ESC GOSUB ESC_PRESS ESC_PRESS OFF ESC ON ESC GOSUB ESC_PRESS RETURN Description To resume the event trigger call ON ESC GOSUB OFF COM Purpose To terminate COM...

Страница 32: ...OFF KEY Purpose To terminate KEY event trigger Syntax OFF KEY number Example ON KEY 1 GOSUB F1 ON KEY 2 GOSUB F2 F1 OFF KEY 1 ON KEY 1 GOSUB F1 RETURN F2 OFF KEY 2 ON KEY 2 GOSUB F2 RETURN Description...

Страница 33: ...EADER event trigger Syntax OFF READER N Example ON READER 1 GOSUB GetData GetData OFF READER 1 CLS A GET_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT Name A LOCATE 0 4 PRINT GET...

Страница 34: ...nteger variable in the range of 1 to 5 indicating the timer ID ON COM GOSUB Purpose To activate COM event trigger Syntax ON COM N GOSUB SubLabel SubName Example ON COM 1 GOSUB READ1 READ1 OFF COM 1 ON...

Страница 35: ...a specific subroutine will be executed ON HOUR GOSUB Purpose To activate HOUR event trigger Syntax ON HOUR GOSUB SubLabel SubName Example ON HOUR GOSUB OnHourAlarm OnHourAlarm CurrentTime TIME H VAL L...

Страница 36: ...an integer variable in the range of 1 to 6 indicating a function key of the keypad ON MINUTE GOSUB Purpose To activate MINUTE event trigger Syntax ON MINUTE GOSUB SubLabel SubName Example ON MINUTE G...

Страница 37: ...T_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT Name A LOCATE 0 4 PRINT GET_READER_DATALEN ON READER 1 GOSUB GetData RETURN Description When data is received from reader port a s...

Страница 38: ...by user a specific subroutine will be executed Up to five timers can be set in a BASIC program Be sure the timer ID s are properly differentiated Otherwise the latter created timer will overwrite the...

Страница 39: ...2 respectively In F1 the command LOCK disable all the activated event triggers so that the subroutine F1 will not be interrupted by a new upcoming KEY 1 and KEY 2 event On the other hand since LOCK is...

Страница 40: ...vent triggers held by LOCK Syntax UNLOCK Example ON KEY 1 GOSUB F1 ON KEY 2 GOSUB F2 F1 LOCK PRINT press F1 UNLOCK RETURN F2 PRINT press F2 RETURN Description This command resumes event processing T P...

Страница 41: ...umber of the terminal Syntax A DEVICE_ID Example PRINT S N DEVICE_ID Description A is a string variable to be assigned to the result That is a string of the target terminal serial number to be returne...

Страница 42: ...tion A is an integer variable to be assigned to the result it is the ordinal number of the menu item that user has selected Item is a string variable indicating the menu item that are separated and en...

Страница 43: ...ll terminate the execution of the BASIC program and restart the system SYSTEM_INFORMATION Purpose To get information on components Syntax A SYSTEM_INFORMATION index Example PRINT Kernel SYSTEM_INFORMA...

Страница 44: ...K_AID S1 S2 Example IF CHECK_AID 6421 08724 THEN PRINT AID OK ELSE PRINT AID NG END IF WHILE INKEY WEND Description A is an integer variable to be assigned to the result A Meaning 0 AID not correct 1...

Страница 45: ...e the reader ports of the terminal Syntax ENABLE READER N Example ON READER 1 GOSUB SCAN ENABLE READER 1 SCAN OFF READER 1 CLS A GET_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT...

Страница 46: ...SCAN A GET_READER_DATA 1 4 RETURN Description This command will get reader port data A is a string variable to be assigned to the result N1 is an integer variable indicating the reader port now we onl...

Страница 47: ...start scanner setting procedure Syntax READER_CONFIG_START Example READER_CONFIG_START A READER_SENDCMD 11 1 CHR 1 Code 39 can read READER_CONFIG_END Description This command can start scanner settin...

Страница 48: ...ng the parameter1 N2 is an integer variable indicating the parameter2 S is a string variable Refer to Appendix B for more details about the parameter setting READER_QUERY Purpose To query the scanner...

Страница 49: ...READER_DATA 1 3 END IF IF INKEY CHR 27 THEN DISABLE READER 1 END END IF GOTO MAIN Description Once the scanner port is initialized by using ENABLE READER command call this DECODE command to perform ba...

Страница 50: ...mula For instance to get a frequency of 2000Hz the value of beep frequency should be 38 If no sound is desired pause the beep frequency should be set to 0 A beep with frequency 0 does not terminate th...

Страница 51: ...the buzzer volume Syntax SET_BUZZER_VOL N Example SET_BUZZER_VOL 2 Description N is an integer variable to be assigned to the result N Buzzer volume 0 close 1 Low 2 Medium 3 High T P C 7 0 3 0 Progra...

Страница 52: ...A is an integer variable to be assigned to the result A value of 1 to 7 represents Monday to Sunday respectively TIME Purpose To set or to get the current time Syntax TIME X Y TIME Example PRINT TIME...

Страница 53: ...y time Syntax WAIT duration Example WAIT 1000 Description duration is a positive integer variable indicating the time duration for a hold This argument is specified in units of 5 ms T P C 7 0 3 0 Prog...

Страница 54: ...scription 1 LED displays green light 2 LED displays red light 3 LED displays orange light mode description 1 off for duration X 0 01 seconds then on 2 on for duration X 0 01 seconds then off Descripti...

Страница 55: ...END IF GOTO START Description Str is a string variable to be assigned to character read INPUT_LEN Purpose To set or get input length when using INPUT or INPUT_S command Syntax X INPUT_LEN INPUT_LEN A...

Страница 56: ...ing 0 Press the ENT key and has not input any item 1 Inputs correctly 255 Press the ESC key 1 Input error S is a string variable indicating the input default value variable is numeric or string variab...

Страница 57: ...ith the ENTER key being pressed the data string will be stored in a variable Otherwise press the ESC key to abort the task INPUT_S_ CARRYENT Purpose To set ENT auto press on off when using INPUT_S com...

Страница 58: ...urpose To set the display mode of the input data Syntax INPUT_MODE mode Example INPUT_MODE 2 Description mode is an integer variable indicating the input mode mode Meaning 0 Nothing will be displayed...

Страница 59: ...case 3 Lock Numeric mode GET_ALPHA_LOCK Purpose To get information of the ALPHA state for input mode Syntax A GET_ALPHA_LOCK Example Alpha_lock GET_ALPHA_LOCK Description A is an integer variable to...

Страница 60: ...ription A is an integer variable to be assigned to the keypad backlight timer X is an integer variable indicating a period of time in units of 1 second KEYPAD_BL Purpose To set keypad backlight on or...

Страница 61: ...UP key DEF_PKEY 2 6 P2 key define to DOWN key DEF_PKEY 1 7 P1 key define to LEFT key DEF_PKEY 2 11 P2 key define to RIGHT key DEF_PKEY 1 27 P1 key define to ESC key DEF_PKEY 2 8 P2 key define to BS k...

Страница 62: ...ght will always be on LCD_CONTRAST Purpose To set the contrast level of the LCD Syntax LCD_CONTRAST N Example LCD_CONTRAST 5 Description N is an integer variable indicating the LCD contrast level in t...

Страница 63: ...X coordinate position of the cursor Y is an integer variable indicating the new Y coordinate position of the cursor FILL_RECT Purpose To fill a rectangular area in the activated TextBlock with a user...

Страница 64: ...in the list In the list of expression a comma causes the next character to be printed after the last character with a blank space A semicolon causes the next character to be printed immediately after...

Страница 65: ...left Fill from the start point of X axis pixel top Fill from the start point of Y axis pixel width Fill the width from the start point pixel height Fill the height from the start point pixel path Bitm...

Страница 66: ...t A Meaning 0 Set font fail 1 Set font OK Several key arguments as below FontID Font ID 2 9 FontPath Font file path DISPFONT_INFO_TYPE Purpose To get font type Syntax A DISPFONT_INFO_TYPE FontID Examp...

Страница 67: ...dth Syntax A DISPFONT_INFO_WIDTH FontID Example B DISPFONT_INFO_WIDTH 3 Description A is an integer variable to be assigned to the result FontID is an integer variable in the range from 2 to 9 T P C 7...

Страница 68: ...splay An out of display area definition is not allowed Each TextBlock has individual attribute definition for position size font background color or bmp There are total 16 TextBlocks TextBlock 0 is sy...

Страница 69: ...SETTEXTBLOCK 1 0 Description A is an integer variable to be assigned to the result A Meaning 0 Define TextBlock fail 1 Define TextBlock OK Several key arguments as below BlockNo TextBlock number 1 15...

Страница 70: ...ription A is an integer variable to be assigned to the result A Meaning 0 Define TextBlock fail 1 Define TextBlock OK Several key arguments as below BlockNo TextBlock number 1 15 FontID Defined Font 0...

Страница 71: ...1 to 15 indicating TextBlock number PRINTTEXTBLOCK Purpose To print Text to specific TextBlock Syntax PRINTTEXTBLOCK BlockNo Column Row Str FontColor Example PRINTTEXTBLOCK 2 5 5 Hello 0 font color i...

Страница 72: ...Row TextBlock row number SHOWTEXTBLOCKCURSOR Purpose To show or hide TextBlock cursor Syntax SHOWTEXTBLOCKCURSOR BlockNo Show Type Example SHOWTEXTBLOCKCURSOR 1 1 1 Description Several key arguments...

Страница 73: ...mple R TEXTBLOCK_SETBGIMAGE d program test bmp Description A is an integer variable to be assigned to the result A Meaning 0 Setting fail 1 Setting OK FilePath is a string variable indicating the bitm...

Страница 74: ...cessing Syntax F OPENIN filename Example FilePath C DATA Test DAT fileID OPENIN FilePath Description F is an integer variable to assigned to the result F Meaning 0 Open file fail Other Open successful...

Страница 75: ...ully It returns the file filename is a string variable indicating the file path In case of error open will return an integer value of 0 You can use the GET_FILE_ERROR command to get the file error cod...

Страница 76: ...ROR command to get the file error code Possible error codes and their interpretation are listed below GET_FILE_ERROR Meaning 1 Filename is a NULL string 6 Can t create file because the maximum number...

Страница 77: ...xist 7 File not opened BGETEXT Purpose To read a specified number of bytes from a file The current position is updated after reading Syntax STR BGETEXT N FILEID Example STRING1 BGETEXT 5 FILEID PRINT...

Страница 78: ...Meaning 2 File specified does not exist 7 File not opened BPUT Purpose To write data to a file Syntax BPUT FILEID expr 1 expr 2 expr n Example AAA 168 BPUT FILEID STR AAA HELLO Description FILEID is...

Страница 79: ...File specified does not exist 8 File not opened PTR Purpose To get or move the file pointer position of a file Syntax TELLPTR PTR FILEID PTR FILEID NPTR Example TELLPTR PTR FILEID PTR FILEID 40 Descri...

Страница 80: ...the file FILEID is an integer variable indicating the file handle You can use the GET_FILE_ERROR command to get the file error code Possible error codes and their interpretation are listed below GET_F...

Страница 81: ...l 9 The field number exceeds 20 Several key arguments as below FilePath DBMS file path DBMSID DBMS ID 1 10 S This argument has two kinds of meanings When search for regular length it needs to insert t...

Страница 82: ...ot support Variable field length search 2 When initial we will make a index file in C disk so it has to take a few time 3 The index filename will be similar to origin file For example the lookup file...

Страница 83: ...size N2 When N1 0 search for regular length It has no separate symbols between different fields When N1 1 search for variable length It needs a separate symbol between different fields N3 This argumen...

Страница 84: ...ID is an integer variable in the range from 1 to 10 DBMS_FIND_RECORD Purpose To search the designated field Syntax A DBMS_FIND_RECORD DBMSID field key Example A DBMS_FIND_RECORD 1 2 TEST3 PRINT A Desc...

Страница 85: ...To read the data of appointed field in the appointed record Syntax A DBMS_GET_DATA DBMSID record field Example A DBMS_GET_DATA 1 3 3 PRINT A Description A is a string variable to be assigned to the re...

Страница 86: ...ariable to be assigned as the vibrator timer X is an integer variable indicating a period of time in units of 100ms VIBRATOR Purpose To set the vibrator on off Syntax VIBRATOR N Example VIBRATOR 1 Vib...

Страница 87: ...OM 1 Description N is an integer variable indicating which COM port is to be enabled now we only can choose 1 SET_COM Purpose To set parameters of a specified COM port Syntax SET_COM N Baudrate Parity...

Страница 88: ...EAR_COM 1 SET_RTS 1 1 LOOP2 IF INKEY THEN GOTO LOOP2 END IF CLOSE_COM 1 END READ1 A READ_COM 1 PRINT A RETURN Description A is a string variable to be assigned to the data N is an integer variable ind...

Страница 89: ...teger variable indicating which COM port the data is to be sent to now we only can choose 1 A is a string variable indicating the string to be sent GET_CTS Purpose To get CTS level Syntax A GET_CTS N...

Страница 90: ...ve buffer now we only can choose 1 COM_DELIMITER Purpose To change delimiter of sending and receiving string for a specified COM port Syntax COM_DELIMITER N C Example COM_DELIMITER 1 13 use carriage r...

Страница 91: ...loading or downloading Pressing ESC key can quit the transmission operation FILE_TRANS_REALTIME Purpose Using FILE_TRANS_REALTIME to upload or download files immediately Syntax FILE_TRANS_REALTIME N E...

Страница 92: ...to be set FILE_TRANS_BAUD Baud rate bps 0 115200 1 57600 2 38400 3 19200 4 9600 5 4800 FILE_TRANS_INTERFACE Purpose To get or set the transmission interface Syntax A FILE_TRANS_INTERFACE FILE_TRANS_IN...

Страница 93: ...REE_MEMORY Purpose To check the free space in disk C or disk D Syntax FREESIZE FREE_MEMORY N Example PRINT Free on disk C FREE_MEMORY 0 PRINT Free on disk D FREE_MEMORY 1 Description FREESIZE is an in...

Страница 94: ...ode Possible error codes and their interpretation are listed below GET_BT_ERROR Meaning 1 Bluetooth module power enable 6 The terminal is not TPC7030B 8 Bluetooth module has been power enable please r...

Страница 95: ...t 6 The terminal is not TPC7030B 7 Bluetooth module power disable please run BT_ SART 10 Bluetooth already connect BT_CLOSE Purpose Bluetooth disconnect Syntax BT_CLOSE Example BT_OPEN BT_CLOSE Descri...

Страница 96: ...ELSE PRINT Link error WHILE INKEY WEND END IF BT_STOP Description If Bluetooth is connected this command can write characters to other Bluetooth device N1 is an integer variable It will tell you how m...

Страница 97: ...th module A is a string variable to be assigned to the data N is an integer variable indicating number of bytes to be read from other Bluetooth device You can use the GET_BT_ERROR command to get the e...

Страница 98: ...e Description A is a string variable indicating the TPC7030B Bluetooth information Format of string as show below A Length Meaning 1 16 TPC7030B Bluetooth MAC address Cannot change 17 36 TPC7030B Blue...

Страница 99: ...s to 48 61 44 seconds N4 TPC7030B Bluetooth inquiry max response the value from 1 to 10 S2 Set link device address Allow 1 12 characters S3 Set PIN code Allow 4 16 characters You can use the GET_BT_ER...

Страница 100: ...n after the search Syntax A BT_GETDEVICEINFO N Example S BT_GETDEVICEINFO 1 CLS DEVICEAddress LEFT S 16 PRINT DEVICEAddress DEVICEAddress DEVICEName MID S 17 20 PRINT DEVICEName DEVICEName Description...

Страница 101: ...if N1 is 1 the N2 will be set for buzzer sound time gap For example if N2 is 2 the buzzer will sound for each 2 seconds GET_BT_ERROR Purpose To get the bluetooth error code Syntax N GET_BT_ERROR Exam...

Страница 102: ...e To read specific number of bytes from USB port Syntax A USB_READ N Example KEY USB_READ 1 Description A is a string variable to be assigned to the data N is an integer variable indicating number of...

Страница 103: ...he PC file path specified by PCPath to the simulator path specified by PDTPath BACKUPDATAFILETOPC Purpose To backup a file from PDT to PC Syntax BACKUPDATAFILETOPC PDTPath PCPath Example BACKUPDATAFIL...

Страница 104: ...n numeric expression REM To insert explanatory remarks in a program SET_PRECISION To set the precision of the decimal points for printing real number expression SGN To return an indication of the math...

Страница 105: ...looping structures such as FOR NEXT and WHILE WEND statements FOR NEXT To repeat the execution of a block of statements for a specified number of times WHILE WEND To repeat the execution of a block of...

Страница 106: ...code for the first character of a given string CHR To return the character for a given ASCII value HEX To return a string that represents the hexadecimal value base 16 of the decimal argument OCT To...

Страница 107: ...ivate MINUTE event trigger ON READER GOSUB To activate READER event trigger ON TIMER GOSUB To activate TIMER event trigger LOCK To hold all the activated event triggers until they are released by UNLO...

Страница 108: ...re READER_SENDCMD To send scanner command to change scanner status READER_QUERY To query the scanner current setting DECODE To perform barcode decoding A8 Buzzer commands Command description BEEP To a...

Страница 109: ...ENT auto press on off when use INPUT_S command INPUT_S_VIBRATE To set vibrator on or off when use INPUT_S command INPUT_S_SLEEP To set scanner sleep on or off when use INPUT_S command INPUT_MODE To se...

Страница 110: ...olor rectangular area in the activated TextBlock ICON_ZONE_PRINT To enable or disable the statusbar PRINT To display data in the activated TextBlock CLR_RECT To clear a rectangular area in the activat...

Страница 111: ...disable the specific TextBlock PRINTTEXTBLOCK To print Text to specific TextBlock GETTEXTBLOCKCUR_X To get the x coordinate of the current TextBlock position GETTEXTBLOCKCUR_Y To get the y coordinate...

Страница 112: ...ion of a file EXT To get or change file length of a file GET_FILE_ERROR To get the file error code DBMS_INIT_SEARCH To initiate the file search in disk DBMS_INIT_SEARCHADV To initiate the advance file...

Страница 113: ...el SET_RTS To set RTS level CLEAR_COM To clear receiver buffer COM_DELIMITER To change delimiter of sending and receiving string of a specified COM port FILE_TRANS Using FILE_TRANS to upload or downlo...

Страница 114: ...t BT_GETDEVICEINFO To get other bluetooth device information after the search BT_DISCONNECTALERT For bluetooth disconnect alert GET_BT_ERROR To get the bluetooth error code A20 USB commands Command de...

Страница 115: ...fter code data 8 Code ID transmission 0 Disable 1 Proprietary ID 2 AIM ID 9 Code length transmission 0 Disable 1 Enable 10 Code name transmission 0 Disable 1 Enable 6 Transmission 11 Case conversion 0...

Страница 116: ...ble characters settings 0x00 0xff ASCII code 22 characters 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 One digit 2 Two digits 3 Check sum transmission 0 Disable 1 Enable 4 Max code...

Страница 117: ...Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 20 20 Truncate characters before space 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10...

Страница 118: ...erification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 12 Code 93 8 Code ID setting 0x0...

Страница 119: ...ble 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Format 0 Standard 1 UCC EAN 128 12 UCC EAN 128 I...

Страница 120: ...Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Start stop type 0 ABCD ABCD 1 abcd...

Страница 121: ...ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digits 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 11 Truncation expans...

Страница 122: ...10 Supplement digits 0 None 1 2 digits 2 5 digits 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 16 EAN 13 12 ISBN ISSN conversion 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 4 Max...

Страница 123: ...7 Truncate ending 0 15 18 Interleaved 2 of 5 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disabl...

Страница 124: ...cate leading 0 15 7 Truncate ending 0 15 20 MSI Plessey 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmissi...

Страница 125: ...able 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 byt...

Страница 126: ...ng 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digtis 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 23...

Страница 127: ...D setting 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digits 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 11 Truncate expansion 0 None 1 Truncate l...

Страница 128: ...64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 25 Matrix 25 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 4 Max code length 0 64 5 Min code l...

Страница 129: ...ting 0x00 0xff ASCII code 1 or 2 bytes 29 RSS 14 11 UCC EAN 128 emulation 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII...

Страница 130: ...ng 0x00 0xff ASCII code 1 or 2 bytes 31 RSS Expanded 11 UCC EAN 128 emulation 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Trunc...

Страница 131: ...want to set color please conversion Dec from Hex value 2 Example Color Hex value Dec value Red 0x0000FF 255 Green 0x00FF00 65280 Blue 0xFF0000 16711680 White 0xFFFFFF 16777215 Black 0x000000 0 Red Gre...

Отзывы: