SIMATIC NET. Manual CP CP FO. Contents, Product Notes CP 342-5/342-5 FO Communications. Compatibility Replacing older.

Similar documents
SIMATIC NET. S7-CPs for PROFIBUS. CP Basic. Manual Part B3

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

CP Page 1342 Mar 2008 Siemens ITS

The CP FO provides access to different communication services of the PROFIBUS bus system:

The CP provides access to different communication services of the PROFIBUS bus system:

Configuration limits for products of the SIMATIC NET PC Software V12 SIMATIC NET. Configuration limits for products of the SIMATIC NET PC Software V12

SIMATIC NET. S7-CPs for PROFIBUS Configuring and Commissioning

SIMATIC NET. DP Base Programming Interface for CP 5613/CP Preface, Contents. Basic Steps in Creating a DP Application 1

SIMATIC NET. S7-CPs for Industrial Ethernet. CP Lean. Manual Part B8. Version 1 or higher (Firmware Version V1.0) for SIMATIC S7-300 / C7-300

CPU PN/DP: Configuring an ET. 200S as PROFINET IO device SIMATIC. PROFINET CPU PN/DP: Configuring an ET 200S as PROFINET IO device

How To Write A Profibus Dpl (Profibus) Program

CPUs - CPU PN/DP

Visualization SIMATIC. Visualization. Present sample project. HMI configuration. Insert HMI device from libraries 3. Configuring HMI connection 4

SIMATIC NET. IE/PB Link Gateway Manual. Contents. Properties and Services. Compatibility with the Previous Product. Design How to Commission the IE/PB

SIMATIC NET. Functions (FC) and function blocks (FB) for SIMATIC NET S7 CPs. Preface. Overview and general information on working with FCs and FBs

SIMATIC. ET 200S distributed I/O Digital electronic module 8DO DC24V/0.5 A (6ES7132-4BF00-0AA0) Preface. Properties 1. Diagnostics 2.

WinCC. Communication Manual. Manual 2. This manual is part of the documentation package with the order number: 6AV6392-1CA05-0AB0 C79000-G8276-C156-01

SIMATIC. ET 200S distributed I/O Digital electronic module 8DI DC24V (6ES7131-4BF00-0AA0) Preface. Properties 1. Diagnostics 2.

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library. Deleting program block Main [OB1] Copying program blocks

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE A5 Programming the CPU 314C-2DP

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3 SIMATIC. Readme. Programming and Operating Manual

SIMATIC S7-300, CPU 315-2DP CPU WITH MPI INTERFACE INTEGRATED 24 V DC POWER SUPPLY 128 KBYTE WORKING MEMORY 2

SIMATIC. C7-621, C7-621 AS-i Control Systems. Volume 2 Working with C7 A B C D E. Contents. User Information. Introduction. Startup.

SIMATIC. PC Adapter USB. Preface, Contents Properties of the PC Adapter USB 1. Package Components

Documentation for. KL2602 and KL2622. Two-channel Relay Output Terminals for 230 V AC / 30 V DC. Version: 1.4 Date:

SIMATIC S Getting Started for First Time Users. Order No.: 6ZB5310-0NC02-0BA0 04/2007 A5E

SIMATIC. PC Adapter USB. Preface, Contents Properties of the. PC Adapter USB. Package Components 2

SIMATIC NET. S7-CPs for Industrial Ethernet Configuring and Commissioning

SIMATIC NET Industrial Ethernet switches MM900 media modules for SCALANCE XR-500M

SIMATIC. ET 200S distributed I/O 2AO I ST analog electronic module (6ES7135-4GB01-0AB0) Preface. Properties 1. Parameters 2.

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3. Simatic. Readme. Readme

SIMATIC HMI. WinCC flexible Getting Started First Time User. Order number 6ZB5370-1CL02-0BA2. Edition 04/2006 A5E

S7-400H SIMATIC. Fault-tolerant systems S7-400H. Preface 1 Fault-tolerant automation systems. S7-400H setup options 3.

SOFTLINK 300. CPU Specifications. Reference Manual

Lecture 4 Profibus. Urban Bilstrup Urban.Bilstrup@ide.hh.se


BK MIKRO9. Tool monitoring system. Getting Started with Profibus Release 1.00 /

1 Application Description Objective Goals... 3

6ES BE01-0AB0 6ES BE01-0AB0

SIMATIC. S7-300 Programmable Controller Installation and Hardware. Preface, Contents. Product Overview 1. Mechanical Configuration 2

