Table of contents
PtP coupling and configuration of CP 340
8 Manual, 04/2011, A5E00369892-03
3 Starting up the CP 340 ............................................................................................................................ 87
4 Mounting the CP 340 ............................................................................................................................... 89
4.1 CP 340 slots
................................................................................................................................ 89
4.2 Inst
alling and removing the CP 340 ............................................................................................ 90
4.2.1 Inst
allation steps ......................................................................................................................... 90
4.2.2 Remova
l steps ............................................................................................................................ 91
5 Configuri
ng and Parameterizing the CP 340............................................................................................ 93
5.1 Parameterization Options
............................................................................................................ 93
5.2 Parameterizi
ng the Communications Protocols.......................................................................... 94
5.2.1 Parameterization of the CP 340
.................................................................................................. 94
5.2.2 Installing the engineering tool
..................................................................................................... 95
5.3 Configuring the CP 340....................................................................................................
........... 96
5.4 Managing the Parameter Data
.................................................................................................... 97
5.5 Identification data
........................................................................................................................ 98
5.6 Download of firmware updates ..............................................................................................
... 100
6 Communicat
ion using function blocks.................................................................................................... 103
6.1 Communica
tion via Function Blocks ......................................................................................... 103
6.2 Overv
iew of the Function Blocks............................................................................................... 104
6.3 Using the fun
ction blocks for connecting to a communications processor ............................... 105
6.3.1 S7 sends
data to a communication partner .............................................................................. 105
6.3.2 S7 receives
data from a communication partner ...................................................................... 109
6.4 Using func
tion blocks for the output of message texts to a printer ........................................... 113
6.5 Use of function
blocks for reading and controlling the RS 2332C secondary signals .............. 118
6.6 Delete receive buffer, FB12 "P_R
ESET" .................................................................................. 121
6.7 General Information on Program Proce
ssing............................................................................ 124
6.8 Tech
nical data of the function blocks........................................................................................ 125
7 Start
up................................................................................................................................................... 127
7.1 Operating Modes
of the CP 340 ............................................................................................... 127
7.2 Startup Characteris
tics of the CP 340....................................................................................... 128
7.3 Behavio
r of the CP 340 on Operating Mode Transitions of the CPU........................................ 129
8 Diagnostic
s with the CP 340.................................................................................................................. 131
8.1 Diagnosis
via the Display Elements of the CP 340................................................................... 133
8.2 Diagno
stics Messages of the Function Blocks P_SEND, P_RCV and P_PRINT ..................... 134
8.3 Diagnost
ics via the S7-300 backplane bus............................................................................... 142
8.4 Diagnost
ics by means of the diagnostic buffer of the CP 340 .................................................. 144