LDM231-251 RS-232 Protocol: Difference between revisions
From ViewSonic Documentation
Created page with "<noinclude> <div class="noprint"> <div style="top:1px;width:auto;" class="nomobile"> <div class="grid-container"> <div class="item1" style="text-align:center; font-size:16; background-color:#DB0025; font-weight:bold; color:#ffffff;">{{PAGENAME}}</div> <div class="grid-item">Introduction </div> <div class="grid-item">Remote Control </div> <div class="grid-item">LDM231-251_Wall_Installation|Wall Installati..." |
// via Wikitext Extension for VSCode |
||
| Line 22: | Line 22: | ||
</div> | </div> | ||
{{Top}} </noinclude> | {{Top}} </noinclude> | ||
=RS-232= | |||
This document describes the hardware interface and software protocols of RS-232 serial communication between the ViewSonic LED Display and computers or control systems. | |||
===RS-232 Hardware Specification=== | |||
ViewSonic RSD-232 serial port on the lower left side: | |||
# Connector type: DB 9-Pin Female | |||
# Use of straight-through parallel cable for connection | |||
# Pin Assignment: | |||
{| class="wikitable" style="text-align: center; width: 50.9766%;" data-mce-style="text-align: center; width: 50.9766%;" | |||
|- | |||
! style="background-color: rgb(196, 18, 48); width: 45%;" data-mce-style="background-color: #c41230; width: 45%;"| | |||
! style="font-weight: bold; background-color: rgb(196, 18, 48); color: rgb(255, 255, 255); width: 18%;" data-mce-style="font-weight: bold; background-color: #c41230; color: #ffffff; width: 18%;"|Pin # | |||
! style="font-weight: bold; background-color: rgb(196, 18, 48); color: rgb(255, 255, 255); width: 11.4744%;" data-mce-style="font-weight: bold; background-color: #c41230; color: #ffffff; width: 11.4744%;"|Signal | |||
! style="font-weight: bold; background-color: rgb(196, 18, 48); color: rgb(255, 255, 255); width: 20.5256%;" data-mce-style="font-weight: bold; background-color: #c41230; color: #ffffff; width: 20.5256%;"|Remark | |||
|- | |||
| style="font-weight: bold; width: 45%;" data-mce-style="font-weight: bold; width: 45%;"|Female DB 9-Pin | |||
| style="width: 18%;" data-mce-style="width: 18%;"|1 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
| style="width: 20.5256%;" data-mce-style="width: 20.5256%;"| | |||
|- | |||
| style="text-align: center; width: 45%;" rowspan="9" data-mce-style="text-align: center; width: 45%;"|[[File:Female_DSUB.png|200px]] | |||
| style="width: 18%;" data-mce-style="width: 18%;"|2 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|TXD | |||
| style="width: 20.5256%;" data-mce-style="width: 20.5256%;"|Output from Display | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|3 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|RXD | |||
| style="width: 20.5256%;" data-mce-style="width: 20.5256%;"|Input to Display | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|4 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
| style="width: 20.5256%;" data-mce-style="width: 20.5256%;"| | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|5 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|GND | |||
| style="width: 20.5256%;" data-mce-style="width: 20.5256%;"|GND | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|6 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
| style="width: 20.5256%;" rowspan="5" data-mce-style="width: 20.5256%;"| | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|7 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|8 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|9 | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|NC | |||
|- | |||
| style="width: 18%;" data-mce-style="width: 18%;"|frame | |||
| style="width: 11.4744%;" data-mce-style="width: 11.4744%;"|GND | |||
|} | |||
===RS-232 Communication Setting=== | |||
{| | |||
|- | |||
| Baud Rate Select: || 115200bps (fixed) | |||
|- | |||
| Data Bits: || 8 bits (fixed) | |||
|- | |||
| Parity: || None (fixed) | |||
|- | |||
| Stop Bits: || 1 (fixed) | |||
|} | |||
===Command Table=== | |||
{| class="wikitable" style="text-align:center;" width="70%" | |||
|- | |||
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|Function | |||
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|Command Code (Hex) | |||
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|HEX | |||
! style="font-weight:bold; background-color:#c41230; color:#ffffff;"|Data Range | |||
|- | |||
|Power On | |||
|21 | |||
|38 30 31 73 21 30 30 31 0D | |||
| | |||
|- | |||
|Power Off (Standby) | |||
|21 | |||
|38 30 31 73 21 30 30 30 0D | |||
| | |||
|- | |||
|Get-Power Status | |||
|6C | |||
|38 30 31 67 6C 30 30 30 0D | |||
| | |||
|- | |||
|Input Select: HDMI 1 | |||
|22 | |||
|38 30 31 73 22 30 30 34 0D | |||
| | |||
|- | |||
|Input Select: HDMI 2 | |||
|22 | |||
|38 30 31 73 22 30 31 34 0D | |||
| | |||
|- | |||
|Get-Input Select | |||
|6A | |||
|38 30 31 67 6A 30 30 30 0D | |||
| | |||
|- | |||
|Input Select: Home | |||
|22 | |||
|38 30 31 73 22 30 30 41 0D | |||
| | |||
|- | |||
|Brightness: Down (-1) | |||
|24 | |||
|38 30 31 73 24 39 30 30 0D | |||
| | |||
|- | |||
|Brightness: Up (+1) | |||
|24 | |||
|38 30 31 73 24 39 30 31 0D | |||
| | |||
|- | |||
|Volume: Down (-1) | |||
|35 | |||
|38 30 31 73 35 39 30 30 0D | |||
| | |||
|- | |||
|Volume: Up (+1) | |||
|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 | |||
|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 | |||
|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) | |||
|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 | |||
|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) | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|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 | |||
|31 | |||
| style="text-align: center;" data-mce-style="text-align: center;"|38 30 31 67 31 30 30 30 0D | |||
| style="text-align:left;"| | |||
|} | |||
{{#seo: | |||
|title=ViewSonic Direct View LED Display | |||
|title_mode=append | |||
|keywords=LDM231-251, Direct View LED, RS-232, RS232, Protocol | |||
|description=LDM231-251's RS-232 protocol. | |||
}} | |||
[[Category:LDM231-251]] | |||
Revision as of 08:57, 23 August 2024
RS-232
This document describes the hardware interface and software protocols of RS-232 serial communication between the ViewSonic LED Display and computers or control systems.
RS-232 Hardware Specification
ViewSonic RSD-232 serial port on the lower left side:
- Connector type: DB 9-Pin Female
- Use of straight-through parallel cable for connection
- 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: | 115200bps (fixed) |
| Data Bits: | 8 bits (fixed) |
| Parity: | None (fixed) |
| Stop Bits: | 1 (fixed) |
Command Table
| Function | Command Code (Hex) | HEX | Data Range |
|---|---|---|---|
| Power On | 21 | 38 30 31 73 21 30 30 31 0D | |
| Power Off (Standby) | 21 | 38 30 31 73 21 30 30 30 0D | |
| Get-Power Status | 6C | 38 30 31 67 6C 30 30 30 0D | |
| Input Select: HDMI 1 | 22 | 38 30 31 73 22 30 30 34 0D | |
| Input Select: HDMI 2 | 22 | 38 30 31 73 22 30 31 34 0D | |
| Get-Input Select | 6A | 38 30 31 67 6A 30 30 30 0D | |
| Input Select: Home | 22 | 38 30 31 73 22 30 30 41 0D | |
| Brightness: Down (-1) | 24 | 38 30 31 73 24 39 30 30 0D | |
| Brightness: Up (+1) | 24 | 38 30 31 73 24 39 30 31 0D | |
| Volume: Down (-1) | 35 | 38 30 31 73 35 39 30 30 0D | |
| Volume: Up (+1) | 35 | 38 30 31 73 35 39 30 31 0D | |
| Get-Volume | 66 | 38 30 31 67 66 30 30 30 0D | |
| Mute: OFF | 36 | 38 30 31 73 36 30 30 30 0D | |
| Mute: ON (mute) | 36 | 38 30 31 73 36 30 30 31 0D | |
| Get-Mute | 67 | 38 30 31 67 67 30 30 30 0D | |
| Number (0~9) | 40 | 38 30 31 73 40 30 30 3x 0D | x = 0~9 |
| 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 | 41 | 38 30 31 73 41 30 30 36 0D | |
| Key Pad: EXIT | 41 | 38 30 31 73 41 30 30 37 0D | |
| Get-Operational Hours | 31 | 38 30 31 67 31 30 30 30 0D |