PROCESS AUTOMATION PLANNING AND INTEGRATION INFORMATION LB8106* Integration in Siemens SIMATIC PCS 7

SIMATIC HMI. WinCC flexible 2008 Getting Started - First-Time Users Getting Started. Printout of the Online Help 06/2008 A5E

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

SIMATIC NET. AS-Interface - Introduction and Basics A B. Preface, Contents

SIMATIC. S7 300 PLC CPU 317T-2 DP: Controlling a virtual axis. Introduction. Preparation. Learning units 3. Further information 4.

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODULE E05

Programmable set for Ethernet Modbus/TCP in IP67 TI-BL67-PG-EN-2

SIMATIC. ET 200S distributed I/O IM151-1 STANDARD interface module (6ES7151-1AA05-0AB0) Preface. Properties 1. Parameters 2.

Software redundancy for SIMATIC S7 SIMATIC. S7-300/S7-400 Software redundancy for SIMATIC S7. Contents 1

SIMATIC NET. S7-CPs for Industrial Ethernet. CP Lean. Manual Part B. Release 09/2009 C79000-G8976-C198-06

PROFINET CPU 314C-2 PN/DP, PN/DP, PN/DP, PN/DP: Configuring the PROFINET interface

SIMATIC. WinCC V7.0. Getting started. Getting started. Welcome 2. Icons 3. Creating a project 4. Configure communication 5

SIMATIC S It s the Interplay that makes the difference. Siemens AG All Rights Reserved.

Data sheet SLIO CPU 015 (015-CEFPR00)

SIMATIC. S7-300 and M7-300 Programmable Controllers Module Specifications. Preface, Contents. General Technical Specifications. Power Supply Modules

Kvaser Mini PCI Express User s Guide

6ES7314-6CG03-0AB0. Supply voltages Rated value 24 V DC Yes permissible range, upper limit (DC) circuit breaker type B, min. 4 A

Validity 1. Installation 2 SIMATIC. WinCC flexible Tag simulator Update 1. Readme

SIMATIC PDM V6.0. Getting Started Edition 12/2004

ABB Drives. User s Manual. Pulse Encoder Interface Module RTAC-01

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Service & Support. How can you establish a connection between a S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

CP SIMATIC NET. S Telecontrol CP Preface. Application and properties. Displays and connectors 2

RFID systems. Communications modules ASM 450 4/139. Overview

CPU PN/DP. Function

Creating the project and hardware. TIA Portal. SIMATIC Creating the project and hardware. Introduction to the TIA Portal 1. Creating a project

Communication Unit 560CMU05 Data sheet

WinCC Runtime Professional Readme SIMATIC HMI. WinCC V11 SP1. Readme WinCC Runtime Professional. Special considerations for Windows 7.

6ES7313-5BF03-0AB0. Supply voltages Rated value 24 V DC Yes permissible range, upper limit (DC) circuit breaker type B, min. 4 A

Modular I/O System Analog and Digital Interface Modules

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

Universal Serial Bus (USB) to DH-485 Interface Converter

Product Information. Gateway For Connecting EnDat Encoders to PROFIBUS-DP

s Preface SIMATIC Configuring Hardware and Communication Connections with STEP 7 Contents Basics of Configuring Hardware with STEP 7 1

ZC-24DO CANopen I/O Module: 24 Digital Outputs

Fieldbus slave modules with I/Os, DIO

SIMATIC NET. Installation Instructions. INSTALLATION INSTRUCTIONS for the CP 5412 (A2) C79000-Z8974-C Stand / Dated 04/98

Automation Unit TM 1703 ACP Flexible automation and telecontrol

Product and Applications Description. Application Programs. Example of Operation. GAMMA instabus Technical Product-Information.

PCS0100en Persy Control Services B.V. Netherlands

Permissible ambient temperature Operation Storage, transport

PROFIBUS. 4/2 System interfacing for PG/PC 4/2 Overview 4/5 CP /11 CP /17 CP /23 CP 5711

Installation guide H A. HSI hardwired system interface

CompactLogix Power Supplies Specifications

CPB. Doc. N MO-0279-ING MODBUS/PROFIBUS DP CONVERTER TYPE CPB. Microener - Copyright 2010 Date Rev. 0

TX OPEN RS232/485 module

PROFINET IO Diagnostics 1

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

FAQ Communication over IE

Configuring PROFINET

L5354 ControlNet Communications Interface

