LDM231-251 RS-232 Protocol: Difference between revisions

From ViewSonic Documentation
Jump to: navigation, search
VY (talk | contribs)
// via Wikitext Extension for VSCode
VY (talk | contribs)
// via Wikitext Extension for VSCode
Line 98: Line 98:
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|Data Range
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|Data Range
|-
|-
|Power On
|Power on/off(standby):STBY||21||38 30 31 73 21 30 30 30 0D||
|21
|38 30 31 73 21 30 30 31 0D
| 
|-
|-
|Power Off (Standby)
|Power on/off(standby):ON||21||38 30 31 73 21 30 30 31 0D||
|21
|38 30 31 73 21 30 30 30 0D
| 
|-
|-
|Get-Power Status
|Input Select:USB auto play||22||38 30 31 73 22 30 30 33 0D||
|6C
|38 30 31 67 6C 30 30 30 0D
| 
|-
|-
|Input Select: HDMI 1
|Input Select:HDMI1||22||38 30 31 73 22 30 30 34 0D||
|22
|38 30 31 73 22 30 30 34 0D
| 
|-
|-
|Input Select: HDMI 2
|Input Select:HDMI2||22||38 30 31 73 22 30 31 34 0D||
|22
|38 30 31 73 22 30 31 34 0D
| 
|-
|-
|Get-Input Select
|Input Select:HDMI3||22||38 30 31 73 22 30 32 34 0D||
|6A
|38 30 31 67 6A 30 30 30 0D
| 
|-
|-
|Input Select: Home
|Input Select:HDMI4||22||38 30 31 73 22 30 33 34 0D||
|22
|38 30 31 73 22 30 30 41 0D
| 
|-
|-
|Brightness: Down (-1)
|Brightness||24||38 30 31 73 24 3X 3X 3X 0D||000-100||
|24
|38 30 31 73 24 39 30 30 0D
| 
|-
|-
|Brightness: Up (+1)
|Brightness:Bright down (-1)||24||38 30 31 73 24 39 30 30 0D||
|24
|38 30 31 73 24 39 30 31 0D
| 
|-
|-
|Volume: Down (-1)
|Brightness:Bright up (+1)||24||38 30 31 73 24 39 30 31 0D||
|35
|38 30 31 73 35 39 30 30 0D
| 
|-
|-
|Volume: Up (+1)
|Power lock:Unlock||34||38 30 31 73 34 30 30 30 0D||
|35
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 35 39 30 31 0D
| style="text-align:left;"| 
|-
|-
|Get-Volume
|Power lock:Lock||34||38 30 31 73 34 30 30 31 0D||
|66
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 67 66 30 30 30 0D
| style="text-align:left;"| 
|-
|-
|Mute: OFF
|Volume||35||38 30 31 73 35 3X 3X 3X 0D||000-100||
|36
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 36 30 30 30 0D
| style="text-align:left;"| 
|-
|-
|Mute: ON (mute)
|Volume:Volume down(-1)||35||38 30 31 73 35 39 30 30 0D||
|36
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 36 30 30 31 0D
| style="text-align:left;"| 
|-
|-
|Get-Mute
|Volume:Volume up(+1)||35||38 30 31 73 35 39 30 31 0D||
|67
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 67 67 30 30 30 0D
| style="text-align:left;"| 
|-
|-
|Number (0~9)
|Mute:OFF||36||38 30 31 73 36 30 30 30 0D||
|40
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 40 30 30 3x 0D
|x = 0~9
|-
|-
|Key Pad: UP
|Mute:ON||36||38 30 31 73 36 30 30 31 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 30 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: DOWN
|Button lock:Unlock||38||38 30 31 73 38 30 30 30 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 31 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: LEFT
|Button lock:Lock||38||38 30 31 73 38 30 30 31 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 32 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: RIGHT
|Menu lock:Unlock||3E||38 30 31 73 3E 30 30 30 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 33 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: ENTER
|Menu lock:Lock||3E||38 30 31 73 3E 30 30 31 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 34 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: INPUT
|Key Pad:UP||41||38 30 31 73 41 30 30 30 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 35 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: MENU
|Key Pad:DOWN||41||38 30 31 73 41 30 30 31 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 36 0D
| style="text-align:left;"| 
|-
|-
|Key Pad: EXIT
|Key Pad:LEFT||41||38 30 31 73 41 30 30 32 0D||
|41
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 73 41 30 30 37 0D
| style="text-align:left;"| 
|-
|-
|Get-Operational Hours
|Key Pad:RIGHT||41||38 30 31 73 41 30 30 33 0D||
|31
|-
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 67 31 30 30 30 0D
|Key Pad:ENTER||41||38 30 31 73 41 30 30 34 0D||
| style="text-align:left;"| 
|-
|Key Pad:INPUT||41||38 30 31 73 41 30 30 35 0D||
|-
|Key Pad:MENU/(EXIT)||41||38 30 31 73 41 30 30 36 0D||
|-
|Key Pad:EXIT||41||38 30 31 73 41 30 30 37 0D||
|-
|Key Pad:power on/off||41||38 30 31 73 41 30 30 38 0D||
|-
|Key Pad:inputlist||41||38 30 31 73 41 30 30 39 0D||
|-
|Key Pad:brightness||41||38 30 31 73 41 30 31 30 0D||
|-
|Key Pad:blank||41||38 30 31 73 41 30 31 31 0D||
|-
|Key Pad:home||41||38 30 31 73 41 30 31 32 0D||
|-
|Key Pad:volume+||41||38 30 31 73 41 30 31 33 0D||
|-
|Key Pad:volume-||41||38 30 31 73 41 30 31 34 0D||
|-
|Key Pad:next||41||38 30 31 73 41 30 31 35 0D||
|-
|Key Pad:previous||41||38 30 31 73 41 30 31 36 0D||
|-
|Key Pad:mute||41||38 30 31 73 41 30 31 37 0D||
|-
|Key Pad:play||41||38 30 31 73 41 30 31 38 0D||
 
