SIEMENS Communication for SIMATIC S7-300 CP 342-5

Product No. / Product DescriptionSIMATIC S7-300 CP 342-5 Ordering data
6GK7342-5DA03-0XE0
COMMUNICATIONPROCESSOR CP342-5 FOR CONNECTING SIMATIC S7-300 TO PROFIBUS, DP, S5-COMPATIBLE-, PG/OP- AND S7-COMMUNICATION

Overview

  • PROFIBUS DP master or slave with electrical interface for connecting the SIMATIC S7-300 to PROFIBUS at up to 12 Mbit/s (including 45.45 Kbit/s)
  • Communication services:
    • PROFIBUS DP
    • PG/OP communication (OP multiplexing)
    • S7 communication (client, server)
    • Open communication (SEND/RECEIVE)
  • Easy configuration and programming over PROFIBUS
  • Cross-network programming device communication through S7 routing
  • Modules can be replaced without the need for a PG

Application

The CP 342-5 communications processor is the communication module of the SIMATIC S7-300 for the PROFIBUS DP bus system.

The CP 342-5 relieves the CPU from communication tasks.

Communication possibilities of the S7-300 using communication modules:

  • As DP master or slave for PROFIBUS DP V0 according to IEC 61158/EN 50170
  • Communication with programming devices and HMI devices
  • Communication with other SIMATIC S7 systems
  • Communication with SIMATIC S5 programmable controllers

The number of CPs that can be used is dependent on the performance range of the CPU and on the communications services used.

BenefitsCP 342-5

  • Expansion of the process I/O to SIMATIC S7-300 with several PROFIBUS DP interfaces
  • Flexible use of the process I/O by means of dynamic activation of DP slaves
  • Sub-process-oriented design of an automation solution through the use of several CPs
  • Optimization of applications and a host of possible uses thanks to active transmission of data with S7 communication
  • Extensive operator control and monitoring thanks to multiplex function with OP communication
  • Suitable for closed-loop control tasks due to SYNC/FREEZE

Design

The CP 342-5 offers all the advantages of SIMATIC S7-300 system design:

  • Compact design;
    single standard width of the SM modules of the SIMATIC S7-300
  • 9-pin Sub-D socket for connection to PROFIBUS
  • 4-pin terminal block for connecting the external supply voltage of 24 V DC
  • Simple assembly;
    The CP 342-5 is mounted on the S7-300 DIN rail and connected to adjacent modules by means of the bus connectors. Slots 4 to 11 in subracks 0 to 3 (coupled through the IM 360/361) can be used for the CP 342-5
  • In combination with IM 360/361, the CP 342-5 can also be used in an expansion rack (ER)
  • User-friendly wiring;
    Sub-D socket and the terminal block are easily accessible.
  • The CP 324-5 can be operated without a fan;
    a back-up battery or a memory module is not required

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

  • PROFIBUS DP (according to IEC 61158/61784, master or slave)
  • PG/OP communication
  • S7 communication (client, server)
  • Open communication (SEND/RECEIVE)

PROFIBUS DP master

The CP 342-5 operates as a DP-V0 Master according to IEC 61158/EN 61784 Volume 2 and processes the data transfer completely independently. It supports the services of the Master Classes 1 and 2.

The data areas of the distributed I/Os are transferred consistently between CP and CPU. This applies to the use of the CP as DP Master and as DP Slave. As DP Master, it permits connections to:

  • SIMATIC S7-300, such as CP 342-5 as DP slave
  • DP slaves of the distributed I/O system ET 200 (integrate as DP-V0 slave)
  • PCs, e.g. with CP 5512, CP 5621, CP 5614 A3 and SOFTNET-PB DP

The CP 342-5 also offers the SYNC/FREEZE and shared input/output functions, as well as the activation/deactivation of DP slaves.

PROFIBUS DP slave

The CP 342-5 as a DP-V0 slave permits the SIMATIC S7-300 to exchange data with other PROFIBUS DP masters. which allows a hybrid setup between SIMATIC S5/S7, PCs, ET 200 and other field devices to PROFIBUS DP. Function calls are required for the DP communication. These (DP-SEND/DP-RECV) must be integrated in the STEP 7 user program.

PG/OP communication

PG/OP communication allows all S7 stations connected to the network to be remotely programmed.

  • S7 routing
    With the aid of S7 routing it is possible to use programming device communication across networks.
    Via the CP 342-5 as many as 16 TD/OPs can be merged into one S7-300 station. This requires only one connection resource in the S7-CPU (multiplex channel). The multiplex channel supports the acyclic HMI services.

S7 communication

S7 communication is used for the coupling:

  • between SIMATIC S7 automation systems
  • to HMI devices (OPs).
  • to PCs, e.g. CP 5711 with SOFTNET-PB S7, CP 5623 etc.

Communication with PG and OP takes place without further configuration. In addition, the central controller can also be programmed and configured on a distributed basis via the CP 342-5.

The client functionality is provided by means of loadable communication blocks.

Open communication (SEND/RECEIVE)

Based on Layer 2 (FDL) of PROFIBUS, the CP 342-5 offers a simple, optimized interface for process or field communication.

This interface offers integrated, high-performance communication between SIMATIC S5, SIMATIC S7, SIMATIC 505 and PC. SEND/RECEIVE provides not only the SDA service (PLC/PLC connections) but also the SDN service (broadcast, multicast).

The communication partners are the automation systems:

  • SIMATIC S7
    with CP 342-5, CP 343-5, CP 443-5 Extended and Basic
  • SIMATIC S5
    with S5-95U with PROFIBUS interface, S5-115U/H, S5-135U, S5-155U/H with CP 5431 FMS/DP
  • SIMATIC 505
    with CP 5434-FMS
  • PCs
    with CP 5512, CP 5611 A2, CP 5621, CP 5613 A3, CP 5613 FO, CP 5614 A3, CP 5623, CP 5624
  • Systems of other makes that are equipped with an FDL interface.

To use SEND/RECEIVE, function calls are required (PLC-SEND/PLC-RECEIVE), which must be linked into the STEP 7 user program.

Diagnostics

Extensive diagnostic options are available via STEP 7, including:

  • Status of the CP
  • General diagnostics and statistics functions
  • Connection diagnostics
  • Bus statistics
  • Message buffer

STEP 7 V5.5 SP2 or higher, or STEP 7 Professional V11 or higher, is required for configuring the full functional scope of the CP 342-5. In Version V5 or higher of STEP 7, the configuration data of the CP can also optionally be stored on the CPU and is retained even if there is a power failure. A module can therefore be replaced without having to reload the configuration data from a programming device. The CPU transfers the configuration data to the CP during start-up. Attention should therefore be paid to the memory capacity of the S7-CPU.

Configuration and programming of all SIMATIC S7 controllers connected to the network is possible over the network.

The function blocks for PROFIBUS DP are included in the standard library of STEP 7. The function blocks for using the open communication (SEND/RECEIVE) and S7 communication (S7 client) can be found in the SIMATIC NET library following installation of STEP 7.