SIMATIC Expert Communication Connecting S7-400H to PC Station (WinCC)

Digital input modules

Part 1: User information SIMATIC ET 200B Distributed I/O Station Manual Part 2: Reference information Appendices EWA 4NEB c Edition 04

SIMATIC The Process Device Manager Manual Edition 12/2004 A5E

WinCC. Configuration Manual. Manual Volume 3

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

CP BACnet 6FL4343-1CX10-0XE0 DESIGO S7. Used with DESIGO S7, Building Solution & Building Integration

I.S. 1 remote I/O system Redundant coupling via PROFIBUS DP

Transcription:

SIMATIC NET Manual CP 342 5 6GK7 342-5DA02-0XE0 version 1 or higher (firmware V4.0.0) Contents, Product Notes CP 342-5/342-5 FO Communications 1 Processor Compatibility Replacing older 2 Modules How to Install the Module 3 Technical Data 4 Notes on the CE Mark on 5 SIMATIC NET Products References 6 CP 342 5 FO 6GK7 342-5DF00-0XE0 version 1 or higher (firmware V4.0.0) 06/2000 C79000 G8976 C146 Release 01

Safety Guidelines This manual contains notices which you should observe to ensure your own personal safety, as well as to protect the product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger:! Danger indicates that death, severe personal injury or substantial property damage will result if proper precautions are not taken.! Warning indicates that death, severe personal injury or substantial property damage can result if proper precautions are not taken.! Caution indicates that minor personal injury or property damage can result if proper precautions are not taken. Note draws your attention to particularly important information on the product, handling the product, or to a particular part of the documentation. Qualified Personnel Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and systems in accordance with established safety practices and standards. Correct Usage Note the following! Warning This device and its components may only be used for the applications described in the catalog or the technical description, and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. This product can only function correctly and safely if it is transported, stored, set up, and installed correctly, and operated and maintained as recommended. Trademarks SIMATIC, SIMATIC HMI and SIMATIC NET are registered trademarks of the SIEMENS AG. Third parties using for their own purpose any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners. Copyright Siemens AG 2000 All rights reserved The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved. A&D Industrial Automation Systems Postfach 4848, D-90327 Nürnberg Siemens Aktiengesellschaft Disclaimer of Liability We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed. Technical data subject to change. Siemens AG 2000 C79000-G8976-C146/01

Contents Product Notes.............................................. 4 1 CP 342-5/342-5 FO Communications Processor.......... 5 1.1 Characteristics..................................................... 6 1.2 Performance....................................................... 8 1.2.1 Transmission Rates................................................. 8 1.2.2 Basic Data of the DP Interface/DP Master.............................. 8 1.2.3 Basic Data of the DP Interface / DP Slave.............................. 10 1.2.4 Data for S5-Compatible Communication (SEND/RECEIVE interface) on FDL Connections:................................................ 11 1.2.5 Basic Data for S7 Communication..................................... 12 1.2.6 Using Parallel Communications Services (Multiprotocol Operation)........ 12 1.3 Displays and Mode Selector.......................................... 14 2 Compatibility Replacing older Modules................ 16 3 How to Install the Module............................... 22 4 Technical Data......................................... 23 5 Notes on the CE Mark on SIMATIC NET Products......... 24 6 References............................................ 25 Manual CP 342 5 / CP 342 5 FO 3

Product Notes Product Notes Note All the information in the product information bulletin accompanying the device described here is up to date and valid and must be read thoroughly. Compatibility with the Previous Version The CP 342 5 described here can be used to replace the following CPs CP 342 5 6GK7 342 5DA00 0XE0 CP 342 5 6GK7 342 5DA01 0XE0 The CP 342 5 FO and CP 342 5 are compatible in terms of function. Note Please note the extended functions and restrictions as described in Chapter 2 of this manual! 4 Manual CP 342 5 / CP 342 5 FO

1 CP 342-5/342-5 FO Communications Processor Application The CP 342-5/342-5 FO communications processor is intended for operation in a programmable controller of the SIMATIC S7-300 series. It allows the S7-300 to be connected to a PROFIBUS fieldbus system. Design CP 342-5 CP 342-5 FO (9-pin sub-d female connector) (Duplex sockets for optical connection) Status and error displays Mode selector Connection for power supply and functional ground Figure 1 Front View of the CPs 342-5 / 342-5 FO Configuration Configuration is possible via MPI or LAN/PROFIBUS. Manual CP 342 5 / CP 342 5 FO 5

