
MPC-ML2DVR-UM(A) 3/2015
47
CoMMunICAtIon ProtoCoL
baUD Rate
19200 bps
Data bitS
8
PaRity
NONE
StaRt bitS
1
StoP bitS
1
fLoW ContRoL
NONE
table 11
LenGth
VaLUe
DeSCRiPtion
1
‘$’
Packet Message Start Byte
5
MSGID
Message Identifier; first two characters represents the manufac-
turer (DS); last three are Command Code
n
Comma Delim-
ited fields
field 0, field 1, field n
1
‘*’
Checksum Delimiter Byte
2
Checksum
Checksum is two ASCII characters representing a hexadeci-
mal byte 00 to ff. Value is the exclusive or (Xor) of all bytes
between, but not including characters ‘$’ and ‘*’
table 12
Communication Protocol
The DVR protocol uses packets based on the NMEA message format. This consists of an
ID, comma delimited fields, a checksum field and a two-character checksum. A response
message is transmitted from the DVR upon receiving a message. It will either be the specific
response for the command, a general DSACK response, or a DSNAK response if the com
-
mand is not recognized or the packet is invalid.
Physical and Data Link Layer
The DVR communicates via RS232 or RS422 interface using the following port settings
(Table 11).
Package Message format
The NMEA (standard protocol) message format is an ASCII string that consists of a message
ID, comma delimited data fields and a checksum field. The message format is described in
Table 12.
Содержание MPC-ML2DVR
Страница 61: ...MPC ML2DVR UM A 3 2015 61 NOTES ...
Страница 62: ...62 MPC ML2DVR UM A 3 2015 NOTES ...
Страница 63: ...MPC ML2DVR UM A 3 2015 63 NOTES ...