Ȩ > °í°´Áö¿ø > Q & A
¾È»ó¿ì
-
2018-12-11 ¿ÀÀü 9:45:46 571
rs232c Åë½Å ¹®ÀÇ µå¸³´Ï´Ù.
¿ì¼± ½Ã½ºÅÛ¿¡¼­ baudrate, port, stopbit, bytesize´Â ¸ÂÃß°í, Á¦°¡ ¾Ë±â·Ð ÀÌ ÄÉÀ̺íÀÌ µ¿ºÀµÇ¾î ÀÖ´ø rs232cÄÉÀ̺í·Î ±â¾ïÇÕ´Ï´Ù.

¾Æ·¡ ´ë·Î send¸¦ Çϸé
0x05(on) -> 0x02(strat) -> 0x08(pattern) -> 0x00,0x00,0x37(007) -> 0x03(end) -> 0x04(off)


¾Æ·¡Ã³·³ ¸Å send¸¶´Ù °¢°¢ ÀÀ´äÀÌ ¿À°í Á¦³Ê·¹ÀÌÅÍ´Â ÀǵµÇÑ´ë·Î µ¿ÀÛÇÏÁö ¾Ê½À´Ï´Ù.
b'\x02' -> b'7' -> b'\x01' -> b'\x00'-> b'2' -> b'2' -> b'5' -> b'0'

Á¦³Ê·¹ÀÌÅʹ óÀ½¿¡ 0x05¸¦ ³¯¸®¸é ÇöÀç ¼±ÅÃµÈ Ç׸ñ(timeÀ̳ª, patternµî..)ÀÌ 0À¸·Î ¹Ù²î°í ±× µÚ·Î º¯È­°¡ ¾ø½À´Ï´Ù. (MSPG-6100)
mspg-7100ÀÇ °æ¿ì °¡²û FUNC·Î À̵¿µÇ±âµµ ÇÕ´Ï´Ù.

Ãß°¡ °¡À̵å ÇØÁÖ½Ç ¼ö ÀÖÀ¸¸é ¸ÞÀÏÀ̳ª ¿¬¶ô ºÎŹµå¸³´Ï´Ù.
sangwoo.ahn@lge.com
010-4908-4318