7
RS-232C Communication
RS-232C Communication
6
7
8
9
12345
6
7
8
9
12345
&21752/SRUW 56&FDEOH&URVV 56&SRUW
RIWKHSURMHFWRU RIWKHFRPSXWHU
&'
5' 5'
7' 7'
'75
*1' *1'
'65
RTS (7) (7) RTS
&76 '76
5,
Connecting the cable
1.
7XUQRIIWKHSURMHFWRUDQGWKHFRPSXWHU
2.
&RQQHFWWKH&21752/SRUWRIWKHSURMHFWRUZLWKD56&SRUWRI
WKHFRPSXWHUE\D56&FDEOHFURVV8VHWKHFDEOHWKDWIXOILOOVWKH
VSHFL¿FDWLRQVKRZQLQWKHSUHYLRXVSDJH
3.
7XUQWKHFRPSXWHURQDQGDIWHUWKHFRPSXWHUKDVVWDUWHGXSWXUQWKH
SURMHFWRURQ
Communications setting
ESV1
1. Protocol
&RQVLVWRIKHDGHUE\WHVFRPPDQGGDWDE\WHV
2. Header
%(()&5&BORZ&5&BKLJK
&5&BORZ/RZHUE\WHRI&5&ÀDJIRUFRPPDQGGDWD
&5&BKLJK8SSHUE\WHRI&5&ÀDJIRUFRPPDQGGDWD
3. Command data
&RPPDQGGDWDFKDUW
E\WHB E\WHB E\WHB E\WHB E\WHB E\WHB
Action 7\SH Setting code
ORZ KLJK ORZ KLJK ORZ KLJK
$FWLRQE\WHB
Action &ODVVL¿FDWLRQ Content
1 SET &KDQJHVHWWLQJWRGHVLUHGYDOXH
2 GET 5HDGSURMHFWRULQWHUQDOVHWXSYDOXH
4 ,1&5(0(17 ,QFUHPHQWVHWXSYDOXHE\
5 '(&5(0(17 'HFUHPHQWVHWXSYDOXHE\
6 EXECUTE Run a command.