Text preview for : LG Monitor M4200C_RS232.pdf part of LG Flatron M4200C Service Manual - Specs - User - RS232



Back to : LG Monitor-TV LCD M4200C | Home

RS - 232C GUIDE
M3200C/M3700C/M4200C/M4600C

To remote control the Product

RS-232C

Controlling the Multiple Product

Use this method to connect several products to a single PC. You can control several products at a time by connecting them to a single PC.

Connecting the cable
Connect the RS-232C cable as shown in the picture. * The RS-232C protocol is used for communication between the PC and product. You can turn the product on/off, select an input source or adjust the OSD menu from your PC.

RS-232C Cable (not included)

PC

Product

Communication Parameter
vv v v vv

Baud Rate : 9600bps (UART) Data Length : 8bits Parity Bit : None Stop Bit : 1bit Flow Control : None Communication Code : ASCII code

A1

01. Power 02. Input Select 03. Aspect Ratio 04. Screen Mute 05. Volume Mute 06. Volume Control 07. Contrast 08. Brightness 09. Color 10. Tint 11. Sharpness 12. OSD Select 13. Remote Lock On/Off 14. PIP/PBP/POP On/Off 15. PIP Position 16. Balance 17. ACC 18. PIP/PBP/POP SOURCE 19. Auto Configure 20. Key 21. Tiling Mode 22. Tile H Position 23. Tile V Position 24. Tile H Size 25. Tile V Size 26. Tile ID Set 27. Elapsed time return * 28. Light Sensor value return * 29. Temperatur value return * 30. Fan On/Off * 31. Lamp fault check * : Optional

COMMAND1 k k k k k k k k k k k k k k k k k k j m d d d d d d d d d d d

COMMAND2 a b c d e f g h i j k l m n q t u y u c d e f g h i l m n o p

DATA(Hexa) 00H - 01H 02H - 08H 01H - 06H 00H - 01H 00H - 01H 00H - 64H 00H - 64H 00H - 64H 00H - 64H 00H - 64H 00H - 64H 00H - 01H 00H - 01H 00H - 03H 00H - 03H 00H - 64H 00H - 03H 00H - 08H 01H Key Code 00H - 0FH 00H - 64H 00H - 64H 00H - 64H 00H - 64H 00H - 63H FFH FFH FFH 00H - 01H FFH

A2

ENGLISH

