Programming Example for Standard Function Blocks
9.5 Installation, Error Messages
Point-to-point connection CP 440 Installation and Parameter Assignment
132
Manual, 09/2007, A5E00057742-03
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
desribed in Section 3.3. After installation, the examples are stored in the following project:
CP440_PtP_Com
Open the project in SIMATIC Manager of STEP 7 by selecting the File > Open > Project
menu command.
The project example is available both compiled and as a source file. A list of all the symbols
used in the example is also included.
If you do not have access to a second CP 440 as communication partner, open the
HW Config and remove the CP 440 with the Edit > Delete < menu command. 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.
See also
Assigning parameters to the CP 440 (Page 65)
长沙工控帮教育科技有限公司
www.gkbpx.com