13
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
10
(2) NAK reply : 15h
5HIHUWR56&FRPPXQLFDWLRQ
10
(3) Error reply : 1Ch + 0000h
5HIHUWR56&FRPPXQLFDWLRQ
10
(4) Data reply : 1Dh + xxxxh
5HIHUWR56&FRPPXQLFDWLRQ
10
(5) Authentication error reply : 1Fh + 0400h
:KHQDXWKHQWLFDWLRQHUURURFFXUUHGWKHSURMHFWRUUHWXUQVWKHHUURUFRGH
[TCP #9715]
1. Command format
7KHFRPPDQGVVRPHGDWXPDUHDGGHGWRWKHKHDGDQGWKHHQGRIWKHRQHVRI
7&3DUHXVHG
+HDGHU
'DWDOHQJWK
56&FRPPDQG
&KHFNVXP
&RQQHFWLRQ,'
î
î'
E\WHV
E\WH
E\WH
[Header]
)L[HG
[Data Length]
56&FRPPDQGVE\WHOHQJWKî')L[HG
[RS-232C commands]
5HIHUWR56&&RPPXQLFDWLRQFRPPDQGIRUPDW
10
[Check Sum]
7KLVLVWKHYDOXHWRPDNH]HURRQWKHDGGLWLRQRIWKHORZHUELWVIURPWKHKHDGHU
WRWKHFKHFNVXP
[Connection ID]
5DQGRPYDOXHIURPWR7KLVYDOXHLVDWWDFKHGWRWKHUHSO\GDWD
NOTE
2SHUDWLRQFDQQRWEHJXDUDQWHHGZKHQWKHSURMHFWRUUHFHLYHVDQ
XQGH¿QHGFRPPDQGRUGDWD
3URYLGHDQLQWHUYDORIDWOHDVWPVEHWZHHQWKHUHVSRQVHFRGHDQGDQ\
RWKHUFRGH
&RPPDQGVDUHQRWDFFHSWHGGXULQJZDUPXS