Unitech MR350MKII manual Download Program in Multi-point mode, COM1-4?

Page 11

 

Displays all of the files which are stored in the MR350MKII

(

Program as well as data file)

?MS-Kermit>REMOTE DEL <file name> Deletes a program or data file in the MR350MKII.

Step 7.Press [SHIFT] in conjunction with [F5/*] on MR350MKII to exit from Kermit server mode to Ready mode.

Step 8. Select option “1) RUN” in user command menu and press [F7/? ] key to step through the available downloaded executable object program, then press [E] to confirm for choosing 350TEST.EXE to run, or, type the filename (i.e. 350TEST) directly under system Ready prompt. This program allows you to scan barcode data and send data from the MR350MKII to the PC.

1.9.Download Program in Multi-point mode

A sample program, 485COM.EXE, in the UTILITY disk is for multi-point mode environment testing. Please note in multi-point mode each terminal should be assigned a unique address ID and consistent communication parameters with the PC.

NOTE: Following instructions use Host port to serve multi-point mode.

1)If Host port is RS232, directly connect to RS232 port between PC and MR350MKII

2)If Host port is RS485. Install an RS-485 interface card or an RS232/422 converter to the PC. And cabling the network trunk from RS485 interface to MR350MKII via RS485 port (note a twist-pair cable with 22 or 24 AWG should be used).

3)Set communication parameters including address ID on each MR350MKII properly. (The default values are, 9600 bps, non-parity, 8 data bits, 1 stop bit, address ID ‘A’)

4)Power up the PC and all terminals.

5)Run the test program, 485COM.EXE, on the PC.

CRT screen shall appear the following message:

Terminal type 1>350/360 2>700/870/860:

Typing “1” for selecting MR350,

COM(1-4)?:

Typing “1” for selecting COM1, “2” for COM2.

1-10

Image 11
Contents September 2001 Programming Reference ManualIntroduction 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 SubsystemReal time clock subsystem Point to point modeMulti-point mode Communication Subsystem? MS-KermitGET file name Download Program in Point-to-point modeBar code / Magnetic stripe / Proximity / ICC ? MS-KermitSEND file nameCOM1-4? Download Program in Multi-point modeMR350MKII Then, the screen will displaySet beepers volume Page Type Definition DevconfigData Structure Device Control TableType Definition BarcodeconfigBarcode Control Table Word ComconfigCommunication Control Table of Host port ByteTerminal Control Table available for host port only Page Page Set cursor type O Function CallsLCD Display INT 10H Clear screenScroll screen 1A Enable/disable LCD Backlight INT 21HGet cursor position 1C Select COM1 or COM2 as the host port Communication Environment SetupCTS/RTS Set host port protocol1C Set serial port flow control XON/XOFFHost Port for Multi-point Protocol I/O INT21H 1C Setup multi-point address1C Set polling timeout duration Set COM1 port as RS485 or modemCheck if Busy-port Read host portOutput data Input data RS-232 port serial I/O using INT 34HSerial I/O for RS-232 and RS-485 BIT # Disable RS-232 portSet Communication parameters Page RS-485 port serial I/O using INT 33H Set RTS signal of RS-232 portRead CTS signal of RS-232 port Disable RS-485 port for serial I/O Enable RS-485 port for serial I/OInt860x33,s,s Open RS-485 multi-bus to send out data Close RS-485 multi-bus release RS-485 bus LOW Relay Output / Digit Input / Buzzer / LED IndicatorSet LED indicator ON/OFF Read Photo Coupler Level state INT 08H1A Buzzer On/Off Activate/Deactivate Relay ports INT 09HOpen CloseGet Security state 1A Set buzzer volumeAlarm On/Off 21H Internal/ External reader Port INT 21H Enable/Disable External reader portCodabar Read Internal portEnable/disable Internal reader 1F Get Decoder status of Wiegand Format Proximity reader Miscellaneous INT 21H 1F Enable the decoding of a barcode symbology1A Check lithium battery level EAN/UPCGet interrupt vector 1B Get Address ID of the terminalSet interrupt vector 1E Change the Keyboard map Get free disk clusterAscii code vs. scan code cross reference table numeric mode Ascii code corresponded to scan code in Numeric modeWrite stdout Ascii code corresponded to scan code in Alphabetic modeDOS Manager Read / Write stdin or return 0 if none is ready Read stdaux COM2 RS-232 portWrite stdaux COM2 RS-232 port Write character string to stdout Read stdin wait if no key2A Get System date 0A Keyboard buffer inputKeyhit check Date/Time2C Get System clock Set System date3C Create or truncate file 2D Set System clockFile Manager Close file 3D Open fileWrite file 3F Read fileMove file pointer Delete fileRename a file Get file attributeModify allocated block Free allocated memoryThis page is blank General Control Commands Host ESC CommandsDirectory ESC D Abort ESC aExecute ESC X filename Execute Flash ROM program ESC X/ROM filenameGet RAM size ESC G Autoboot ESC O program namePassword ESC P password Disable UPS battery ESC FConfiguration Commands Date/Time Configuration ESC M Device Configuration ESCBarcode symbology Configuration ESC B Multipoint Protocol File Transfer CommandsDownload ESC L filename Upload ESC U filenameSTX ESC L a . E X E CS1 CS2 Addr CMDCS1 CS2Protocol Operation Host TransmissionsTerminal Transmissions STX ESC CommandsESC 0 Application data ESC C Write communication configuration table to MR350MKII ESC 9 Send diagnostic test dataESC a Soft Reset, Restart, or Abort ESC B Enable/disable the decoding of barcode symbologiesESC E Erase a file from the MR350MKII directory ESC F Disable UPS battery to supply powerESC D Read directory of RAM disk to host ESC D/ROM Read directory of Flash ROM to hostESC J Check if file existed or not ESC H Hard Reset and initiate power on testESC G/ROM Get MR350MKIIs Flash ROM size ESC I Get filename of current executing programESC M Write date and time to MR350MKII ESC N Set Buzzer VolumeESC K Set keyboard locking ESC L Transfer file to MR350MKIIESC O/ROM Set auto-execution program on ROM ESC P Set supervisor password maxi charactersESC T Write terminal configuration table to MR350MKII ESC V Write device configuration table to MR350MKIIESC X Start program execution on ROM ESC Commands Added for MV1100 Fingerprint ModuleESC v Get Terminal ID and version no ESC X Start program executionNAK Result STX ESC $D CS1 CS2 AddrSTX ESC $D Result CS1 CS2 ETX ESC $F Enroll and Store Template on MR350 Mkii STX ESC $F Result QUALITY, Content CS1 CS2 ETX NAKESC $E Erase Template STX ESC $E Result CS1 CS2 ETX NAKESC $H Verify Template ESC $G Enroll and Store Template on MV1100ESC $L Download Template ESC $I Verify IDESC $S Get Globe Threshold ESC $S Set Globe ThresholdESC $V Get Version ESC $U Upload TemplatePage Programming MR350 Mkii How to programning ?Programming by C/C++ Programming by JobGen PROProgramming communication program Contains of the Demo Disk File Handling Buffer ManipulationCharacter Classification and Conversion Data ConversionMS-DOS Interface Memory AllocationPorcess Control exit Searching and Sorting String Manipulation