LG 20LS7DC Brochure - Page 74

Command Reference List, Transmission / Receiving, Protocol

Page 74 highlights

APPENDIX Command Reference List COMMAND1 COMMAND2 DATA (Hexadecimal) COMMAND1 COMMAND2 DATA (Hexadecimal) 01. Power k 02. Input Select k 03. Aspect Ratio k 04. Screen Mute k 05. Volume Mute k 06. Volume Control k 07. Contrast k 08. Brightness k 09. Color k a 0~1 10. Tint k b (G p.73) 11. Sharpness k c (G p.73) 12. OSD Select k d 0~1 13. Remote Control k e 0~1 Lock Mode f 0 ~ 64 14. Treble k g 0 ~ 64 15. Bass k h 0 ~ 64 16. Balance k i 0 ~ 64 17. Color Temperature k j 0 ~ 64 k 0 ~ 64 l 0~1 m 0~1 r 0 ~ 64 s 0 ~ 64 t 0 ~ 64 u 0~3 COMMAND1 COMMAND2 DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 (Hexadecimal) (Hexadecimal) (Hexadecimal) (Hexadecimal) (Hexadecimal) (Hexadecimal) 18. Channel Tuning m a physical major major low minor high minor low attribute program high program low 19. Channel Add/Del m b 0~1 20. Key m c (G p.75) 21. Input Select x b (G p.75) Transmission / Receiving Protocol APPENDIX 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~ 99. When selecting Set ID '0', every connected the TV is controlled. Set ID is indicated as decimal (1~ 99) on menu and as Hexa decimal (0x0~0x63) on transmission /receiving protocol. [DATA] : To transmit command data. Transmit 'FF' data to read status of command. * In this model, TV will not send the status during the standby mode. [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. * In this model, TV will not send the status during the standby mode. * Data Format [Command 2] : Use as command. [Set ID] : Use the small character, if set ID is 10, it will send the '0', 'a'. [DATA] : Use the small character, if data is 0 x ab, it will send the 'a', 'b'. [OK] : Use the large character. * In this model, TV will send the echo, CR, LF with acknowl- edgement message. * When it send the power on acknowledgement message, it will be like below. ex) ka 01 01 (CR) (LF) a 01 OK 01 x (CR) (LF) Error Acknowledgement [Command2][ ][Set ID][ ][NG][Data][x] The TV transmits ACK (acknowledgement) based on this format when receiving abnormal data from non-viable functions or communication errors. Data1: Illegal Code Data2: Not supported function Data3: Wait more time * In this model, TV will not send the status during the standby mode. * Data Format [Command 2] : Use as command. [Set ID] : Use the small character, if set ID is 10, it will send the '0', 'a'. [DATA] : Use the small character, if data is 0 x ab, it will send the 'a', 'b'. [NG] : Use the large character * In this model, TV will send the echo, CR, LF with acknowledgement message. * When it send the power on acknowledgement message, it will be like below. ex) ka 01 01 (CR) (LF) a 01 NG 01 x (CR) (LF) 72

  • 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

APPENDIX
72
APPENDIX
Command Reference List
COMMAND1
COMMAND2
18.Channel Tuning
19. Channel Add/Del
20. Key
21. Input Select
DATA
(Hexadecimal)
COMMAND1
COMMAND2
DATA
(Hexadecimal)
COMMAND1
COMMAND2
DATA0
(Hexadecimal)
DATA1
(Hexadecimal)
DATA2
(Hexadecimal)
DATA3
(Hexadecimal)
DATA4
(Hexadecimal)
DATA5
(Hexadecimal)
physical
major
major low
minor high
minor low
attribute
program high
program low
m
a
m
b
0
~
1
m
c
(
G
p.75)
x
b
(
G
p.75)
01. Power
k
a
0
~
1
02. Input Select
k
b
(
G
p.73)
03. Aspect Ratio
k
c
(
G
p.73)
04. Screen Mute
k
d
0
~
1
05. Volume Mute
k
e
0
~
1
06. Volume Control
k
f
0
~
64
07. Contrast
k
g
0
~
64
08. Brightness
k
h
0
~
64
09. Color
k
i
0
~
64
10. Tint
k
j
0
~
64
11. Sharpness
k
k
0
~
64
12. OSD Select
k
l
0
~
1
13. Remote Control
Lock Mode
14. Treble
k
r
0
~
64
15. Bass
k
s
0
~
64
16. Balance
k
t
0
~
64
17.
Color Temperature
k
u
0
~
3
k
m
0
~
1
Transmission / Receiving
Protocol
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
~
99.
When selecting Set ID ‘0’, every connected the TV is
controlled. Set ID is indicated as decimal (1
~
99) on
menu and as Hexa decimal (0x0
~
0x63) on transmission
/receiving protocol.
[DATA] : To transmit command data.
Transmit ‘FF’ data to read status of command.
* In this model, TV will not send the status during the standby mode.
[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.
* In this model, TV will not send the status during the standby mode.
* Data Format
[Command 2] : Use as command.
[Set ID] : Use the small character, if set ID is 10, it will send the ‘0’, ‘a’.
[DATA] : Use the small character, if data is 0 x ab, it will send the ‘a’, ‘b’.
[OK] : Use the large character.
* In this model, TV will send the echo, CR, LF with acknowl-
edgement message.
* When it send the power on acknowledgement message, it will
be like below.
ex) ka 01 01 (CR) (LF) a 01 OK 01 x (CR) (LF)
Error Acknowledgement
The TV transmits ACK (acknowledgement) based on this for-
mat when receiving abnormal data from non-viable functions
or communication errors.
Data1: Illegal Code
Data2: Not supported function
Data3: Wait more time
* In this model, TV will not send the status during the standby mode.
* Data Format
[Command 2] : Use as command.
[Set ID] : Use the small character, if set ID is 10, it will send the ‘0’, ‘a’.
[DATA] : Use the small character, if data is 0 x ab, it will send the ‘a’, ‘b’.
[NG] : Use the large character
* In this model, TV will send the echo, CR, LF with acknowl-
edgement message.
* When it send the power on acknowledgement message, it will
be like below.
ex) ka 01 01 (CR) (LF) a 01 NG 01 x (CR) (LF)
[Command1][Command2][
][Set ID][
][Data][Cr]
[Command2][
][Set ID][
][OK][Data][x]
[Command2][
][Set ID][
][NG][Data][x]