1.1 Characteristics Services The current version of the CP 342-5/342-5 FO supports the following communication services: PROFIBUS-DP as DP master class 1 and class 2 (PROFIBUS-DP complying with EN 50170, DP Master) as DP slave (PROFIBUS DP complying with EN 50170, DP Slave) Note Note however, that the CP 342-5/342-5 FO can only be operated as DP master or DP slave but not both. The DP mode can also be completely deselected. S5-compatible communication (SEND/RECEIVE interface) on FDL connections of the following types: Specified FDL connections Free layer 2 connections (SDA, SDN) Broadcast Multicast S7 communication and PG/OP communication PG functions (including routing) Operator control and monitoring functions (HMI) Server for data exchange using communication FBs The services of the CP 342-5/342-5 FO listed here can all be used at the same time independent of each other. PG Functions with upload / download of FM modules Configuration / diagnostics Routing 6 Manual CP 342 5 / CP 342 5 FO

Module Replacement without PG The CP supports the option of storing the CP configuration data on the CPU. If you use this option, you can replace a module without having to download the configuration data from the programming device. The configuration data are then stored in the load memory of the CPU. The non-volatile storage of the configuration data on the CPU is guaranteed by battery backup or by using an EPROM module card. Configuration For configuration, you require STEP 7, version V5.1 or higher; for FDL connections and diagnostic functions, you require the NCM S7 for PROFIBUS optional package supplied with STEP 7. Note If you modify the bus parameters in the configuration data, you can only download the configuration data to the CP via MPI! Manual CP 342 5 / CP 342 5 FO 7

1.2 Performance 1.2.1 Transmission Rates The transmission rate is set with the SIMATIC STEP 7 configuration software. The following values are permitted: Table 1-1 Transmission rate CP 342-5 CP 342-5 FO 9.6 Kbps 19.2 Kbps 45.45 Kbps 93.75 Kbps 187.5 Kbps 500 Kbps 1.5 Mbps 3 Mbps 6 Mbps 12 Mbps 1.2.2 Basic Data of the DP Interface/DP Master General Data The following data are important if you want to operate the CP 342-5/342-5 FO as a DP master: Table 1-2 Feature Number of DP slaves that can be operated Explanation / Values 124 maximum Size of the DP data areas (total): DP input area DP output area Size of the DP data areas (per DP slave): DP input area DP output area Size of the DP diagnostic data: 2160 bytes maximum 2160 bytes maximum 244 bytes maximum 244 bytes maximum 240 bytes per DP slave 8 Manual CP 342 5 / CP 342 5 FO

Extended Master Functions The CP 342-5/342-5 FO supports the following: SYNC/FREEZE (acyclic) Shared input/output (acyclic) Activating/deactivating DP slaves Modifications during runtime own PROFIBUS address DP mode (no DP, DP master, DP slave active/passive) Hardware interrupts / diagnostic interrupts Hardware and diagnostic interrupts do not need to be evaluated in the user program. Hardware and diagnostic interrupts are acknowledged automatically by the CP. You can use single diagnostics to obtain interrupt information. Reaction Times of a DP Master To calculate the reaction times when operating the module as a DP master, the runtime of the function blocks required for DP processing in the S7-300 CPU (DP_SEND, DP_RECV) is the decisive factor. Table 1-3 Components Runtime on the CPU 314-1 (6ES7 314 1AE04 0AB0) Per DP_SEND block call: 0,2 3,4 ms at 16 bytes 0,2 5,9 ms at 240 bytes 1) Explanation / Values (Guidelines) Per DP_RECV block call: 0,3 3,5 ms at 16 bytes 0,3 6,9 ms at 240 bytes 1) 1) At data lengths > 240 bytes: The data is transferred segmented. This then involves several block calls. Note The reaction times listed above are only intended as a guideline and only apply to a single-master configuration when no other services (for example PG functions) are processed on the CP. Manual CP 342 5 / CP 342 5 FO 9

