Manuals
/
Unitech
/
Computer Equipment
/
Barcode Reader
Unitech
MR350MKII
manual
Programming Reference Manual, September 2001
Models:
MR350MKII
1
1
86
86
Download
86 pages
30.91 Kb
1
2
3
4
5
6
7
8
<
>
Set RTS signal of RS-232 port
Password
Error! Bookmark not defined
Set LED indicator ON/OFF
Devconfig
1C Setup multi-point address
General Control Commands
1A Check lithium battery level
How to
Set beepers volume
Page 1
Image 1
MR350MKII
Data Collection Terminal
Programming Reference Manual
Unitech Electronics Co., Ltd.
September 2001 V1.2
Page 2
Page 1
Image 1
Page 2
Contents
September 2001
Programming Reference Manual
Introduction
Table of Contents
RS-485 port serial I/O using
General Control Commands
Error! Bookmark not defined
Application Programming Interface
System Kernel
Display Subsystem
Keypad Subsystem
Multi-point mode
Point to point mode
Communication Subsystem
Real time clock subsystem
Bar code / Magnetic stripe / Proximity / ICC
Download Program in Point-to-point mode
? MS-KermitSEND file name
? MS-KermitGET file name
COM1-4?
Download Program in Multi-point mode
MR350MKII
Then, the screen will display
Set beepers volume
Page
Data Structure
Devconfig
Device Control Table
Type Definition
Barcode Control Table
Barcodeconfig
Type Definition
Communication Control Table of Host port
Comconfig
Byte
Word
Terminal Control Table available for host port only
Page
Page
LCD Display INT 10H
O Function Calls
Clear screen
Set cursor type
Get cursor position
1A Enable/disable LCD Backlight INT 21H
Scroll screen
1C Select COM1 or COM2 as the host port
Communication Environment Setup
1C Set serial port flow control
Set host port protocol
XON/XOFF
CTS/RTS
1C Set polling timeout duration
1C Setup multi-point address
Set COM1 port as RS485 or modem
Host Port for Multi-point Protocol I/O INT21H
Output data
Read host port
Check if Busy-port
Serial I/O for RS-232 and RS-485
RS-232 port serial I/O using INT 34H
Input data
Set Communication parameters
Disable RS-232 port
BIT #
Page
Read CTS signal of RS-232 port
Set RTS signal of RS-232 port
RS-485 port serial I/O using INT 33H
Disable RS-485 port for serial I/O
Enable RS-485 port for serial I/O
Int860x33,s,s
Open RS-485 multi-bus to send out data
Close RS-485 multi-bus release RS-485 bus
Set LED indicator ON/OFF
Relay Output / Digit Input / Buzzer / LED Indicator
Read Photo Coupler Level state INT 08H
LOW
Open
Activate/Deactivate Relay ports INT 09H
Close
1A Buzzer On/Off
Alarm On/Off
1A Set buzzer volume
Get Security state
21H
Internal/ External reader Port INT 21H
Enable/Disable External reader port
Codabar
Read Internal port
Enable/disable Internal reader
1F Get Decoder status of Wiegand Format Proximity reader
1A Check lithium battery level
1F Enable the decoding of a barcode symbology
EAN/UPC
Miscellaneous INT 21H
Set interrupt vector
1B Get Address ID of the terminal
Get interrupt vector
1E Change the Keyboard map
Get free disk cluster
Ascii code vs. scan code cross reference table numeric mode
Ascii code corresponded to scan code in Numeric mode
DOS Manager
Ascii code corresponded to scan code in Alphabetic mode
Write stdout
Write stdaux COM2 RS-232 port
Read stdaux COM2 RS-232 port
Read / Write stdin or return 0 if none is ready
Write character string to stdout
Read stdin wait if no key
Keyhit check
0A Keyboard buffer input
Date/Time
2A Get System date
2C Get System clock
Set System date
File Manager
2D Set System clock
3C Create or truncate file
Close file
3D Open file
Write file
3F Read file
Move file pointer
Delete file
Rename a file
Get file attribute
Modify allocated block
Free allocated memory
This page is blank
General Control Commands
Host ESC Commands
Execute ESC X filename
Abort ESC a
Execute Flash ROM program ESC X/ROM filename
Directory ESC D
Password ESC P password
Autoboot ESC O program name
Disable UPS battery ESC F
Get RAM size ESC G
Configuration Commands
Barcode symbology Configuration ESC B
Device Configuration ESC
Date/Time Configuration ESC M
Download ESC L filename
File Transfer Commands
Upload ESC U filename
Multipoint Protocol
CS1
CMD
CS2
STX ESC L a . E X E CS1 CS2 Addr
Terminal Transmissions
Host Transmissions
Protocol Operation
ESC 0 Application data
Commands
STX ESC
ESC a Soft Reset, Restart, or Abort
ESC 9 Send diagnostic test data
ESC B Enable/disable the decoding of barcode symbologies
ESC C Write communication configuration table to MR350MKII
ESC D Read directory of RAM disk to host
ESC F Disable UPS battery to supply power
ESC D/ROM Read directory of Flash ROM to host
ESC E Erase a file from the MR350MKII directory
ESC G/ROM Get MR350MKIIs Flash ROM size
ESC H Hard Reset and initiate power on test
ESC I Get filename of current executing program
ESC J Check if file existed or not
ESC K Set keyboard locking
ESC N Set Buzzer Volume
ESC L Transfer file to MR350MKII
ESC M Write date and time to MR350MKII
ESC T Write terminal configuration table to MR350MKII
ESC P Set supervisor password maxi characters
ESC V Write device configuration table to MR350MKII
ESC O/ROM Set auto-execution program on ROM
ESC v Get Terminal ID and version no
ESC Commands Added for MV1100 Fingerprint Module
ESC X Start program execution
ESC X Start program execution on ROM
STX ESC $D Result CS1 CS2 ETX
STX ESC $D CS1 CS2 Addr
NAK Result
ESC $E Erase Template
STX ESC $F Result QUALITY, Content CS1 CS2 ETX NAK
STX ESC $E Result CS1 CS2 ETX NAK
ESC $F Enroll and Store Template on MR350 Mkii
ESC $H Verify Template
ESC $G Enroll and Store Template on MV1100
ESC $L Download Template
ESC $I Verify ID
ESC $S Get Globe Threshold
ESC $S Set Globe Threshold
ESC $V Get Version
ESC $U Upload Template
Page
Programming MR350 Mkii
How to programning ?
Programming by C/C++
Programming by JobGen PRO
Programming communication program
Contains of the Demo Disk
Character Classification and Conversion
Buffer Manipulation
Data Conversion
File Handling
Porcess Control exit Searching and Sorting
Memory Allocation
String Manipulation
MS-DOS Interface
Top
Page
Image
Contents