MD-150M/MK-1500M User Manual
II.
Communication protocol
This machine passes USB interface and computer end line homework in order to use a
USB connecting wire, USB of the homework is transfered to the driver of Serial Port through
can offer by institute of our company under the environment of Microsoft Windows XP/2000
(#1)
Succeed RS-232 signal USB signal simulation; So user meet device in operating system is it
increase one group communication mound newly to find on the administrator after the last
copies of machine on installation driver (COM PORT) ; Procedure of user can is it communicate
to go on through this communication between mound and copies of machine.
MD-150M are using t he international S tandard
UART
communication for mat,
and support
RS-232 interface
with communication parameters set to
9600.N.8.1.
DA TA format are as follows:
HEADER
DATA
CHECK
SOH
PT
ID1 ID2
FC1
FC2 STX DATA ETX
BCC
01H Identify Reader ID Function Code 02H Data 03H Checksum
Description:
1. SOH, STX and ET X are all cont ained with one byte and used f or control byte, the
definition is:
SOH=01H, STX=02H, ETX=03H
Note: The “SOH” is the start byte for current command set
The “STX” is the start byte for “Data”
The “ETX” is the end byte for “Data”
You will need these to judge the data length you transmitted or received; the
data length will vary in depend on different command you given
2. PT (Packet T ype) is used to identify w here is the message come s from; “S” means it
comes from PC and “s” means from the reader.
3. ID1, ID2 are the ID codes of reader, the value is always “01”.
4. FC1 and F C2 are function codes, and relat ed to the DA TA, the relative dat a please
refers to the next page.
5. BCC is checksum
,
from SOH to ETX one byte do “xor”
,
then do “or” 20H.
Ex. Reader responds:
SOH “S” “01” “A1” STX “010” ETX BCC
BCC =
01H
xor 53H xor 30H xor 31H xor 41H xor 31H xor
02H
Xor 30H xor 31H xor 30H xor
03H
or 20H =33H
(#1)
: Driver please to our company website download, procedure this by Prolific Technology Inc.
Offer.
- 5 -