PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
7
Table of contents
Preface ...................................................................................................................................................... 3
1 Product Desc
ription ................................................................................................................................. 11
1.1 Uses of the CP 340
......................................................................................................................11
1.2 Compone
nts for a Point-to-Point Connection with the CP 340....................................................14
1.2.1 Required Hardware Components
................................................................................................14
1.2.2 Software Co
mponents for a Point-to-Point Connection with the CP 340 ....................................15
1.3 Design o
f 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–20m
A-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 Transmiss
ion of a Character .............................................................................................23
2.2 Transmissi
on mode in Point-to-Point Communication.................................................................28
2.3 Transm
ission integrity ..................................................................................................................30
2.4 Data Transmissi
on with the 3964(R) Procedure..........................................................................32
2.4.1 Control ch
aracters........................................................................................................................32
2.4.2 Block
Checksum ..........................................................................................................................33
2.4.3 Sending Data with 3964(R)
..........................................................................................................34
2.4.4 Receiv
ing Data with 3964(R) .......................................................................................................38
2.4.5 Handling Errored Data ...................................................................................................
..............43
2.5 Data transf
er using the ASCII driver ............................................................................................46
2.5.1 RS 232C accompanying signal
s..................................................................................................46
2.5.2 Sending Data with the ASCII Driver
.............................................................................................50
2.5.3 Rece
iving Data with the ASCII Driver ..........................................................................................51
2.5.4 BREAK - Monitoring on CP 340............................................................................................
.......55
2.5.5 Rece
ive Buffer on CP 340 ...........................................................................................................55
2.6 Data transmis
sion with the printer driver .....................................................................................56
2.7 Parameteriza
tion Data .................................................................................................................61
2.7.1 Basic
parameters of the CP 340..................................................................................................61
2.7.2 Parameteriza
tion Data of the 3964(R) Procedure .......................................................................62
2.7.3 Parameteriza
tion data of the ASCII driver ...................................................................................66
2.7.4 Parameteriza
tion data of the printer driver ..................................................................................72
2.7.5 Convers
ion and Control Statements for Printer Output ...............................................................77