![background image](/i/lg/157830/lg-42lg5010/h/lg-42lg5010-113.png)
111
œ–»ÀŒ
Δ≈Õ»≈
œ‡‡ÏÂÚ˚ Ó·ÏÂ̇ ‰‡ÌÌ˚ÏË
■
—ÍÓÓÒÚ¸ ‰‚Ó˘ÌÓÈ Ô‰‡˜Ë: 9600 ·ËÚ/ÒÂÍ (UART)
■
–‡Áˇ‰ÌÓÒÚ¸: 8 ·ËÚ
■
◊ÂÚÌÓÒÚ¸: ÌÂÚ
■
—ÚÓÔÓ‚˚È ·ËÚ: 1 ·ËÚ
■
KÓ‰ Ó·ÏÂ̇ ‰‡ÌÌ˚ÏË: ÍÓ‰ ASCII
■
»ÒÔÓθÁÛÈÚ ÍÓÒÒ-͇·Âθ (‚ÂÒË‚Ì˚È).
01.
œËÚ‡ÌËÂ
k a
00
~
01
02.
KÓ˝ÙÙˈËÂÌÚ
k
c
—Ï. ÒÚ. 112
ÔÓÔÓˆËÓ̇θÌÓÒÚË
03.
¬˚Íβ˜ÂÌË ˝Í‡Ì‡
k d
00
~
01
04.
¬˚Íβ˜ÂÌË Á‚Û͇
k e
00
~
01
05.
”Ô‡‚ÎÂÌË „ÓÏÍÓÒÚ¸˛
k f
00
~
64
06.
KÓÌÚ‡ÒÚÌÓÒÚ¸
k g
00
~
64
07.
flÍÓÒÚ¸
k h
00
~
64
08.
÷‚ÂÚ
k i
00
~
64
09.
ŒÚÚÂÌÍË
k j
00
~
64
10.
◊ÂÚÍÓÒÚ¸
k k
00
~
64
11.
¬˚·Ó ÏÂÌ˛ OSD
k l
00
~
01
12.
¡ÎÓÍËӂ͇ ‰ËÒڇ̈Ë
k m
00
~
01
-ÓÌÌÓ„Ó ÛÔ‡‚ÎÂÌˡ
13.
¡‡Î‡ÌÒ
k t
00
~
64
14.
÷‚ÂÚÓ‚‡ˇ ÚÂÏÔ‡ÚÛ‡
k u
00
~
02
15.
ÕÂÔ‡‚ËθÌÓ ÒÓÒÚÓˇÌËÂ
k
z
00
~
a
16.
ÃÂÚÓ‰ ISM
j
p
—Ï. ÒÚ. 114
17.
›Ì„ÓÒ·ÂÂÊÂÌËÂ
j
q
00
~
04
18.
¿‚ÚÓχÚ˘ÂÒÍÓÂ
j
u
01
ÍÓÌÙË„ÛËÓ‚‡ÌËÂ
19.
›Í‚‡Î‡ÈÁÂ
j
v
—Ï. ÒÚ.
114
20.
KÓχ̉‡ ̇ÒÚÓÈÍË
m
a
—Ï. ÒÚ.
114
21.
ƒÓ·‡‚ÎÂÌËÂ/œoÔÛÒÍ Í‡Ì‡Î‡
m
b
00
~
01
21.
Kβ˜
m
c
KÓ‰ Í·‚˯Ë
23.
KÓÌÚÓθ̇ˇ
m g
00
~
64
ÔÓ‰Ò‚ÂÚ͇
24.
¬˚·Ó ‚ıÓ‰ÌÓ„Ó
x
b
—Ï. ÒÚ. 115
Ò˄̇· (ÓÒÌÓ‚ÌÓ„Ó)
—ÔËÒÓÍ ÍÓχ̉
* œË ̇ÒÚÓÈÍ 15ñ24 ÏÂÌ˛ ̇ ˝Í‡Ì Ì ÓÚÓ·‡Ê‡ÂÚÒˇ.
KÓχ̉‡
1
KÓχ̉‡
2
ƒ‡ÌÌ˚Â
(¯ÂÒÚ̇‰ˆ‡ÚË
˘Ì˚Â)
œÂ‰‡˜‡
*
[Command 1]: œÂ‚‡ˇ ÍÓχ̉‡ (k, j, m ËÎË x)
*
[Command 2]: ¬ÚÓ‡ˇ ÍÓχ̉‡
*
[Set ID]
:
ÃÓÊÌÓ Ì‡ÒÚÓËÚ¸ ˉÂÌÚËÙË͇ÚÓ
ÛÒÚÓÈÒÚ‚‡ (Set ID) Ú‡ÍËÏ Ó·‡ÁÓÏ,
˜ÚÓ·˚ ‚˚·Ë‡Ú¸ ÌÂÓ·ıÓ‰ËÏ˚È
ˉÂÌÚËÙË͇ˆËÓÌÌ˚È ÌÓÏÂ
ÏÓÌËÚÓ‡ ‚ ÏÂÌ˛ Special (—
ÔˆˇθÌÓÂ). ƒË‡Ô‡ÁÓÌ Ì‡ÒÚÓÈÍË 1-
99. ≈ÒÎË ‚˚·‡ÌÌ˚È ID ÛÒÚÓÈÒÚ‚‡
‡‚ÂÌ '0', ÍÓÌÚÓÎËÛ˛ÚÒˇ ‚ÒÂ
ÔÓ‰Íβ˜ÂÌÌ˚ ÚÂ΂ËÁÓ˚. ID
ÛÒÚÓÈÒÚ‚‡ ÓÚÓ·‡Ê‡ÂÚÒˇ
‰ÂÒˇÚ˘Ì˚Ï ˜ËÒÎÓÏ (1-99) ‚ ÏÂÌ˛ Ë
¯ÂÒÚ̇‰ˆ‡ÚˢÌ˚Ï (0x0-0x63) - ‚
ÔÓÚÓÍÓΠÔ‰‡˜Ë/ÔËÂχ.
* [DATA] :
ƒÎˇ Ô‰‡˜Ë ‰‡ÌÌ˚ı ÍÓχ̉:
œÂ‰‡ÂÚ ‰‡ÌÌ˚ 'FF', ˜ÚÓ·˚
ÔÓ˜ËÚ‡Ú¸ ÒÚ‡ÚÛÒ ÍÓχ̉˚.
*
[Cr]
:
¬ÓÁ‚‡Ú ͇ÂÚÍË
KÓ‰ ASCII '0x0D'
*
[ ]
:
KÓ‰ ASCII 'ÔÓ·ÂÎ (0x20)'
[ÍÓχ̉‡1][Command2][ ][Set ID][ ][Data][Cr]
œÓ‰Ú‚ÂʉÂÌË OK
* KÓ„‰‡ ÏÓÌËÚÓ ÔËÌËχÂÚ Ó·˚˜Ì˚ ‰‡ÌÌ˚Â, ÓÌ
Ô‰‡ÂÚ ACK (ÔÓ‰Ú‚ÂʉÂÌË ÔËÂχ) ̇
ÓÒÌÓ‚Â ˝ÚÓ„Ó ÙÓχÚ. ≈ÒÎË ‰‡ÌÌ˚ ÔÓÎÛ˜ÂÌ˚ ‚
ÂÊËÏ ˜ÚÂÌˡ, ÓÚÓ·‡Ê‡ÂÚÒˇ Ëı ÚÂÍÛ˘ËÈ ÒÚ‡ÚÛÒ.
≈ÒÎË ‰‡ÌÌ˚ ‚ ÂÊËÏ Á‡ÔËÒË, ‚ÓÁ‚‡˘‡˛ÚÒˇ
‰‡ÌÌ˚ ÍÓÏÔ¸˛Ú‡.
[ÍÓχ̉‡2][ ][Set ID][ ][OK][Data][x]
œÓ‰Ú‚ÂʉÂÌË ӯ˷ÍË
* KÓ„‰‡ ÏÓÌËÚÓ ÔËÌËχÂÚ ÌÂÔ‡‚ËθÌ˚Â
‰‡ÌÌ˚ ÓÚ ÌÂÔË„Ó‰Ì˚ı ÙÛÌ͈ËÈ ËÎË ÓÚ Ó¯Ë·ÓÍ
ÔË Ó·ÏÂÌ ‰‡ÌÌ˚ÏË, ÓÌ Ô‰‡ÂÚ ACK
(ÔÓ‰Ú‚ÂʉÂÌËÂ) ̇ ÓÒÌÓ‚Â ˝ÚÓ„Ó ÙÓχڇ.
[ÍÓχ̉‡2][ ][Set ID][ ][NG][Data][x]
œÓÚÓÍÓÎ Ô‰‡˜Ë/ÔËÂχ