CP 342-5 Function 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 5611 A2, CP 5621, CP 5614 A2 and SOFTNET-PB DP slave or DP-Base The CP 342-5 also offers the SYNC, FREEZE and shared input/output functions, as well as the activation/deactivation of 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. Page 1342 Mar 2008 Siemens ITS
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. with CP 5512, CP 5611 A2, CP 5621 and SOFTNET-PB S7 or CP 5613 A2, CP 5613 FO, CP 5614 A2, CP 5623, CP 5624 and HARDNET-PB S7. 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. Page 1343 Mar 2008 Siemens ITS
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 A2, CP 5613 FO, CP 5614 A2, CP 5623, CP 5624 Non-Siemens systems 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. Technical specifications Page 1344 Mar 2008 Siemens ITS
Technical specifications Order No. 6GK7 342-5DA02-0XE0 Product type designation CP 342-5 Transmission rate Transmission rate at interface 1 in accordance 9.6 Kbit/s 12 Mbit/s with PROFIBUS Interfaces Number of electrical connections at interface 1 in accordance with PROFIBUS 1 for power supply 1 Design of electrical connection at interface 1 in accordance with PROFIBUS 9-pin D-sub socket (RS485) for power supply 4-pin terminal strip Supply voltage, current consumption, power loss Type of power supply DC Power supply 1 from backplane bus 5 V External 24 V Relative positive tolerance at 24 V DC 20 % Relative negative tolerance at 24 V DC 15 % Current consumed from backplane bus at 5 V DC, typical 0.15 A Page 1345 Mar 2008 Siemens ITS
from external power supply with 24 V DC 0.25 A Typical - Maximum Effective power loss 5 W Permitted ambient conditions Ambient temperature During operation 0 60 C During storage -40 +70 C During transport -40 +70 C Note - Relative humidity at 25 C without 95 % condensation during operation, maximum IP degree of protection IP20 Design, dimensions and weights Module format S7-300 compact module, single-width Width 40 mm Height 125 mm Depth 120 mm Net weight 0.3 kg Product properties, functions, components General Number of modules Page 1346 Mar 2008 Siemens ITS
Per CPU, maximum 4 Note - Performance data Performance data Open communication Number of possible connections for open 16 communication by means of SEND/RECEIVE blocks, maximum Data volume as user data per connection for 240 byte open communication by means of SEND/RECEIVE blocks, maximum Performance data PROFIBUS DP Service as DP master DPV0 Yes Number of DP slaves operable on DP master 124 Data volume of address area of inputs as DP master, total 2 160 byte of address area of outputs as DP master, total 2 160 byte of address area of inputs per DP slave 244 byte of address area of outputs per DP slave 244 byte of address area of diagnostics data per DP 240 byte slave Service as DP slave DPV0 Yes DPV1 - Data volume Page 1347 Mar 2008 Siemens ITS
of address area of inputs as DP slave, total 240 byte of address area of outputs as DP slave, total 240 byte Performance data S7 communication Number of possible connections for S7 communication Maximum 16 For PG connections, maximum - For PG/OP connections, maximum - Note - Performance data Multiprotocol operation Number of active connections in multiprotocol mode Maximum without DP 32 Maximum with DP 28 Product functions Management, configuration, programming Configuration software required STEP 7 V5.1 SP2 or higher Page 1348 Mar 2008 Siemens ITS
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.1 SP2 or higher, or the TIA Portal V11, 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. Page 1349 Mar 2008 Siemens ITS