RS-232C PROTOCOL MANUAL
RS-232C PROTOCOL MANUAL
1st Edition
LCD DIGITAL COLOR TV
KDL-40XBR5
KDL-46XBR5
KDL-52XBR5
SXRD PROJECTION TV
KDS-Z60XBR5
KDS-Z70XBR5
Table of Contents
1. Communication Parameter .............................................. 1
2. Pin Configuration ............................................................... 1
3. Restriction for Communication ...................................... 1
4. Communication Data Format .......................................... 1
5. Command Example ............................................................ 2
6. RS-232C Command List.................................................... 3
RS-232C PROTOCOL MANUAL
1. Communication Parameter
4. Communication Data Format
(a) Control (Host t Request of Write to Display)
Communication system
RS-232C
Synchronous system
Asynchronous communication
No.
Item
Baud rate
9600 bps
1
Header
0x8C: Control
Character length
8 bit
2
Category
0x00 (fixed)
Parity
None
3
Function
0xXX
Start bit
1 bit
4
Data1 (Length)
0xXX (=X–3 byte)
Stop bit
1 bit
5
Data2 (Data1)
0xXX
Flow control
None
:
:
0xXX
:
:
0xXX
X
Data (X-3)
0xXX
X+1
Check Sum
0xXX
2. Pin Configuration
Display side (D-sub 9-pin male)
Host side (D-sub 9-pin)
Value
∗ Check Sum: The total from No.1 to No. X, when value exceeds 255, 1byte
of data is confirmed the bottom.
(b) Answer (Display t Response to host)
1 Control answer
No. Item
KDL-52XBR5 etc.
KDS-Z70XBR5 etc.
Personal computer
1 2 3 4 5
1 2 3 4 5
6 7 8 9
6 7 8 9
Value
1
Header
0x70: Answer
2
Answer*
0x00: Completed (Normal End)
0x01: Limit Over
(Abnormal End-Exceed maximum value)
0x02: Limit Over
(Abnormal End-Exceed minimum value)
- External view -
0x03: Command Canceled (Abnormal end)
- External view -
0x04: Parse Error (Data Format Error)
Pin No.
1
2
3
4
5
6
7
8
9
Signal
NC
RD
TD
NC
GND
NC
NC
NC
NC
Pin No.
1
2
3
4
5
6
7
8
9
Signal
NC
RD
TD
NC
GND
NC
NC
NC
NC
3
Check Sum 0xXX
∗ 0x00: Completed
0x01: Limit Over
Normal response.
The packets was received normally, but the
data value was over the upper limit.
0x02: Limit Over
The packets was received normally, but the
data value was over the lower limit.
The packet is received normally but either the
value of data is incorrect or request is not
permitted for the current host value.
0x03: Command canceld
0x04: Parse Error
Received not defined format data or check
sum Error.
∗ Check Sum: The total from No.1 to No. X, when value exceeds 255, 1byte
of data is confirmed the bottom.
3. Restriction for Communication
∗ Send control command after 20 seconds of power on.
∗ Strictly keep to send next command after receiving answer response from
Display.
∗ Set the command interval to 500ms or more.
∗ Value range for direct command is same as user can change by menu.
∗ When set is at standby mode, only receives Power ON command.
∗ To turn on the set, first set standby command as Enable. After this, the set
can receive Power ON command.
RS-232C PROTOCOL MANUAL
1
5. Command Example
Select CH
Head
(Terr) Analogue : Last ch
(CATV) Digital
: 85.3 ch
(CATV) Analogue : 125 ch
0x8c
0x8c
0x8c
Category Function
0x00
0x00
0x00
0x04
0x04
0x04
Check
Sum
Length
0x0d
0x0d
0x0d
0x01
0x01
0x01
0x02
0x03
0x03
0xff
0x00
0x01
0xff
0x08
0x02
0x00
0x00
0x00
0x65
0x73
0x66
0x6e
0x70
0x72
0x67
0x61
0x65
0xff
0x05
0x05
0xff
0x2c
0xff
0xff
0x03
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xff
0xXX
0xXX
0xXX
Select Language
Head
English1"eng"
Spanish "spa"
French "fre"
2
0x8c
0x8c
0x8c
Category Function
0x00
0x00
0x00
0x07
0x07
0x07
Check
Sum
Length
0x05
0x05
0x05
0xXX
0xXX
0xXX
RS-232C PROTOCOL MANUAL
6. RS232C Command List
Command [b]Length [c] Range/Switch Code
(Include
byte1:
byte0:
CheckSum)
Syntax
Code Syntax
Mode
Control
0x00
Ena Ena
ble ble
Power On
Code
Stand by
[a] Function
Syntax
Power
Standby Command
0x01
Dis Ena
able ble
Input Select
0x02
OFF
0x00
0x02
0x02
ON
Disable
0x01
0x00
0x02
Enable
0x01
0x02
0x02
0x03
Toggle
TV
Video
0x00
0x01
0x02
0x03
0x02
Program Select
Dis Ena
0x05
able ble
Audio Muting
0x06
Dis Ena
able ble
OFF is always Enable
ON is Enable When Standby
Command(0x02) received
Enable(0x01)
select input same as RC
select last TV channel
#1
#2
#3
0x01
0x02
0x03
#1
#2
0x01
0x02
HDMI
0x03
PC
0x03
UpDown
0x0d
Direct
0x04 #1
#2
#3
#4
0x05
#1
0x00 Up
Down
0x01 Terr Digital
0x01
0x02
0x03
0x04
0x00
0x01
0xnn
0x03
UpDown
0x03
Direct
0x00 Up
Down
0x01 values
0x02
Toggle
0x00
0x03
Direct
0x00
0x01
0xnn
Language
0x05
Off Timer(SLEEP)
0x02
Toggle
0x01 Unmuting
Muting
0x00 English
French
Spanish
0x00
0x03
Direct
0x01 timer offset
0x02
Toggle
0x00
0x0C
Dis Ena
able ble
0x0F
Dis Ena
able ble
Display
RS-232C PROTOCOL MANUAL
#4 is only available for SXRD models.
0x01
0x00
0x01
0x01 byte2-byte11
(10 byte Fix length,
include terminator)
Channel number the
following value can
Terr Analogue 0x02 be set.:
0x00-0x09,0x2c,0xFF
(terminator)
CATV
0x03 In CATV(US) case,
set 0x2c as".".
if all values are full by
"0xFF", system will
tune last channel.
Dis Ena
able ble
Volume Control
Detail
0x03
Dis Ena
able ble
0x03
0x04
Component
byte2-n:
Code Syntax&
code
select program(channel)
same as RC control.
values in cycle:
Unmuting
Muting
"eng"
"fre"
"spa"
byte 1-3: ASCII "eng"
(for English)
supported values:
OFF: 0x00
15 min: 0x0F
30 min: 0x1E
45 min: 0x2D
60 min: 0x3C
90 min: 0x5A
120 min: 0x78
same as display (info) key
3
Command [b]Length [c] Range/Switch Code
(Include
byte1:
byte0:
CheckSum)
Syntax
Code Syntax
Power On
Code
Stand by
[a] Function
Syntax
Closed Caption
0x10
Picture
Toggle Display
Direct Display
0x04
Direct Setting
Dis Ena
able ble
Digital
Dis Ena
able ble
Toggle
0x00
0x03
Direct
0x01 Vivid
Standard
0x02
Advanced Iris
0x2B
Picture
Dis Ena
able ble
0x23
Dis Ena
able ble
0x24
Dis Ena
able ble
0x25
Dis Ena
able ble
Brightness
Color
Hue
Dis Ena
0x26
able ble
Sharpness
0x28
4
Dis Ena
able ble
toggle between Off and On
0x00
0x01
0x00
0x01
CC1
CC2
CC3
CC4
Text1
Text2
Text3
Text4
Service1
Service2
Service3
Service4
Service5
Service6
CC1
CC2
CC3
CC4
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0a
values in cycle :
Vivid
Standard
Cinema
Custom.
0x02
Cine Motion
0x2A
0x00
0x01 OFF
ON
0x02 Analog
Dis Ena
able ble
Picture Mode
0x20
0x02
0x03
Detail
byte2-n:
Code Syntax&
code
0x00
0x01
Cinema
0x02
Custom
0x03
Off
0x00
change only current Input
Auto1
Auto2
Min
Low
0x02
0x03
0x00
0x01
change only current Input
only available for SXRD models.
Mid
0x02
High
0x03
max
0x04
Auto1
0x05
Auto2
0x06
0x02
0x03
UpDown
0x00
0x03
Direct
0x01
0x03
UpDown
0x00
0x03
Direct
0x01
0x03
UpDown
0x00
0x03
Direct
0x01
0x04
UpDown
0x00
0x04
Direct
0x01
0x03
UpDown
0x00
0x03
Direct
0x01
Up
Down
values
0x00
0x01
0xXX
Up
Down
values
0x00
0x01
0xXX
Up
Down
values
0x00
0x01
0xXX
Red
Green
Red
0x00
0x01
0x00
Green
0x01
Up
Down
value
0x00
0x01
0xXX
Up
Down
values
0x00
0x01
0xnn
RS-232C PROTOCOL MANUAL
Command [b]Length [c] Range/Switch Code
(Include
byte1:
byte0:
CheckSum)
Syntax
Code Syntax
Sound
Power On
Code
Stand by
[a] Function
Syntax
Sound Mode
0x30
Dis Ena
able ble
Treble
0x32
Dis Ena
able ble
Bass
0x33
Speaker Off
Size/
Shift
Dis Ena
able ble
0x36
Dis Ena
able ble
0x40
Dis Ena
able ble
H Size
H Shift
0x41
Dis Ena
able ble
V Size
0x42
Dis Ena
able ble
0x43
Dis Ena
able ble
V Shift
Screen
0x44
0x00
0x03
Direct
0x01 Dynamic
0x46
Dis Ena
able ble
0x00
Standard
0x01
Custom
0x02
0x03
UpDown
0x00 Up
0x04
Direct
0x01 plus
Down
0x00
0x01
0x00
minus
0x01
0x03
UpDown
0x00 Up
Down
0x00
0x01
0x04
Direct
0x01 plus
0x00
Toggle
Direct
0x03
UpDown
0x04
Direct
0x03
UpDown
0x04
Direct
0x03
UpDown
0x04
Direct
minus
0x01
0x00
0x01 OFF
ON
0x00 Up
Down
0x01 plus
minus
0x00 Up
Down
0x01 plus
minus
0x00
0x01
0x00
0x01
0x00
0x01
0x00
0x01
0x00
0x01
0x00 Up
Down
0x01 plus
minus
0x00
0x01
0x00
0x01
0x00 Up
Down
0x01 plus
minus
0x00
0x01
0x00
0x01
0x04
Direct
0x02
Toggle
0x00
0x03
Direct
0x01 Wide Zoom
Full
Dis Ena
able ble
4:3 Mode
RS-232C PROTOCOL MANUAL
Toggle
0x03
Wide
values in cycle:
Dynamic
Standard
Custom
0x02
0x02
0x03
0x02
Toggle
0x00
0x03
Direct
0x01
Detail
byte2-n:
Code Syntax&
code
values
0xnn
values
0xnn
value
0xnn
values
0xnn
values
0xnn
values
0xnn
0x00
0x01
Zoom
0x02
Normal
0x03
PC_Normal
PC_Full1
PC_Full2
0x05
0x06
0x07
PC_ZOOM
0x08
Normal
Wide Zoom
Full
Zoom
Off
0x04
0x03
0x02
0x01
0x00
only available for SXRD models.
5
The material contained in this manual consists of
information that is the property of Sony Corporation.
Sony Corporation expressly prohibits the duplication of
any portion of this manual or the use thereof for any
purpose other than the operation of the equipment
described in this manual without the express written
permission of Sony Corporation.
Le matériel contenu dans ce manuel consiste en
informations qui sont la propriété de Sony Corporation.
Sony Corporation interdit formellement la copie de
quelque partie que ce soit de ce manuel ou son emploi
pour tout autre but que des opérations del’équipement
à moins d’une permission écrite de Sony Corporation.
El material incluido en este manual contiene información
que es propiedad de Sony Corporation.
Sony Corporation prohíbe expresamente la duplicación
de cualquier parte de este manual o la utilización del
mismo para cualquier fin que no sea la operación del
equipo descrito en este manual sin el permiso expreso
por escrito de Sony Corporation.
Sony Customer Support:
http://www.sony.com/tvsupport
or to contact with a support representative:
United States
1-800-222-SONY(7669)
Canada
1-877-899-SONY(7669)
Latin America
http://esupport.sony.com/ES/LA
9-883-638-01
© 2007 Sony Corporation
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement