RP6501K/RP7501K/RP8601K
RS232 & LAN Protocol Installation Guide
Table of Contents |
|
Introduction........................................................................................................................... |
2 |
Wire arrangement ...................................................................................................................................... |
3 |
RS232 pin assignment................................................................................................................................. |
3 |
Communicationsetting...................................................................................................................................... |
4 |
Command message reference............................................................................................................................ |
4 |
Connections and communication settings.............................................................................. |
4 |
RS232 serial port connection ...................................................................................................................... |
4 |
RS232 via LAN ............................................................................................................................................. |
5 |
RS232 via HDBaseT ..................................................................................................................................... |
5 |
Protocol Command Description ............................................................................................. |
5 |
Set-function listing...................................................................................................................................... |
6 |
Set-function description.................................................................................................................................... |
6 |
Set-function format........................................................................................................................................... |
6 |
Set-function table.............................................................................................................................................. |
8 |
Get-function listing ................................................................................................................................... |
11 |
Get-function description................................................................................................................................. |
11 |
Get-function format ........................................................................................................................................ |
11 |
PC Get-function command to IFP.................................................................................................................... |
14 |
Date: 2018/10/15
2
Introduction
This document describes the hardware interface spec and software protocols of RS232 interface
communication between Commercial Display and PC or other control unit with RS232 protocol. This set protocol allow users to assign the ID in the command to control the specify ID monitor. The set protocol contains two sections command: Set-Function and Get-Function
In this document, "PC" represents all the control units that can send or receive the RS232 protocol command.
Wire arrangement
Wire Arrangement
P1 |
Color |
P2 |
1 |
Black |
1 |
|
|
|
2 |
Brown |
3 |
|
|
|
3 |
Red |
2 |
|
|
|
4 |
Orange |
4 |
|
|
|
5 |
Yellow |
5 |
|
|
|
6 |
Green |
6 |
|
|
|
7 |
Blue |
7 |
|
|
|
8 |
Purple |
8 |
|
|
|
9 |
Gray |
9 |
|
|
|
Case |
Drain wire |
Case |
|
|
|
RS232 pin assignment
|
Pin |
Description |
Pin |
Description |
|
1 |
NC |
2 |
RXD |
|
|
|
|
|
|
|
|
3 |
TXD |
4 |
NC |
|
|
|
|
|
|
|
|
5 |
GND |
6 |
NC |
|
|
|
|
|
|
|
|
7 |
RTS |
8 |
CTS |
|
|
|
|
|
|
|
|
9 |
NC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use of crossover (null modem) cable requires use with PC.
3
Communicationsetting
Baud rate select: 9600bps (fixed)/ Data bits: 8 bits (fixed)
Parity: None (fixed)/ Stop Bits: 1(fixed)
Command message reference
PC sends to Monitor command packet followed by "CR". Every time PC sends control command to the Monitor, the Monitor shall response as follows:
1.If the message is received correctly, it will send "+" (02Bh) followed by "CR" (00Dh).
2.If the message is received incorrectly, it will send "-" (02Dh) followed by "CR" (00Dh).
Connections and communication settings
Choose one of the connections and set up properly before RS232 control.
RS232 serial port connection
4
RS232 via LAN
RJ45 port on a display
PC or laptop
LAN cable
Find the Wired LAN IP address of the connected display from the OSD menu and make sure the display and the computer are within the same network.
IP Protocol Port: 4660
RS232 via HDBaseT
HDBaseT compatible device |
RJ45 port on a display |
|
|
|
|
|
|
|
D-Sub 9 pin |
|
RJ45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC or laptop |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
D-Sub 9 pin |
|
|
LAN cable |
|
|
|
|
|
|
|
|
|
|||
Protocol Command Description |
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Item |
|
|
|
Description |
||||
|
Length |
Total Bytes of Message excluding "CR" |
|
|
|
|||||
|
TV ID |
Identification for each of TV |
|
|
|
|||||
|
|
|
|
|
|
|
|
|||
|
|
|
|
TV ID is “ |
01 |
” for LAN control & RS232 control |
||||
|
|
|
|
|
|
|
|
|
||
|
Command Type |
Identify command type, |
|
|
|
|||||
|
|
|
|
"s" (0x73h): Set Command |
|
|
|
|||
|
|
|
|
"g" (0x67h): Get Command "r" |
|
|
|
|||
|
|
|
|
(0x72h): Reply Command |
|
|
|
|||
|
|
|
|
"+" (0x2Bh): Valid command Reply |
|
|
|
|||
|
|
|
|
"-" (0x2Dh): Invalid command Reply |
|
|
|
|||
|
|
|
|
|
|
|
|
|||
|
Command |
Function command code: One byte ASCII code |
5
Value [1~3] |
Three bytes ASCII that defines the value |
CR |
0x0D |
Set-function listing
The PC can control the LCD Monitor for specific actions. The Set-Function command allows you to control the LCD monitor behavior in a remote sit through the RS232 port. The
Set-Function packet format consists of 11 bytes.
Set-function description
|
Item |
|
|
|
|
|
Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
Length |
|
|
Total Bytes of Message excluding "CR" |
|
|
|
|
|
|||
|
TV ID |
|
|
Identification for each of TV |
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TV ID is “ |
01 |
” for LAN control & RS232 control |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Command Type |
|
|
Identify command type, "s" |
|
|
|
|
|
|
||
|
|
|
|
(0x73h): Set Command |
|
|
|
|
|
|
||
|
Command |
|
|
Function command code: One byte ASCII code |
|
|
|
|
|
|||
|
Value [1~3] |
|
|
Three bytes ASCII that defines the value |
|
|
|
|
|
|||
|
CR |
|
|
0x0D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set-function format |
|
|
|
|
|
|
|
|
|
|||
Send: (Command Type="s") |
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name |
Length |
|
ID |
|
Command type |
Command |
Value1 |
Value2 |
Value3 |
CR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Byte count |
1 Byte |
|
2 Byte |
|
1 Byte |
1 Byte |
1 Byte |
1 Byte |
1 Byte |
1 Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bytes order |
1 |
|
2~3 |
4 |
5 |
6 |
7 |
8 |
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reply: (Command Type="+" or "-")
Name |
Length |
ID |
Command type |
CR |
|
|
|
|
|
Byte count |
1 Byte |
2 Byte |
1 Byte |
1 Byte |
|
|
|
|
|
Bytes order |
1 |
2~3 |
4 |
5 |
|
|
|
|
|
Example 1: Set Brightness as 76 and this command is valid.
Send (Hex Format)
|
Name |
Length |
ID |
Command type |
Command |
Value1 |
Value2 |
Value3 |
CR |
|
|
|
|
|
|
|
|
|
|
|
Hex |
0x38 |
0x30 0x31 |
0x73 |
0x24 |
0x30 |
0x37 |
0x36 |
0x0D |
|
|
|
|
|
|
|
|
|
|
Reply (Hex Format) |
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
Name |
Length |
ID |
Command type |
CR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hex |
0x34 |
0x30 0x31 |
0x2B |
0x0D |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6