LG 32LD340H Owners Manual - Page 106

Transmission / Receiving, Protocol, Command Reference List, Communication Parameters

Page 106 highlights

APPENDIX Communication Parameters A Baud rate : 9600 bps (UART) A Data length : 8 bits A Parity : None A Stop bit : 1 bit A Communication code : ASCII code A Use a crossed (reverse) cable. Command Reference List COMMAND1 COMMAND2 DATA (Hexadecimal) COMMAND1 COMMAND2 DATA (Hexadecimal) 01. Power k 02. Aspect Ratio k 03. Screen Mute k 04. Volume Mute k 05. Volume Control k 06. Contrast k 07. Brightness k 08. Colour k 09. Tint k 10. Sharpness k 11. OSD Select k 12. Remote Control Lock k /Key Lock Mode a 00 to 01 c Refer to p.105 d Refer to p.105 e 00 to 01 f 00 to 64 g 00 to 64 h 00 to 64 i 00 to 64 j 00 to 64 k 00 to 64 l 00 to 01 m 00 to 01 13. Balance k 14. Colour Temperature k 15. Abnormal Status k 16. Auto Configure j 17. Channel Add/Del m 18. Key m 19. Input select (Main) x 20. Control Back Light m 21. Energy Saving j 22. Tune Command m 23. Treble k 24. Bass k t 00 to 64 u 00 to 02 z FF u 01 b 00 to 01 c Key Code b Refer to p.107 g 00 to 64 q Refer to p.107 a Refer to p.107 r 00 to 64 s 00 to 64 Transmission / Receiving Protocol Transmission [Command1][Command2][ ][Set ID][ ][Data][Cr] [Command 1] : First command to control the set.(j,k,m or x) [Command 2] : Second command to control the set. [Set ID] : You can adjust the set ID to choose desired TV ID number in Setup menu. Adjustment range is 1 to 99. When selecting Set ID '0', every connected TV is controlled. Set ID is indicated as decimal (1 to 99) on menu and as Hexa decimal (0x0 to 0x63) on transmission/receiving protocol. [DATA] : To transmit command data. Transmit 'FF' data to read status of command. [Cr] : Carriage Return ASCII code '0x0D' [ ] : ASCII code 'space (0x20)' OK Acknowledgement [Command2][ ][Set ID][ ][OK][Data][x] The TV transmits ACK (acknowledgement) based on this format when receiving normal data. At this time, if the data is data read mode, it indicates present status data. If the data is data write mode, it returns the data of the PC computer. Error Acknowledgement [Command2][ ][Set ID][ ][NG][Data][x] TV transmits ACK(acknowledgement) based on this format when receiving abnormal data form non-viable functions or communication errors. [Command 2] : use as command. [Set ID]: use the small character, if set ID is 10, TV will send the '0', 'a' [Data]: use the small character, if data is 0xab, TV will send the 'a', 'b'. [NG]: use the large character. APPENDIX 104

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

104
APPENDIX
APPENDIX
Transmission / Receiving
Protocol
Command Reference List
Transmission
[Command 1] : First command to control the set.
(j,k,m or x)
[Command 2] : Second command to control the set.
[Set ID] : You can adjust the set ID to choose desired TV ID
number in Setup menu. Adjustment range is 1
to
99. When selecting Set ID ‘0’, every connected TV is
controlled. Set ID is indicated as decimal (1
to
99)
on menu and as Hexa decimal (0x0
to
0x63) on
transmission/receiving protocol.
[DATA] : To transmit command data.
Transmit ‘FF’ data to read status of command.
[Cr] : Carriage Return
ASCII code ‘0x0D’
[
] : ASCII code ‘space (0x20)’
OK Acknowledgement
The TV transmits ACK (acknowledgement) based on this for-
mat when receiving normal data. At this time, if the data is
data read mode, it indicates present status data. If the data is
data write mode, it returns the data of the PC computer.
Error Acknowledgement
TV transmits ACK(acknowledgement) based on this format
when receiving abnormal data form non-viable functions or
communication errors.
[Command 2] : use as command.
[Set ID]: use the small character, if set ID is 10, TV will send the ‘0’, ‘a’
[Data]: use the small character, if data is 0xab, TV will send the ‘a’, ‘b’.
[NG]: use the large character.
[Command1][Command2][ ][Set ID][ ][Data][Cr]
[Command2][ ][Set ID][ ][OK][Data][x]
[Command2][ ][Set ID][ ][NG][Data][x]
COMMAND1
COMMAND2
DATA
(Hexadecimal)
COMMAND1
COMMAND2
DATA
(Hexadecimal)
01. Power
k
a
00
to
01
02. Aspect Ratio
k
c
Refer to p.105
03. Screen Mute
k
d
Refer to p.105
04. Volume Mute
k
e
00
to
01
05. Volume Control
k
f
00
to
64
06. Contrast
k
g
00
to
64
07. Brightness
k
h
00
to
64
08. Colour
k
i
00
to
64
09. Tint
k
j
00
to
64
10. Sharpness
k
k
00
to
64
11.OSD Select
k
l
00
to
01
12.
Remote Control Lock
00
to
01
/Key Lock Mode
k
m
13. Balance
k
t
00
to
64
14. Colour Temperature
k
u
00
to
02
15.
Abnormal Status
k
z
FF
16. Auto Configure
j
u
01
17.
Channel Add/Del
m
b
00
to 01
18. Key
m
c
Key Code
19. Input select (Main)
x
b
Refer to p.107
20. Control Back Light
m
g
00
to
64
21. Energy Saving
j
q
Refer to p.107
22.
Tune Command
m
a
Refer to p.107
23. Treble
k
r
00
to
64
24. Bass
k
s
00
to
64
Communication Parameters
A
Baud rate : 9600 bps (UART)
A
Data length : 8 bits
A
Parity : None
A
Stop bit : 1 bit
A
Communication code : ASCII code
A
Use a crossed (reverse) cable.