
5.4.2 Basic Parameters of the CP 440 .......................................................................................... 57
5.4.3 Conguration Data of the ASCII Driver ................................................................................ 58
5.4.4 Conguration Data of the 3964(R) Procedure ..................................................................... 63
5.5 Managing the Parameter Data............................................................................................ 68
5.6 Firmware updates .............................................................................................................. 69
5.6.1 Subsequent Loading of Firmware Updates.......................................................................... 69
5.6.2 Viewing the Firmware Version............................................................................................ 71
6 Communication via Function Blocks.................................................................................................... 73
6.1 Overview of the Function Blocks ........................................................................................ 73
6.2 Notes on Program Structure ............................................................................................... 75
6.3 Using the Function Blocks .................................................................................................. 75
6.3.1 S7 Transmits Data to a Communication Partner, 10 SEND_440 FB ....................................... 76
6.3.2 S7 Receives Data from a Communication Partner, 9 RECV_440 FB ....................................... 79
6.3.3 Deleting the Receive Buer (11 "RES_RECV" FB) .................................................................. 82
6.4 Programming the Function Blocks ...................................................................................... 85
6.4.1 Supplying the block parameters ......................................................................................... 85
6.5 General Information on Program Processing ....................................................................... 88
6.6 Technical Specications of the Function Blocks ................................................................... 89
7 Startup Characteristics and Operating Mode Transitions of the CP 440 ............................................. 91
7.1 Operating Modes of the CP 440.......................................................................................... 91
7.2 Startup Characteristics of the CP 440.................................................................................. 91
7.3 Behavior of the CP 440 on Operating Mode Transitions of the CPU...................................... 92
7.4 Behavior of the Sender Line Drivers of the Serial Interface During Particular Operating
Modes of the CP 440.......................................................................................................... 93
8 Diagnostics with the CP 440 ................................................................................................................ 95
8.1 Diagnostics Functions of the CP 440................................................................................... 95
8.2 Diagnostics via the display elements of the CP 440 ............................................................. 96
8.3 Diagnostics Messages of the Function Blocks...................................................................... 97
8.4 Diagnostics via the diagnostic buer of the CP 440........................................................... 104
9 Programming Example for Standard Function Blocks ....................................................................... 107
9.1 General Information......................................................................................................... 107
9.2 Device Conguration........................................................................................................ 107
9.3 Settings ........................................................................................................................... 108
9.4 Blocks Used ..................................................................................................................... 108
9.5 Installation, Error Messages.............................................................................................. 111
9.6 Activation, Startup Program and Cyclic Program ............................................................... 111
9.6.1 "CP440 SEND RECV" Program Example.............................................................................. 111
9.6.2 "CP440 1 CYC" Program Example ...................................................................................... 113
9.6.3 "CP440 ASCII BCC" Program Example ................................................................................ 113
Table of contents
Point-to-point connection CP 440 Installation and Parameter Assignment
8Equipment Manual, 03/2022, A5E00057742-AE