9.5 Installation, Error Messages
Scope of Supply and Installation
The project example of the CP 440 and the CP 440: Point -to-Point Communication, Parameter
Assignment interface is supplied together with the function blocks and this manual on a CD.
The program examples are installed together with the parameter assignment interface and
described in the chapter "Installing the Programming Interface (Page 56)". After installation, the
examples are stored in the following project:
CP440_PtP_Com
Open the project in the STEP 7 SIMATIC Manager by selecting File > Open > Project.
The project example is available both compiled and as a source le. A list of all the symbols used
in the example is also included.
If there is no second CP 440 available to serve as a communication partner, you have to delete
the CP 440 in HW Cong by selecting Edit > Delete. The call of the FC 22 (FC for Receive) must
also be commented out of the examples "CP440 SEND RECV" , "CP440 1CYC" and "CP440 ASCII
BCC" in OB 1.
Download to the CPU
The hardware for the example is completely set up and the programming device is connected.
After the overall reset of the CPU (operating mode STOP), transfer the complete example to the
user memory. Then use the operating mode switch to change from STOP to RUN.
Malfunction
If an error occurs at startup, the cyclically processed block calls are terminated with an error.
If there is an error message, the parameter output ERROR of the modules is set. A more precise
error description is then stored in the STATUS parameter of the blocks. If STATUS contains one of
the error messages 16#1E0E or 16#1E0F, the exact error description is stored in the SFCERR
variable in the instance DB.
9.6 Activation, Startup Program and Cyclic Program
9.6.1 "CP440 SEND RECV" Program Example
Activation, Startup Program
The start-up program is located in the OB 100.
The control bits and the counters are reset in the startup procedure.
Programming Example for Standard Function Blocks
9.6 Activation, Startup Program and Cyclic Program
Point-to-point connection CP 440 Installation and Parameter Assignment
Equipment Manual, 03/2022, A5E00057742-AE 111