15
Command Control via the Network (continued)
Command control settings
[TCP #23]
1. Command format
6DPHDV56&FRPPXQLFDWLRQUHIHUWR56&&RPPXQLFDWRQFRPPDQGIRUPDW
2. Response code / Error code
KVKRZVKH[DGHFLPDO
)RXURIWKHUHVSRQVHHUURUFRGHXVHGIRU7&3DUHWKHVDPHDV56&
&RPPXQLFDWLRQa2QHDXWKHQWLFDWLRQHUURUUHSO\LVDGGHG
(1) ACK reply : 06h
5HIHUWR56&FRPPXQLFDWLRQ
(
11
).
(2) NAK reoly : 15h
5HIHUWR56&FRPPXQLFDWLRQ
(
11
).
(3) Error reply : 1Ch + 0000h
5HIHUWR56&FRPPXQLFDWLRQ
(
11
).
(4) Data reply : 1Dh + xxxxh
5HIHUWR56&FRPPXQLFDWLRQ
(
11
).
(5) Authentication error reply : 1Fh + 0400h
:KHQDXWKHQWLFDWLRQHUURURFFXUUHGWKHSURMHFWRUUHWXUQVWKHHUURUFRGH
[TCP #9715]
1. Command format
7KHFRPPDQGVVRPHGDWXPDUHDGGHGWRWKHKHDGDQGWKHHQGRIWKHRQHVRI
7&3DUHXVHG
Header
'DWDOHQJWK
56&FRPPDQG
&KHFNVXP
&RQQHFWLRQ,'
0×02
î'
13 bytes
1 byte
1 byte
[Header]
)L[HG
[Data Length]
56&FRPPDQGVE\WHOHQJWKî')L[HG
[RS-232C commands]
5HIHUWR56&&RPPXQLFDWLRQFRPPDQGIRUPDW
(
11
)
.
[Check Sum]
7KLVLVWKHYDOXHWRPDNH]HURRQWKHDGGLWLRQRIWKHORZHUELWVIURPWKHKHDGHU
WRWKHFKHFNVXP
[Connection ID]
5DQGRPYDOXHIURPWR7KLVYDOXHLVDWWDFKHGWRWKHUHSO\GDWD
NOTE
2SHUDWLRQFDQQRWEHJXDUDQWHHGZKHQWKHSURMHFWRUUHFHLYHVDQ
XQGH¿QHGFRPPDQGRUGDWD
3URYLGHDQLQWHUYDORIDWOHDVWPVEHWZHHQWKHUHVSRQVHFRGHDQGDQ\
RWKHUFRGH
&RPPDQGVDUHQRWDFFHSWHGGXULQJZDUPXS