1.2.3 Basic Data of the DP Interface / DP Slave The following characteristics are important for successful data transfer to a DP slave: Table 1-4 Feature Device database file (*.GSD) Explanation / Values File name: CP 342-5: SIEM8093.GSD CP 342-5 FO: SIEM8095.GSD You can obtain device database files as follows: By modem from the mailbox in the Interface Center, Fürth Tel. 0911-737972 (from outside Germany +49-911-737972 On the Internet http.\\www.ad.siemens.de under Support, Training and Service...Customer Support, Downloads Vendor ID CP 342-5: 8093 H CP 342-5 FO: 8095 H Size of the DP data areas: DP input area DP output area Min. slave interval SYNC / FREEZE User parameter assignment data User diagnostic data 240 bytes maximum 240 bytes maximum 2 ms not supported 3 bytes; value: 00 00 00 (fixed) 0 bytes Reaction Times of a DP Slave To calculate the reaction times when operating the module as a DP slave, the runtime of the function blocks required for DP processing in the S7-300 CPU (DP_SEND, DP_RECV) is the decisive factor. Table 1-5 Components Runtime on the CPU 314-1 (6ES7 314 1AE04 0AB0) Explanation / Values Per DP_SEND block: Per DP_RECV block: 0,3 3,2 ms at 16 bytes 0,3 3,5 ms at 16 bytes 0,2 5,7 ms at 240 bytes 0,3 6,4 ms at 240 bytes 10 Manual CP 342 5 / CP 342 5 FO

Note The reaction times listed above are only intended as a guideline and only apply when no other services (for example PG functions) are processed on the CP. 1.2.4 Data for S5-Compatible Communication (SEND/RECEIVE interface) on FDL Connections: The following data are important when operating FDL connections (Specified, Free Layer 2 (SDA and SDN), Broadcast, Multicast): Table 1-6 Feature Total number of FDL connections that can be operated. Size of the transferable data area for FDL connections maximum 16 Explanation / Values maximum 240 bytes per specified FDL connection (for sending and receiving); Free layer 2, broadcast and multicast: Up to 236 bytes of user data can be transferred per job. The job header occupies an additional 4 bytes. Reaction Times of FDL Connections To calculate the reaction times when operating with FDL connections, the runtime of the function blocks required in the S7-300 CPU (AG_SEND, AG_RECV) is the decisive factor. Table 1-7 Components Runtime on the CPU 314-1 (6ES7 314 1AE04 0AB0) Explanation / Values Per AG_SEND block: Per AG_RECV block: 0,2 3,2 ms at 16 bytes 0,2 3,5 ms at 16 bytes 0,2 5,7 ms at 240 bytes 0,3 6,4 ms at 240 bytes Manual CP 342 5 / CP 342 5 FO 11

1.2.5 Basic Data for S7 Communication The following characteristic data are important for operating S7 connections: Table 1-8 Feature Explanation / Values Number of S7 connections that can be operated 16 maximum 1) 1) The actual number of S7 connections that can be operated depends on the CPU type you are using. There are further restrictions if you operate in mixed mode. Refer to Section 1.2.6 for more information. 1.2.6 Using Parallel Communications Services (Multiprotocol Operation) Performance If you want to use the available communications services at the same time, there are restrictions in terms of communication performance. The following table shows the transmission rate for FDL connections dependent on the following: The frame length (number of bytes) The number of connections The values were measured when sending and receiving in direct succession (at a transmission rate of 1.5 Mbps, bus profile universal, two stations, mode no DP ). Table 1-9 Number of FDL Frames per Second Frame length Number of connections 1 4 8 16 1 byte 77 / s 92 / s 92 / s 92 / s 100 bytes 73 / s 88 / s 88 / s 88 / s 240 bytes 67 / s 82 / s 83 / s 84 / s Note Recommendation: In the mixed mode DP + FDL + S7 functions a delay time should be selected. 12 Manual CP 342 5 / CP 342 5 FO

Number of Connections in Mixed Mode If you use a connection configuration involving the maximum number of FDL connections (16) and the use of DP at the same time, the maximum number of S7 connections reduces from 16 to 12. Manual CP 342 5 / CP 342 5 FO 13

1.3 Displays and Mode Selector LED Display of the CP Mode The four LEDs on the front panel provide information about the mode of the CP coded as shown below: Table 1-10 SF (red) BUSF (red) RUN (green) STOP (yellow) CP Mode Starting up (STOP >RUN) Running (RUN) Stopping (RUN >STOP) Ready for firmware download (mode active for 10 seconds) Loading firmware Waiting for firmware update (CP currently has incomplete firmware) Stopped (STOP) Stopped (STOP) with error Running (RUN) with problems on PROFIBUS Running (RUN) with error on DP slave(s) Module fault or error/ system error Key: on off flashing Note Refer to the NCM S7 for PROFIBUS /2/ manual for detailed information about operating modes. 14 Manual CP 342 5 / CP 342 5 FO

Controlling the Operating Mode There are different ways in which you can control the operating mode of the CP 342-5/342-5 FO, as follows: Using the mode selector Using the NCM S7 for PROFIBUS configuration software SIMATIC Manager in STEP 7 To be able to control the CP mode from STEP 7 / NCM S7 for PROFIBUS, the mode selector must be set to RUN. Mode Selector You can set the following operating modes with the mode selector: Switch from STOP to RUN: The CP enters configured and/or loaded data in the work memory and changes to the RUN mode. Switch from RUN to STOP: The CP changes to the STOP mode. Established connections (FDL and S7 connections) are terminated. This affects DP operation as follows: DP slave mode: the CP is no longer involved in data transfer. DP master mode: the mode is OFFLINE. In the STOP mode, it is possible to configure the CP 342-5/342-5 FO and run diagnostic functions. Note Refer to the manual /2/ for detailed information about downloading a database to the CP. Manual CP 342 5 / CP 342 5 FO 15

2 Compatibility Replacing older Modules Replacing Modules The table below describes the steps involved when replacing an older module with one of the modules described here: Table 1-11 Previously Used Module 6GK7 342-5DA00-0XE0 6GK7 342-5DA01-0XE0 Steps in Configuration Supply the new module with the adapted configuration as described below: 1. In STEP 7 / HW Config, replace the previously configured CP 342-5 with the new module (you will find this in the hardware catalog). 2. Save, compile and download the configuration data to the CPU or CP again. Case a: Unchanged configuration If you do not require any extension of the functionality provided by the previous CP (such as amounts of data), you do not need to make any changes in the configuration. When commissioning, you then only need to remember the following difference: If you selected the option of storing the configuration data of the CP you are replacing on the CPU, the configuration data will be downloaded to the CP from the CPU automatically when the CP starts up. Otherwise, download the configuration data again to the CP from your programming device/pc. Case b: Adapted configuration If you want to use the extended functionality of the new CP, follow the steps outlined below: 1. Use the new FCs (version 3.0 or higher; see also page 21) in your user program. 2. In STEP 7 / HW Config, replace the previously configured CP 342-5 with the new module (you will find this in the hardware catalog). 3. Extend the configuration according to your requirements, for example in the configured connections. 4. Save, compile and download the configuration data to the CPU and CP again. 16 Manual CP 342 5 / CP 342 5 FO

Information in the Online Help and Documentation regarding NCM S7 for PROFIBUS The additional information for newer modules in the STEP 7 / NCM online help and in the NCM S7 for PROFIBUS manual applies to the CP described here. The symbol shown here is used to indicated the relevant passages. Note on Installation If you cannot close the slot gap resulting from replacing an older module by shifting the other modules, you must insert a dummy module (6ES7 370-0AA01-0AA0). Compatibility The CP 342-5/342-5 FO behaves differently from its predecessors in several ways. Remember that this affects your user program. The following table provides an overview: Table 1-12 Changed Behavior Topic Previously New 1. DPSTATUS output parameter in FC DP_RECV DP master mode: DP slave mode: Bit 6: indicated overflow of received data Bit 3: indicated no frame from DP master within watchdog time Bit 4: indicated overflow of DP data 2. DP modes A distinction was made between STOP and OFFLINE. Bit 6: is no longer set Bit 3: is no longer set Bit 4: is no longer set The STOP mode is represented by the OFFLINE mode. 3. Setting the current DP mode is supported In the version of the CP 342-5 described here, the following job parameters are not supported for FC DP_CTRL with CTYPE 4: RUN with AUTOCLEAR RUN without AUTOCLEAR 4. Cyclic reading of the input/output data using FC DP_CTRL 1) supported In the version of the CP 342-5 described here, the following services of FC DP_CTRL are not supported: CTYPE = 7 CTYPE = 8 These job types are rejected with the code 8311 H. Manual CP 342 5 / CP 342 5 FO 17

