IFP50-3 RS-232 Protocols: Difference between revisions
| Line 339: | Line 339: | ||
===Set-Function Table=== | ===Set-Function Table=== | ||
'''A. Basic Function''' | '''A. Basic Function''' | ||
{| class="wikitable" width="45%" style="text-align:center;" | |||
|- | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"|Set Function | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"|Length | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"|ID | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"|Command | |||
! colspan="2" style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;" | Command | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"| Value Range | |||
! style="font-weight:bold; text-align:center; background-color:#c41230; color:#ffffff;"| Comments | |||
|- | |||
| | |||
| | |||
| | |||
| Type (ASCII) | |||
| style="text-align:left;" | Code<br />(ASCII) | |||
| Code<br />(Hex) | |||
| (Three ASCII bytes) | |||
| | |||
|- | |||
| Power On/Off<br />(Standby) | |||
| 8 | |||
| | |||
| s | |||
| ! | |||
| 21 | |||
| 000: STBY<br />001: ON | |||
| 1. The Power-on via LAN control may works only under specific mode. To see display UG for details. *3.1.1<br />2. “WOL by MAC address” may available as alternative.*3.2.1 | |||
|- | |||
| Input Select | |||
| 8 | |||
| | |||
| s | |||
| " | |||
| 22 | |||
| 000: TV<br />001: AV<br />002: S-Video<br />003: YPbPr<br />004: HDMI1<br />014: HDMI2<br />024: HDMI3<br />034: HDMI4<br />005: DVI<br />006: VGA1<br />016: VGA2<br />026: VGA3<br />007: Slot-in PC (OPS/SDM)/HDBT<br />008: Internal memory<br />009: DP<br />00A: Embedded/Main (Android) | |||
| 1. No need for USB<br />2. For the case of two more same sources, the 2nd digital is used to indicate the extension.<br />3. The HEX of 00A is 30 30 41. | |||
|- | |||
| Brightness | |||
| 8 | |||
| | |||
| s | |||
| $ | |||
| 24 | |||
| 000 ~ 100<br />900: Bright down (-1)<br />901: Bright up (+1)<br />*3.1.1 | |||
| | |||
|- | |||
| Backlight*3.2.0 | |||
| 8 | |||
| | |||
| A | |||
| B | |||
| 42 | |||
| 000~100 | |||
| 1. For Android platform whose main mode is controlled by backlight and the other sources are controlled by brightness.<br />2. Derived from Color calibration.<br />*3.2.0 | |||
|- | |||
| Power Lock | |||
| 8 | |||
| | |||
| s | |||
| 4 | |||
| 34 | |||
| 000: Unlock<br />001: Lock | |||
| *See note in details | |||
|- | |||
| Volume | |||
| 8 | |||
| | |||
| s | |||
| 5 | |||
| 35 | |||
| 000 ~ 100<br />900: Volume down(-1)<br />901:Volume up(+1) | |||
| rowspan="2" | | |||
|- | |||
| Mute | |||
| 8 | |||
| | |||
| s | |||
| 6 | |||
| 36 | |||
| 000: OFF<br />001: ON (mute) | |||
|- | |||
| Button Lock | |||
| 8; | |||
| | |||
| s | |||
| 8 | |||
| 38 | |||
| 000: Unlock<br />0001: Lock | |||
| *See note in details | |||
|- | |||
| Menu Lock | |||
| 8 | |||
| | |||
| s | |||
| > | |||
| 3E | |||
| 000: Unlock<br />001: Lock | |||
| *See note in details | |||
|- | |||
| Number *3.1.1 | |||
| 8 | |||
| | |||
| s | |||
| @ | |||
| 40 | |||
| 000~009 | |||
| rowspan="2" | | |||
|- | |||
| Key Pad *3.1.1 | |||
| 8 | |||
| | |||
| s | |||
| A | |||
| 41 | |||
| 000: UP<br />001: DOWN<br />002: LEFT<br />003: RIGHT<br />004: ENTER<br />005: INPUT<br />006: MENU/(EXIT)<br />007: EXIT | |||
|- | |||
| Remote Control | |||
| 8 | |||
| | |||
| s | |||
| B | |||
| 42 | |||
| 000: Disable<br />001: Enable<br />002: Pass through | |||
| Disable: RCU will be no function<br />Enabled: RCU controls normally<br />Pass through: Display will bypass the RC code to connected device via the RS-232 port, but not react itself. | |||
|- | |||
| Restore Default | |||
| 8 | |||
| | |||
| s | |||
| ~ | |||
| 7E | |||
| 000 | |||
| Recover to factory setting | |||
|} | |||
[[Category:IFP50-3]] | [[Category:IFP50-3]] | ||
[[Category:ViewBoard]] | [[Category:ViewBoard]] | ||
Revision as of 07:28, 3 July 2020
RS-232 Protocol
This document describes the hardware interface spec and software protocols of RS-232 interface communication between ViewSonic LFD and PC or other control units with RS-232 protocol.
The protocol contains three command sections:
- Set-Function
- Get-Function
- Remote control pass-through mode
- NOTE: Below, “PC” represents all the control units that can send or receive the RS-232 protocol command.
Description
RS-232 Hardware Specification
ViewSonic LFD communication port on the rear side:
- Connector type: DSUB 9-Pin Male (or 3.5 mm barrel connector)
- Use of crossover (null modem) cable for connection
- Pin Assignment:
| Pin # | Signal | Remark | |
|---|---|---|---|
| Female DSUB 9-Pin | 1 | NC | |
| 2 | RXD | Input to Display | |
| 3 | TXD | Output to Display | |
| 4 | NC | ||
| 5 | GND | ||
| Male DSUB 9-Pin | 6 | NC | |
| 7 | NC | ||
| 8 | NC | ||
| 9 | NC | Provide +5V/2A power for external specific dongle *3.0 | |
| frame | GND |
| Item | Signal | Remark | |
|---|---|---|---|
| 3.5 mm barrel connector (alternative for limited space) |
Tip | TXD | Output to Display |
| Ring | RXD | Input to Display | |
| Sleeve | GND |
LAN Hardware Specification
ViewSonic LFD communication port on the rear side:
- Connector type: 8P8C RJ45
- Pin assignment:
| Pin # | Signal | Remark | |
|---|---|---|---|
| 1 | TX+ | Output from Display | |
| 2 | TX- | Output from Display | |
| 3 | RX+ | Input to Display | |
| 4 | BI_D3+ | For 1G case | |
| 5 | BI_D3- | For 1G case | |
| 6 | RX- | Input to Display | |
| 7 | BI_D4+ | For 1G case | |
| 8 | BI_D4- | For 1G case | |
| frame | GND |
RS-232 Communication Setting
- Baud Rate Select: 9600bps (fixed)
- Data bits: 8 bits (fixed)
- Parity: None (fixed)
- Stop Bits: 1(fixed)
LAN Communication Setting
- Type: Ethernet
- Protocol: TCP/IP
- Port: 5000 (fixed)
- Cross subnet: No
- Logon Credentials: No
Command Message Reference
PC sends to LFD command packet followed by “CR”. Every time PC sends control command to Display, the Display shall respond as follows:
- If the message is received correctly it will send “+” (02Bh) followed by “CR” (00Dh)
- If the message is received incorrectly it will send “-” (02Dh) followed by “CR” (00Dh)
Protocol
Set-Function Listing
The PC can control the Display for specific actions. The Set-Function command allows you to control the Display behavior at a remote site through the RS-232 port. The Set-Function packet format consists of 9 bytes.
Set-Function Description:
| Length | Total Byte of Message excluding “CR” |
| LFD ID | Identification for each of Display (01~98; default is 01) ID “99” means to apply the set command for all connected displays. Under such circumstances, only ID#1 display has to reply. The LFD ID can be set via the OSD menu for each Display. |
| Command Type | Identify command type, "s" (0x73h): Set Command "+" (0x2Bh): Valid Command Reply "-" (0x2Dh): Invalid Command Reply |
| 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 |
- NOTE: When PC applies command to all displays (ID=99), only the #1 set needs to reply by the name of ID=1.
Example 1: Set Brightness as 76 for Display (#02) and this; command is valid.
Send (Hex Format)
| Name | Length | ID | Command Type | Command | Value1 | Value2 | Value3 | CR |
|---|---|---|---|---|---|---|---|---|
| Hex | 0x38 | 0x30 0x32 |
0x73 | 0x24 | 0x30 | 0x37 | 0x36 | 0x0D |
Reply (Hex Format)
| Name | Length | ID | Command Type | CR |
|---|---|---|---|---|
| Hex | 0x34 | 0x30 0x32 |
0x2B | 0x0D |
Example 2: Set Brightness as 75 for Display (#02) and this; command is NOT valid.
Send (Hex Format)
| Name | Length | ID | Command Type | Command | Value1 | Value2 | Value3 | CR |
|---|---|---|---|---|---|---|---|---|
| Hex | 0x38 | 0x30 0x32 |
0x73 | 0x24 | 0x30 | 0x37 | 0x35 | 0x0D |
Reply (Hex Format)
| Name | Length | ID | Command Type | CR |
|---|---|---|---|---|
| Hex | 0x34 | 0x30 0x32 |
0x2D | 0x0D |
Set-Function Table
A. Basic Function
| Set Function | Length | ID | Command | Command | Value Range | Comments | |
|---|---|---|---|---|---|---|---|
| Type (ASCII) | Code (ASCII) |
Code (Hex) |
(Three ASCII bytes) | ||||
| Power On/Off (Standby) |
8 | s | ! | 21 | 000: STBY 001: ON |
1. The Power-on via LAN control may works only under specific mode. To see display UG for details. *3.1.1 2. “WOL by MAC address” may available as alternative.*3.2.1 | |
| Input Select | 8 | s | " | 22 | 000: TV 001: AV 002: S-Video 003: YPbPr 004: HDMI1 014: HDMI2 024: HDMI3 034: HDMI4 005: DVI 006: VGA1 016: VGA2 026: VGA3 007: Slot-in PC (OPS/SDM)/HDBT 008: Internal memory 009: DP 00A: Embedded/Main (Android) |
1. No need for USB 2. For the case of two more same sources, the 2nd digital is used to indicate the extension. 3. The HEX of 00A is 30 30 41. | |
| Brightness | 8 | s | $ | 24 | 000 ~ 100 900: Bright down (-1) 901: Bright up (+1) *3.1.1 |
||
| Backlight*3.2.0 | 8 | A | B | 42 | 000~100 | 1. For Android platform whose main mode is controlled by backlight and the other sources are controlled by brightness. 2. Derived from Color calibration. *3.2.0 | |
| Power Lock | 8 | s | 4 | 34 | 000: Unlock 001: Lock |
*See note in details | |
| Volume | 8 | s | 5 | 35 | 000 ~ 100 900: Volume down(-1) 901:Volume up(+1) |
||
| Mute | 8 | s | 6 | 36 | 000: OFF 001: ON (mute) | ||
| Button Lock | 8; | s | 8 | 38 | 000: Unlock 0001: Lock |
*See note in details | |
| Menu Lock | 8 | s | > | 3E | 000: Unlock 001: Lock |
*See note in details | |
| Number *3.1.1 | 8 | s | @ | 40 | 000~009 | ||
| Key Pad *3.1.1 | 8 | s | A | 41 | 000: UP 001: DOWN 002: LEFT 003: RIGHT 004: ENTER 005: INPUT 006: MENU/(EXIT) 007: EXIT | ||
| Remote Control | 8 | s | B | 42 | 000: Disable 001: Enable 002: Pass through |
Disable: RCU will be no function Enabled: RCU controls normally Pass through: Display will bypass the RC code to connected device via the RS-232 port, but not react itself. | |
| Restore Default | 8 | s | ~ | 7E | 000 | Recover to factory setting | |



