Rs-485 protocol – LG LVC-SX703PB/OB/MB User Manual
Page 38

RS-485 Protocol
Data Communication Format
• Data Length: 1 Byte (8 Bit)
• Start/Stop Bit: 1 BIT
• Parity Bit: None
• Baud rate: 9,600 bps
Format
*C.S. = Check Sum
• The data of total 6 bytes is transmitted from the
external RS-485 device to the camera.
• BYTE 6 : The value of Check Sum from ‘BYTE 1 ’
to ‘BYTE 5 ’.
ex) In case of transmission, 0xC5, 0x5F, 0x02,
0x00, 0x0A”
C.S. = 0xC5 +0x5F +0x02 +0x00 +0x0A = 0x0130
therefore, C.S. = 0x30
Commands
• You must send “Stop” command to camera after
sending each command described above.
The “Stop” command is “0xC5, 0x5F, 0x0C, 0x00,
ID, C.S.”.
BYTE 1
BYTE 2
BYTE 3
BYTE 4
BYTE 5
BYTE 6
0xC5
CODE1
CODE2
CODE3
CAM_ID
*C.S.
Function
Command
(external device → camera)
OSD Menu ON/OFF 0xC5, 0x5F, 0x25, 0x00, ID, C.S.
LEFT Button
0xC5, 0x5F, 0x38, 0x00, ID, C.S.
Right Button
0xC5, 0x5F, 0x39, 0x00, ID, C.S.
Up Button
0xC5, 0x5F, 0x02, 0x00, ID, C.S.
Down Button
0xC5, 0x5F, 0x04, 0x00, ID, C.S.
Menu Button
0xC5, 0x5F, 0x24, 0x00, ID, C.S.
38
LVC-SX703PC_AA4HEL_ENG_MFL-129 11/7/06 12:06 PM Page 38