Command Reference List

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
Transmission [Command1][Command2][ ][Set ID][ ][Data][Cr] * [Command 1]: First command. (j or k) * [Command 2]: Second command. * [Set ID]: You can adjust the set ID to choose desired product ID number in Special menu. Adjustment range is 0 ~ 99. When selecting Set ID `0', every connected TV set is controlled. Set ID is indicated as decimal (0~99) on menu and as Hexa decimal (0x0~0x64) 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 Product 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] * The Product transmits ACK (acknowledgement) based on this format when receiving abnormal data from non-viable functions or communication errors. Data 1: Illegal Code 2: Not supported function 3: Wait more time

A3

Transmission / Receiving Protocol
01. Power (Command : a) To control Power On/Off of the Set. Transmission
v

[k][a][ ][Set ID][ ][Data][Cr] Data 0 : Power Off Acknowledgement [a][ ][Set ID][ ][OK][Data][x] To show the status of Power On/Off. Transmission [k][a][ ][Set ID][ ][FF][Cr] Data 0 : Power Off Acknowledgement [a][ ][Set ID][ ][OK][Data][x] * The Product 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. 1 : Power On
v

1 : Power On

02. Input Select(Command : b) (Main Picture Input) To select input source for the Set. You can also select an input source using the SOURCE button on the remote control. Transmission
v

[k][b][ ][Set ID][ ][Data][Cr] Data 2 : AV 3 : S-Video 4 : Component 1 5 : Component 2 Acknowledgement [b][ ][Set ID][ ][OK][Data][x] 6 : RGB1 7 : RGB2 8 : DVI

A4

ENGLISH

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
03. Aspect Ratio(Command : c) (Manin picure format) To adjust the screen format. You can also adjust the screen format using the ARC (Aspect Ratio Control) button on remote control or in the Screen menu. Transmission [k][c][ ][Set ID][ ][Data][Cr] Data 1 : 4:3 2 : Full 3 : Spectacle 4 : Zooml 5 : Zoom2 6 : 1:1(PC) Acknowledgement [c][ ][Set ID][ ][OK][Data][x]
v

04. Screen Mute(Command : d) To select screen mute on/off. Transmission [k][d][ ][Set ID][ ][Data][Cr] Data 0 : Screen mute off (Picture on) 1 : Screen mute on (Picture off) Acknowledgement [d][ ][Set ID][ ][OK][Data][x]
v

A5

Transmission / Receiving Protocol
05. Volume Mute(Command : e) To control On/Off of the Volume Mute. Transmission [k][e][ ][Set ID][ ][Data][Cr] Data 0 : Volume Mute On (Volume Off) 1 : Volume Mute Off (Volume On) Acknowledgement [e][ ][Set ID][ ][OK][Data][x] Data 0 : Volume Mute On (Volume Off) 1 : Volume Mute Off (Volume On) 06. Volume Control(Command : f) To adjust Volume . Transmission [k][f][ ][Set ID][ ][Data][Cr] Data Min : 00H ~ Max : 64H (Hexadecimal code) Acknowledgement [f][ ][Set ID][ ][OK][Data][x] Data Min : 00H ~ Max : 64H
v v

A6

ENGLISH

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
07. Contrast(Command : g) To adjust screen contrast. You can also adjust the contrast in the Picture menu. Transmission [k][g][ ][Set ID][ ][Data][Cr] Data Min : 00H ~ Max : 64H · Refer to `Real data mapping' as shown below. Acknowledgement [g][ ][Set ID][ ][OK][Data][x] * Real data mapping 0 : Step 0 : A : Step 10 : F : Step 15 10 : Step 16 : 64 : Step 100 08. Brightness(Command : h) To adjust screen brightness. You can also adjust the brightness in the Picture menu. Transmission Data Min : 00H ~ Max : 64H · Refer to `Real data mapping' as shown below. Acknowledgement [h][ ][Set ID][ ][OK][Data][x] * Real data mapping 0 : Step : A : Step 10 : F : Step 15 10 : Step 16 : 64 : Step 100
A7
v v

[k][h][ ][Set ID][ ][Data][Cr]

09. Color(Command : i) (Video only) To adjust the screen color. You can also adjust the color in the Picture menu. Transmission [k][i][ ][Set ID][ ][Data][Cr] Data Min : 00H ~ Max : 64H (Hexadecimal code) Acknowledgement [i][ ][Set ID][ ][OK][Data][x] Data Min : 00H ~ Max : 64H
v

10. Tint(Command : j) (Video only) To adjust the screen tint. You can also adjust the tint in the Picture menu. Transmission [k][j][ ][Set ID][ ][Data][Cr] Data Red: 00H ~ Green: 64H (Hexadecimal code) Acknowledgement [j][ ][Set ID][ ][OK][Data][x] Data Red: 00H ~ Green: 64H
v

* Tint : -50 ~ +50

A8

ENGLISH

Transmission / Receiving Protocol

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
11. Sharpness(Command : k) (Video only) To adjust the screen Sharpness. You can also adjust the sharpness in the Picture menu. Transmission [k][k][ ][Set ID][ ][Data][Cr] Data Min : 00H ~ Max : 64H (Hexadecimal code) Acknowledgement [k][ ][Set ID][ ][OK][Data][x] Data
v v

Min : 00H ~ Max : 64H

12. OSD Select(Command : l) To control OSD on/off to the set. Transmission [k][l][ ][Set ID][ ][Data][Cr] Data 0 : OSD Off Acknowledgement [l][ ][Set ID][ ][OK][Data][x] Data 0 : OSD Off
v

1 : OSD On

1 : OSD On

13. Remote Lock On/Off(Command : m) To control Remote Lock on/off to the set. Transmission [k][m][ ][Set ID][ ][Data][Cr] Data 0 : Remote Lock Off Acknowledgement [m][ ][Set ID][ ][OK][Data][x] Data 0 : Remote Lock Off 1 : Remote Lock On 1 : Remote Lock On

A9

