Table of contents
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
9
9 Programming Example for Standard Function Blocks............................................................................ 147
9.1 Device Configuration..................................................................................................................148
9.2 Settings ..................................................................................................................
....................149
9.3 Blocks
Used ...............................................................................................................................150
9.4 Example “Point–
to–Point Communication” ................................................................................151
9.5 Example "Printing" and "Readin
g and Controlling the CP 340 Inputs/Outputs" ........................153
9.6 Inst
allation, Error Messages ......................................................................................................155
9.7 Activation, Start-Up Program and Cyclic
Program.....................................................................156
A Techni
cal Specifications ........................................................................................................................ 159
A.1 Tech
nical Specifications of the CP 340 .....................................................................................159
A.2 Recy
cling and Disposal..............................................................................................................164
B Connecting C
ables ................................................................................................................................ 165
B.1 RS 232C interface of the CP 340–RS 232C
..............................................................................165
B.2 20 mA TTY interface on the CP 340-20m
A-TTY .......................................................................173
B.3 X27 (RS 422/485) Interface of the CP 340–RS 422/485 ...........................................................180
C Acce
ssories and Order Numbers........................................................................................................... 185
D Lit
erature on SIMATIC S7...................................................................................................................... 187
Glos
sary ................................................................................................................................................ 191
Index
...................................................................................................................................................... 197