![background image](http://html1.mh-extra.com/html/omega/phcn-962/phcn-962_user-manual_4183689034.webp)
34
5.11 COMMUNICATION
PROTOCOL
1
、
protocol setting
This instrument uses RS-485 communication. It’s can be connected with 1 to 64 instruments in 2 wires
at the same time and communicate with PC. The distance of communication is around 1200M.
The data form is “N81”(1 start bit, 8 data bits,1 stop bit, NO verify check code)
The baud rate is 300 to 38400 bit/s (usually is 9600 bit/s)
Users have to set the ID(NB) of the instruments and the baud rate(BT) before connecting to RS-485
BT
0 1 2 3 4 5 6 7
Baud
rate
300 600 1200 2400 4800 9600 19200 38400
Usually, the instrument is stand by in receiving status. Once it receives the correct ID then it will send
out the data to PC. Finished sending it will enter to receive status again.
To avoid the conflict, each instrument has to use different ID(decided by NB)
All of the instruments and PC must use the same baud rate.(decided by BT)
2
、
Data form
All one-word data is from -32767 to +32767, using the hexadecimal number system, the high bit is sign.
All one-byte is integer.
The data is ASCII code :the start sign is @(40H), the end sign is CR(0DH)
The other data use the ASCII code to express the hexadecimal number system
All data should be between 30H to 39H and 41H to 46H. the instructions are form 51H to 5AH.
Double-byte sending: the low byte is the first, the high byte is the second
One-byte sending: the high nibble is the first, the low nibble is the second.
A full communication form is :40 ,ID, the sequence of the instruction,CRC,0D
The ID is the number of the instrument(NB)
CRC is the Circulation redundant codes verification
Содержание PHCN-962
Страница 1: ...1...
Страница 2: ...2...
Страница 11: ...11 2 3 APPEARANCE PHCN 962 Wall hanging installation...
Страница 15: ...15 3 INSTALLATION AND ACCESSORY INSTALLATION Wall hanging installation 113mm 122mm 151mm 4 449 4 803 5 945...
Страница 45: ...45...
Страница 46: ......
Страница 47: ......