Transmission / Receiving Protocol
14. PIP/PBP/POP On/Off(Command : n) To control PIP/PBP/POP On/Off of the Set. Transmission [k][n][ ][Set ID][ ][Data][Cr] Data 0 : OFF 1 : PIP 2 : PBP 3 : POP Acknowledgement [n][ ][Set ID][ ][OK][Data][x] Data 0 : OFF 1 : PIP 2 : PBP 3 : POP 15. PIP Position(Command : q) To adjust PIP position. Transmission [k][q][ ][Set ID][ ][Data][Cr] Data 0 : Bottom of the right side on screen 1 : Bottom of the left side on screen 2 : Top of the left side on screen 3 : Top of the right side on screen Acknowledgement [q][ ][Set ID][ ][OK][Data][x] Data 0 : Bottom of the right side on screen 1 : Bottom of the left side on screen 2 : Top of the left side on screen 3 : Top of the right side on screen
v v

A10

ENGLISH

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
16. Balance(Command : t) To adjust the sound balance. Transmission
v

[k][t][ ][Set ID][ ][Data][Cr] Data Min : 00H ~ Max : 64H (Hexadecimal code) Acknowledgement [t][ ][Set ID][ ][OK][Data][x] Data Min : 00H ~ Max : 64H * Balance : -50 ~ +50 17. ACC(Command : u) To adjust the screen color temperature. Transmission
v

[k][u][ ][Set ID][ ][Data][Cr] Data 0 : Normal (9300K) 1 : Cool 2 : Warm (6500K) 3 : User Acknowledgement [u][ ][Set ID][ ][OK][Data][x] Data 0 : Normal (9300K) 1 : Cool 2 : Warm (6500K) 3 : User 4 : Warm (3600K) PC : 0, 2, 3, 4 Video : 0, 1, 2 4 : Warm (3600K) PC : 0, 2, 3, 4 Video : 0, 1, 2

A11

Transmission / Receiving Protocol
18. PIP/PBP/POP SOURCE(Command : y) To select the sub-screen source. Transmission
v v

[k][y][ ][Set ID][ ][Data][Cr] Data 2 : AV 3 : S-Video 4 : Component 1 5 : Component 2 Acknowledgement [y][ ][Set ID][ ][OK][Data][x] Data 2 : AV 3 : S-Video 4 : Component 1 5 : Component 2 6 : RGB1 7 : RGB2 8 : DVI 6 : RGB1 7 : RGB2 8 : DVI

19. Auto Configure(Command: j u) To adjust picture position and minimize image shaking automatically. it works only in RGB(PC) mode. Transmission [j][u][ ][Set ID][ ][Data][Cr] Data 1 : To set Acknowledgement [u][ ][Set ID][ ][OK][Data][x]
v

20. Key(Command : m c) To send IR remote key code. Transmission [m][c][ ][Set ID][ ][Data][Cr] Data Key code : Refer to page A18. Acknowledgement [c][ ][Set ID][ ][OK][Data][x]

A12

ENGLISH

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
21. Tiling Mode(Command : d d) Change a Tiling Mode. Transmission
v

[d][d][][Set ID][][Data][x]

Data
00 12 13 14 ... 44

Description
Tiling mode is off. 1 x 2 mode(column x row) 1 x 3 mode 1 x 4 mode ... 4 x 4 mode

* The data can not be set to 0X or X0 except 00. Acknowledgement [d][][00][][OK/NG][Data][x] 22. Tile H Position(Command : d e) To set the horizontal position . Transmission [d][e][][Set ID][][Data][x] * The data range is from 00 to 64(in Hex). Acknowledgement [e][][Set ID][][OK/NG][Data][x]
v

A13

Transmission / Receiving Protocol
23. Tile V Position(Command : d f) To set the Vertical position. Transmission [d][f][][Set ID][][Data][x] * The data range is from 00 to 64(in Hex). Acknowledgement [f][][Set ID][][OK/NG][Data][x]
v

24. Tile H Size(Command : d g) To set the Horizontal size. Transmission [d][g][][Set ID][][Data][x] * The data range is from 00 to 64(in Hex). Acknowledgement [g][][Set ID][][OK/NG][Data][x]
v v

25. Tile V Size(Command : d h) To set the Vertical size. Transmission [d][h][][Set ID][][Data][x] * The data range is from 00 to 64(in Hex). Acknowledgement [h][][Set ID][][OK/NG][Data][x]

