LG BG630 Owners Manual - Page 58

Communication Protocol, Data Structure

Page 58 highlights

58 SERIAL COMMUNICATION FUNCTION Communication Parameter Setup • Baud Rate: 9600 bps (UART) • Data Length: 8 bit • Parity: none • Stop bit: 1 bit • Flow Control: none • Communication code: ASCII code Communication Protocol 1. Transmission [Command1][Command2][ ][Set ID][ ][Data] [Cr] * [Command1]: The first command to control the projector (k. j, x, m, n ASCII code, 1 Character) * [Command2]: The second command to control the projector (ASCII code, 1 character) * [Set ID]: You can adjust the set ID to choose desired monitor ID number in option menu. Adjustment range is 1 to 99. When selecting Set ID '0', every connected set is controlled. Set ID is indicated as decimal (1 to 99) on menu and as Hexa decimal (0x0to 0x63) on transmission/receiving protocol. * [Data]: To transmit command data (hexadecimal). Transmit 'FF' data to read status of command. * If the data is 'FF', it means data read mode. * [Cr]: C arriage Return It corresponds to ASCII code '0x0D'. *[ ] : ASCII code 'space (0x20) 2. OK Acknowledgement [Command2][ ][Set ID][ ][OK][Data][x] * The set 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. 3. Error Acknowledgement [Command2][ ][Set ID][ ][NG][Data][x] * If a set receives an abnormal piece of data such as a non-supported function or there is a communication error, it returns ACK in the above format. Data [00]: illegal code (This command is not supported.) Data Structure 10 16 10 16 10 16 10 16 10 16 10 16 10 16 10 16 10 16 10 16 0 00 1 01 11 0B 21 15 31 1F 41 29 51 33 61 3D 71 47 81 51 91 5B 2 02 12 0C 22 16 32 20 42 2A 52 34 62 3E 72 48 82 52 92 5C 3 03 13 0D 23 17 33 21 43 2B 53 35 63 3F 73 49 83 53 93 5D 4 04 14 0E 24 18 34 22 44 2C 54 36 64 40 74 4A 84 54 94 5E 5 05 15 0F 25 19 35 23 45 2D 55 37 65 41 75 4B 85 55 95 5F 6 06 16 10 26 1A 36 24 46 2E 56 38 66 42 76 4C 86 56 96 60 7 07 17 11 27 1B 37 25 47 2F 57 39 67 43 77 4D 87 57 97 61 8 08 18 12 28 1C 38 26 48 30 58 3A 68 44 78 4E 88 58 98 62 9 09 19 13 29 1D 39 27 49 31 59 3B 69 45 79 4F 89 59 99 63 10 0A 20 14 30 1E 40 28 50 32 60 3C 70 46 80 50 90 5A 100 64

  • 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

58
SERIAL COMMUNICATION FUNCTION
Communication
Protocol
1. Transmission
[Command1][Command2][ ][Set ID][ ][Data]
[Cr]
* [Command1]: The first command to control the projector
(k. j, x, m, n ASCII code, 1 Character)
* [Command2]: The second command to control the
projector (ASCII code, 1 character)
* [Set ID]: You can adjust the set ID to choose desired
monitor ID number in option menu. Adjustment
range is 1 to 99. When selecting Set ID ‘0’,
every connected set is controlled.
Set ID is indicated as decimal (1 to 99) on menu
and as Hexa decimal (0x0to 0x63) on
transmission/receiving protocol.
* [Data]: To transmit command data (hexadecimal).
Transmit ‘FF’ data to read status of command.
* If the data is ‘FF’, it means data read mode.
* [Cr]: Carriage Return
It corresponds to ASCII code ‘0x0D’.
*[ ] : ASCII code ‘space (0x20)
Communication Parameter Setup
Baud Rate: 9600 bps (UART)
Data Length: 8 bit
Parity: none
Stop bit: 1 bit
Flow Control: none
Communication code: ASCII code
2. OK Acknowledgement
[Command2][ ][Set ID][ ][OK][Data][x]
* The set 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.
3. Error Acknowledgement
[Command2][ ][Set ID][ ][NG][Data][x]
* If a set receives an abnormal piece of data such as
a non-supported function or there is a
communication error, it returns ACK in the above
format.
Data [00]: illegal code
(This command is not supported.)
Data Structure
10
16
10
16
10
16
10
16
10
16
10
16
10
16
10
16
10
16
11
0B
21
15
31
1F
41
29
51
33
61
3D
71
47
81
51
91
5B
12
0C
22
16
32
20
42
2A
52
34
62
3E
72
48
82
52
92
5C
13
0D
23
17
33
21
43
2B
53
35
63
3F
73
49
83
53
93
5D
14
0E
24
18
34
22
44
2C
54
36
64
40
74
4A
84
54
94
5E
15
0F
25
19
35
23
45
2D
55
37
65
41
75
4B
85
55
95
5F
16
10
26
1A
36
24
46
2E
56
38
66
42
76
4C
86
56
96
60
17
11
27
1B
37
25
47
2F
57
39
67
43
77
4D
87
57
97
61
18
12
28
1C
38
26
48
30
58
3A
68
44
78
4E
88
58
98
62
19
13
29
1D
39
27
49
31
59
3B
69
45
79
4F
89
59
99
63
20
14
30
1E
40
28
50
32
60
3C
70
46
80
50
90
5A
100
64
10
16
0
00
1
01
2
02
3
03
4
04
5
05
6
06
7
07
8
08
9
09
10
0A