Basic Principles of Serial Data Transmission
2.5 Data Transmission with the RK 512 Computer Connection
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01
53
2.5.1
Sending Data with RK 512
Sending data with RK 512
The figure below shows the transmission sequence when sending data with a response
message frame using the RK 512 computer link.
&3
(00H)
(00H)
Data offset
DW01 (01H)
50 DW
(32H)
●
●
(00H)
(00H)
(00H)
STX
DLE
1st Byte
2nd Byte
3rd Byte
4th Byte
5th Byte
6th Byte
7th Byte
8th Byte
9th Byte
10th Byte
11th Byte
12th Byte
●
●
nth Byte
DLE
ETX
BCC
DLE
STX
DLE
1st Byte
2nd Byte
3rd Byte
4th Byte
DLE
ETX
BCC
DLE
6(1'IUDPH
5HVSRQVHPHVVDJHIUDPH
&RPPXQLFDWLRQSDUWQHUV
6WDUWFK
3RVDFNQRZOHGJHPHQW
+
6(1'
'D
'DWD
'HVWLQDWLRQ
'%$+
/HQJ
1R.0))+
&38RQO\)+
VW'DWDE\WH
QG'DWDE\WH
QWKGDWDE\WH
(QGGH
(QGGH
2QO\ZLWKEORFNFKHFN
3RVDFNQRZOHGJHPHQW
+
6WDUWFK
3RVDFNQRZOHGJHPHQW
+
(UUR
(QGGH
(QGGH
2QO\ZLWKEORFNFKHFN
3RVDFNQRZOHGJHPHQW
+
0HVVDJH
IUDPH
KHDGHU
%HQHILW
LQIRUPDWLRQ
&RQQHFWLRQ
WHUPLQDWLRQ
&RQQHFWLRQ
VHWXS
5HVSRQVH
IUDPH
KHDGHU
&RQQHFWLRQ
WHUPLQDWLRQ
&RQQHFWLRQ
VHWXS
Figure 2-13 Data traffic when sending with a response message frame
长沙工控帮教育科技有限公司
www.gkbpx.com