![Visonic MCR-300/UART Скачать руководство пользователя страница 2](http://html.mh-extra.com/html/visonic/mcr-300-uart/mcr-300-uart_user-manual_1032876002.webp)
4. DEMONSTRATION BOARD
4.1 The System and RF Communication
The MCR-300/UART is designed to be integrated into your control
panel. The Module consists of a microprocessor and several other
components. To aid in the understanding of the structure and content
of messages a demonstration board was set up together with a
unique computer software program. The demonstration board can be
connected to the computer's COMM port for viewing messages
received from the RF receiver. These messages appear in the same
format as the messages sent by the module to the control panel.
For a general understanding, we will examine the structure of the
received RF message.
Receiving
RF message structure
A receiving RF message is sent only if two such messages are
received with true checksum (Power code) or with true lowest 10 bits
of ID and function key (CodeSecure) in the same packet of
messages.
RF message structure for PowerCode
Power code message
36 bits
ID-24bits
3 bytes
DATA
1 byte
Check sum
0.5 byte
CodeSecure message (66 bits):
Encrypted code
4 bytes
ID-28bits
3.5 bytes
Function Key
0.5 byte
Last byte (9
th
)
RL
The RS232 Message Structure (10 or 3 bytes)
The RS232 message is sent at a rate of 9.6 KBaud.
There are two types of messages sent by the Receiver Module:
•
Data
message
•
Control
message
The Data message contains the data of a RF message received from
the RF receiver.
The Control message contains data on jamming events and
supervision data to support the communication link between the
Receiver Module and the Control Panel.
Data message format (10 bytes):
Start
‘>’ 3E(H)
1 byte
Status
1 byte
RF Message
7 bytes
Check Sum
1 byte
Control message format (3 bytes):
Start
‘>’ 3E(H)
1 byte
Status
1 byte
Check Sum
1 byte
Both types of messages start with a Start byte of value 0x3E, and end
with a Checksum byte. The messages also have a Status byte. The
Data message includes the contents of the received RF message.
RS232 dialog between the Receiver Module and the Control Panel
.
A message will be sent a maximum of 3 times. After each
transmission the module waits for acknowledgement from the control
panel. If an acknowledge signal/message is not received within 50
ms, the same message will be sent again.
The Receiver Module sends a Supervision message (using a Control
message) every minute. Any Data message or Control message,
successfully sent, is also considered a supervision message. Timer of
supervision at the Receiver Module is cleared after every message
that is sent.
An acknowledge message will be sent by the Control Panel to the
Receiver Module after every message sent by the Receiver Module.
This includes data messages and control messages. The
acknowledged message will be of the character ‘<’ = 0x3C.
4.2 Status Byte Structure (control
message)
Bit
Name
Value
Meaning
00
No jamming detected
01
USA jamming level
10
European standard jamming level
0,1
Jamming
level
11
---
2,3
Not used
0
Constantly 0
0000
Not used
0001
Supervision message from Module to
Control Panel (not RF supervision)
0010
Not used
0011
PowerCode message includes
jamming (if detected)
4-7
Message
type
0100
CodeSecure message includes
jamming (if detected)
4.3 The RF Message PowerCode
Structure (7 bytes)
ID-24bits
3 bytes
DATA
1 byte
DATA
1 byte
xxxx
2 bytes
<----- Sending direction
Contents of DATA byte for PowerCode
Bit
Name
Value
Meaning
0
Tamper
1
Tamper event
1
Alarm
1
Alarm event
2
Low Battery
1
Low battery at transmitter
3
Working bit
0
Else
1
Transmitter has a restore
capability, e.g. Magnet
4
Restore
0
Transmitter with no restore, e.g.
PIR detector
1
Supervised transmitter
5
Supervise
0
Non-supervised transmitter, e.g.
Panic button
1
Transmitter works in a Spider
system (Not relevant)
6
SpiderNet
0
A regular transmitter, not in a
Spider system
1
The transmitter is a Repeater.
Displays messages received
from a repeater in the system.
7
Repeater
0
Any other transmitter
Contents of DATA1 byte for PowerCode:
Bit
Name
Value
Meaning
00
Poor
01
Good
10
Strong
0,1
Quality of RF signal of last
message received
11
Not used
2-
7
Not used
0
All bits are
constantly 0
RF message structure for CodeSecure (7 bytes) - Keyfob
ID-28bits
4 bytes
DATA
1 byte
Sync
counter
2 bytes
4 MSB bits
7
0
1
byte
LSB
2
bytes
3
bytes
000
0
xxx
x
FFF
F
0LQ
Q
1
LSB
byte
2
MSB
bytes
<----- Sending direction
Contents of DATA byte for CodeSecure
Bit
Name
Value
Meaning
00
Poor
01
Good
10
Strong
0,1
Quality of RF signal of last
message received
11
---
2
Low Battery
1
Low battery at
transmitter
3
Not used
0
Constantly 0
4-7
Function key / button on
transmitter - F1, F2, F3,
F4.
1xxx
Button 1 pressed,
bit 4
2
DE3140U