User ManualTable of ContentsTable of Contents1System Kernel1Application Programming Interface1Keypad Subsystem1Display Subsystem1Communication Subsystem11.4.1. Point to point mode11.4.2. Multi-point mode1Real time clock subsystem1Relay output and Digital input subsystem1Bar code / Magnetic stripe / Proximity / ICC1Download Program in Point-to-point mode1Download Program in Multi-point mode1Data Structure2Device Control Table2Type Definition2Barcode Control Table22.3.1. Type Definition2Communication Control Table of Host port22.4.1. Type Definition2Terminal Control Table (available for host port only)22.5.1. Type Definition2I/O Function Calls3LCD Display INT 10H3Clear screen3Set cursor type3Set cursor position3Get cursor position3Scroll screen3Enable/disable LCD Backlight INT 21H3Communication Environment Setup3Select COM1 or COM2 as the host port3Set host port protocol3Set serial port flow control3Set COM1 port as RS485 or modem3Host Port for Multi-point Protocol I/O (INT21H)3Setup multi-point address3Set polling timeout duration3Read host port3Output data3Check if Busy-port3Serial I/O for RS-232 and RS-4853RS-232 port serial I/O using INT 34H3Input data3Output data3Enable RS-232 port3Disable RS-232 port3Set Communication parameters3Set RTS signal of RS-232 port3Read CTS signal of RS-232 port3RS-485 port serial I/O using INT 33H3Input data3Output data3Enable RS-485 port for serial I/O3Disable RS-485 port for serial I/O3Set Communication parameters3Open RS-485 multi-bus to send out data3Close RS-485 multi-bus (release RS-485 bus)3Relay Output / Digit Input / Buzzer / LED Indicator3Set LED indicator ON/OFF INT 09H3Read Photo Coupler Level state INT 08H3Activate/Deactivate Relay ports INT 09H3Buzzer On/Off INT 21H3Set buzzer volume INT 21H3Get Security state INT 21H3Alarm On/Off INT 21H3Buzzer volume control with user-defined frequency and time INT 21H3Buzzer volume control with predefined frequency and time INT 35H3Internal/ External reader Port: INT 21H3Enable/Disable External reader port3Set external slot reader (only available for Barcode and Magnetic reader)3Read data from external reader(only available for Barcode and Magnetic reader)3Read Internal port3Enable/disable Internal reader3Enable/Disable the Decoder of Wiegand Format (Proximity reader)3Get Decoder status of Wiegand Format (Proximity reader)3Assign barcode or magnetic stripe input of Internal reader3Enable the decoding of a barcode symbology3Miscellaneous: INT 21H3Check lithium battery level3Get Address ID of the terminal3Set interrupt vector3Get interrupt vector3Get free disk cluster3Invoke supervisor mode3Change the Keyboard map3DOS Manager3Read stdin (wait if no key) and write it to stdout3Write stdout3Read stdaux (COM2 RS-232 port)3Write stdaux (COM2 RS-232 port)3Read / Write stdin or return 0 if none is ready3Read stdin (wait if no key)3Read stdin (wait if no key)3Write character string to stdout3Keyboard buffer input3Keyhit check3Get System date3Set System date3Get System clock3Set System clock3File Manager3Create or truncate file3Open file3Close file3Read file3Write file3Delete file3Move file pointer3Get file attribute3Rename a file3Allocate specified number of paragraphs memory3Free allocated memory3Modify allocated block3Host ESC Commands4General Control Commands4Get terminal ID (ESC R)4This commcand can get terminal ID. The default terminal ID is "MR350"4Get terminal ID and version no (ESC v)4Configuration Commands4File Transfer Commands4Multipoint Protocol44.4.1. Protocol Operation44.4.2. Commands4ESC 0 - Application data4ESC A - Soft Reset, Restart, or Abort4ESC B - Enable/disable the decoding of barcode symbologies:4ESC C - Write communication configuration table to MR350MKII4ESC D - Read directory of RAM disk to host4ESC D/ROM - Read directory of Flash ROM to host4ESC E - Erase a file from the MR350MKII directory4ESC F - Disable UPS battery to supply power4ESC G - Get MR350MKII's RAM size4ESC G/ROM - Get MR350MKII's Flash ROM size4ESC H - Hard Reset and initiate power on test4ESC I - Get filename of current executing program4ESC J - Check if file existed or not4ESC K - Set keyboard locking4ESC L - Transfer file to MR350MKII4ESC M - Write date and time to MR350MKII4ESC O - Set auto-execution program4ESC P - Set supervisor password (maxi. 8 characters)4ESC R - Terminal ID4ESC T - Write terminal configuration table to MR350MKII4ESC U - Transfer file from MR350MKII4ESC V - Write device configuration table to MR350MKII4ESC v - Get Terminal ID and version no4ESC X - Start program execution4ESC Commands Added for MV1100 Fingerprint Module44.5.1. Get Template List (ESC $D)44.5.2. Erase Template ( ESC $E)44.5.3. Enroll and Store Template on MR350 MKII ( ESC $F )44.5.4. Enroll and Store Template on MV1100 ( ESC $G )44.5.5. Verify Template ( ESC $H )44.5.6. Verify ID ( ESC $I )44.5.7. Download Template ( ESC $L)44.5.8. Set Globe Threshold ( ESC $S)44.5.9. Get Globe Threshold ( ESC $S)4Upload Template ( ESC $U)4Get Version ( ESC $V)4How to to programming5Programming MR350 MKII55.1.1. Programming by JobGen PRO55.1.2. Programming by C/C++5Programming communication program5Contains of the Demo Disk5Appendix A. Standard C Libraries Routine for MR350MKII5Size: 287 KBPages: 86Language: EnglishOpen manual