Installation, Error Messages - Siemens SIMATIC CP 340 User Manual

Ptp coupling and configuration
Hide thumbs Also See for SIMATIC CP 340:
Table of Contents

Advertisement

9.6

Installation, Error Messages

Scope of Supply and Installation
The program example of the CP 340, the CP 340: Point–to–Point Communication,
Parameter Assignment and the function blocks are available on a data carrier that is
included with this manual.
The program examples are installed together with the parameterization interface (see
Chapter Parameterizing the Communications Protocols (Page 94)). Following installation,
you will find the sample program in the following project: CP340p
Open the project using the STEP 7 SIMATIC Manager by calling the menu command File >
Open > Project.
The sample program is available both in compiled form and as an ASCII source file. A list of
all the symbols used in the example is also included.
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 (STOP operating mode), transfer the complete example to
the user memory. Then use the mode selector switch to change from STOP to RUN.
Malfunction
If an error occurs during start-up, the cyclically processed module calls are not executed and
the error display is activated.
After every block call in the cyclic program, if an error has occurred (BR = "0"), an error
memory bit is set, which can only be displayed at the outputs Q 4.2/4.6 with the computer
connection.
If there is an error message, the parameter output ERROR (Q 4.1/4.5) of the modules is also
set. A more detailed description of the error is then stored in the STATUS parameter of the
modules. If STATUS contains one of the error messages 16#1E0E or 16#1E0F, the exact
error description is stored in the SFCERR or SFCSTATUS variable in the instance DB. You´ll
find detailed information in "Variable SFCERR or SFCSTATUS calling".
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
Programming Example for Standard Function Blocks
9.6 Installation, Error Messages
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents