Siemens SIMATIC CP 440 Manual

Installation and parameter assignment
Table of Contents

Advertisement

SIMATIC
Point-to-point Communication
CP 440
Installation and Parameter
Assignment
Manual
02/2000
Edition 02
Preface, Contents
Product Description
Basic Principles of Serial Data
Transmission
Commissioning the CP 440
the CP 440
Appendices
Communication Matrix of the
Protocols
Accessories and Order
Numbers
1
2
3
4
5
6
7
8
9
A
B
C
D
E

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC CP 440

  • Page 1: Table Of Contents

    Preface, Contents Product Description SIMATIC Basic Principles of Serial Data Transmission Commissioning the CP 440 Point-to-point Communication CP 440 Installing the CP 440 Installation and Parameter Configuring and Assignment Parameterizing the CP 440 Communication Using Function Blocks Manual Start-up Characteristics and Operating Mode Transitions of the CP 440 Diagnostics with the CP 440...
  • Page 2 Trademarks SIMATIC, SIMATIC HMI and SIMATIC NET are registered trademarks of SIEMENS AG. Some of other designations used in these documents are also registered trademarks; the owner’s rights may be violated if they are used by third parties for their own purposes.
  • Page 3: Installing The Cp 440

    Preface Purpose This manual explains how to establish and operate a point-to-point connection. Contents of This 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 Preface Structure of This Manual To help you to quickly find the information you require, this manual offers the following: You will find a full table of contents at the beginning of the manual. Finally, a comprehensive index allows quick access to information on specific subjects.
  • Page 5 The CP 440 is suitable for recycling on account of the low level of contaminants in its components. For further information about environment-friendly recycling and the procedure for disposing of your old equipment, please contact: Siemens Aktiengesellschaft Anlagenbau und Technische Dienstleistungen ATD TD 3 Kreislaufwirtschaft Postfach 32 40...
  • Page 6 Preface Additional Assistance Please contact your local Siemens representative if you have any queries about the products described in this manual. A list of Siemens representatives worldwide is contained, for example, in the “Siemens Worldwide” Appendix of the manual S7-400 Programmable Controller, Hardware and Installation .
  • Page 7: Configuring And Parameterizing The Cp

    Contents Product Description ........... . Applications of the CP 440 .
  • Page 8: Communication Using Function Blocks

    Contents Communication Using Function Blocks ........Communication Using Function Blocks .
  • Page 9: Technical Specifications

    Contents Technical Specifications ..........Technical Specifications of the CP 440 .
  • Page 10 Contents Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 11: Product Description

    Product Description In Section You Will Find on Page Applications of the CP 440 Components Required for a Point-to-Point Connection with the CP 440 Design of the CP 440 Properties of the X27 (RS 422/485) Interface Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 12: Applications Of The Cp 440

    Applications of the CP 440 The CP 440 communication processor allows point-to-point communication with SIMATIC modules and with non-Siemens products. The SIMATIC modules that can be connected are listed in Appendix C. Functions Supported by the Interfaces Table 1-1...
  • Page 13: Components Required For A Point-To-Point Connection With The Cp

    Product Description Components Required for a Point-to-Point Connection with the CP 440 To establish a point-to-point connection between the CP 440 communication processor and a communication partner, you require certain hardware and software components. Hardware Components The following table lists the hardware components required for establishing a point-to-point connection with the CP 440.
  • Page 14 Product Description Table 1-2 Hardware Components for a Point-to-Point Connection with the CP 440, continued Components Function Diagram Programming device cable ... connects a CPU to a programming device/PC. Programming device or PC ... communicates with the CPU of the S7-400. Software Components The following table lists the software components required for establishing a point-to-point connection with the CP 440.
  • Page 15 Product Description CPU Versions The CP 440 can be operated with all CPU versions except the CPUs listed in the tables below: Table 1-4 CPU Versions with Which the CP 440 Can Be Used as of the Version Indicated MLFB CPU 412-1 6ES7 412-1XF01-0AB0, Release 5 CPU 413-1...
  • Page 16: Design Of The Cp 440

    Product Description Design of the CP 440 Interface The CP 440 communication processor is supplied with an integrated serial X27 (RS422/485) interface. Arrangement of the Controls and Indicators Fig. 1-1 shows the arrangement of the controls and indicators on the front panel of the CP 440 communication processor.
  • Page 17 Product Description 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 (green) interface sends (green) interface receives The operating modes and faults and errors indicated by these LEDs are described in Section 8.2.
  • Page 18: Features Of The X27 (Rs 422/485) Interface

    Standard Connecting Cables For point-to-point connection between the CP 440 and a communication partner, Siemens offers standard connecting cables in various lengths. The lengths and order numbers of these cables are listed in Appendix D. Constructing Your Own Connecting Cables If you make your own connecting cables, there are some points you must be aware of.
  • Page 19: Basic Principles Of Serial Data Transmission

    Basic Principles of Serial Data Transmission In Section You Will Find on Page Serial Transmission of a Character Transmission Procedure with a Point-to-Point Connection Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 20: Serial Transmission Of A Character

    Basic Principles of Serial Data Transmission Serial Transmission of a Character There are various networking alternatives for the transfer 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. Point-to-Point Connection In a point-to-point connection the CP 440 communication processor forms the interface between a programmable controller and a communication partner.
  • Page 21 Basic Principles of Serial Data Transmission 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 22 Basic Principles of Serial Data Transmission Character Frames 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. You can parameterize the format for data transmission with the CP 440: Point-to-Point Communication, Parameter Assignment parameterization interface.
  • Page 23 Basic Principles of Serial Data Transmission 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. Signal nth character (n + 1)th character Character delay time Time t Figure 2-2...
  • Page 24: Trdatansmission Procedure With Data Point-To-Point Connection

    Basic Principles of Serial Data Transmission Transmission Procedure with a Point-to-Point Connection When data is transmitted, all communication partners involved must follow fixed rules for handling and implementing the data traffic. The ISO has defined a 7-layer model, which is recognized as the basis for a worldwide standardization of transmission protocols for computer-to-computer communication.
  • Page 25 Basic Principles of Serial Data Transmission 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 26 Basic Principles of Serial Data Transmission Transmission Integrity 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. Classifying the Supplied Protocols The CP 440 can handle the following protocols: ASCII driver...
  • Page 27 Basic Principles of Serial Data Transmission Transmission Integrity with the ASCII Driver Data Integrity When Using the ASCII Driver: When data is transmitted by means of the ASCII driver, there are no measures to ensure data integrity other than the use of a parity bit (which can also be canceled, depending on how the character frame is set).
  • Page 28 Basic Principles of Serial Data Transmission 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 29: Data Transmission With The Ascii Driver

    Basic Principles of Serial Data Transmission 2.2.2 Data Transmission with the ASCII Driver The ASCII driver controls data transmission via a point-to-point connection between the CP 440 and a communication partner. This driver contains the physical layer (layer 1 of the ISO reference model.) The structure of the message frames is left open through the S7 user passing on the complete send message frame to the CP 440.
  • Page 30 Basic Principles of Serial Data Transmission Sending Data with the ASCII Driver When you send data, you specify the number of user data bytes to be transferred in the “LEN” parameter of the call of the SEND_440 function block. When you work with the end criterion “character delay time expired” when receiving data, the ASCII driver pauses between two message frames when sending.
  • Page 31 Basic Principles of Serial Data Transmission Send data The figure below illustrates a send operation. Waiting for send job Send job arrived The amount of data to be sent is taken from Sending user the LEN parameter of data the send job. Figure 2-4 Sequence of a Send Operation Receiving Data with the ASCII Driver...
  • Page 32 Basic Principles of Serial Data Transmission Code Transparency The code transparency of the procedure depends on the selection of the parameterized end criterion and the flow control: With one or two end-of-text characters – Not code-transparent When the end criterion is the character delay time or a fixed message frame length –...
  • Page 33 Basic Principles of Serial Data Transmission End Criterion: “Expiration of Character Delay Time” When data is received, the end of the message frame is detected 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 reliably expires between two consecutive message frames.
  • Page 34 Basic Principles of Serial Data Transmission End Criterion: End-of-Text Character When data is received, the end of the message frame is detected when the parameterized end-of-text character(s) arrive. The following options are available: One end-of-text character Two end-of-text characters, 1st and 2nd end-of-text characters Two end-of-text characters, 1st or 2nd end-of-text character The received data including the end-of-text character(s) is accepted from the CPU.
  • Page 35 Basic Principles of Serial Data Transmission The figure below illustrates a receive operation with the end criterion “end-of-text character”. Waiting for character Character arrived Character received with end control and character delay time Error when receiving Message frame Waiting for valid complete end code Message frame...
  • Page 36 Basic Principles of Serial Data Transmission End Criterion: Fixed Frame Length When data is received, the end of the message frame is detected when the parameterized number of characters has arrived. The received data is accepted from the CPU. If the character delay time expires before the parameterized number of characters has been reached, the receive operation is terminated.
  • Page 37 Basic Principles of Serial Data Transmission The figure below illustrates a receive operation with the end criterion “fixed message frame length”. Waiting for character Character arrived Character received with length control and character delay time Error when receiving Message frame Waiting for complete parameterized...
  • Page 38 Basic Principles of Serial Data Transmission Receive Buffer on the CP 440 The CP 440 receive buffer accommodates 2000 bytes. At parameterization 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 entire receive buffer.
  • Page 39 Basic Principles of Serial Data Transmission Data Flow Control/Handshaking Handshaking controls the data flow between two communication partners. Handshaking ensures that data is not lost in transmissions between devices that work at different speeds. Software handshaking is supported with XON/XOFF in the CP 440.
  • Page 40 Basic Principles of Serial Data Transmission Topologies Between the Communication Partners The CP 440 can be used in different topologies in the RS422 and RS485 operating modes. Distinctions are drawn between connections with: – Two nodes (point-to-point ) and – Several nodes (multipoint) In these cases the CP 440 can be used as: –...
  • Page 41 Basic Principles of Serial Data Transmission Master Slave Slave Slave Figure 2-10 RS 422 Multipoint In the case of a topology in RS485 operation: – The cable pair is interconnected for the send/receive line of all the nodes. – Only the receiver of a node has a default setting. All the other modules function without default settings.
  • Page 42: Data Transmission With The 3964(R) Procedure

    Basic Principles of Serial Data Transmission Note When you run the ASCII driver in RS422 multipoint or RS485 mode, you must take steps in the user program to ensure that only one node sends data at any one time. If two nodes send data simultaneously, the message frame is corrupted. 2.2.3 Data Transmission with the 3964(R) Procedure The 3964(R) procedure controls data transmission via a point-to-point connection...
  • Page 43 Basic Principles of Serial Data Transmission Priority With the 3964(R) procedure, one communication partner must be assigned a higher priority and the other partner a lower priority. If both partners begin connection setup at the same time, the partner with the lower priority will defer its send job.
  • Page 44 Basic Principles of Serial Data Transmission Sending Data with 3964(R) The figure below illustrates the transmission sequence when data is sent with the 3964(R) procedure. CP 440 Communication partner Start code (02H) Connection Pos. acknowledgment (10H) setup 1st data byte 1st byte 2nd data byte 2nd byte...
  • Page 45 Basic Principles of Serial Data Transmission 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 intervals between incoming characters.
  • Page 46 Basic Principles of Serial Data Transmission Receiving Data with 3964(R) The figure below illustrates the transmission sequence when data is received with the 3964R procedure. Communication CP 440 partner Connection Start code (02H) setup Pos. acknowledgment (10H) 1st byte 1st data byte 2nd byte 2nd data byte User...
  • Page 47 Basic Principles of Serial Data Transmission 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. After each receive character, the procedure waits out the character delay time for the next character.
  • Page 48 Basic Principles of Serial Data Transmission Handling Errored Data The figure below illustrates how errored data is handled with the 3964(R) procedure. Communication CP 440 partner Receiving data Connection Start code (02H) setup Pos. acknowledgment (10H) 1st byte 1st data byte User data nth byte...
  • Page 49 Basic Principles of Serial Data Transmission Initialization Conflict The figure below illustrates the transmission sequence during an initialization conflict. CP 440 Communication partner (low priority) (higher priority) Start code (02H) Connection Start code (02H) setup Pos. acknowledgment (10H) 1st data byte 1st byte 2nd data byte 2nd byte...
  • Page 50 Basic Principles of Serial Data Transmission Procedure Errors The procedure detects 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 51 Basic Principles of Serial Data Transmission Sending with the 3964(R) Procedure The figure below illustrates sending with the 3964(R) procedure. Intention to send Send NAK W = 1 Send NAK x > 6 x <= 6 x > 6 x = 1 x <= 6 Send STX W + 1...
  • Page 52 Basic Principles of Serial Data Transmission Receiving with the 3964(R) Procedure (Part 1) The figure below illustrates receiving with the 3964(R) procedure. Characters except Intention to send STX, NAK Receive Repetition expected Note W +1 Initialization conflict, low Start priority NAKTIM Wait T >...
  • Page 53 Basic Principles of Serial Data Transmission Receiving with the 3964(R) Procedure (Part 2) The figure below illustrates receiving with the 3964(R) procedure. Start T char. delay time Note Correct character except Wait to Invalid character for DLE receive T > T characters char.
  • Page 54 Basic Principles of Serial Data Transmission Receive Buffer on the CP 440 The CP 440 receive buffer accommodates 2000 bytes. At parameterization 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 55: Commissioning The Cp 440

    Commissioning the CP 440 In Section You Will Find on Page Sequence of Steps to Be Taken Commissioning the Physical Interface Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 56: Sequence Of Steps To Be Taken

    Commissioning the CP 440 Sequence of Steps to Be Taken Before starting up the CP 440 you will need to perform the following steps in the specified sequence. 1. Install the CP 440 2. Configure the CP 440 3. Parameterize the CP 440 4.
  • Page 57 Commissioning the CP 440 Creating a User Program for the CP 440 Programming the CP 440 involves configuring it for the associated CPU using the STEP7 user program. The CP 440 is programmed using the language editors of the STEP 7 software. A detailed description of programming with STEP 7 is contained in the Programming with STEP 7 manual.
  • Page 58: Commissioning The Physical Interface

    Commissioning the CP 440 Commissioning the Physical Interface If there is no communication with the partner device after configuration has been completed, you should test the connection. To do this, proceed as follows: 1. What might be the possible cause: –...
  • Page 59 Commissioning the CP 440 Example 3: Neither correct polarity nor correct default settings known – Reverse the connections (note: cross both pairs of lines in the RS422) – If not OK, change the default settings (all options) with an appropriate communication attempt –...
  • Page 60 Commissioning the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 61: Installing The Cp 440

    Installing the CP 440 In Section You Will Find on Page CP 440 Slots Installing and Removing the CP 440 Installation Guidelines Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 62: Cp 440 Slots

    Installing the CP 440 CP 440 Slots On the rack of the S7-400 programmable controller there are no specific slots reserved for communication modules. Position of the CP 440 on the Rack The CP 440 can be plugged into any slot on the rack, with the following exception: On all racks the power supply module occupies slots 1 to 3, depending on its width.
  • Page 63: Installing And Removing The Cp 440

    Installing the CP 440 Installing and Removing the CP 440 When installing and removing the CP 440, you must observe certain rules. Tool For installing and removing the CP 440 you require a 3.5 mm cylindrical screwdriver. Installation Sequence To install the CP 440 on a rack, proceed as follows: 1.
  • Page 64: Installation Guidelines

    Installing the CP 440 Installation Guidelines To be Observed The general installation guidelines for the S7-400 must be observed (see the S7-400/M7-400 Programmable Controllers, Hardware and Installation manual). To meet the EMC (electromagnetic compatibility) values, the cable shield must be connected to a shield bus.
  • Page 65: Configuring And Parameterizing The Cp

    Configuring and Parameterizing the CP 440 In Section You Will Find on Page Configuring the CP 440 Parameterizing the Communication Protocols Parameterization Data Management of the Parameter Data 5-20 Subsequent Loading of Firmware Updates 5-21 Configuration Options You configure and parameterize the CP 440 using STEP 7 or the CP 440: Point-to-Point Communication, Parameter Assignment parameterization interface.
  • Page 66: Configuring The Cp

    Configuring and Parameterizing the CP 440 Configuring the CP 440 After the CP 440 has been installed, you must make the CP 440 known to the programmable logic controller. This process is known as “configuration”. Requirements The CP 440 Point-to-Point Communication, Parameter Assignment parameterization interface must be installed on the programming device/PC under STEP 7 (see also Table 5-1).
  • Page 67: Parameterizing The Communication Protocols

    Configuring and Parameterizing the CP 440 Parameterizing the Communication Protocols Once you have entered the CP 440 in the configuration table, you have to assign parameters to the CP 440 communication processors and the interface submodules of the CP 440. Parameterization The term “parameterization”...
  • Page 68: Parameterization Data

    Configuring and Parameterizing the CP 440 Parameterization Data 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 CP440 communication processor to suit the communication partner. The sections that follow describe the basic parameters of the CP 440 and the parameterization data for the ASCII driver and for the 3964(R) procedure.
  • Page 69 Configuring and Parameterizing the CP 440 How is the Storage of the Received Message Frames Controlled by Setting the “Reaction to CPU Stop” Parameter? The response depends on whether or not flow control is used. Table 5-3 Control of Message Frame Storage Without Flow Control Without Flow Control Saved Frames Frame Just Arriving...
  • Page 70: Parameterization Data Of The Ascii Driver

    Configuring and Parameterizing the CP 440 5.3.2 Parameterization Data of the ASCII Driver Using the parameterization data of the ASCII driver, you can adjust the CP440 to suit the communication partner. Parameterization Data of the ASCII Driver Using the CP440: Point-to-Point Communication, Parameter Assignment interface, specify the parameters for the physical layer (layer 1) of the ASCII driver.
  • Page 71 Configuring and Parameterizing the CP 440 Protocol Parameters The table below describes the protocol parameters. Table 5-5 Protocol Parameters (ASCII Driver) Parameter Description Value Range Default Value End ID of a Specifies the criterion that On Expiry of Character On Expiry of Receive indicates the end of each message Delay Time...
  • Page 72 Configuring and Parameterizing the CP 440 Table 5-5 Protocol Parameters (ASCII Driver) Parameter Description Value Range Default Value Transmission A pause equal to the length of the pause between monitoring time (for a missing end the messages ID) is inserted between two related to the message frames when sending so monitoring time...
  • Page 73 Configuring and Parameterizing the CP 440 Transmission Rate/Character Frame The table below describes the parameters for the transmission rate and character frame. Table 5-6 Transmission Rate/Character Frame (ASCII Driver) Parameter Description Value Range Default Value Transmission Rate Speed of data transmission in bps 9600 1200 2400...
  • Page 74 Configuring and Parameterizing the CP 440 Data Flow Control In the following table the parameters for data flow control are described. 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) Parameter Description...
  • Page 75 Configuring and Parameterizing the CP 440 Receive Buffer on the CP The table below describes the parameters for the CP receive buffer. Table 5-8 Receive Buffer on the CP (ASCII Driver) Parameter Description Value Range Default Value Delete CP Receive During power up or during transition of Buffer on Startup the CPU from STOP to RUN, the CP...
  • Page 76 Configuring and Parameterizing the CP 440 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) Parameter Description Value Range...
  • Page 77 Configuring and Parameterizing the CP 440 Initial State of the Receive Line Figure 5-1 shows the wiring of the recipient at the X27 (RS 422/ 485) interface: R(B) + none R(A) – R(B) + R(A)5V/R(B)0V R(A) – R(B) + R(A)0V/R(B)5V R(A) –...
  • Page 78: Parameterization Data Of The 3964(R) Procedure

    Configuring and Parameterizing the CP 440 5.3.3 Parameterization Data of the 3964(R) Procedure Using the parameterization data of the 3964(R) procedure, you can adjust the CP440 to suit the communication partner. Parameterization Data of the 3964(R) Procedure Using the CP 440 Point-to-Point Communication, Parameter Assignment parameterization interface you set the parameters for the physical layer (layer 1) and the data link layer (layer 2) of the 3964(R) procedure Below you will find a detailed description of the parameters.
  • Page 79 Configuring and Parameterizing the CP 440 Protocol The following table describes the 3964(R) protocol. Table 5-10 3964(R) Protocol Parameter Description Default Value 3964 Default Values The protocol parameters are set to default values. 3964(R) Default Without Block Check Values With If the CP440 detects the string DLE ETX, it stops Block Check: receiving and sends DLE to the communication...
  • Page 80 Configuring and Parameterizing the CP 440 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) Parameter Description Value Range Default Value Character Delay The character delay time defines the 20 ms to 65535 ms in 220 ms...
  • Page 81 Configuring and Parameterizing the CP 440 Transmission Rate/Character Frame The following table describes the transmission rate/character frame. Table 5-12 Transmission Rate/Character Frame (3964(R) Procedure) Parameter Description Value Range Default Value Transmission Rate Speed of data transmission in bps 9600 1200 2400 4800 9600...
  • Page 82 Configuring and Parameterizing the CP 440 Receive Buffer on the CP The table below describes the parameters for the CP receive buffer. Table 5-13 Receive Buffer on the CP (3964(R) procedure) Parameter Description Value Range Default Value Delete CP Receive During power up or during transition of Buffer on Startup the CPU from STOP to RUN the CP...
  • Page 83 Configuring and Parameterizing the CP 440 Initial State of the Receive Line The table below contains a description of the initial state of the receive line for the X27 (RS 422) interface. RS 485 operation is not possible in conjunction with the 3964(R) procedure.
  • Page 84: Management Of The Parameter Data

    Configuring and Parameterizing the CP 440 Management of the Parameter Data The configuration and parameterization data of the CP 440 is saved in the current project (on the hard disk of the programming device/PC). Data Storage When you exit the configuration table (see Section 5.1) by choosing the Station > Save or Station >...
  • Page 85: Uploading Firmware Updates

    Configuring and Parameterizing the CP 440 Uploading Firmware Updates Firmware updates can be uploaded to the operating-system memory of the CP 440 as patches. Firmware updates are loaded using the CP 440: Point-to-Point Communication, Parameter Assignment parameterization interface. Basic Firmware The CP 440 is shipped with basic firmware preinstalled.
  • Page 86 Configuring and Parameterizing the CP 440 Downloading Firmware You download the firmware update to the CP 440 with the aid of the CP 440: Point-to-Point Communication, Parameter Assignment parameterization interface. Proceed as follows: 1. Switch the CPU to STOP mode. 2.
  • Page 87 Configuring and Parameterizing the CP 440 LEDs LED indicators for firmware update: Table 5-15 LED Indicators for Firmware Update Status INTF/EX FAULT Comment Remedy Firmware update in – – progress Firmware update – – completed CP 440 without module flashing Module Reload the firmware...
  • Page 88 Configuring and Parameterizing the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment 5-24 A5E00057742-02...
  • Page 89: Communication Using Function Blocks

    Communication Using Function Blocks In Section You Will Find on Page Communication Using Function Blocks Overview of the Function Blocks Using the Function Blocks Programming the Function Blocks 6-18 General Information on Program Processing 6-23 Technical Specifications of the Function Blocks 6-24 Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 90 Communication Using Function Blocks Communication Using Function Blocks 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 the CPU and CP 440 The function blocks form the software interface between the CPU and the CP 440. They must be called cyclically from the user program.
  • Page 91: Overview Of The Function Blocks

    Communication Using Function Blocks Overview of the Function Blocks 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. Function Blocks The table below contains the function blocks of the CP 440 and describes their purpose.
  • Page 92: Notes On Program Structure

    Communication Using Function Blocks Notes on Program Structure In order to use the speed of the CP 440 to optimum effect, you should heed the following when you create your user program: In a short cycle (see also “CP 440 1CYC Programming Example” in Chapter 9): Only one run of the SEND_440 function block with REQ=0 and one run with REQ=1 is necessary for data transmission (creating the positive edge at the REQ input).
  • Page 93: Using The Function Blocks

    Communication Using Function Blocks Using the Function Blocks The following sections describe what you must take into account when supplying the function blocks with parameters. STATUS Display on the FB Please note the following with reference to the STATUS display on the function blocks: Note The DONE, NDR, LEN, ERROR and STATUS parameters are set for only one...
  • Page 94: The S7 Transmits Data To A Communication Partner, 10 Send_440 Fb

    Communication Using Function Blocks Data Consistency Please note the following to ensure consistent data transmission: Sender: Only access the send DB again once all the data has been transferred (DONE = 1). Receiver: Only access the receive DB again once all the data has been received (NDR = 1).
  • Page 95 Communication Using Function Blocks What To Do Block Call STL Representation LAD Representation SEND_440, I_SEND_440 CALL SEND_440, I_SEND_440 REQ: LADDR: DONE DB_NO: ERROR DBB_NO: LADDR STATUS LEN: DB_NO DONE: DBB_NO ERROR: STATUS: Note The parameters EN and ENO are only present in the graphical representation (LAD or FBD).
  • Page 96 Communication Using 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 (see Section 8.3).
  • Page 97 Communication Using 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. DONE ERROR Figure 6-1 Time Sequence Chart for the 10 SEND_440 FB Note The REQ input is edge-triggered.
  • Page 98: S7 Receives Data From A Communication Partner, 9 Recv_440 Fb

    Communication Using Function Blocks 6.4.2 S7 Receives Data from a Communication Partner, 9 RECV_440 FB 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. The RECV_440 FB is called cyclically for data transmission or, alternatively, statically in a time-controlled program (without conditions).
  • Page 99 Communication Using Function Blocks What To Do Block Call STL Representation LAD Representation RECV_440, I_RECV_440 CALL RECV_440, I_RECV_440 EN_R: LADDR: EN_R DB_NO: ERROR DBB_NO: LADDR NDR: DB_NO STATUS ERROR: DBB_NO L_TYP LEN: STATUS: Note The parameters EN and ENO are only present in the graphical representation (LAD or FBD).
  • Page 100 Communication Using Function Blocks Parameters of the RECV_440 FB The following table lists the parameters of the RECV_440 FB. Table 6-3 Parameters of the RECV_440 FB Name Type Data Type Comment Permitted Values, Comment EN_R INPUT BOOL Enables reading of data INPUT BOOL Aborts job...
  • Page 101 Communication Using 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. EN_R ERROR (length) Figure 6-2 Time Sequence Chart for the 9 RECV_440 FB Note The EN_R input must be set statically to “1”.
  • Page 102: Deleting The Receive Buffer (11 "Res_Recv" Fb)

    Communication Using Function Blocks 6.4.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 103 Communication Using Function Blocks What To Do Block Call STL Representation LAD Representation RES_RECV, I_RES_RECV CALL RES_RECV, I_RES_RECV REQ: LADDR: DONE DONE: ERROR ERROR: LADDR STATUS STATUS: Note The parameters EN and ENO are only present in the graphical representation (LAD or FBD).
  • Page 104 Communication Using Function Blocks Parameters of the RES_RECV FB The following table lists the parameters of the RES_RECV FB. Table 6-4 Parameters of the RES_RECV FB Name Type Data Type Comment Permitted Values, Comment INPUT BOOL Initiates job with positive edge INPUT BOOL...
  • Page 105 Communication Using 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. DONE ERROR Figure 6-3 Time Sequence Chart for the 11 RES_RECV FB Note The REQ input is edge-triggered.
  • Page 106: Programming The Function Blocks

    Communication Using Function Blocks Programming the Function Blocks This section is intended for all those who have changed from SIMATIC S5 to SIMATIC S7. The following sections tell you what to watch for when you program function blocks in STEP 7. 6.5.1 General Information on Data Block Assignment Addressing...
  • Page 107: Supplying The Block Parameters

    Communication Using 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 DBB 20 DR 10 DBB 21 D 10.0 DBX 21.0...
  • Page 108 Communication Using Function Blocks Example of Indirect Parameterization Call of the FB 10 corresponding to indirect parameterization: Explanation Network 1: CALL FB 10, DB10 := M 0.6 //SEND initiation := M 5.0 //RESET initiation LADDR := MW21 //Basic address in MW21 DB_NO := MW40 //DB no.
  • Page 109 Communication Using 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 110 Communication Using Function Blocks Example of a “Symbolically Addressed Actual Parameter” Call of the FB 10 with symbolically addressed actual parameters: Explanation Network 1: CALL FB 10, DB10 := SEND_REQ //SEND initiation := SEND_R //RESET initiation LADDR := BGADR //Basic address DB_NO := CP_DB.SEND_DBNO //Send DB no.
  • Page 111: General Information On Program Processing

    Communication Using Function Blocks General Information on Program Processing Startup Characteristics of the CP 440 Programmable Logic Controller The parameterization data is created using the CP440: Point-to-Point Communication, Parameter Assignment parameterization interface and transferred to the CPU using the STEP 7 software. Each time the CPU is started up, the current parameters are transferred to the CP 440 by the system service of the CPU.
  • Page 112: Technical Specifications Of The Function Blocks

    Communication Using Function Blocks Technical Specifications of the Function Blocks Memory Requirements The table below contains the memory requirements of the function blocks of the CP 440. Table 6-5 Memory Requirements of the Function Blocks (in Bytes) Block Name Version Load Memory Working Local Data...
  • Page 113 Communication Using 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 job (32 SEND/RECEIVE bytes for the transported user data set per program cycle). This only applies in centralized operation. Table 6-7 Minimum Number of CPU Cycles Number of CPU Cycles for Processing ...
  • Page 114 Communication Using Function Blocks Point-to-point connection CP 440 Installation and Parameter Assignment 6-26 A5E00057742-02...
  • Page 115: Startup Characteristics And Operating Mode Transitions Of The Cp

    Startup Characteristics and Operating Mode Transitions of the CP 440 In Section You Will Find on Page Operating Modes of the CP 440 Startup Characteristics of the CP 440 Behavior of the CP 440 During Operating Mode Transitions of the Behavior of the Sender Line Drivers of the Serial Interface During Particular Operating Modes of the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment...
  • Page 116: Operating Modes Of The Cp 440

    Startup Characteristics and Operating Mode Transitions of the CP 440 Operating Modes of the CP 440 The CP 440 has the operating modes STOP, parameterization and RUN. STOP When the CP 440 is in STOP, no protocol driver is active and all send and receive jobs from the CPU are given a negative acknowledgment.
  • Page 117: Behavior Of The Cp 440 During Operating Mode Transitions Of The Cpu

    Startup Characteristics and Operating Mode Transitions of the CP 440 Behavior of the CP 440 During 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. CPU STOP In CPU-STOP mode, communication via the S7 backplane bus is not possible.
  • Page 118: Behavior Of The Sender Line Drivers Of The Serial Interface During Particular Operating Modes Of The Cp

    Startup Characteristics and Operating Mode Transitions of the CP 440 Behavior of the Sender Line Drivers of the Serial Interface During Particular Operating Modes of the CP 440 Table 7-1 Behavior of the Sender Line Drivers Status Line Drivers The CP 440 is deenergized Low impedance The CP 440 is in the expansion rack with its High resistance...
  • Page 119: Diagnostics With The Cp 440

    Diagnostics with the CP 440 In Section You Will Find on Page Diagnostic Functions of the CP 440 Diagnosis via the Display Elements of the CP 440 Diagnostic Messages of the Function Blocks Diagnosis via the Diagnostic Buffer of the CP 440 8-14 Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 120: Diagnostic Functions Of The Cp 440

    Diagnostics with the CP 440 Diagnostic functions of the CP 440 The diagnostic functions of the CP 440 enable you to quickly localize any errors which occur. The following diagnostic options are available: Diagnosis via the display elements of the CP 440 Diagnosis via the STATUS output of the function blocks Diagnosis via the diagnostic buffer of the CP 440 Display Elements (LEDs)
  • Page 121: Diagnosis Via The Display Elements Of The Cp 440

    Diagnostics with the CP 440 Diagnosis 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: Group alarm LEDs – INTF Internal fault –...
  • Page 122 Diagnostics with the CP 440 Error Messages of the Display Elements The table below describes the error messages of the display elements. Table 8-1 Error Messages of the CP 440 Display Elements Error LED Error Description Remedy INTF comes on CP 440 signals internal fault, e.g. Read the STATUS of the FB, or protocol fault read the diagnostic buffer of the...
  • Page 123: Diagnostic Messages Of The Function Blocks

    Diagnostics with the CP 440 Diagnostic Messages of the Function Blocks Every 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. Number system Event Class/Event Number The figure below illustrates the structure of the STATUS parameter.
  • Page 124 Diagnostics with the CP 440 Event Classes The table below describes the various event classes and numbers. Table 8-2 Event Classes and Event Numbers Event Class 0 (00H): “Startup of the CP” Event No. Event Text Remedy (00)01H Initialization of the CP completed –...
  • Page 125 Diagnostics with the CP 440 Table 8-2 Event Classes and Event Numbers, continued Event Class 5 (05H): “Error while processing CPU job” Event No. Event Remedy (05)01H Current job aborted as a result of CP No remedy is possible at POWER ON. When restart.
  • Page 126 Diagnostics with the CP 440 Table 8-2 Event Classes and Event Numbers, continued Event No. Event Remedy (07)04H With 3964(R) only: Check whether the partner is also indicating an error, possibly because not all the Termination by partner: transmission data has arrived (e.g. due to a During the current send operation, one or break in the send line) or due to serious more characters were received by the...
  • Page 127 Diagnostics with the CP 440 Table 8-2 Event Classes and Event Numbers, continued Event No. Event Remedy (07)0BH With 3964(R) only: Change the parameterization. Initialization conflict cannot be solved because both partners have high priority. (07)0CH With 3964(R) only: Change the parameterization. Initialization conflict cannot be solved because both partners have low priority.
  • Page 128 Diagnostics with the CP 440 Table 8-2 Event Classes and Event Numbers, continued Event No. Event Remedy (08)07H Impermissible message frame length: Receipt of a message frame of length 0 is not an error. A message frame of length 0 was received. Check why the communication partner is sending message frames without user data.
  • Page 129 Diagnostics with the CP 440 Table 8-2 Event Classes and Event Numbers, continued Event No. Event Remedy (08)11H Character frame error Check the connecting cable of the communication partner, or check whether both devices have same setting for the transmission rate, parity and number of stop bits.
  • Page 130 Diagnostics with the CP 440 Displaying and Evaluating the STATUS Output You can display and evaluate the actual parameters at the STATUS output of the function blocks. Note An error message is only output if the ERROR bit (job completed with errors) is set.
  • Page 131 Diagnostics with the CP 440 Calling the SFCERR Variable You can obtain more information on errors 14 (1E0EH) and 15 (1E0FH) in event class 30 by means of the SFCERR variable. You can load the SFCERR variable from the instance DB belonging to the corresponding function block.
  • Page 132: Diagnostics Using The Diagnostic Buffer Of The Cp 440

    Diagnostics with the CP 440 Diagnostics Using the Diagnostic Buffer of the CP 440 The Diagnostic Buffer on 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. The following are displayed in the diagnostic buffer of the CP 440: Initialization and parameterization errors Errors during execution of a CPU job...
  • Page 133 Diagnostics with the CP 440 Reading Out the Diagnostic Buffer on the Programming Device The contents of the diagnostic buffer of the CP 440 can be read out by means of the STEP 7 information functions. All the user-relevant information in the CP diagnostic buffer is displayed to you in the “Diagnostic Buffer”...
  • Page 134 Diagnostics with the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment 8-16 A5E00057742-02...
  • Page 135: Programming Example - Standard Blocks

    Programming Example – Standard Blocks In Section You Will Find on Page General Device Configuration Settings Blocks Used Installation, Error Messages Activation, Startup Program and Cyclic Program Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 136: General

    Programming Example – Standard Blocks General The project example given here and contained in the CP440_PtP_Com project describes the standard functions for operating the CP 440 communication processor. Objectives The project example is intended to do the following: To show the most important functions To enable the correct functioning of the connected hardware to be checked (the example is therefore simple and easy to follow) To be extended for your own purposes without difficulty...
  • Page 137: Settings

    Programming Example – Standard Blocks Settings Settings in the CPU Using STEP 7 You must configure the controller setup using STEP 7. Slot 1: Power supply Slot 2: CPU Slot 4: CP 440, start address 512 Slot 5: CP 440, start address 528 There is no CP 440 on slot 5 in the “CP440 MASTER”...
  • Page 138: Blocks Used

    Programming Example – Standard Blocks 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 Comment OB 1 CYCLE Cyclic program processing OB 100 RESTART Cold restart processing DB 21...
  • Page 139 Programming Example – Standard Blocks Table 9-3 CP 440 ASCII BCC Block Symbol Comment OB 1 CYCLE Cyclic program processing OB 100 RESTART Cold restart processing FB 9 RECV_440 Receive standard FB for data FB10 SEND_440 Send standard FB for data FC 21 SEND Send data...
  • Page 140 Programming Example – Standard Blocks Table 9-4 CP 440 MASTER, continued Block Symbol Comment DB 52 SEND SRC DB SL02 Send data block DB 61 RECV DST DB SL01 Receive data block DB 62 RECV DST DB SL02 Receive data block Table 9-5 CP 440 SLAVE Block...
  • Page 141: Installation, Error Messages

    Programming Example – Standard Blocks Installation, Error Messages Form of Delivery and Installation The project example of the CP 440 and the CP 440: Point -to-Point Communication, Parameter Assignment parameterization interface is supplied together with the function blocks and this manual on a CD. The program examples are installed together with the parameterization interface.
  • Page 142: Activation, Startup Program And Cyclic Program

    Programming Example – Standard Blocks Activation, Startup Program and Cyclic Program Activation, Startup Program The startup program is located in the OB 100. At startup the control bits and the counter are reset. 9.6.1 “CP440 SEND RECV” Program Example Cyclic Program The cyclic program is in OB 1.
  • Page 143: Cp440 1 Cyc" Program Example

    Programming Example – Standard Blocks “SEND_ERROR=1” program section: If SEND_440 runs through with SEND_ERROR=1, the SEND_COUNTER_ERR error counter is incremented in data word 2. The SEND_STATUS is copied, because it is overwritten with 0 in the next run, which means it will not be possible to read it out.
  • Page 144: Cp440 Ascii Bcc" Program Example

    Programming Example – Standard Blocks Description of FC 21 (SEND) Before you continue, please refer to the description of FC21 in the “CP440 SEND RECV” example in Section 9.6.1. The procedure for processing a SEND job cyclically is as follows: At each block call, SEND_440 is run through with SEND_REQ=0.
  • Page 145 Programming Example – Standard Blocks Description of the FC 23 (GEN BCC) The “DB_NO” input parameter specifies the DB in which the data to be sent is stored. The “LEN” input parameter specifies the length of the data to be sent. The last two bytes should be reserved for the block check (stored as an ASCII value).
  • Page 146: Cp440 Master" Program Example

    Programming Example – Standard Blocks 9.6.4 “CP440 MASTER” Program Example This example describes the communication between a master and several slaves. You can find the program sections for the individual slaves in the “CP440 SLAVE” program example. In OB1 the pattern is set for communication with a partner. The branch table in the “Select Slave”...
  • Page 147 Technical Specifications In Section You Will Find on Page Technical Specifications of the CP 440 Transmission Times Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 148: Technical Specifications Of The Cp 440

    Technical Specifications Technical Specifications of the CP 440 General Technical Specifications The following table contains the general technical specifications of the CP 440. You will find the technical specifications of the function blocks in Section 6.7. You will find further general technical specifications of the SIMATIC S7-400 in the S7-400 and M7-400 Programmable Controllers, Module Specifications reference manual, Chapter 1, “General Technical Specifications”, and the S7-400 and M7-400 Programmable Controllers, Module Specifications manual.
  • Page 149 Technical Specifications Technical Specifications of the X27 (RS 422/485) Interface The table below 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 Interface RS 422 or RS 485, 15-pin subminiature D female connector RS 422 signals...
  • Page 150 Technical Specifications Technical Specifications of the ASCII Driver The following table contains the technical specifications of the ASCII driver. Table A-2 Technical Specifications of the ASCII Driver ASCII driver Max. message frame 200 bytes length Parameters The following can be parameterized: Transmission rate: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 76800, 115200 bps Character frame: 9, 10, 11 or 12 bits...
  • Page 151: Transmission Times

    Technical Specifications Transmission Times Transmission Times 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. A SEND_440 FB was programmed in the user program of the active CPU, and a RECV_440 FB was programmed in the user program of the passive CPU.
  • Page 152 Technical Specifications 3964(R) Procedure Transmission times with the 3964(R) procedure: Table A-4 Transmission Times with the 3964(R) Procedure in ms 115200 76800 57600 38400 19200 9600 4800 2400 1200 Baud rate (bps) User data 1 byte 10 bytes 20 bytes 50 bytes 1032 2060...
  • Page 153: B Connecting Cables

    Connecting Cables In Section You Will Find on Page X27 (RS 422/485) Interface of the CP 440 Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 154: X27 (Rs 422/485) Interface Of The Cp

    Connecting 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 Female Connector Designatio...
  • Page 155 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 housing and the shield contact. You are advised to use Siemens V42 254 shielded connector housings.
  • Page 156 Connecting Cables Connecting Cable for X 27 (S7/M7 (CP 440) – CP 340/CP 341/CP 440/CP 441) The figure below illustrates the connecting 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 connecting cables you require the following male connectors: At the CP 440 end: 15-pin subminiature D male connector with a screw fixing At the communication partner: 15-pin subminiature D male with a screw fixing...
  • Page 157 Connecting Cables Connecting Cable for X 27 (S7/M7 (CP 440) – CP 340/CP 341/CP 440/CP 441) The figure below illustrates the connecting 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 connecting cables you require the following male connectors: At the CP 440 end: 15-pin subminiature D male connector with a screw fixing at the communication partner: 15-pin sub D male with screw fixing...
  • Page 158 Connecting Cables X 27 Connecting Cable (S7/M7 (CP 440) – CP 544, CP 524, CPU 928B, CPU 945, CPU 948) The figure below illustrates the connecting 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 159 Communication Matrix of the Protocols The CP 440 communication processor can communicate with the following CPs and CPUs of the SIMATIC S5 and SIMATIC S7 programmable controllers. 3964(R) Communication Matrix The diagram below shows the communication matrix of the 3964(R) procedure. Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 160 S5-115 U CPU 945 CPU 928 S5-135 U CPU 948 S5-155 U Barcode readers Non-Siemens Non-Siemens devices PLCs Scales, ... The CP 524 and CP 525 require a special driver for 3964(R). Figure C-1 3964(R) Procedure Communication Matrix Point-to-point connection CP 440 Installation and Parameter Assignment...
  • Page 161 S5-115 U CPU 944/945 CPU 928 S5-135 U CPU 948 S5-155 U Barcode readers Non-Siemens Non-Siemens devices PLCs Scales, ... Other devices with simple protocol structures The CP 524 and CP 525 require a special driver for the ASCII driver.
  • Page 162 Communication Matrix of the Protocols Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 163: Accessories And Order Numbers

    Accessories and Order Numbers Module Table D-1 Order Numbers of the CP 440 Module Product Order Number CP 440 6ES7 440-1CS00-0YE0 Connecting Cables There are connecting cables available in the following lengths: 5 m, 10 m and 50 m. Table D-2 Order Numbers of the Connecting Cables Connecting Cables for Type...
  • Page 164 Accessories and Order Numbers Point-to-point connection CP 440 Installation and Parameter Assignment A5E00057742-02...
  • Page 165 Reference for SIMATIC S7 References in the Manual Programming with STEP 7 V5. manual S7-400 Programmable Controller, Hardware and Installation manual Configuring Hardware and Communication Connections STEP 7 V5.0 manual System Software for S7 300/400, System and Standard Functions reference manual References for SIMATIC S7 The following page gives you an overview of the manuals that you need to configure and program the S7-400.
  • Page 166 Reference for SIMATIC S7 Table E-1 Manuals on Configuration and Programming of the S7-400 Title Contents Programming with STEP 7 V5.0 This programming manual provides you with the fundamentals on Manual the structure of the operating system and a user program of an S7 CPU.
  • Page 167: Index

    Index Numbers 3964 procedure, receive buffer, 2-36 Basic firmware, 5-21 3964 procedure parameterizable, 5-15 Basic parameters, 5-4 3964 procedure with default values, 5-15 BCC (Block Check Character), 2-25 3964(R) procedure, 2-24, C-2 Bidirectional data traffic, 2-3 block check character, 2-25 Block check sum, 2-25 communication matrix, C-1 Buffered receive message frames, 5-11, 5-18...
  • Page 168: A5E00057742

    Index CP 440 EN/ENO mechanism, 6-22 applications, 1-2 End criterion, 2-12, 2-15 configuring, 5-2 end-of-text character, 2-16 design, 1-6 expiration of character delay time, 2-15 diagnostic buffer, 8-2, 8-14 fixed frame length, 2-18 diagnostic functions, 8-2 End ID (1st), 5-7 functionality, 1-2 End ID of a receive message frame, 5-7 installing, 4-3...
  • Page 169 Index Initial state of the receive line, 5-12, 5-19 Point-to-point connection, 2-2 Initialization, 7-2 Points to note, when receiving frames, 7-3 Initialization conflict, 2-31 Polarity, 3-4 Installation, 3-2, 4-2, 5-2 Power input, A-2 Installation guidelines, 4-4 Power loss, A-2 Installation sequence, 4-3 Preventing overwriting, 5-11 Installing the CP 440, 4-3 Priority, 2-25, 5-17...
  • Page 170 Index STEP 7, 5-1 STOP, 7-2 Saving the parameterization data, 3-2 Stop bits, 5-9, 5-17 SEND_440, 6-3 Switchover time, 2-11 SEND_440 FB, 6-6 Symbolically addressed actual parameter, 6-22 assignment in the data area, 6-8 block call, 6-7 error display, 6-6 parameters, 6-8 time sequence chart, 6-9 Technical specifications, A-2...
  • Page 171 Siemens AG A&D AS E 81 Oestliche Rheinbrueckenstr. 50 D-76181 Karlsruhe Federal Republic of Germany From: Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
  • Page 172 Your comments and recommendations will help us to improve the quality and usefulness of our publications. Please take the first available opportunity to fill out this questionnaire and return it to Siemens. Please give each of the following questions your own personal mark within the range from 1 (very good) to 5 (poor).

Table of Contents