
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 Installing and removing the CP 340 ............................................................................................ 90
4.2.1 Installation steps ......................................................................................................................... 90
4.2.2 Removal steps ............................................................................................................................ 91
5 Configuring and Parameterizing the CP 340............................................................................................ 93
5.1 Parameterization Options............................................................................................................ 93
5.2 Parameterizing 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 Communication using function blocks.................................................................................................... 103
6.1 Communication via Function Blocks ......................................................................................... 103
6.2 Overview of the Function Blocks............................................................................................... 104
6.3 Using the function 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 function 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_RESET" .................................................................................. 121
6.7 General Information on Program Processing............................................................................ 124
6.8 Technical data of the function blocks........................................................................................ 125
7 Startup................................................................................................................................................... 127
7.1 Operating Modes of the CP 340 ............................................................................................... 127
7.2 Startup Characteristics of the CP 340....................................................................................... 128
7.3 Behavior of the CP 340 on Operating Mode Transitions of the CPU........................................ 129
8 Diagnostics with the CP 340.................................................................................................................. 131
8.1 Diagnosis via the Display Elements of the CP 340................................................................... 133
8.2 Diagnostics Messages of the Function Blocks P_SEND, P_RCV and P_PRINT ..................... 134
8.3 Diagnostics via the S7-300 backplane bus ............................................................................... 142
8.4 Diagnostics by means of the diagnostic buffer of the CP 340 .................................................. 144