A14

ENGLISH

RS-232C

Controlling the Multiple Product

Transmission / Receiving Protocol
26. Tile ID Set(Command : d i) To assign the Tile ID for Tiling function . Transmission [d][i][][Set ID][][Data][x] * The data range is from 00 to 00 x 10 tile mode. Acknowledgement [i][][Set ID][][OK/NG][Data][x]
v v

27. Elapsed time return(Command : d l) To read the elapsed time. Transmission [d][l][][Set ID][][Data][x] * The data is always FF(in Hex). Acknowledgement [l][][Set ID][][OK/NG][Data][x]

* 28. Light Sensor value Return(Command : d m) - Optional To read the light sensor value for adjusting the product brightness depending on the surrounding brightness . Transmission [d][m][][Set ID][][Data][x] * The data is always FF(in Hex).
v

Acknowledgement [m][][Set ID][][OK/NG][Data][x]

A15

*29. Temperature value Return(Command : d n) - Optional To read the inside temperature value. Transmission [d][n][][Set ID][][Data][x] * The data is always FF(in Hex). Acknowledgement [n][][Set ID][][OK/NG][Data][x] Data are 1 byte long in Hex ASCII format.
v

*30. Fan On/Off(Command : d o) - Optional To control Fan On/Off to set. Transmission [d][o][][Set ID][][Data][x] Data 0 : Fan Off 1 : Fan On Acknowledgement [o][][Set ID][][OK/NG][Data][x]
v

*31. Lamp fault Check(Command : d p) - Optional To check lamp fault. Transmission [d][p][][Set ID][][Data][x] * The data is always FF(in Hex). Acknowledgement [p][][Set ID][][OK/NG][Data][x]
v

A16

ENGLISH

Transmission / Receiving Protocol

RS-232C

IR Codes
Remote Control IR Code

How to connect Connect your wired remote control to Remote Control port on the Product.

v v v v v v v

Output waveform
single pulse, modulated with 37.917KHz signal at 455KHz Tc Carrier frequency FCAR = 1/Tc = fosc/12 Duty ratio = T1/Tc = 1/3

T1

Configuration of frame
· 1st frame
Low custom code

Lead code

High custom code

Data code

Data code

C0 C1 C2 C3 C4 C5 C6 C7 C0 C1 C2 C3 C4 C5 C6 C7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7

· Repeat frame

Repeat code

Tf

Lead code

9ms

4.5ms

0.55ms

Repeat code
9ms 2.25ms

Bit description · Bit "0"
0.56ms 1.12ms

· Bit "1"
0.56ms 2.24ms

Frame interval : Tf · The waveform is transmitted as long as a key is depressed.
Tf Tf

Tf=108ms@455KHz

A17

R/C Button R/C Button R/C Button R/C Button R/C Button(Power On/Off) Discrete IR Code(Only Power On) Discrete IR Code(Only Power Off) R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button Discrete IR Code(Input AV Selection) Discrete IR Code(Input S-Video Selection) Discrete IR Code(Input Component1 Selection) Discrete IR Code(Input Component2 Selection) Discrete IR Code(Input DVI Selection) Discrete IR Code(Input RGB Selection) R/C Button R/C Button R/C Button R/C Button R/C Button R/C Button Discrete IR Code(Only 4:3 mode) Discrete IR Code(Only Full mode) Discrete IR Code(Only Zoom mode) Discrete IR Code

01 02 03 08 C4 C5 09 10 11 12 13 14 15 16 17 18 19 98 5A D8 BF D4 C6 D5 0E 43 44 60 63 79 76 77 AF 99

w VOL( ) POWER ON/OFF POWER ON POWER OFF MUTE Number Key 0 Number Key 1 Number Key 2 Number Key 3 Number Key 4 Number Key 5 Number Key 6 Number Key 7 Number Key 8 Number Key 9 SOURCE AV S-Video Component1 Component2 DVI RGB SLEEP MENU SET PIP SWAP ARC ARC(4:3) ARC(Full) ARC(ZOOM) AUTO CONFIG v VOL( ) v

A18

ENGLISH

Code(Hexa) Function v 00

Note