APPENDIX

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~ 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.

[Cr] : Carriage Return

ASCII code ‘0x0D’

[ ] : ASCII code ‘space (0x20)’

*In this model, TV will not send the status during the standby mode.

Error Acknowledgement

[Command2][ ][Set ID][ ][NG][Data][x]

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 com- puter

*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 0xab, it will send

the ‘a’, ‘b’

[OK] : use the large character

*in this model, TV will send the echo, CR, LF with ack mes-

sage.

When it send the power on ack message, it will be like below.

Ex) ka 01 01(CR)(LF)a 01 OK01x(CR)(LF)

[Data] : use the small character, if data is 0xab, it

APPENDIX

The TV transmits ACK (acknowledgement) based on this format when receiving abnormal data from non-viable func- tions or communication errors.

Data1: Illegal Code

Data2: Not supported function

Data3: Wait more time

will send the ‘a’, ‘b’

[NG] : use the large character

*in this model, TV will send the echo, CR, LF with

ack message.

When it send the power on ack message, it will be

like below.

*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’

Ex) ka 01 01(CR)(LF)a 01 NG01x(CR)(LF)

94

Page 96
Image 96
LG Electronics 47LBX, 42LBX, 52LBX owner manual Transmission / Receiving Protocol