|}
|}



Revision as of 09:14, 23 August 2024

RS-232

This document describes the hardware interface and software protocols of RS-232 interface communication between the ViewSonic LED Display and computers or other control units with RS-232 protocol.

RS-232 Hardware Specification

ViewSonic RS-232 serial port on the lower left side:

  1. Connector type: DB 9-Pin Female
  2. Use of straight-through parallel cable for connection
  3. Pin Assignment:
  Pin # Signal Remark
Female DB 9-Pin 1 NC  
2 TXD Output from Display
3 RXD Input to Display
4 NC  
5 GND GND
6 NC  
7 NC
8 NC
9 NC
frame GND

RS-232 Communication Setting

Baud Rate Select: 9600bps (fixed)
Data Bits: 8 bits (fixed)
Parity: None (fixed)
Stop Bits: 1 (fixed)
Note: Make sure the Control Board Switch is switched to the left for RS-232 control.

Command Table

Function Command Code (Hex) HEX Data Range
Power on/off(standby):STBY 21 38 30 31 73 21 30 30 30 0D
Power on/off(standby):ON 21 38 30 31 73 21 30 30 31 0D
Input Select:USB auto play 22 38 30 31 73 22 30 30 33 0D
Input Select:HDMI1 22 38 30 31 73 22 30 30 34 0D
Input Select:HDMI2 22 38 30 31 73 22 30 31 34 0D
Input Select:HDMI3 22 38 30 31 73 22 30 32 34 0D
Input Select:HDMI4 22 38 30 31 73 22 30 33 34 0D
Brightness 24 38 30 31 73 24 3X 3X 3X 0D 000-100
Brightness:Bright down (-1) 24 38 30 31 73 24 39 30 30 0D
Brightness:Bright up (+1) 24 38 30 31 73 24 39 30 31 0D
Power lock:Unlock 34 38 30 31 73 34 30 30 30 0D
Power lock:Lock 34 38 30 31 73 34 30 30 31 0D
Volume 35 38 30 31 73 35 3X 3X 3X 0D 000-100
Volume:Volume down(-1) 35 38 30 31 73 35 39 30 30 0D
Volume:Volume up(+1) 35 38 30 31 73 35 39 30 31 0D
Mute:OFF 36 38 30 31 73 36 30 30 30 0D
Mute:ON 36 38 30 31 73 36 30 30 31 0D
Button lock:Unlock 38 38 30 31 73 38 30 30 30 0D
Button lock:Lock 38 38 30 31 73 38 30 30 31 0D
Menu lock:Unlock 3E 38 30 31 73 3E 30 30 30 0D
Menu lock:Lock 3E 38 30 31 73 3E 30 30 31 0D
Key Pad:UP 41 38 30 31 73 41 30 30 30 0D
Key Pad:DOWN 41 38 30 31 73 41 30 30 31 0D
Key Pad:LEFT 41 38 30 31 73 41 30 30 32 0D
Key Pad:RIGHT 41 38 30 31 73 41 30 30 33 0D
Key Pad:ENTER 41 38 30 31 73 41 30 30 34 0D
Key Pad:INPUT 41 38 30 31 73 41 30 30 35 0D
Key Pad:MENU/(EXIT) 41 38 30 31 73 41 30 30 36 0D
Key Pad:EXIT 41 38 30 31 73 41 30 30 37 0D
Key Pad:power on/off 41 38 30 31 73 41 30 30 38 0D
Key Pad:inputlist 41 38 30 31 73 41 30 30 39 0D
Key Pad:brightness 41 38 30 31 73 41 30 31 30 0D
Key Pad:blank 41 38 30 31 73 41 30 31 31 0D
Key Pad:home 41 38 30 31 73 41 30 31 32 0D
Key Pad:volume+ 41 38 30 31 73 41 30 31 33 0D
Key Pad:volume- 41 38 30 31 73 41 30 31 34 0D
Key Pad:next 41 38 30 31 73 41 30 31 35 0D
Key Pad:previous 41 38 30 31 73 41 30 31 36 0D
Key Pad:mute 41 38 30 31 73 41 30 31 37 0D
Key Pad:play 41 38 30 31 73 41 30 31 38 0D

Get Operation Time Example

Assumed the accumulated operation time is 00,123,456 hrs.

  • Send: 38 30 31 67 31 30 30 30 0D (Get Operation time)
  • Reply: 32 30 31 72 31 31 32 33 34 35 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0D