|
|
| Line 14: |
Line 14: |
| }} | | }} |
| </noinclude> | | </noinclude> |
| =RS-232=
| |
| 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:
| |
| {| class="wikitable" style="text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025;" |
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Pin #
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Signal
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Remark
| |
| |-
| |
| | style="font-weight:bold;" | Male DSUB 9-Pin
| |
| | 1
| |
| | NC
| |
| | style="text-align:left;" |
| |
| |-
| |
| | rowspan="4" style="text-align:center;" | <div class="res-img">[[File:Male_DSUB.png|200px|link=]]</div>
| |
| | 2
| |
| | RXD
| |
| | Input to Display
| |
| |-
| |
| | 3
| |
| | TXD
| |
| | Output to Display
| |
| |-
| |
| | 4
| |
| | NC
| |
| | rowspan="5" |
| |
| |-
| |
| | 5
| |
| | GND
| |
| |-
| |
| | style="font-weight:bold;" | Female DSUB 9-Pin
| |
| | 6
| |
| | NC
| |
| |-
| |
| | rowspan="4" style="font-weight:bold;" | <div class="res-img">[[File:Female_DSUB.png|200px|link=]]</div>
| |
| | 7
| |
| | NC
| |
| |-
| |
| | 8
| |
| | NC
| |
| |-
| |
| | 9
| |
| | NC
| |
| | Provide +5V/2A power for external specific dongle *3.0
| |
| |-
| |
| | frame
| |
| | GND
| |
| | style="text-align:left;" |
| |
| |}
| |
|
| |
| {| class="wikitable" style="text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025;" |
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Item
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Signal
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Remark
| |
| |-
| |
| | style="font-weight:bold;" | 3.5 mm barrel connector<br />(alternative for limited space)
| |
| | Tip
| |
| | TXD
| |
| | Output from Display
| |
| |-
| |
| | rowspan="2" style="text-align:center;" | <div class="res-img">[[File:IFP52_Barrel_Connector.jpg|50px|link=]]</div>
| |
| | Ring
| |
| | RXD
| |
| | Input to Display
| |
| |-
| |
| | Sleeve
| |
| | GND
| |
| |
| |
| |}
| |
|
| |
| ===LAN Hardware Specification===
| |
| ViewSonic LFD communication port on the rear side:
| |
| # Connector type: 8P8C RJ45
| |
| # Pin assignment:
| |
| {| class="wikitable" style="text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025;" |
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Pin #
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Signal
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Remark
| |
| |-
| |
| | rowspan="9" style="font-weight:bold;" | <div class="res-img">[[File:LAN_Spec.png|170px|link=]]</div>
| |
| | 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
| |
| | style="text-align:left;" |
| |
| |}
| |
| ====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:'''
| |
| {| style="font-weight:bold; text-align:center; background-color:transparent; width:60%;"
| |
| |-
| |
| | Length
| |
| | style="font-weight:normal; text-align:left;" | Total Byte of Message excluding “CR”
| |
| |-
| |
| | LFD ID
| |
| | style="font-weight:normal; text-align:left;" | Identification for each of Display (01~98; default is 01)<br />ID “99” means to apply the set command for all connected displays. Under such circumstances, only ID#1 display has to reply.<br />The LFD ID can be set via the OSD menu for each Display.
| |
| |-
| |
| | Command Type
| |
| | style="font-weight:normal; text-align:left;" | Identify command type,<br />"s" (0x73h): Set Command<br />"+" (0x2Bh): Valid Command Reply<br />"-" (0x2Dh): Invalid Command Reply
| |
| |-
| |
| | Command
| |
| | style="font-weight:normal; text-align:left;" | Function command code: One byte ASCII code.
| |
| |-
| |
| | Value [1~3]
| |
| | style="font-weight:normal; text-align:left;" | Three bytes ASCII that defines the value.
| |
| |-
| |
| | CR
| |
| | style="font-weight:normal; text-align:left;" | 0x0D
| |
| |}
| |
|
| |
| '''Set-Function Format'''
| |
| '''Send: (Command Type="s")'''
| |
| {| class="wikitable" style="text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Command
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Value1
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Value2
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Value3
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|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 "-")'''
| |
| {| class="wikitable" style="text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="font-weight:bold; background-color:#db0025; color:#ffffff;"|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.
| |
| <br />
| |
| <u>'''Example 1: Set Brightness as 76 for Display (#02) and this; command is valid.'''</u> <br />
| |
|
| |
| '''Send (Hex Format)'''
| |
| {| class="wikitable" style="font-weight:bold; text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value1
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value2
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value3
| |
| ! style="background-color:#db0025; color:#ffffff;"|CR
| |
| |- style="font-weight:normal;"
| |
| | Hex
| |
| | 0x38
| |
| | 0x30<br />0x32
| |
| | 0x73
| |
| | 0x24
| |
| | 0x30
| |
| | 0x37
| |
| | 0x36
| |
| | 0x0D
| |
| |}
| |
|
| |
| '''Reply (Hex Format)'''
| |
| {| class="wikitable" style="font-weight:bold; text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="background-color:#db0025; color:#ffffff;"|CR
| |
| |- style="font-weight:normal;"
| |
| | Hex
| |
| | 0x34
| |
| | 0x30<br />0x32
| |
| | 0x2B
| |
| | 0x0D
| |
| |}
| |
|
| |
| <u>'''Example 2: Set Brightness as 75 for Display (#02) and this; command is NOT valid.'''</u> <br />
| |
|
| |
| '''Send (Hex Format)'''
| |
| {| class="wikitable" style="font-weight:bold; text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value1
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value2
| |
| ! style="background-color:#db0025; color:#ffffff;"|Value3
| |
| ! style="background-color:#db0025; color:#ffffff;"|CR
| |
| |- style="font-weight:normal;"
| |
| | Hex
| |
| | 0x38
| |
| | 0x30<br />0x32
| |
| | 0x73
| |
| | 0x24
| |
| | 0x30
| |
| | 0x37
| |
| | 0x35
| |
| | 0x0D
| |
| |}
| |
|
| |
| '''Reply (Hex Format)'''
| |
| {| class="wikitable" style="font-weight:bold; text-align:center; background-color:#ffffff; width:60%;"
| |
| |-
| |
| ! style="background-color:#db0025; color:#ffffff;"|Name
| |
| ! style="background-color:#db0025; color:#ffffff;"|Length
| |
| ! style="background-color:#db0025; color:#ffffff;"|ID
| |
| ! style="background-color:#db0025; color:#ffffff;"|Command Type
| |
| ! style="background-color:#db0025; color:#ffffff;"|CR
| |
| |- style="font-weight:normal;"
| |
| | Hex
| |
| | 0x34
| |
| | 0x30<br />0x32
| |
| | 0x2D
| |
| | 0x0D
| |
| |}
| |
|
| |
| ===Set-Function Table=== | | ===Set-Function Table=== |
| ====A. Basic Function==== | | ====A. Basic Function==== |
| Line 663: |
Line 342: |
| | | | | |
| |} | | |} |
| | |
|
| |
|
| {{#seo: | | {{#seo: |