
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
Manual, 09/2008, A5E02191071-01 9
Table of contents
Preface ........................................................................................................................................................ 3
1 Product Description . ................................................................................................................................. 17
1.1 Possible applications for the CP 341 . .........................................................................................17
1.2 Design of the CP 341..................................................................................................................20
1.3 Components for a Point-to-Point Connection with the CP 341. ..................................................22
1.3.1 Required Hardware Components ...............................................................................................22
1.3.2 Required Software Components. ................................................................................................23
1.4 Properties of the Serial Interface . ...............................................................................................24
1.4.1 RS 232C Interface of the CP 341-RS 232C ...............................................................................24
1.4.2 20mA-TTY interface of the CP 341-20mA TTY . .........................................................................25
1.4.3 X27 (RS 422/485) Interface of the CP 341-RS 422/485. ............................................................26
1.5 Cables for Connecting the Communication Processor to a Communication Partner. ................27
2 Basic Principles of Serial Data Transmission............................................................................................ 29
2.1 Serial Transmission of a Character . ...........................................................................................29
2.2 Transmission Procedure with a Point-to-Point Connection . .......................................................33
2.3 Transmission integrity . ................................................................................................................35
2.4 Data Transmission with the 3964(R) Procedure. ........................................................................38
2.4.1 Principle of the Data Transmission with the 3964(R) Procedure. ...............................................38
2.4.2 Control characters of the 3964(R) procedure . ............................................................................38
2.4.3 Block Checksum .........................................................................................................................39
2.4.4 Sending Data with 3964(R).........................................................................................................40
2.4.5 Receiving Data with 3964(R) . .....................................................................................................42
2.4.6 Handling Erroneous Data. ...........................................................................................................44
2.5 Data Transmission with the RK 512 Computer Connection . ......................................................50
2.5.1 Sending Data with RK 512..........................................................................................................53
2.5.2 Fetching Data with RK 512 . ........................................................................................................56
2.5.3 Quasi-Full-Duplex Operation ......................................................................................................59
2.5.4 RK 512 CPU Requests . ..............................................................................................................60
2.6 Data Transmission with the ASCII Driver . ..................................................................................62
2.6.1 Principle of the Data Transmission with the ASCII Driver . .........................................................62
2.6.2 Sending data with the ASCII driver. ............................................................................................62
2.6.3 Receiving data with the ASCII driver . .........................................................................................64
2.6.4 RS 485 mode ..............................................................................................................................71
2.7 Data transmission with the printer driver . ...................................................................................75
2.8 Configuration data.......................................................................................................................79
2.8.1 Configuration Data of the 3964(R) Procedure . ...........................................................................79
2.8.2 Configuration Data of the RK 512 Computer Connection. ..........................................................85
2.8.3 Configuration data of the ASCII Driver . ......................................................................................87
2.8.4 Parameter assignment data of the printer driver . .......................................................................94
2.8.5 Conversion and control statements for printout. .........................................................................99
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/