Table 1-12 Changed Behavior, continued Topic Previously supported DP master mode: 5. Triggering cyclic global control with FC DP_CTRL 1) In the version of the CP 342-5 described here, the following services of FC DP_CTRL are not supported: CTYPE = 1 These job types are rejected with the code 8311 H. 6. Triggering acyclic global control with the CLEAR job or with FC DP_CTRL 1) 7. Triggering acyclic global control for group 0 using FC DP_CTRL 1) 8. Consistency in data transfer between CP and user program New supported DP master mode: In the version of the CP 342-5 described here, the following services of FC DP_CTRL are not supported: CTYPE = 0 command mode = CLEAR These job types are rejected with the code 8318 H. supported DP master mode: In the version of the CP 342-5 described here, the following services of FC DP_CTRL are not supported: CTYPE = 0 group select = 0 These job types are rejected with the code 8318 H. Maximum DP data area: 240 bytes in the DP master mode 86 bytes in the DP slave mode You will find further information on consistency following this table Maximum DP data area: 2160 bytes in the DP master mode 240 bytes in the DP slave mode 9. FCs for DP mode Depending on the configuration, the older FC types (FC91 to 94) can be used alongside the new FC version (FC1 to 4). You will find further information on the FCs following this table 10. FCs: Evaluate general properties and codes on the call interface Description in the online help or in the NCM S7 for PROFIBUS manual The additional information for newer modules applies to the CP described here. The passages are highlighted by this symbol: 18 Manual CP 342 5 / CP 342 5 FO

Table 1-12 Changed Behavior, continued Topic 11. Deterministic sending/receiving of data coordination between CPU and CP/PROFIBUS 12. Jobs with DP_SEND and DP_RECV 1) 13. Receive buffer not long enough for AG_RECV 14. Responder functionality of the DP master (class 1); DP master (class 2) sends jobs to DP master (class 1) Functions: DDLM_GET_Master_Diag DDLM_Act_Param Previously In the cyclic DP mode, the job confirmation on the FC interface contains the confirmation of the transfer to PROFIBUS. DP slave mode: To trigger job processing, the FCs DP_SEND and DP_RECV must be activated at least once. DP master mode: To trigger reception, FC DP_RECV must be activated at least once. If the receive buffer is too short, data are received up to the size of the buffer. The call is acknowledged with error code 8185 H. supported by DP master as responder 1) see also /2/ in the chapter on FC blocks and the STEP 7 online help on FCs; New In the cyclic DP mode, the execution cycle on the CPU is independent of the cycle on the CP. Sending data: The confirmation of the job does not include confirmation of the transfer to PROFIBUS that has already taken place. Receiving data: It is possible that the same data is received more than once. Depending on the use, job processing can be triggered simply by activating FC DP_SEND or DP_RECV. In the DP master mode, at least one of the two FCs must be activated once. If the receive buffer is too short, no data are received. The call is acknowledged with error code 80B1 H. DP master without responder functionality Manual CP 342 5 / CP 342 5 FO 19

Note on 8. : Consistency in data transfer between CP and user program Depending on the response in the user program, you can assume different areas as consistent data areas on the transfer interface between the CP and user program. Note Please note the information on programming FCs in the online help on the FCs and in the manual /2/. Variant 1: NDR bit is evaluated on the FC interface You can assume a consistency over the entire DP data area used. Variant 2: NDR bit is not evaluated on the FC interface You can assume a data consistency in a contiguous, non overlapping 32-byte area. ( Non overlapping means that 32-byte areas are counted starting from base address 0 of the relevant DP data area.) Table 1-13 Consistency in the DP Master Mode Data Access in User Program Variant 1 Variant 2 Maximum Area with Data Consistency 2160 bytes 32 bytes Table 1-14 Consistency in the DP Slave Mode Data Access in User Program Variant 1 Variant 2 Maximum Area with Data Consistency 240 bytes 32 bytes Note on 9. :FCs for the DP mode New FCs are supplied with STEP 7 V5.1 for the CP 342-5 described here. The following table shows how to use these new FC versions and the older FC versions for the available modules: 20 Manual CP 342 5 / CP 342 5 FO

Table 1-15 FC Type (version) 6GK7 342-5DA00-0XE0 Can be used with module type CP 342-5 with order no. 6GK7 342-5DA01-0XE0 6GK7 342-5DA02-0XE0 configured as..da00 or..da01 6GK7 342-5DA02-0XE0 < V3.0 >= V3.0 Note on the SIMATIC_NET_CP block library: Please remember to check the version IDs of the subfolders in the SIMATIC_NET_CP block library and the version IDs of the blocks themselves. The subfolders CP 300 and CP 400 contain the new block versions (>= V3.0). FCs with older versions (<V3.0) are in separate block folders with names that reflect the versions they contain. Manual CP 342 5 / CP 342 5 FO 21

