Siemens S7-1200 PROFIBUS Operating Instructions Manual

Simatic net

Advertisement

Quick Links

SIMATIC CM 1242-5
SIMATIC NET
S7-1200 - PROFIBUS
SIMATIC CM 1242-5
Operating Instructions
01/2023
C79000-G8976-C245-06
Preface
Application and properties
Displays and connectors
Installation, connecting up,
commissioning
Configuration and program
blocks
Diagnostics and upkeep
Technical data
Dimension drawings
Approvals
References
1
2
3
4
5
6
A
B
C

Advertisement

Table of Contents
loading

Summary of Contents for Siemens S7-1200 PROFIBUS

  • Page 1 SIMATIC CM 1242-5 Preface Application and properties SIMATIC NET Displays and connectors Installation, connecting up, commissioning S7-1200 - PROFIBUS SIMATIC CM 1242-5 Configuration and program blocks Diagnostics and upkeep Operating Instructions Technical data Dimension drawings Approvals References 01/2023 C79000-G8976-C245-06...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Preface

    Preface Validity of this manual This document contains information on the following product: CM 1242-5 Article number 6GK7 242-5DX30-0XE0 Hardware version 1 Firmware version V1.0.6 Communications module for connection of the SIMATIC S7-1200 to PROFIBUS (DP slave module) Figure 1 CM 1242-5 At the top right behind the hinged cover of the module housing, you will see the hardware product version printed as a placeholder "X"...
  • Page 4 • Editorial revision Replaced manual edition Edition 02/2014 Current manual edition on the Internet You can find the current version of this manual on the Internet pages of Siemens Industry Online Support: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15667/man) Purpose of the manual This manual describes the properties of this module and supports you when installing and commissioning the device.
  • Page 5 Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers’...
  • Page 6 Device defective If a fault develops, please send the device to your Siemens representative for repair. Repairs on-site are not possible. Decommissioning Shut down the device properly to prevent unauthorized persons from accessing confidential data in the device memory.
  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 Application and properties ........................9 Connecting the S7-1200 to PROFIBUS .................. 9 Communications services of the CM ..................9 Performance data ......................10 Requirements for operation ....................10 Configuration examples for PROFIBUS ................11 Displays and connectors ........................
  • Page 8 Table of contents Technical data ............................. 41 Technical specifications of the CM 1242-5 ................41 Pinout of the D-sub socket ....................42 Dimension drawings ..........................43 Approvals ............................. 45 References ............................51 Index ..............................53 SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 9: Application And Properties

    Application and properties Connecting the S7-1200 to PROFIBUS Connecting the S7-1200 to PROFIBUS DP The S7-1200 can be connected to a PROFIBUS fieldbus system with the following communications modules: • CM 1242-5 Operates as DP slave • CM 1243-5 Operates as DP master class 1 If a CM 1242-5 and a CM 1243-5 are installed together, an S7-1200 can perform the following tasks simultaneously: •...
  • Page 10: Performance Data

    Application and properties 1.3 Performance data Types of communication with the CM 1242-5 in DP-V1 The following types of communication are available with DP-V1: • Cyclic communication The CM supports cyclic communication for the transfer of process data between DP slave and DP master.
  • Page 11: Configuration Examples For Profibus

    Application and properties 1.5 Configuration examples for PROFIBUS CPUs of the S7-1200 Using the full functionalities requires a CPU as of firmware version 3.0. Configuration examples for PROFIBUS Below, you will find examples of configurations in which the CM 1242-5 is used as a DP slave and the CM 1243-5 is used as a DP master.
  • Page 12 Application and properties 1.5 Configuration examples for PROFIBUS SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 13: Displays And Connectors

    Displays and connectors Opening the covers of the housing Location of the display elements and the electrical connectors The LEDs for the detailed display of the module statuses are located behind the upper cover of the module housing. The PROFIBUS connector is located behind the lower cover of the module. Opening the covers of the housing Open the upper or lower cover of the housing by pulling it down or up as shown in the illustration.
  • Page 14: Leds

    Displays and connectors 2.2 LEDs LEDs LEDs of the module The module has various LEDs for displaying the status: • LED on the front panel The "DIAG" LED that is always visible shows the basic statuses of the module. Table 2- 1 LED on the front panel LED / colors Name...
  • Page 15 Displays and connectors 2.2 LEDs The LEDs indicate the operating and communications status of the module according to the following scheme: Table 2- 4 Display of the basic states of the module by the "DIAG" LED DIAG Meaning Comment (red / green) Power OFF RUN without errors green...
  • Page 16: Electrical Connections

    Displays and connectors 2.3 Electrical connections DIAG RUN/STOP ERROR Meaning (red / green) (yellow / (red) green) No master-slave connection detected. flashing red PROFIBUS cable not connected or not detected. In STOP mode, configuring and performing diagnostics on the CM remain possible. Electrical connections Power supply The CM 1242-5 is supplied with power from the backplane bus.
  • Page 17: Installation, Connecting Up, Commissioning

    Installation, connecting up, commissioning Safety notices on the use of the device Note the following safety notices when setting up and operating the device and during all associated work such as installation, connecting up or replacing the device. Important notes on using the device 3.1.1 Notices on use in hazardous areas WARNING...
  • Page 18: Notes On Use In Hazardous Areas According To Ul Hazloc And Fm

    Installation, connecting up, commissioning 3.1 Important notes on using the device WARNING Suitable cables at high ambient temperatures in hazardous area Use heat-resistant cables with an ambient temperature ≥ 60 °C; these cables must be rated for an ambient temperature that is at least 20 °C higher. The cable entries used on the housing must comply with the IP degree of protection required by EN IEC 60079-0 / GB 3836.1.
  • Page 19: Installation, Removal And Repairs In Hazardous Areas

    Installation, connecting up, commissioning 3.2 Installation, removal and repairs in hazardous areas Installation, removal and repairs in hazardous areas WARNING Impermissible accessories and spare parts Risk of explosion in hazardous areas • Only use original accessories and original spare parts. •...
  • Page 20: Installing, Connecting And Commissioning

    • Observe the device approvals applicable for your country. WARNING Unauthorized repair of devices in explosion-proof design Risk of explosion in hazardous areas • Repair work may only be performed by personnel authorized by Siemens. Installing, connecting and commissioning NOTICE Improper mounting Improper mounting may damage the device or impair its operation.
  • Page 21 Installation, connecting up, commissioning 3.3 Installing, connecting and commissioning WARNING Power supply The device is designed for operation with a directly connectable safety extra low voltage (SELV) from a limited power source (LPS). The power supply therefore needs to meet at least one of the following conditions: •...
  • Page 22 Installation, connecting up, commissioning 3.3 Installing, connecting and commissioning Dimensions for installation Figure 3-1 Dimensions for installation of the S7-1200 Table 3- 1 Dimensions for installation S7-1200 devices Width A Width B * CPU 1211C, CPU 1212C 90 mm 45 mm CPU 1214C 110 mm 55 mm...
  • Page 23 Installation, connecting up, commissioning 3.3 Installing, connecting and commissioning Procedure for installation and commissioning Note Installation location During installation, make sure that the upper and lower ventilation slits of the module are not obstructed and good ventilation is possible. Above and below the device, there must be a clearance of 25 mm to allow air to circulate and prevent overheating.
  • Page 24: Note On Operation

    Installation, connecting up, commissioning 3.4 Note on operation Table 3- 2 Procedure for installation and connecting up Step Execution Notes and explanations Mount the CM on the DIN rail and connect it to Use a 35 mm DIN rail. the module to its right. The slots to the left of the CPU are permitted.
  • Page 25: Disassembly

    Installation, connecting up, commissioning 3.5 Disassembly Disassembly WARNING Improper disassembly Improper disassembly may result in a risk of explosion in hazardous areas. For proper disassembly, observe the following: • Before starting work, ensure that the electricity is switched off. • Secure remaining connections so that no damage can occur as a result of disassembly if the system is accidentally started up.
  • Page 26 Installation, connecting up, commissioning 3.5 Disassembly SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 27: Configuration And Program Blocks

    Configuring in third-party systems via GSD file To allow configuration in third-party systems, a GSD file is available. You will find this on the following page of Siemens Industry Online Support: Link: (https://support.industry.siemens.com/cs/ww/en/view/113652) The protocol variant DP-V1 or DP-V0 is decided during operation by the setting of the connected DP master.
  • Page 28: Dp Data Exchange With The Cpu

    Configuration and program blocks 4.2 DP data exchange with the CPU 7. Configure the DP slaves. This affects the properties in the following parameter groups: – General – PROFIBUS address – Mode > I-slave communication Here, you specify the transfer areas for cyclic data exchange. 8.
  • Page 29 Configuration and program blocks 4.3 New slave address with data record 0x2001 When the CPU has transferred the configuration data to the CP during startup, it changes to the RUN status. Only then can it change the address using data record 0x2001. The station then runs free of errors.
  • Page 30 Configuration and program blocks 4.3 New slave address with data record 0x2001 SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 31: Diagnostics And Upkeep

    Diagnostics and upkeep Diagnostics 5.1.1 Diagnostics options Diagnostics options You have the following diagnostics options available for the module: • The LEDs of the module For information on the LED displays, refer to the section LEDs (Page 14). • STEP 7: The "Diagnostics" tab in the Inspector window Here, you can obtain the following information on the selected module: –...
  • Page 32: Dp Slave Diagnostics

    Diagnostics and upkeep 5.1 Diagnostics 5.1.2 DP slave diagnostics Diagnostics data depending on the protocol version of the DP slave Depending on the type of configuration, the CM 1242-5 operates either as a DP-V1 slave or as a DP-V0 slave, see also section Configuration (Page 27). Depending on this, the diagnostics data is transferred to the DP master in different ways: •...
  • Page 33: Standard Diagnostics

    Diagnostics and upkeep 5.1 Diagnostics Overview of device-specific diagnostics The device-specific diagnostics data depends on the protocol variant operating on the DP slave: • DP-V1 slave Table 5- 1 Overview of device-specific diagnostics of the CM with DP-V1 slaves Device-specific diagnostics Byte Meaning Header...
  • Page 34 Diagnostics and upkeep 5.1 Diagnostics Bit no. Name Explanation Service_Not_Supported This bit is set by the DP master when the master has requested a function that is not supported by the DP slave. Solution: Change the parameter setting to disable the function on the master. Ext_Diag This bit is set by the slave.
  • Page 35: Device-Specific Diagnostics In Dp-V1

    Diagnostics and upkeep 5.1 Diagnostics Byte 2: Station status 3 Table 5- 5 Structure of station status byte 3 Bit no. Name Explanation Ext_Data_Overflow If this bit is set, there is more diagnostics information available than indicated in the diagnostics data. This data cannot be displayed. 6...0 Reserved - reserved -...
  • Page 36 Diagnostics and upkeep 5.1 Diagnostics Byte 1: Variant "Interrupt type" Table 5- 6 Structure of byte 1 of the device-specific diagnostics (variant "interrupt type") Bit no. Meaning Value Meaning Interrupt 6...0 Alarm_Type - reserved - Diagnostics interrupt Hardware interrupt Pull interrupt Plug interrupt Status interrupt Update interrupt...
  • Page 37 Diagnostics and upkeep 5.1 Diagnostics Byte 3: Variant "Interrupt specifier" Table 5- 8 Structure of byte 3 of the device-specific diagnostics (variant "interrupt specifier") Bit no. Meaning 7...3 Seq_No Unique identifier of an interrupt alarm Add_Ack If this bit is set, the DP-V1 master is indicating that this interrupt expects an acknowledgement in the form of a WRITE job.
  • Page 38: Device-Specific Diagnostics In Dp-V0

    Diagnostics and upkeep 5.1 Diagnostics Table 5- 10 Structure of the bytes for module-specific diagnostics data Byte Bit assignment Module status 4 Module status 3 Module status 2 Module status 1 Module status 8 Module status 7 Module status 6 Module status 5 Module status 236 Module status 235...
  • Page 39: Maintenance

    Do not use any liquids or solvents. WARNING Unauthorized repair of devices in explosion-proof design Risk of explosion in hazardous areas • Repair work may only be performed by personnel authorized by Siemens. 5.2.1 Downloading firmware New firmware versions If a new firmware version is available for the module, you will find this on the Internet pages of Siemens Industry Online Support: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15667/dl)
  • Page 40: Module Replacement

    To load a firmware file you require a SIMATIC memory card. You will find a description of the procedure for loading firmware on the respective page of Siemens Industry Online Support. You can recognize that firmware is being loaded by the flashing LEDs of the CM, see section LEDs (Page 14).
  • Page 41: Technical Data

    Technical data Technical specifications of the CM 1242-5 Table 6- 1 Technical specifications of the CM 1242-5 Technical specifications Article number 6GK7 242-5DX30-0XE0 Interfaces Connection to PROFIBUS 9-pin D-sub female connector Maximum current consumption on the PROFIBUS interface 15 mA at 5 V (only for bus termination) * when connecting network components (for example optical network components) Permitted ambient conditions...
  • Page 42: Pinout Of The D-Sub Socket

    Technical data 6.2 Pinout of the D-sub socket Pinout of the D-sub socket PROFIBUS interface Table 6- 2 Pinout of the D-sub socket Description Description - not used - VP: Power supply +5 V only for bus terminating resistors; not for supplying external devices - not used - - not used - RxD/TxD-P: Data line B...
  • Page 43: Dimension Drawings

    Dimension drawings Note All dimensions in the drawings are in millimeters. Figure A-1 CM 1242-5 - front view SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 44 Dimension drawings Figure A-2 CM 1242-5 - side view Figure A-3 CM 1242-5 - view from above SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 45: Approvals

    You will find the declarations of conformity listed below and certificates of the product on the Internet at the following address: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15667/cert) You can view the considered standards in the respective certificate which is available on the Internet at the address listed above.
  • Page 46 Directive of the European Parliament and of the Council of 8 June 2011 on the restriction of the use of certain hazardous substances in electrical and electronic equipment UK Declaration of Conformity Importer UK: Siemens plc Sir William Siemens House Princess Road Manchester M20 2UR The product meets the requirements of the following directives: •...
  • Page 47 • EN IEC 60079-0 - Explosive atmospheres - Part 0: Equipment - General requirements • EN 60079-7 - Explosive Atmospheres - Part 7: Equipment protection by increased safety 'e' Importer UK: Siemens plc (see above) CCC-Ex Classification:Ex na IIC T4 Gc (not on the type plate), Certificate no.:2020322310002625...
  • Page 48 Approvals The product meets the requirements of the following standards: • GB 3836.1 Hazardous areas - Part 0: Equipment - General requirements • GB 3836.3 Explosive atmospheres - Part 3: Equipment protection by increased safety "e" • GB 3836.8 Explosive atmospheres - Part 15: Equipment protection by type of protection 'n' The CP meets the requirements of the following directives: •...
  • Page 49 Approvals cULus Hazardous (Classified) Locations Underwriters Laboratories, Inc.: cULus IND. CONT. EQ. FOR HAZ. LOC. Applied standards: • ANSI ISA 12.12.01 • CSA C22.2 No. 213-M1987 APPROVED for Use in: • Cl. 1, Div. 2, GP. A, B, C, D T3...T6 •...
  • Page 50 This device can be used in all areas except for residential environments. Current approvals on the Internet You will also find the current approvals for the product on the Internet pages of Siemens Industry Online Support under the following entry ID: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15667/cert)
  • Page 51: References

    References Where to find Siemens documentation • Article numbers You will find the article numbers for the Siemens products of relevance here in the following catalogs: – SIMATIC NET - Industrial Communication / Industrial Identification, catalog IK PI – SIMATIC - Products for Totally Integrated Automation and Micro Automation, catalog...
  • Page 52 References SIMATIC NET PROFIBUS Network Manual system manual Siemens AG Link: (http://support.automation.siemens.com/WW/view/en/35222591) SIMATIC NET CM 1243-5 Operating instructions Siemens AG Link: (https://support.industry.siemens.com/cs/ww/en/view/49851842) SIMATIC CM 1242-5 Operating Instructions, 01/2023, C79000-G8976-C245-06...
  • Page 53: Index

    Index Article number, 3 Safety notices, 17 Security, 3 Service & Support, 6 SIMATIC NET glossary, 6 STEP 7, version, 10 CPU firmware version, 11 Cross-references (PDF), 4 Cyclic data exchange, configuration transfer areas, 28 Training, 6 Dimensions, 22, 41 Disposal, 6 Downloading project data, 24, 28 Uninstalling, 25...

This manual is also suitable for:

Simatic cm 1242-5

Table of Contents