Siemens SIMATIC S7-400 CP 440 Installation And Parameter Assignment

Siemens SIMATIC S7-400 CP 440 Installation And Parameter Assignment

Point-to-point connection
Table of Contents

Advertisement

Quick Links

SIMATIC
S7-400
SIMATIC S7-400
Point-to-point connection CP 440
Installation and Parameter
Assignment
Manual
09/2007
A5E00057742-03
www.gkbpx.com
Preface
Product Description
Basic Principles of Serial
Data Transmission
Commissioning the CP 440
Mounting the CP 440
Configuring and Parameter
Assignment the CP 440
Communication via
Function Blocks
Startup Characteristics and
Operating Mode Transitions
of the CP 440
Diagnostics with the CP 440
Programming Example for
Standard Function Blocks
Technical Specifications
Cables
Accessories and Order
Numbers
Literature
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
1
2
3
4
5
6
7
8
9
A
B
C
D

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-400 CP 440

  • Page 1 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Preface Product Description Basic Principles of Serial Data Transmission SIMATIC Commissioning the CP 440 S7-400 SIMATIC S7-400 Mounting the CP 440 Point-to-point connection CP 440 Installation and Parameter Configuring and Parameter Assignment Assignment the CP 440 Communication via Manual Function Blocks...
  • Page 2 Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
  • Page 3: Preface

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Preface Purpose of This Manual This manual explains how to configure and operate a point-to-point connection. Contents of the Manual The manual describes the hardware and software of the CP 440 communication processor and its integration in an S7–400 programmable controller. It is divided up into instruction- based chapters and a reference section (appendices).
  • Page 4 ● Finally, a comprehensive index allows quick access to information on specific subjects. Additional Assistance Please contact your local Siemens representative if you have any queries about the products described in this manual. ● You can find your contact at: http://www.siemens.com/automation/partner...
  • Page 5 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Preface You will find there: ● The newsletter, which constantly provides you with up-to-date information on your products. ● The right documents via our search function in Service & Support. ● A forum, where users and experts from all over the world exchange their experiences. ●...
  • Page 6 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Preface Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 7: Table Of Contents

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Preface ................................ 3 Product Description ..........................13 Uses of the CP 440........................13 Components Required for a Point-to-Point Connection with the CP 440 ........15 1.2.1 Required Hardware Components ....................15 1.2.2 Required Software Components.
  • Page 8 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Configuring and Parameter Assignment the CP 440 ................65 Assigning parameters to the CP 440 ..................65 Installing the Programming Interface ..................66 Parameters for the Communications Protocols ................. 67 Configuration data........................
  • Page 9 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Programming Example for Standard Function Blocks................127 General Information ........................127 Device Configuration.........................128 Settings .............................128 Blocks Used ..........................129 Installation, Error Messages .....................132 Activation, Startup Program and Cyclic Program ..............133 9.6.1 "CP440 SEND RECV"...
  • Page 10 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Tables Table 1-1 Functions of the CP 440......................14 Table 1-2 Hardware Components for a Point-to-Point Connection with the CP 440 ......... 15 Table 1-3 Software Components for a Point-to-Point Connection with the CP 440 ........16 Table 1-4 CPU Versions with Which the CP 440 Can Be Used as of the Version Indicated.
  • Page 11 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Table 9-2 CP 440 1 CYC...........................129 Table 9-3 CP 440 ASCII BCC ........................130 Table 9-4 CP 440 MASTER ........................130 Table 9-5 CP 440 SLAVE..........................131 Table 9-6 Generation of BCC HI ASCII characters "32" =2 ..............135 Table 9-7 Generation of BCC LO ASCII characters "35"...
  • Page 12 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Table of contents Figures Figure 1-1 Arrangement of the Controls and Indicators on the CP 440 Communication Processor ..18 Figure 2-1 10-Bit Character Frame......................23 Figure 2-2 Character Delay Time ........................ 24 Figure 2-3 Position of the supplied protocols of the CP 440 in the reference model .
  • Page 13: Product Description

    ● Customization of the transmission protocols by means of parameter assignment with the CP 440: Point-to-Point Communication, Parameter Assignment interface Uses of the CP 440 The CP 440 communication processor allows point-to-point communication with SIMATIC modules and with non-Siemens products. Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 14: Table 1-1 Functions Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.1 Uses of the CP 440 Functions Supported by the Interfaces Table 1-1 Functions of the CP 440 Function CP 440 RS 422* RS 485* 3964(R) Procedure ASCII driver: XON/XOFF flow control * The RS 422 and RS 485 are distinguished by their parameter configuration. Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 15: Components Required For A Point-To-Point Connection With The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.2 Components Required for a Point-to-Point Connection with the CP 440 Components Required for a Point-to-Point Connection with the CP 440 1.2.1 Required Hardware Components Hardware Components The following table lists the hardware components required for establishing a point-to-point connection with the CP 440.
  • Page 16: Required Software Components

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.2 Components Required for a Point-to-Point Connection with the CP 440 1.2.2 Required Software Components Software Components The following table lists the software components required for establishing a point-to-point connection with the CP 440. Table 1-3 Software Components for a Point-to-Point Connection with the CP 440 Components...
  • Page 17: Table 1-5 Cpu Versions With Which The Cp 440 Cannot Be Used

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.2 Components Required for a Point-to-Point Connection with the CP 440 Table 1-5 CPU Versions with Which the CP 440 Cannot be Used MLFB CPU 412-1 6ES7 412-1XF00-0AB0 CPU 413-1 6ES7 413-1XG00-0AB0 CPU 413-2 6ES7 413-2XG00-0AB0 CPU 414-1 6ES7 414-1XG00-0AB0...
  • Page 18: Design Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.3 Design of the CP 440 Design of the CP 440 Interface The CP 440 communication processor is supplied with an integrated serial X27 (RS422/485) interface. Position of Operator Control and Display Elements The figure shows the arrangement of the controls and indicators on the front panel of the CP 440 communication processor.
  • Page 19 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Product Description 1.3 Design of the CP 440 LEDs The following LEDs are located on the front panel of the CP 440: ● INTF(red)Indicates an internal fault ● EXFT(red)Indicates an external fault ● FAULT (red)Fault LED for interface ●...
  • Page 20: Features Of The X27 (Rs 422/485) Interface

    With the RK 512 and 3964(R) protocols, the X27 (RS 422/485) interface submodule can only be used in four-wire mode. Cables Siemens offers standard cables in various lengths for point-to-point connection between the communication processor and a communication partner. See also...
  • Page 21: Basic Principles Of Serial Data Transmission

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission Serial Transmission of a Character Introduction The system provides various networking options for the exchange of data between two or more communication partners. The simplest form of data interchange is via a point-to-point connection between two communication partners.
  • Page 22 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.1 Serial Transmission of a Character Bidirectional Data Traffic - Operating Modes The CP 440 has two operating modes for bidirectional data traffic: ● Half-duplex operation (3964(R) procedure, ASCII driver) Data is exchanged between the communication partners but only in one direction at a time.
  • Page 23: Figure 2-1 10-Bit Character Frame

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.1 Serial Transmission of a Character Character frame Data is transmitted between the CP 440 and a communication partner via the serial interface in a character frame. Two data formats are available for each character frame. 7 data bits without a parity bit are not supported.
  • Page 24: Figure 2-2 Character Delay Time

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.1 Serial Transmission of a Character Character Delay Time The figure below shows the maximum time permitted between two characters received within a message frame. This is known as the character delay time. Figure 2-2 Character Delay Time Point-to-point connection CP 440 Installation and Parameter Assignment...
  • Page 25: Transmission Procedure With A Point-To-Point Connection

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.2 Transmission Procedure with a Point-to-Point Connection Transmission Procedure with a Point-to-Point Connection Introduction When data are transmitted, all communication partners must adhere to a fixed set of rules for handling and implementing data traffic.
  • Page 26 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.2 Transmission Procedure with a Point-to-Point Connection ISO 7-Layer Reference Model The reference model defines the external behavior of the communication partners. Each protocol layer, except for the lowest one, is embedded in the next one down. The individual layers are as follows: 1.
  • Page 27: Transmission Integrity

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.3 Transmission integrity Transmission integrity Introduction Transmission integrity plays an important role in the transmission of data and in selection of the transmission procedure. Generally speaking, the more layers of the reference model are applied, the greater the transmission integrity.
  • Page 28 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.3 Transmission integrity Transmission Integrity with the ASCII Driver Data Integrity When Using the ASCII Driver: ● When data is transmitted via the ASCII driver, there are no data integrity precautions other than the use of a parity bit (can also be canceled, depending on how the character frame is set).
  • Page 29 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.3 Transmission integrity Performance Limits with 3964(R) Performance Limits of the 3964(R) Procedure: ● Further processing of the send/receive data by the PLC program in the communication partner is not guaranteed. You can only ensure this by using a programmable acknowledgment mechanism.
  • Page 30: Data Transmission With The Ascii Driver

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver Data Transmission with the ASCII Driver 2.4.1 Data Transmission with the ASCII Driver Introduction The ASCII driver controls data transmission via a point-to-point connection between the CP 440 and a communication partner.
  • Page 31: Sending Data With The Ascii Driver

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver 2.4.2 Sending Data with the ASCII Driver Sending Data When you send data, you specify the number of user data bytes to be transferred in the "LEN"...
  • Page 32: Figure 2-4 Sequence Of A Send Operation

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver Send Operation The figure below illustrates a send operation. Figure 2-4 Sequence of a send operation Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 33: Receiving Data With The Ascii Driver

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver 2.4.3 Receiving Data with the ASCII Driver Selectable End Criteria In data transmission using the ASCII driver, you can choose between three different end criteria when data is received.
  • Page 34: Figure 2-5 Sequence Of Receive Operation With End Criterion "Expiration Of Character Delay Time

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver End Criterion "Expiration of Character Delay Time" When data is received, the end of the message frame is recognized when the character delay time expires. The received data is accepted from the CPU. In this case the character delay time must be set such that it easily expires between two consecutive message frames.
  • Page 35 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver End Criterion End-of-Text Character When data is received, the end of the message frame is recognized when the configured end-of-text character(s) arrive. The following options are available: ●...
  • Page 36: Figure 2-6 Sequence Of Receive Operation With "End-Of-Text Character" End Criterion

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver The figure below illustrates a receive operation with the end criterion "end-of-text character". Figure 2-6 Sequence of receive operation with "End-of-Text Character" end criterion Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 37 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver End Criterion Fixed Message Frame Length When data is received, the end of the message frame is recognized when the configured number of characters has arrived. The received data is accepted from the CPU. If the character delay time expires before the configured number of characters has been reached, the receive operation is terminated.
  • Page 38: Figure 2-7 Sequence Of Receive Operation With "Fixed Message Frame Length" End Criterion

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver The figure below illustrates a receive operation with the end criterion "fixed message frame length". Figure 2-7 Sequence of receive operation with "Fixed Message Frame Length" end criterion Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 39 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver Receive Buffer on CP 440 The CP 440 receive buffer accommodates 2000 bytes. During the parameter assignment, you can specify whether overwriting of data in the receive buffer should be prevented. You can also specify the value range (1 to 10) for the number of buffered receive message frames or use the complete receive buffer.
  • Page 40: Topologies Between The Communication Partners

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver 2.4.4 Topologies Between the Communication Partners Applications The CP 440 can be used in different topologies in the RS422 and RS485 operating modes. Distinctions are drawn between connections with: ●...
  • Page 41: Figure 2-10 Rs 422 Multipoint

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver RS422 Operation In the case of a master/slave topology in RS422 operation: ● The master's sender is interconnected with the receivers of all the slaves. ●...
  • Page 42: Figure 2-11 Rs 485 Multipoint

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.4 Data Transmission with the ASCII Driver RS485 Operation In the case of a topology in RS485 operation: ● The cable pair is interconnected for the send/receive line of all the nodes. ●...
  • Page 43: Data Transmission With The 3964(R) Procedure

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Data Transmission with the 3964(R) Procedure Introduction The 3964(R) procedure controls point-to-point data exchange between the communication processor and a communication partner. As well as the physical layer (layer 1), the 3964(R) procedure also incorporates the data-link layer (layer 2).
  • Page 44: Block Checksum

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure 2.5.2 Block Checksum Block Checksum With the 3964(R) transmission protocol, data integrity is increased by the additional sending of a block check character (BCC). Figure 2-12 Block Checksum The block checksum is the even longitudinal parity (EXOR operation on all data bytes) of a...
  • Page 45: Sending Data With 3964(R)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure 2.5.3 Sending Data with 3964(R) Transmission Sequence The figure below illustrates the transmission sequence when data is sent with the 3964(R) procedure. Figure 2-13 Data traffic when sending with the 3964(R) procedure Establishing a Send Connection To establish the connection, the 3964(R) procedure sends the control code STX.
  • Page 46 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Sending Data If a connection is successfully established, the user data contained in the output buffer of the CP 440 is sent to the communication partner with the selected transmission parameters. The partner monitors the times between incoming characters.
  • Page 47: Figure 2-14 Flow Diagram Of Sending With The 3964(R) Procedure

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Sending with the 3964(R) Procedure The figure below illustrates sending with the 3964(R) procedure. Figure 2-14 Flow diagram of sending with the 3964(R) procedure Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 48: Receiving Data With 3964(R)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure 2.5.4 Receiving Data with 3964(R) Process of Data Transmission when Receiving The figure below illustrates the transmission sequence when data is received with the 3964(R) procedure.
  • Page 49 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Receiving Data After a successful connection setup, the receive characters that are arrive are stored in the receive buffer. If two consecutive DLE codes are received, only one of these is stored in the receive buffer.
  • Page 50: Figure 2-16 Flow Diagram Of Receiving With The 3964(R) Procedure (Part 1)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Receiving with the 3964(R) Procedure The figure below illustrates receiving with the 3964(R) procedure. Figure 2-16 Flow diagram of receiving with the 3964(R) procedure (part 1) Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 51: Figure 2-17 Flow Diagram Of Receiving With The 3964(R) Procedure (Part 2)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Receiving with the 3964(R) Procedure (part 2) The figure below illustrates receiving with the 3964(R) procedure. Figure 2-17 Flow diagram of receiving with the 3964(R) procedure (part 2) Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 52 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Receive Buffer on CP 440 The CP 440 receive buffer accommodates 2000 bytes. During the parameter assignment, you can specify whether overwriting of data in the receive buffer should be prevented. You can also specify the value range (1 to 10) for the number of buffered receive message frames or use the complete receive buffer.
  • Page 53: Handling Corrupt Data

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure 2.5.5 Handling Corrupt Data Reaction to Corrupt Data The figure below illustrates how corrupt data is handled with the 3964(R) procedure. Figure 2-18 Data traffic when receiving corrupt data When DLE, ETX, BCC is received, the CP 440 compares the BCC of the communication partner with its own internally calculated value.
  • Page 54: Figure 2-19 Data Traffic During An Initialization Conflict

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Initialization conflict The figure below illustrates the transmission sequence during an initialization conflict. Figure 2-19 Data traffic during an initialization conflict If a device responds to the communication partner's send request (code STX) within the acknowledgment delay time by sending the code STX instead of the acknowledgment DLE or NAK, an initialization conflict occurs.
  • Page 55: Figure 2-20 Flow Diagram Of The Startup Of The 3964(R) Procedure

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Procedure Errors The procedure recognizes both errors which are caused by the communication partner and errors caused by faults on the line. In both cases, the procedure makes repeated attempts to send/receive the data block correctly.
  • Page 56 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Basic Principles of Serial Data Transmission 2.5 Data Transmission with the 3964(R) Procedure Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 57: Commissioning The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Commissioning the CP 440 Step sequence Before starting up the CP 440 you will need to perform the following steps in the specified sequence. 1. Mounting the CP 440 2. Configuring the CP 440 3. Assigning Parameters to the CP 440 4.
  • Page 58 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Commissioning the CP 440 Creating a User Program for the Communication Processor CP programming includes the implementation of the CP in the STEP 7 user program of your CPU. Program your CP using the language editors of the STEP 7 software. Further Information Programming with A detailed description of programming with STEP 7 is contained in the...
  • Page 59 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Commissioning the CP 440 4. Check: Always monitor the TXD send and RXD receive LEDs during the following operations Example 1: The polarity of the line is definitely correct – The default settings (all options) vary –...
  • Page 60 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Commissioning the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 61: Mounting The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Mounting the CP 440 CP 440 slots Introduction There are no specific slots reserved for communication modules in the rack of the S7-400 automation system. Positioning the CP in the Rack The communication processor can be plugged into any slot in the rack, with the following exception: In all racks the power supply module occupies slots 1 to 3 depending on the width.
  • Page 62: Mounting And Dismounting The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Mounting the CP 440 4.2 Mounting and Dismounting the CP 440 Mounting and Dismounting the CP 440 Introduction When mounting and removing the CP 441, you must observe certain rules. Tool You will need a 3.5 mm cylindrical screwdriver to mount or dismount the communication processor.
  • Page 63: Removal Steps

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Mounting the CP 440 4.2 Mounting and Dismounting the CP 440 4.2.2 Removal steps To remove the communication processor from the rack, proceed as follows: 1. Undo the screws at the top and bottom of the module. 2.
  • Page 64 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Mounting the CP 440 4.2 Mounting and Dismounting the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 65: Configuring And Parameter Assignment The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 Assigning parameters to the CP 440 Requirements The programming interface Point–to–Point Communication, Parameter Assignment is installed in the STEP 7 software on your PG/PC. Before you can enter the communication processor in the configuration table of the STEP 7 software, you must have created a project and a terminal with STEP 7.
  • Page 66: Installing The Programming Interface

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.2 Installing the Programming Interface Further Information Configuring Hardware and How to configure S7-400 modules is described in detail in the Communication Connections STEP 7 V5.0 manual. In addition, STEP 7's online help system will provide you with all the assistance you will need when configuring an S7-400 module.
  • Page 67: Parameters For The Communications Protocols

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.3 Parameters for the Communications Protocols Parameters for the Communications Protocols Introduction Once you have entered the communication processor in the configuration table, you must supply parameters to it and its serial interface. Parameter assignment The term "parameter assignment"...
  • Page 68: Configuration Data

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Configuration data 5.4.1 Introduction Introduction You can set the response of the CP 440 to CPU STOP by means of the basic parameters. By selecting different protocols, you can adjust your CP 440 communication processor to suit the properties of the communication partner.
  • Page 69: Table 5-4 Control Of Frame Storage With Flow Control

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Table 5-4 Control of Frame Storage with Flow Control With Flow Control Saved Frames Frame Just Arriving New Frames Reaction to CPU Stop: Retained Saved; flow control is Saved;...
  • Page 70: Configuration Data Of The Ascii Driver

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data 5.4.3 Configuration Data of the ASCII Driver Introduction Using the configuration data of the ASCII driver, you can adjust the CP440 to suit the communication partner. Configuration Data of the ASCII Driver With the CP 440: Point-to-Point Communication, Parameter Assignment interface, specify the parameters for the physical layer (layer 1) of the ASCII driver.
  • Page 71 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Parameters Description Value Range Default Value Monitoring time for The character delay time is used as Baud Character missing end ID the monitoring time for a missing end delay time code.
  • Page 72: Table 5-6 Baud Rate / Character Frame (Ascii Driver)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Baud Rate / Character Frame The table below contains descriptions of and specifies the value ranges of the relevant parameters. Table 5-6 Baud Rate / Character Frame (ASCII Driver) Parameters Description Value Range...
  • Page 73: Table 5-7 Data Flow Control (Ascii Driver)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Data Flow Control The table below contains descriptions of the parameters for data flow control. Data flow control is only possible when "Full Duplex (RS 422) Four-Wire Mode Point to Point" is set. Table 5-7 Data flow control (ASCII driver) Parameters...
  • Page 74: Table 5-9 X27 (Rs 422/485) Interface (Ascii Driver)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Operating Mode/Initial State of the Receive Line The table below contains descriptions of the operating mode/initial state of the receive line for the X27 (RS 422/485) interface. Table 5-9 X27 (RS 422/485) Interface (ASCII Driver) Parameters...
  • Page 75: Figure 5-1 Wiring Of The Recipient At The X27 (Rs 422/485) Interface (Ascii Driver)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Initial State of Receive Line The figure illustrates the wiring of the recipient at the X27 (RS 422/ 485) interface: Figure 5-1 Wiring of the Recipient at the X27 (RS 422/485) Interface (ASCII Driver) See also Data Transmission with the ASCII Driver (Page 30) Point-to-point connection CP 440 Installation and Parameter Assignment...
  • Page 76: Configuration Data Of The 3964(R) Procedure

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data 5.4.4 Configuration Data of the 3964(R) Procedure Introduction Using the parameter assignment data of the 3964(R) procedure, you can adjust the CP 440 to suit the properties of its communication partner. Configuration Data of the 3964(R) Procedure With the CP 440: Point-to-Point Communication, Parameter Assignment interface, specify the parameters for the physical layer (layer 1) and the data-link layer (layer 2) of the 3964(R)
  • Page 77: Table 5-11 Protocol Parameters (3964(R) Procedure)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Protocol Parameters You can only set the protocol parameters if you have not set the default values in the protocol. Table 5-11 Protocol Parameters (3964(R) Procedure) Parameters Description Value Range...
  • Page 78: Table 5-12 Baud Rate / Character Frame (3964(R) Procedure)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Baud Rate / Character Frame The following table describes the transmission rate/character frame. Table 5-12 Baud Rate / Character Frame (3964(R) Procedure) Parameters Description Value Range Default Value Baud rate Speed of data transmission in bits per second (baud)
  • Page 79: Table 5-13 Receive Buffer On Cp (3964(R) Procedure)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Receive Buffer on CP The following table describes the parameters for the CP receive buffer. Table 5-13 Receive buffer on CP (3964(R) procedure) Parameters Description Value Range Default Value Delete CP receive During power up or during transition of the CPU from...
  • Page 80: Figure 5-2 Wiring Of The Recipient At The X27 (Rs 422) Interface (3964(R) Procedure)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.4 Configuration data Wiring of the recipient at the X27 interface The figure below shows the wiring of the recipient at the X27 (RS 422) interface: Figure 5-2 Wiring of the recipient at the X27 (RS 422) interface (3964(R) procedure) Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 81: Managing The Parameter Data

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.5 Managing the Parameter Data Managing the Parameter Data Introduction The configuration and configuration data of the CP 440 is saved in the current project (on the hard disk of the programming device/PC). Data management When you exit the configuration table by selecting the Station >...
  • Page 82: Firmware Updates

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.6 Firmware updates Firmware updates 5.6.1 Subsequent Loading of Firmware Updates Introduction The communication processor is shipped with basic firmware preinstalled. You can enhance functionality and eliminate errors by downloading firmware updates to system memory of communication processor.
  • Page 83 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.6 Firmware updates 4. Click the "Find File ..." button to select the firmware to be loaded (header.upd). Result: The version of the firmware you select is displayed under "Status of selected firmware:". 5.
  • Page 84: Viewing The Firmware Version

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Configuring and Parameter Assignment the CP 440 5.6 Firmware updates 5.6.2 Viewing the Firmware Version Viewing the Hardware and Firmware Version You can view the current hardware and firmware version of the communication processor in STEP 7 in the "Module Status" dialog. You can open this dialog by: In SIMATIC Manager: File >...
  • Page 85: Communication Via Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks Introduction Communication between the CPU, the CP 440 and a communication partner takes place via the function blocks and the protocols of the CP 440. Communication between CPU and CP 440 The function blocks form the software interface between the CPU and the CP 440. They must be called in cycles from the user program.
  • Page 86: Overview Of The Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.1 Overview of the Function Blocks Overview of the Function Blocks Introduction The S7-400 programmable logic controller provides you with a number of function blocks that initiate and control communication between the CPU and the CP 440 communication processor in the user program.
  • Page 87 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.1 Overview of the Function Blocks Scope of Supply and Installation The function blocks of the CP 440 are on CD along with the parameter assignment interface, the programming examples and the manual. The function blocks are installed together with the parameter assignment interface.
  • Page 88: Notes On Program Structure

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.2 Notes on Program Structure Notes on Program Structure Notes In order to use the speed of the CP 440 to optimum effect, you should heed the following when you create your user program: For a short cycle: ●...
  • Page 89: Using The Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Using the Function Blocks Introduction The following sections describe what you must take into account when supplying the function blocks with parameters. STATUS Indication at the FB Please note the following with reference to the STATUS display on the function blocks: Note The parameters DONE, NDR, ERROR and STATUS are valid for only one module run.
  • Page 90: S7 Transmits Data To A Communication Partner, 10 Send_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks 6.3.1 S7 Transmits Data to a Communication Partner, 10 SEND_440 FB How FB SEND_440 Works The SEND_440 FB transfers a data field from a data block, specified by the DB_NO, DBB_NO and LEN parameters, to the CP 440.
  • Page 91: Table 6-2 Block Call

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Error Display on the SEND_440 FB The DONE output shows "request completed without errors". ERROR indicates whether an error has occurred. In STATUS the event number is displayed in the event of an error. If no error occurs the value of STATUS is 0.
  • Page 92: Table 6-3 Parameters Of The Send_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Assignment in the Data Area The SEND_440 FB works with an instance DB (I_SEND_440). The DB number is specified in the call. The data in the instance DB cannot be accessed. Note Exception: If the error STATUS == W#16#1E0F occurs, you can consult the SFCERR variable for more details of the error.
  • Page 93: Figure 6-1 Time Sequence Chart For The 10 Send_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Time Sequence Chart for the SEND_440 FB The figure below illustrates the behavior of the DONE and ERROR parameters, depending on how the REQ and R inputs are wired. Figure 6-1 Time sequence chart for the 10 SEND_440 FB Note...
  • Page 94: S7 Receives Data From A Communication Partner, 9 Recv_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks 6.3.2 S7 Receives Data from a Communication Partner, 9 RECV_440 FB How FB RECV_440 Works The RECV_440 FB transmits data from the CP 440 to an S7 data area specified by the DB_NO, DBB_NO and LEN parameters.
  • Page 95: Table 6-4 Block Call

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Error Display on the RECV_440 FB The NDR output shows "request completed without errors/data accepted" (all data read). ERROR indicates whether an error has occurred. In STATUS the event number is displayed in the event of an error.
  • Page 96: Table 6-5 Parameters Of The Recv_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Assignment in the Data Area The RECV_440 FB works with an instance DB (I_RECV_440). The DB number is specified in the call. The data in the instance DB cannot be accessed. Note Exception: If the error (STATUS == W#16#1E0E) occurs, you can consult the SFCERR variable for more details of the error.
  • Page 97: Figure 6-2 Time Sequence Chart For The 9 Recv_440 Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Time Sequence Chart for the RECV_440 FB The figure below illustrates the behavior of the NDR, LEN and ERROR parameters, depending on how the EN_R and R inputs are wired. Figure 6-2 Time Sequence Chart for the 9 RECV_440 FB Note...
  • Page 98: Deleting The Receive Buffer (11 "Res_Recv" Fb)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks 6.3.3 Deleting the Receive Buffer (11 "RES_RECV" FB) The RES_RECV FB deletes the entire receive buffer of the CP 440. All the stored message frames are discarded. A message frame coming in at the same time as the RES_RECV FB call is saved.
  • Page 99: Table 6-7 Parameters Of The Res_Recv Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Assignment in the Data Area The RES_RECV FB works with an instance DB (I_RES_RECV). The DB number is specified in the call. The data in the instance DB cannot be accessed. Note Exception: If the error STATUS == W#16#1E0F occurs, you can consult the SFCERR variable for more details of the error.
  • Page 100: Figure 6-3 Time Sequence Chart For The 11 Res_Recv Fb

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.3 Using the Function Blocks Time Sequence Chart for the RES_RECV FB The figure below illustrates the behavior of the DONE and ERROR parameters, depending on how the REQ and R inputs are wired. Figure 6-3 Time Sequence Chart for the 11 RES_RECV FB Note...
  • Page 101: Programming The Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks Programming the Function Blocks 6.4.1 General Information on Data Block Assignment Introduction This section is intended for users upgrading from SIMATIC S5 to SIMATIC S7. The various subsections contain important information on programming function blocks in STEP 7.
  • Page 102 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks Examples The STEP 5 data operands in the left column of the table become the STEP 7 data operands in the right column. STEP 5 STEP 7 DW 10 DBW 20 DL 10...
  • Page 103: Supplying The Block Parameters

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks 6.4.2 Supplying the block parameters Direct/Indirect Parameter Assignment With STEP 7 the data blocks cannot be indirectly assigned parameters (parameters transferred in the currently selected data block) as they can with STEP 5. All block parameters accept both constants and variables, so the distinction between direct and indirect parameter assignment is no longer necessary in STEP 7.
  • Page 104 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks Example of "Indirect Parameter assignment" Call of the FB 10 corresponding to indirect parameter assignment: Network 1: CALL FB 10, DB10 := M 0.6 //Activates SEND := M 5.0 //Activates RESET LADDR := MW21...
  • Page 105 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks Example 2 The symbol name of the data block used, DB 20, is "CP_DB"; the symbol name for the send DB number is "SEND_DBNO" and is located in data block DB 20 in the data word DBW 0. The start address of the send frame is "SEND_DWNO"...
  • Page 106 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.4 Programming the Function Blocks Example of a "Symbolically Addressed Actual Operand" Calling FB 10 with symbolically addressed actual operands: Network 1: CALL FB 10, DB10 := SEND_REQ //Activates SEND := SEND_R //Activates RESET LADDR := BGADR...
  • Page 107: General Information On Program Processing

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.5 General Information on Program Processing General Information on Program Processing Startup Characteristics of the CP 440 Programmable Logic Controller The configuration data is created with the aid of the CP 440: Point-to-Point Communication, Parameter Assignment parameter assignment and transferred to the CPU with the STEP 7 software.
  • Page 108: Technical Specifications Of The Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.6 Technical Specifications of the Function Blocks Technical Specifications of the Function Blocks Introduction The following lists the technical data for the memory requirements, runtimes, minimum number of the CPU cycles and the system functions used. Memory requirements The table below contains the memory requirements of the function blocks of the CP 440.
  • Page 109: Table 6-10 Minimum Number Of Cpu Cycles

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.6 Technical Specifications of the Function Blocks Minimum Number of CPU Cycles The table below describes the minimum number of CPU cycles (FB/FC calls) required to process a "minimum request" (32 bytes SEND/RECEIVE for the transported user data set per program cycle).
  • Page 110 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Communication via Function Blocks 6.6 Technical Specifications of the Function Blocks Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 111: Startup Characteristics And Operating Mode Transitions Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Startup Characteristics and Operating Mode Transitions of the CP 440 Operating Modes of the CP 440 The CP 440 has the operating modes STOP, parameter reassignment and RUN. STOP When the CP 440 is in STOP mode, no protocol driver is active and all send and receive requests from the CPU are given a negative acknowledgment.
  • Page 112: Startup Characteristics Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Startup Characteristics and Operating Mode Transitions of the CP 440 7.2 Startup Characteristics of the CP 440 Startup Characteristics of the CP 440 Startup Phases of the CP 440 The CP 440 start-up is divided into two phases: ●...
  • Page 113: Behavior Of The Cp 440 On Operating Mode Transitions Of The Cpu

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Startup Characteristics and Operating Mode Transitions of the CP 440 7.3 Behavior of the CP 440 on Operating Mode Transitions of the CPU Behavior of the CP 440 on Operating Mode Transitions of the CPU Once the CP 440 has been started up, all the data is exchanged between the CPU and the CP 440 via the function blocks.
  • Page 114: Behavior Of The Sender Line Drivers Of The Serial Interface During Particular Operating Modes Of The Cp

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Startup Characteristics and Operating Mode Transitions of the CP 440 7.4 Behavior of the Sender Line Drivers of the Serial Interface During Particular Operating Modes of the CP Behavior of the Sender Line Drivers of the Serial Interface During Particular Operating Modes of the CP Behavior of the Sender Line Drivers Table 7-1...
  • Page 115: Diagnostics With The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 Diagnostics Functions of the CP 440 Introduction The diagnostics functions of the CP 440 enable you to quickly localize any errors which occur. The following diagnostics options are available: ● Diagnostics via the display elements of the CP 440 ●...
  • Page 116: Diagnostics Via The Display Elements Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.2 Diagnostics via the display elements of the CP 440 Diagnostics via the display elements of the CP 440 The display elements of the CP 440 provide information on the CP 440. The following display functions can be distinguished: ●...
  • Page 117: Diagnostics Messages Of The Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Diagnostics Messages of the Function Blocks Each function block has a STATUS parameter for error diagnostics. The STATUS message numbers always have the same meaning, irrespective of which function block is used. Numbering Scheme for Event Class/Event Number The figure below illustrates the structure of the STATUS parameter.
  • Page 118: Table 8-2 Event Classes And Event Numbers

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Classes The table below describes the various event classes and numbers. Table 8-2 Event classes and event numbers Event Class 0 (00H): "CP startup" Event no.
  • Page 119 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Class 5 (05H): "Error processing a CPU requrest" Event no. Event To correct or avoid errors (05)01H Current request aborted as a result of CP restart. No remedy is possible at POWER ON.
  • Page 120 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Class 7 (07H): "Send error" Event no. Event To correct or avoid errors (07)05H With 3964(R) only: Check if the partner is also showing an error, possibly because not all transmission data has Negative acknowledgment during sending arrived (e.g.
  • Page 121 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Class 8 (08H): "Receive error" Event no. Event To correct or avoid errors (08)01H With 3964(R) only: A repetition is not an error, however, it can be an indication that there are disturbances on the Expecting the first repetition: transmission line or a malfunction of the partner...
  • Page 122 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Class 8 (08H): "Receive error" Event no. Event To correct or avoid errors (08)0CH Transmission error: Faults on the transmission line cause message frame repetitions, thus lowering user data Transmission error (parity error, stop bit error, •...
  • Page 123 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event class 11 (0B8H): "Warnings" Event no. Event To correct or avoid errors (0B)01H Receive buffer more than 2/3 full Call the receive block more often to avoid the receive buffer overflowing.
  • Page 124: Table 8-3 Event Class 30

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.3 Diagnostics Messages of the Function Blocks Event Class 30 Event class 30 contains error messages which might occur during communication between the CP 440 and the CPU via the S7 backplane bus. The table below describes event class 30.
  • Page 125: Diagnostics Via The Diagnostic Buffer Of The Cp 440

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.4 Diagnostics via the diagnostic buffer of the CP 440 Diagnostics via the diagnostic buffer of the CP 440 Diagnostic Buffer of the CP 440 The CP 440 has its own diagnostic buffer, in which all the diagnostic events of the CP 440 are entered in the order in which they occur.
  • Page 126 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Diagnostics with the CP 440 8.4 Diagnostics via the diagnostic buffer of the CP 440 To do this, proceed as follows: 1. Open the relevant SIMATIC 400 station (by double-clicking on it or selecting the Edit > Open menu command).
  • Page 127: Programming Example For Standard Function Blocks

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks General Information Introduction The project example given here and contained in the CP440_PtP_Com project describes the standard functions for operating the CP 440 communication processor. The example can be executed with the minimum hardware equipment. The STEP 7 function monitor/modify variables is also used (e.g.
  • Page 128: Device Configuration

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.2 Device Configuration Device Configuration Application To try out the program example, you could use the following devices: ● One S7-400 PLC (mounting rack, power supply, CPU) ● One CP 440 module with a communications partner (e.g. a second CP), or you could plug in a "short-circuit connector", i.e.
  • Page 129: Blocks Used

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.4 Blocks Used Blocks Used Blocks Used The following tables contain a list of the blocks used for the program examples. Table 9-1 CP 440 SEND RECV Block Symbol Description OB 1 CYCLE Cyclic program processing...
  • Page 130 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.4 Blocks Used Table 9-3 CP 440 ASCII BCC Block Symbol Description OB 1 CYCLE Cyclic program processing OB 100 RESTART Cold restart processing FB 9 RECV_440 Receive standard FB for data FB 10 SEND_440 Send standard FB for data...
  • Page 131 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.4 Blocks Used Table 9-5 CP 440 SLAVE Block Symbol Description OB 1 CYCLE Cyclic program processing OB 100 RESTART Cold restart processing FB 9 RECV_440 Receive standard FB for data FB 10 SEND_440 Send standard FB for data...
  • Page 132: Installation, Error Messages

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.5 Installation, Error Messages 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.
  • Page 133: Activation, Startup Program And Cyclic Program

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.6 Activation, Startup Program and Cyclic Program 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.
  • Page 134: Cp440 1 Cyc" Program Example

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.6 Activation, Startup Program and Cyclic Program The "Enable Receive Data" program section: Before data can be received, the receive enable (RECV_EN_R) at block RECV_440 must be set to "1". "RECV_NDR=1"...
  • Page 135: Cp440 Ascii Bcc" Program Example

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.6 Activation, Startup Program and Cyclic Program 9.6.3 "CP440 ASCII BCC" Program Example Structure of the Program Example This program example only makes sense for the ASCII driver. This example is set up identically to the "CP440 SEND RECV" example but also contains the following: ●...
  • Page 136: Cp440 Master" Program Example

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Programming Example for Standard Function Blocks 9.6 Activation, Startup Program and Cyclic Program Description of the FC 24 (CHK BCC) The program of the FC24 is largely identical to that of the FC23. At the end, the calculated block check is compared with the block check of the received data.
  • Page 137: Technical Specifications

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications Technical Specifications of the CP 440 General technical data The following table contains the general technical specifications of the CP 440. S7-400 You will find further general technical specifications of the SIMATIC S7-400 in the and M7-400 Programmable Controllers, Module Specifications "General reference manual,...
  • Page 138 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications A.1 Technical Specifications of the CP 440 Technical Specifications Number of bits per character (7 or 8) Character frame • • Number of start/stop bits (1 or 2) Parity (none, even, odd); at 7 bits per •...
  • Page 139 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications A.1 Technical Specifications of the CP 440 Technical Specifications of the X27 (RS 422/485) Interface The following table contains the technical specifications of the X27 (RS 422/ 485) interface of the CP 440-RS 422/485. Table A-1 Technical Specifications of the X27 (RS 422/485) Interface Technical Specifications...
  • Page 140 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications A.1 Technical Specifications of the CP 440 Technical Specifications of the ASCII Driver The following table contains the technical specifications of the ASCII driver. Table A-3 Technical Specifications of the ASCII Driver ASCII driver Max.
  • Page 141 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications A.2 Transmission Rates Transmission Rates Transmission Rates The tables below indicate the transmission times required depending on the transmission protocol selected. Two S7-400s each with a CPU 416 (6ES7 416-2XK02-0AB0) and a CP 440 were used to measure the times.
  • Page 142 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Technical Specifications A.2 Transmission Rates Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 143: Cables

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Cables X27 (RS 422/485) Interface of the CP 440 Pin Assignment The table below shows the pin assignment for the 15-pin subminiature D female connector in the front panel of the CP 440. Table B-1 Pin Assignment for the 15-Pin Subminiature D Female Connector of the Integrated Interface of the CP 440 Socket on Designation Input/Output...
  • Page 144 Note that you must only use shielded connector housings. A large surface area of both sides of the cable shield must be in contact with the connector casing. You are advised to use Siemens V42 254 shielded connector casings. CAUTION Never connect the cable shield with the GND, as this could destroy the submodules.
  • Page 145: Wire)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Cables B.2 Cables Cable for X 27 (S7/M7 (CP 440) - CP 340/CP 341/CP 440/CP 441) The figure below illustrates the cable for a point-to-point connection between a CP 440 and a CP 340/CP 341/CP 440/CP 441 for RS 422 operation. For the cables you require the following male connectors: ●...
  • Page 146: (Two-Wire)

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Cables B.2 Cables Cable for X 27 (S7/M7 (CP 440) - CP 340/CP 341/CP 440/CP 441) The figure below illustrates the cable for a point-to-point connection between a CP 440 and a CP 340/CP 341/CP 440/CP 441 for RS 485 operation. For the cables you require the following male connectors: ●...
  • Page 147: Figure B-3 X27 Cable Cp 440 - Cp 544, Cp 524, Cpu 928B, Cpu 945, Cpu 948 For Rs

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Cables B.2 Cables X 27 Cable (S7/M7 (CP 440) - CP 544, CP 524, CPU 928B, CPU 945, CPU 948) The figure below illustrates the cable for a point-to-point connection between a CP 440 and a CP 544, CP 524, CPU 928B, CPU 945, CPU 948 for RS 422 operation.
  • Page 148 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Cables B.2 Cables Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 149: C Accessories And Order Numbers

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Accessories and Order Numbers C.1 Accessories and Order Numbers Module Table C-1 Order Numbers of the CP 440 Module Product Order Number CP 440 6ES7 440–1CS00–0YE0 Cables Cables are available of the preferential lengths: 5 m, 10 m and 50 m. Table C-2 Order Numbers of the Cables Cables for CP 440 - CP 340...
  • Page 150 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Accessories and Order Numbers C.1 Accessories and Order Numbers Point-to-point connection CP 440 Installation and Parameter Assignment Manual, 09/2007, A5E00057742-03...
  • Page 151: D Literature

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Literature D.1 Literature on SIMATIC S7 Literature on SIMATIC S7 The following page gives you an overview of the manuals that you need to configure and program the S7-400. Manuals for Configuring and Commissioning An extensive user documentation is available to assist you in configuring and programming the S7–400.
  • Page 152 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Literature D.1 Literature on SIMATIC S7 Title Contents Manual With the S7-GRAPH, S7-HiGraph, CFC languages, you can implement sequential function charts, state diagrams or graphic interconnections of blocks. Each of the S7-GRAPH1 for S7–300/400 manuals comprises a user manual and a language description. If it is the first time Programming Sequential Control that you use one of these languages, the manual will help you in getting familiar with Systems...
  • Page 153: Index

    www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Index 3964 procedure Cable shield, 144 Receive buffer, 52 Cables, 57, 144 3964 procedure programmable, 76 Order Numbers, 149 3964 procedure with default values, 76 Certification, 137 3964(R) Procedure, 43 Character delay time, 24, 70 Initialization conflict, 54 Character Delay Time, 31, 34 Parameters, 76 Character delay time (CDT), 77...
  • Page 154 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Index Data operands Function blocks, 85 Addressing, 101 Application, 89 Default settings, 41, 58, 74 Diagnostic messages, 117 Diagnostic buffer, 115, 125 Overview, 86 Diagnostic functions, 115, 137 Technical Specifications, 108 Diagnostic messages, 117 Functionality of the CP 440, 13 Diagnostics Diagnostic buffer, 125 Display elements, 116...
  • Page 155 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Index RECV_440 FB Assignment in the Data Area, 96 Master, 40 Block call, 95 Memory requirements, 108 Error display, 95 Message frame length:, 71 Parameters, 96 Minimum Number of CPU Cycles, 109 Time sequence chart, 97 Monitoring time for missing end ID, 71 Removing the CP 440, 62 Mounting, 61...
  • Page 156 www.gkbpx.com 该文档是极速PDF编辑器生成, 如果想去掉该提示,请访问并下载: http://www.jisupdfeditor.com/ Index Switchover time, 30 Symbolically addressed actual parameter, 106 Technical Specifications, 137 Time OBs, 85 Topologies, 40 Transmission attempts, 77 Transmission integrity, 27 with ASCII driver, 28 Transmission pause, 71 Transmission Rates, 141 Two-wire mode, 74 Uses of the CP 440, 13 Weight, 137 X27 (RS 422/485) interface, 143...

Table of Contents