PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
7
Table of contents
Preface ...................................................................................................................................................... 3
1
Product Description ................................................................................................................................. 11
1.1
Uses of the CP 340......................................................................................................................11
1.2
Components for a Point-to-Point Connection with the CP 340....................................................14
1.2.1
Required Hardware Components ................................................................................................14
1.2.2
Software Components for a Point-to-Point Connection with the CP 340 ....................................15
1.3
Design of the CP 340...................................................................................................................16
1.4
Properties of the serial interface ..................................................................................................18
1.4.1
RS 232C interface of the CP 340–RS 232C ................................................................................18
1.4.2
20mA–TTY interface on the CP 340–20mA-TTY.........................................................................20
1.4.3
X27 (RS 422/485) Interface of the CP 340–RS 422/485 .............................................................21
2
Basic Principles of Serial Data Transmission........................................................................................... 23
2.1
Serial Transmission of a Character .............................................................................................23
2.2
Transmission mode in Point-to-Point Communication.................................................................28
2.3
Transmission integrity ..................................................................................................................30
2.4
Data Transmission with the 3964(R) Procedure..........................................................................32
2.4.1
Control characters........................................................................................................................32
2.4.2
Block Checksum ..........................................................................................................................33
2.4.3
Sending Data with 3964(R)..........................................................................................................34
2.4.4
Receiving Data with 3964(R) .......................................................................................................38
2.4.5
Handling Errored Data .................................................................................................................43
2.5
Data transfer using the ASCII driver ............................................................................................46
2.5.1
RS 232C accompanying signals..................................................................................................46
2.5.2
Sending Data with the ASCII Driver.............................................................................................50
2.5.3
Receiving Data with the ASCII Driver ..........................................................................................51
2.5.4
BREAK - Monitoring on CP 340...................................................................................................55
2.5.5
Receive Buffer on CP 340 ...........................................................................................................55
2.6
Data transmission with the printer driver .....................................................................................56
2.7
Parameterization Data .................................................................................................................61
2.7.1
Basic parameters of the CP 340..................................................................................................61
2.7.2
Parameterization Data of the 3964(R) Procedure .......................................................................62
2.7.3
Parameterization data of the ASCII driver ...................................................................................66
2.7.4
Parameterization data of the printer driver ..................................................................................72
2.7.5
Conversion and Control Statements for Printer Output ...............................................................77
Содержание SIMATIC CP 340
Страница 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Страница 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Страница 186: ...Accessories and Order Numbers PtP coupling and configuration of CP 340 186 Manual 04 2011 A5E00369892 03 ...
Страница 190: ...Literature on SIMATIC S7 PtP coupling and configuration of CP 340 190 Manual 04 2011 A5E00369892 03 ...
Страница 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...