3 How to Install the Module Installing the CP 342-5 involves the following steps: Table 1-16 Step 1. Fit the module onto the S7 rail. 2. Connect to the backplane bus with the accompanying bus interconnector. Execution / Meaning You can install the CP in slots 4 through 11 in racks 0 through 3 (connected via the IM 360/361). Follow the detailed instructions on installation and wiring as described in /1/. Note The CP cannot be operated in an expansion rack connected via the IM 365! Reason: the required communication bus is not routed via the IM 365 to the expansion rack. 3. Connect the power supply. Follow the detailed instructions in /1/, particularly with regard to the wiring between the power supply and the CPU. Notes Make sure that you connect the CP and CPU to a common power supply. Switch off the power before wiring the S7-300! When supplied, the CP has a jumper between the M terminals and functional ground. if you want to ground the reference potential, do not remove the jumper between the M terminals and functional ground (see also /1/ on the topic S7 300 Configuration with Grounded Reference Potential and S7 300 Configuration with Ungrounded Reference Potential ). 4. Connect to PROFIBUS. 5. The remaining steps involve downloading the configuration data. For more detailed information, particularly on node initialization, refer to /2/. 22 Manual CP 342 5 / CP 342 5 FO

4 Technical Data General Technical Specifications Table 1-17 Voltages, Currents, Operating Conditions, Cable Cross Sections Power supply 24 V DC Current consumption - from 24 V: - from S7-300 backplane bus 0.25 A typical 150 ma typical Cable cross section 24 V 0.25 to 2.5 mm 2 Power loss 6 W Permitted ambient temperature: as stated in /1/, for operation of an S7-300 tier - for horizontal installation - for vertical installation, 0 to 60C 0 to 40C Dimensions W x H x D (mm) 40 x 125 x 120 Weight approx. 300 g The information in /1/ Section General Technical Specifications also applies to the CP 342-5/342-5 FO. Electromagnetic compatibility Transport and storage Mechanical and climatic environmental conditions Information about insulation checks, class of protection and degree of protection Pinout 9-Pin Sub-D Female Connector Pin no. Signal name PROFIBUS name Used with RS-485 1 PE Protective earth yes 2 3 RxD/TxD-P Data line B yes 4 RTS (AG) Control-A 5 M5V2 Data reference potential yes 6 P5V2 Power supply plus yes 7 BATT 8 RxD/TxD-N Data line A yes 9 Manual CP 342 5 / CP 342 5 FO 23

5 Notes on the CE Mark on SIMATIC NET Products Product Name CP 342-5 CP342-5 FO Order no.: 6GK7 342-5DA02-0XE0 Order no.: 6GK7 342-5DF00-0XE0 EU EMC Directive 69/336/EEC The SIMATIC NET products listed above meet the requirements of the EU Directive 89/336/EEC Electromagnetic Compatibility. The EU conformity certificates are kept for the authorities responsible according to the EU directives listed above at the following address: Siemens Aktiengesellschaft Bereich A&D Industrielle Kommunikation SIMATIC NET (A&D PT2) Postfach 4848 D-90327 Nürnberg Federal Republic of Germany Area of Application The product is designed for industrial application. Requirements Area of Application Emission Immunity Industry EN 50081-2 : 1993 EN 50082-2 : 1995 Directive on Machines The product remains a component in compliance with Article 4(2) of the EU directive on machines 89/392/EEC. According to the directive on machines, we are obliged to point out that this product is intended solely for installation in a machine. Before the final product is started up, it must be established that it conforms to the directive 89/392EEC. Installation Guidelines This product meets the requirements providing you adhere to the installation guidelines described in /1/ and /3/. 24 Manual CP 342 5 / CP 342 5 FO

6 References The following sources of information are required for configuration and operation or provide more detailed information: /1/ For installing and commissioning the CP 342-5/342-5 FO S7-300, Installation and Hardware Manual /2/ For using and configuring the CP 342-5/342-5 FO SIMATIC NET NCM S7 for PROFIBUS, manual Volume 1 and Primer /3/ For installing and operating a SIMATIC NET PROFIBUS network Industrial Communication Networks PROFIBUS Networks manual /4/ On the topic of configuring: STEP 7 User Manual /5/ On the topic of communication: Communication with SIMATIC manual Order numbers The order numbers for the SIEMENS documentation listed above can be found in the catalogs SIMATIC NET Industrial Communication, Catalog IK 10 and SIMATIC Programmable Logic Controllers SIMATIC S7 / M7 / C7 Components for Fully Integrated Automation, Catalog ST 70. These catalogs and additional information about the products and training courses can be obtained from your local SIEMENS office. Manual CP 342 5 / CP 342 5 FO 25