Home

ET 200S distributed I/O IM 151-8 PN/DP CPU interface

image

Contents

1. SIEMENS SIEMENS SIEMENS D D D a iG ral a DS RS it D 1 I l 3 a amp amp am gm om Ltt Lt d L IL ot I ooo o ge og og x a o 0 Gol aw a o m oo o o o a o PAID PAUL I PA T AJKE 8 leel O1O volo ojoo jam LO O1 DO OO O ooloo o o jam IA E PAP PAP PEA E DEAD A De A Ja J J g UO 3 vou vo 2 ra Tr J J J ral ral QH Figure 1 2 View of the ET 200S distributed I O system with IM 151 8 PN DP CPU and DP master module IM 151 8 PN DP CPU interface module Reversing starter DP master module Terminating module PM E power module for electronic Power bus modules Electronic modules TM P terminal module for PM D power modules PM D power module for motor starters TM E terminal modules for electronic modules Direct starters TM P terminal modules for PM E power modules IM 151 8 PN DP CPU interface module 16 Operating Instructions 06 2008 A5E02049034 01 Operating and display elements 2 1 Operating and display elements of the IM 151 8 PN DP CPU interface module Operating and display elements x1 PROFINET LAN ET 200S DC24V Ie 1M 6ES7 151 8AB00 0AB0 Figure 2 1 Operating and display elements of the
2. oboooooo GD Figure 5 1 Connections of the IM 151 8 PN DP CPU Connection for PROFINET IO with 3 ports RJ45 Cable holder Connection for supply voltage caution PROFINET Modules with PROFINET interfaces may only be operated in LANs Local Area Network in which all nodes are equipped with SELV PELV power supplies or protection systems of equal quality A data transfer terminal modem for example is required to access the WAN Wide Area Network in order to ensure compliance with this safety standard IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Mounting and connecting 5 3 Connecting the IM 151 8 PN DP CPU interface module Requirements e The IM 151 8 PN DP CPU interface module is installed on the mounting rail e Wire the interface module with the supply voltage switched off Required tools Industrial Ethernet Fast Connect stripping tool 6GK1901 1GA00 stripping tool for Industrial Ethernet Fast Connect installation cables Power supply You may only use PELV type power supply units with a guaranteed electrically isolated extra low voltage lt 6
3. DP master ET 200 DP slave DP slave ET 200 DP slave PROFIBUS The graphic shows The connection of company network and field level Examples of connection paths From PCs in your company network you can access devices at the field level Example PC Switch 1 Router Switch 2 CPU 319 3 PN DP Connections between the automation system and field level You can of course also access other areas on the Industrial Ethernet from a programming device at the field level Example Programming device Integrated switch IM 151 8 PN DP CPU Switch 2 Integrated switch IO device ET 200S on IO device ET 200S The IO controller of the IM151 8 PN DP CPU interface module directly controls devices on the Industrial Ethernet and PROFIBUS At this point you can see IO features between the IO controller and IO device s on the Industrial Ethernet The IM151 8 PN DP CPU interface module is the IO controller for the two IO devices ET 200S and ET 200S The IM 151 8 PN DP CPU interface module is also the IO controller for the ET 200 DP slave via the IE PB Link 38 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services The graphic shows The IM 151 8 PN DP CPU interface module and the CPU 319 3 PN
4. SF LED X On X Off Flashes The IM 151 8 PN DP CPU requests a memory reset 0 5 Hz X On X Off Flashes The IM 151 8 PN DP CPU carries out a memory reset 2 Hz X On X Flashes On The IM 151 8 PN DP CPU interface module is in startup 2 Hz X On X Flashes On The IM 151 8 PN DP CPU interface module is paused by a 0 5 Hz programmed break point For details refer to the Programming with STEP 7 Manual On On X X X Hardware or software error To correct or avoid error refer to the tables below evaluation of the SF LED X X On X X You enabled the Force function For details refer to the Programming with STEP 7 Manual X X Flashes X X Node flashing test was activated 2 Hz Flash Flashes Flashes Flashes Flashes Your IM 151 8 PN DP CPU interface module has an internal system es error The procedure is as follows 1 Set the mode selector switch to STOP 2 Switch the supply voltage 1L off and on again 3 Read the diagnostics buffer with STEP 7 4 Contact your local SIEMENS partner X This state is irrelevant for the current IM 151 8 PN DP CPU interface module function IM 151 8 PN DP CPU interface module 162 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting Maintenance information MT The LED MT lights up yellow as soon as PROFINET issues a maintenance request e g failure of the sync master in a sync domain for the IRT operation of a P
5. the configuration in HW Config 1 The BF PN LED only lights up if a PROFINET IO system is configured If the BF PN LEDs do not light up because the PROFINET IO system is not to be used for example then the PROFINET IO system must be separated or deleted from Remedy for errors at the PROFINET interface BF PN LED lights up Table 10 7 BF PN LED lights up Possible error subnet switch e Wrong transmission speed e Full duplex mode not set module e Bus fault no cable connection toa Call of OB 86 if the IM 151 e Check the bus cable for a short circuit or 8 PN DP CPU interface break module is in RUN and has e Check whether the IM 151 8 PN DP CPU previously run IO devices interface module is connected to a switch and that are now failing not to a hub The IM 151 8 PN DP CPU e Check that data are being transmitted at 100 interface module STOPs if Mbps and in full duplex mode OB 86 is not loaded e Ifa DP master module is connected to your IM Example response of the IM Possible remedies 151 8 PN DP CPU interface 151 8 PN DP CPU interface module you can read out the diagnosis via the DP master interface Edit the configuration 166 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 4 Diagnostics using status and error LEDs Remedy for errors at the PROFINET interface of an IO controller BF PN
6. If more than one degree of danger is present the warning notice representing the highest degree of danger will be used A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage Qualified Personnel The device system may only be set up and used in conjunction with this documentation Commissioning and operation of a device system may only be performed by qualified personnel Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission ground and label devices systems and circuits in accordance with established safety practices and standards Prescribed Usage Trademarks Note the following A WARNING This device 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 Correct reliable operation of the product requires proper transport storage positioning and assembly as well as careful operation and maintenance All names identified by are registered trademarks of the Siemens AG The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner Disclaimer of Liability We have reviewed the contents of this publication to ensure c
7. SF Red Group fault for hardware or software error MT Yellow Maintenance information ON Green Supply voltage for the IM 151 8 PN DP CPU FRCE Yellow LED is lit Active force job LED flashes at 2 Hz Node flash test function RUN Green IM 151 8 PN DP CPU in RUN The LED flashes during STARTUP at a rate of 2 Hz and in HOLD state at 0 5 Hz STOP Yellow IM 151 8 PN DP CPU in STOP or in HOLD or STARTUP The LED flashes at 0 5 Hz when the CPU requests a memory reset and during the reset at 2 Hz Status and error displays for the bus interfaces Table 2 3 Status and error displays for the bus interfaces of the IM 151 8 PN DP CPU interface module LED designation Color Meaning BF PN Red Bus fault on the PROFINET P1 LINK Green Connection at port 1 is active P2 LINK Green Connection at port 2 is active P3 LINK Green Connection at port 3 is active Reference e Operating modes of the IM 151 8 PN DP CPU interface module STEP 7 Online Help e Information on performing a memory reset of the IM 151 8 PN DP CPU interface module Section Resetting the IM 151 8 PN DP CPU interface module using the mode selector switch e Evaluation of the LEDs for errors or diagnostics See the Diagnostics using status and error LEDs section IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 19 Operating and display elements 2 3 Display elements of the
8. gt SIMATIC Micro Memory Carc Module parameters NCM PC Nesting depth Network Network Non isolated NTP OB Module parameters are values which can be used to configure module behavior There are two different types of parameter static and dynamic gt SIMATIC NCM PC A block can be called from another by means of a block call Nesting depth is referred to as the number of simultaneously called code blocks A network is a larger communication system that allows data exchange between a large number of nodes All the subnets together form a network A network consists of one or more interconnected subnets with any number of nodes Several networks can exist alongside each other The reference potentials of the control and load circuit of non isolated I O modules are electrically interconnected The Network Time Protocol NTP is a standard for synchronizing clocks in automation systems via Industrial Ethernet NTP uses the UDP wireless network protocol gt Organization blocks IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 217 Glossary OB priority The CPU operating system distinguishes between different priority classes for example cyclic program execution or process interrupt controlled program processing Each priority class is assigned organization blocks OBs in which the S7 user can program a response The OBs are assigned different default priority classes
9. Introduction Requirement Procedure The IM 151 8 PN DP CPU interface module connects the ET 200S with PROFINET The mounting rail has been fitted see the ET 200S Distributed I O Device Operating Instructions Install the IM 151 8 PN DP CPU interface module see the ET 200S Distributed I O Device Operating Instructions Install the appropriate terminal module see the ET 200S Distributed I O Device Operating Instructions Note Note the installation sequence If you wish to extend the IM 151 8 PN DP CPU interface module with an optional DP master module you must first of all install the DP master module before you install the required terminal module Install the terminating module see the ET 200S Distributed O Device Operating Instructions IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 89 Mounting and connecting 5 3 Connecting the IM 151 8 PN DP CPU interface module 5 3 Introduction 90 Connecting the IM 151 8 PN DP CPU interface module You connect the supply voltage and PROFINET IO to the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module is equipped with an internal PROFINET switch This allows the PROFINET to be looped through directly or an additional IO device e g ET 200S with IM 151 3 PN to be connected directly
10. Parameters contains information about the integrated PROFINET interface of the IM151 8 PN DP CPU interface module SIMATIC PROFINET CONTROLLER IP parameter IP Address 192 168 3 142 Subnet mask 255 255 255 0 Default router IP settings IP address received via configuration Network connection MAC address 00 0E 8C 86 B6 E0 Name pn io Physical properties Portnumber Link status Settings Mode 1 disconnected automatic 10 MBits half duplex 2 OK automatic 100 MBit s half duplex 3 disconnected automatic 10 MBit s half duplex Figure 3 9 Parameters of the integrated PROFINET Interface Network connection Here you will find information that will help you to identify the integrated PROFINET interface of the IM151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module 60 Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server IP parameters Information about the configured IP address and number of the subnet containing the IM151 8 PN DP CPU interface module Physical properties The following information is available in the Physical properties info field e Port number e Link status e Settings e Mode The Statistics tab contains information about the quality of the data transmission SIMATIC PROFINET CONTROLLER Data package since 00 00 26 am 14 04 2008 Total statistics Sent data packages Sent
11. A data area is consistent if it can be read or written to from the operating system as a consistent block Data exchanged collectively between the stations should belong together and originate from a single processing cycle that is be consistent If the user program contains a programmed communication function for example FB 12 BSEND FB 13 BRCV which accesses shared data access to that data area can be coordinated by means of the BUSY parameter itself With PUT GET functions For S7 communication functions such as PUT GET or write read via OP communication which do not require a block in the user program on the IM151 8 PN DP CPU interface module acting as a server allowances must be made in the programming for the extent of the data consistency The PUT GET functions for S7 communication or for read write variables via OP communication are executed at the IM151 8 PN DP CPU interface module s cycle control point In order to ensure a defined process interrupt reaction time communication variables are copied consistently in blocks of up to 64 bytes to from the user memory at the operating system s cycle control point Data consistency is not guaranteed for larger data areas Note If defined data consistency is required the length of the communication variables in the IM151 8 PN DP CPU interface module operating system s user program must not exceed 64 bytes 3 2 8 Communication by means of PROFINET 3 2 8 1
12. Memory concept Retentivity of memory objects Retentive behavior of the memory objects 4 1 Memory areas and retentive memory The table below shows the retentive behavior of memory objects during specific operating state transitions Table 4 1 Retentive behavior of the memory objects Memory object User program data load memory Operating state transition POWER OFF STOP gt RUN POWER ON Memory reset X X e Retentive behavior of the DBs for the IM 1518 PN DP CPU interface module This can be set in the DB Properties in STEP 7V5 4 SP 4 or later Bit memory timers and counters configured as retentive data X Diagnostics buffers operating hour counters X X Configuration data for the interface of the IM 151 8 PN DP CPU interface module in an SDB e P data for the PN interface X a2 X retentive not retentive OFF POWER ON 1 Only the last 100 entries in the diagnostics buffer are retained in the event of a POWER 2 The IP data for the PROFINET interface is only retentive if the interface has been configured in HW Config and this configuration is also loaded on the IM 151 8 PN DP CPU interface module i e the SDBs must be available on the SIMATIC Micro Memory Card IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 75 Memory concept 4 1 Memory areas and retentive memory Retentive b
13. e The DP slaves are ready for operation see relevant DP slave manuals e Before commissioning you must configure the IM 151 8 PN DP CPU interface module as a DP master That means that in STEP 7you must configure the IM 151 8 PN DP CPU interface module as a DP master Note You must suspend the DP master module separately as a submodule X2 in the station window in HW Config assign a PROFIBUS address to the DP interface on the DP master module assign a master diagnostics address to the DP interface on the DP master module Integrate the DP slaves into the DP master system Is the DP CPU a DP slave If so this DP slave will appear in the PROFIBUS DP catalog as an already configured station In the DP master assign a slave diagnostics address to this DP slave CPU You must interconnect the DP master with the DP slave CPU and specify the address areas for data exchange with the DP slave CPU Commissioning Commission the IM 151 8 PN DP CPU interface module with DP master module as a DP master in the PROFIBUS subnet as follows 1 Download the PROFIBUS subnet configuration created with STEP 7 preset configuration from the programming device to the IM 151 8 PN DP CPU interface module 2 Switch on all the DP slaves 3 Switch the IM 151 8 PN DP CPU interface module from STOP to RUN Behavior of the IM 151 8 PN DP CPU interface module during commissioning e The DP master module is installed and IM 151
14. In order to enable the POs proceed as follows 1 Select Table gt Open the variable table VAT to open the variable table containing the POs you want to modify or activate the window containing the corresponding VAT To control the POs of the active VAT select the required IM 151 8 PN DP CPU interface module connection using the PLC gt Connect to menu item Use the PLC gt Operating Mode menu item to open the Operating Mode dialog and switch the IM 151 8 PN DP CPU interface module to STOP mode Enter your values in the Modify value column for the PO you want to modify Examples PO POB 7 modify value 240100 0011 POW 2 W 16 0027 POD 4 DW 16 0001 Select Variable gt Enable PO to set Enable PO mode Modify the PO by selecting Variable gt Activate Modify Values Enable PO mode remains active until reset by selecting Variable gt Enable PO once mode Enable PO is also terminated when the connection to the programming device is dropped Return to step 4 if you want to set new values Note If the IM 151 8 PN DP CPU interface module changes its mode for example from STOP to RUN or STARTUP a message is shown A message is also shown if the IM 151 8 PN DP CPU interface module is set to Enable PO function while the IM 151 8 PN DP CPU interface module is in RUN mode IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 121 Commissioning 7 5
15. PROFINET is an Ethernet based automation standard of PROFIBUS International previously PROFIBUS Users Organization e V and defines a multi vendor communication automation and engineering model PROFINET has been part of the standard IEC 61158 since 2003 gt ASIC IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 221 Glossary PROFINET CBA In the context of PROFINET PROFINET CBA Component based Automation is an automation concept for e Implementation of modular applications with distributed intelligence e Machine to machine communication PROFINET CBA lets you create distributed automation solutions based on default components and partial solutions This concept satisfies demands for a higher degree of modularity in the field of mechanical and systems engineering by extensive distribution of intelligent processes Component based Automation allows you to use complete technological modules as standardized components in large systems PROFINET CBA is implemented by e The PROFINET standard for programmable controllers e The SIMATIC iMAP engineering tool The components are created in an engineering tool that can differ from vendor to vendor Components of SIMATIC devices are created for example with STEP 7 PROFINET components A PROFINET component encompasses the entire data of the hardware configuration the parameters of the modules and the corresponding user program The PROFI
16. Retentivity of load memory system memory and RAM Page IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 1 Memory areas and retentive memory 4 1 5 Properties of the SIMATIC Micro Memory Card The SIMATIC Micro Memory Card as a memory module for the IM 151 8 PN DP CPU interface module The memory module used in your IM 151 8 PN DP CPU interface module is a SIMATIC Micro Memory Card It can be used as load memory or as a portable storage medium Note The IM 151 8 PN DP CPU interface module requires the SIMATIC Micro Memory Card for operation The following data are stored on the SIMATIC Micro Memory Card e User programs all blocks e Archives and recipes e Configuration data STEP 7 projects e Data for operating system update and backup Note You can either store user and configuration data or the operating system on the SIMATIC Micro Memory Card Properties of a SIMATIC Micro Memory Card The SIMATIC Micro Memory Card ensures maintenance free and retentive operation of the IM 151 8 PN DP CPU interface module SIMATIC Micro Memory Card copy protection Your SIMATIC Micro Memory Card has an internal serial number that implements an MMC copy protection You can read this serial number from the SSL partial list 011CxH index 8 using SFC 51 RDSYSST If the reference and actual serial number of your SIMATIC Micro Memory Card are not the same program a
17. The proxy functionality allows a PROFIBUS device to communicate not only with its master but also with all nodes on PROFINET You can easily integrate existing PROFIBUS systems into PROFINET communication for example with the help of an IE PB link or an IM 151 8 PN DP CPU interface module The IE PB link IM 151 8 PN DP CPU handles communication via PROFINET as a substitute for the PROFIBUS components IM 151 8 PN DP CPU interface module 224 Operating Instructions 06 2008 A5E02049034 01 Glossary Publisher gt Direct data exchange Publisher The publisher is a sender in the direct data exchange RAM Random Access Memory is a semiconductor read write memory Real Time Real time means that a system processes external events within a defined time Determinism means that a system reacts in a predictable deterministic manner In industrial networks both these requirements are important PROFINET meets these requirements PROFINET is implemented as a deterministic real time network as follows e The transfer of time critical data between different stations over a network within a defined interval is guaranteed To achieve this PROFINET provides an optimized communication channel for real time communication Real Time RT e An exact prediction of the time at which the data transfer takes place is possible e Itis ensured that seamless communication can take place in the same network by means of other standard protoc
18. station 6 P5V2 Supply plus station 7 8 RxD TxD N Data line A 9 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Addressing 6 6 1 Addressing the I O modules 6 1 1 Slot oriented addressing of the centralized I O modules Slot oriented addressing A slot orientated addressing is available only for the centralized I O of the IM 151 8 PN DP CPU interface module If the IM 151 8 PN DP CPU interface module is started up without a configuration loaded then the I O modules are addressed by slot by default Note Without a loaded configuration the IM 151 8 PN DP CPU interface module has no retentive IP address for the PROFINET interface You will have to reassign the IP address after each POWER OFF POWER ON or memory reset This is the digital or analog address set by default according to the type of I O module see table below Process image default setting r 0 127 2047 256 1263 X v per analog module Technology module 16 Byte 41Q SENSE or High feature motor starters 1 Byte per digital module or motor starter Figure 6 1 Structure of the default address area IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 95 Adaressing 6 7 Addressing the I O modules Slot assignment The figure below shows an ET 200S configuration with digital and analog electronic modules as well as the technology modul
19. 151 8 PN DP CPU interface module has been configured in STEP 7 IP address and device name set in HW Config the IM 151 8 PN DP CPU interface module is connected to the subnet e PROFIBUS on optional DP master module the PROFIBUS address is set the terminating resistors on the segments are enabled IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 101 Commissioning 7 2 Commissioning procedure Recommended procedure Hardware Due to its modular structure and the many different expansion options an ET 200S can be very large and complex It is therefore not a good idea to switch it on for the first time with all the modules installed Rather we recommend a step by step commissioning procedure We recommend the following initial commissioning procedure for an ET 200S Table 7 1 Recommended commissioning procedure Hardware Activity An installation and wiring check according to checklist Remarks Information on this can be found in section Commissioning check list Disconnecting drive aggregates and control elements This prevents negative effects on your system as a result of program errors Tip By redirecting data from your outputs to a data block you can always check the status at the outputs Preparing the IM 151 8 PN DP CPU Connect a programming device Connecting the programming device PG Start up the power supply and ET 200S with the I
20. 3 Debugging functions Programming with foresight and above all knowledge and proper handling of diagnostic tools puts you into an advantageous position in error situations e You can reduce the effects of errors e t makes it easier for you to locate errors by programming error OBs for example e You can limit downtimes Diagnostics with LED display The SIMATIC hardware of the distributed I Os offers diagnostics with LEDs These LEDs are implemented in three colors LED color Green Status of the IM 151 8 PN DP CPU interface module Regular operation Example Power is on Yellow Non regular operating status Example Forcing is active Red Fault Example Bus error LED flashing Special event Example Memory reset The LEDs for the PROFINET interface ports are of the following colors LED color Green State Meaning Off No other device is connected to the corresponding port of the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module On Another PROFINET device such as a switch is connected at the corresponding port of the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module and the physical connection has been established Reference Notes on diagnosing suitable I O modules can be found in the E7 200S Operating Instructions Diagnostics buffer If an error occurs the IM 151 8 PN DP CPU interface module writ
21. 61158 EN 50170 volume 2 PROFIBUS The term DPV1 is defined as a functional extension of the acyclic services to include new interrupts for example provided by the DP protocol Together with the DP master module you can operate the IM 151 8 PN DP CPU interface module as a DP master via the expanded DPV1 functionality Requirement for using the DPV1 functionality with DP slaves For DPV1 slaves from other vendors you will need a GSD file conforming to EN 50170 revision 3 or later Extended functions of DPV1 e Use of any DPV1 slaves from external vendors in addition to the existing DPVO and S7 slaves of course e Selective handling of DPV1 specific interrupt events by new interrupt blocks e Reading writing SFBs that conform to standards to the data record although this can only be used for centralized I O modules e User friendly SFB for reading diagnostics Interrupt blocks with DPV1 functionality Table 3 8 Interrupt blocks with DPV1 functionality OB Functionality OB 40 Process interrupt OB 55 Status interrupt OB 56 Update interrupt OB 57 Vendor specific interrupt OB 82 Diagnostic interrupt Note You can now also use organization blocks OB40 and OB82 for DPV1 interrupts IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 71 Communication 3 5 DPV1 System blocks with DPV1 functionality Table 3 9 System function blocks with DPV1
22. 6ES7151 8AB00 0ABO 1 unit The SIMATIC Micro Memory Card is not supplied as standard DP master module Table A 2 DP master module order numbers Designation Order number DP master module 1 unit 6ES7138 4HA00 0ABO IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 185 Appendix A 7 Order numbers A 1 2 Order numbers of accessories IM 151 8 PN DP CPU interface module accessories Table A 3 IM 151 8 PN DP CPU accessories order numbers Designation Order number Suitable for a FW update via SIMATIC Micro Memory Card SIMATIC Micro Memory Card 64k 6ES7953 8LF20 0AA0 SIMATIC Micro Memory Card 128k 6ES7953 8LG20 0AA0 SIMATIC Micro Memory Card 512k 6ES7953 8LJ20 0AA0 SIMATIC Micro Memory Card 2M 6ES7953 8LL20 0AA0 SIMATIC Micro Memory Card 4M 6ES7953 8LM20 0AA0 X SIMATIC Micro Memory Card 8M 6ES7953 8LP20 0AA0 X Label sheets DIN A4 10 units e beige 6ES7193 4BA00 0AA0 e Yellow 6ES7193 4BB00 0AA0 e red 6ES7193 4BD00 0AA0 e petrol 6ES7193 4BH00 0AA0 Connectors and cables Table A 4 Connectors and cables order numbers Designation Order number PROFINET PROFINET RJ45 connector with FastConnect connection system 90 cable outlet e 1 per pack 1 pack 6GK1901 1BB20 2AA0 e 10 per pack 1 pack 6GK1901 1BB20 2AB0O PROFINET FC cable Sold by meter min ordering quantity 20 m
23. 8 PN DP CPU interface module STOPs if OB 86 is not loaded Load OB 83 and OB 86 A distributed module was removed from or inserted on the PROFIBUS DP while the system was in RUN mode An I O module with diagnostic capability reports a diagnostic interrupt Call of OB 86 The IM 151 8 PN DP CPU interface module STOPs if OB 86 is not loaded If the module was integrated using a GSD file Call of OB 82 The IM 151 8 PN DP CPU interface module STOPs if OB 82 is not loaded Call of OB 82 The IM 151 8 PN DP CPU interface module STOPs if OB 82 is not loaded Load OB86 or OB82 Response to the diagnostic event which depends on the parameter assignments for the I O module Attempt to access a missing or faulty I O module Loose connector software or hardware error Call of OB 85 if access was attempted during update of the process image OB 85 call must be enabled accordingly in the parameters Call OB 122 for direct I O access The IM 151 8 PN DP CPU interface module STOPs if an OB is not loaded Load OB 85 or OB 122 The start information of the OB contains the address of the relevant I O module Replace the relevant I O module fix the connector or eliminate the program error SIMATIC Micro Memory Card is faulty The IM 151 8 PN DP CPU switches to STOP and requests a memory reset Replace the SIMATIC Micro Memory Card reset the IM 151 8 PN DP CPU interface module memory tra
24. 8 PN DP CPU interface module is configured as a DP master gt the IM 151 8 PN DP CPU interface module switches to RUN with master functionality e The DP master module is installed and the IM 151 8 PN DP CPU interface module is not configured as a DP master gt the IM 151 8 PN DP CPU interface module switches to RUN without master functionality IM 151 8 PN DP CPU interface module 130 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 6 Commissioning PROFIBUS DP Starting up the IM 151 8 PN DP CPU interface module as a DP master During startup the IM 151 8 PN DP CPU interface module checks the configured preset configuration of its DP master system against the actual configuration If the preset configuration the actual configuration the IM 151 8 PN DP CPU interface module goes to RUN If the preset configuration the actual configuration the configuration of parameter Startup if preset configuration actual configuration determines the startup behavior of the IM 151 8 PN DP CPU interface module Startup when the preset configuration actual Startup when the preset configuration actual configuration Yes default setting configuration no IM 151 8 PN DP CPU in RUN The IM 151 8 PN DP CPU interface module BF LED flashes if any of the DP slaves cannot remains in STOP mode and the BF LED flashes be addressed after the set Monitoring time for transfer of parameters to modules The flashing BF L
25. A5E02049034 01 13 Description 7 3 Properties of the DP master module 1 3 Properties of the DP master module Together with the DP master module you can operate the IM 151 8 PN DP CPU interface module as a DP master Note The IM 151 8 PN DP CPU interface module can be expanded by no more than one DP master module Properties of the DP master module The DP master module has the following special features e The PROFIBUS DP address is saved alongside the HW Config configuration on the SIMATIC Micro Memory Card in the IM 151 8 PN DP CPU interface module e There is 1 LED on the front of the DP master module to indicate bus faults on the PROFIBUS DP BF e Connection to PROFIBUS DP via the DP interface RS 485 on the DP master module Integration of the DP master module in ET 200S The DP master module is connected to the IM 151 8 PN DP CPU from the right and hence integrated in the ET 200S How do configure and program the ET 200S with IM 151 8 PN DP CPU and master module To configure an ET 200S with IM 151 8 PN DP CPU and DP master module configuration and parameter assignment and to program the IM 151 8 PN DP CPU interface module you will need the STEP 7 project design software V5 4 ServicePack 4 or later The procedure for configuring the ET 200S with IM 151 8 PN DP CPU and DP master module is described in the Commissioning section of these Operating Instructions IM 151 8 PN DP CPU interface module 14 O
26. Analog channels e Inputs 1021 e Outputs 1021 e Inputs central 124 e Outputs central 124 Removal Mounting rail 1 I O module for each ET 200S Max 63 Station width lt 1mor lt 2m Current carrying capacity per load group power Max 10A module Time of day Clock Yes hardware clock e Factory setting DT 1994 01 01 00 00 00 e Buffered Yes e Buffered period Typically 6 weeks at an ambient temperature of 40 C e Behavior of the clock on expiration of the buffered period The clock keeps running continuing at the time of day it had when power was switched off e Accuracy Deviation per day lt 10s Operating hours counter 1 e Number 0 e Value range 231 hours if SFC 101 is used e Granularity 1 hour Retentive Yes must be manually restarted after every restart IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical data 11 2 IM 151 8 PN DP CPU interface module Technical specifications Time synchronization Yes e on PROFINET Via NTP only as time of day client e on PROFIBUS DP Time of day master time of day slave with DP master module S7 message functions Number of stations that can be logged on for 12 signaling functions depends on the number of connections configured for programming device OP communication Process diagnostics messages Yes e Simultaneously enable
27. DP CPU interface module 126 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 5 Commissioning PROFINET IO Starting up the IM 151 8 PN DP CPU interface module as an IO controller During startup the IM 151 8 PN DP CPU interface module checks the preset configuration against the actual configuration e Of the local I O e the PROFINET IO system and e the distributed I O on the PROFIBUS DP system The IM IM 151 8 PN DP CPU interface module startup depends on the configuration settings made in the Startup tab Table 7 9 Starting up the IM 151 8 PN DP CPU interface module as an IO controller Preset Actual Preset Actual configuration configuration Startup permitted if Preset Startup not permitted if Preset configuration is not the same as configuration is not the same as the the Actual configuration Actual configuration IM 151 8 PN DP CPU in IM 151 8 PN DP CPU in RUN IM 151 8 PN DP CPU does not RUN After POWER ON and after the start up parameter monitoring time has elapsed the IM 151 8 PN DP CPU interface module switches to RUN The flashing BF PN LED indicates that at least one IO device cannot be addressed In this case check that all IO devices are switched on and correspond to the set configuration For additional information read the diagnostics buffer in STEP 7 Detecting interruptions in the data transfer to the IO device The following table shows how the IM 151 8 PN
28. Diagnostic interrupt OB 82 is called Evaluation with SFC 13 or 51 Read OB82_MDL_ADDR and Read OB82_IO_FLAG ID of the I O module Enter bit 0 of OB82_IO_FLAG in OB82_MDL_ADDR at bit 15 Result Diagnostic address OB82_MDL_ADDR To diagnose the entire DP slave 4 call SFC 13 In the LADDR parameter enter Diagnostic address OB82_MDL_ADDR Note SFC 13 is asynchronous which means that it may be called multiple times until its state has changed to BUSY 0 Initial call in OB 82 execution completed in the cycle 170 Evaluation with SFB 54 easiest option For diagnosing affected components call SFB 54 v Set MODE 1 Diagnostic data is entered in the TINFO and AINFO parameters For diagnosing affected I O modules call SFC 51 In the INDEX parameter enter diagnostic address OB82_MDL_ADDR In parameter SZL_ID enter the ID W 16 00B3 diagnostic data for an I O module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 6 Diagnostics on the PROFIBUS DP Diagnostics addresses for DP masters and DP slaves With IM 151 8 PN DP CPU interface module you assign diagnostics addresses for the PROFIBUS DP Verify in your configuration that the DP diagnostics addresses are assigned once to the DP master and once to the DP slave IM 151 8 PN DP CPU as a receiver IM 151 7 CPU as the sender DP mas
29. ET interface of the IM 151 8 PN DP CPU interface module If you wish to connect only a programming device and no IO devices to the IM 151 8 PN DP CPU interface module you must also configure the PROFINET interface accordingly Procedure Step Activity Configuring hardware in STEP 7 SIMATIC Manager 1 Select File gt New Enter a name for your project and click on OK to confirm Select Insert gt Station gt SIMATIC 300 Station to add an S7 300 station Double click Hardware Result HW Config opens Insert your IM 151 8 PN DP CPU interface module using drag and drop Result The Properties Ethernet Interface PN IO window opens The properties of the PROFINET interface X1 are shown in the Parameters tab Assigning the IP address 5 Enter the required IP address in the window Note The worldwide unique MAC address is preset by the manufacturer and cannot be changed 6 Click OK to close the Properties dialog box Saving the configuration 7 Save your configuration with Station gt Save and compile Configu ration download 8 Download the configuration to the IM 151 8 PN DP CPU interface module There are two ways of doing this e online via the PN interface To download the configuration select the MAC address of the target IM 151 8 PN DP CPU interface module You can display the list of available nodes in the Select node address w
30. Example for the IM 151 8 PN DP CPU The IM 151 8 PN DP CPU interface module makes available 12 connection resources e Reserve two connection resources for programming device communication e Reserve two connection resources for OP communication e In NetPro you configure 3 S7 connection resources for S7 communication via the integrated PROFINET interface This leaves 5 S7 connections available for any communication services e g S7 communication OP communication etc However no more than 10 connection resources for S7 communication at the integrated PN interface can be configured in NetPro There are also 4 routing connections available for the IM151 8 PN DP CPU interface module that do not affect the S7 connection resources mentioned above 70 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 5 DPV1 3 5 DPV1 Definition DPV1 Availability New automation and process engineering tasks require the range of functions performed by the existing DP protocol to be extended In addition to cyclical communication functions acyclical access to non S7 field devices is another important requirement of our customers and was implemented in the EN 50170 standard In the past acyclic access was only possible with S7 slaves The standard concerning distributed I Os EN 50170 has been further developed All the changes concerning new DPV1 functions are included in IEC
31. IM 151 8 PN DP CPU interface module The figure shows the following elements of the IM 151 8 PN DP CPU interface module RJ45 socket port 1 of the PROFINET interface RJ45 socket port 2 of the PROFINET interface RJ45 socket port 3 of the PROFINET interface Mode selector switch Status and error displays of the IM 151 8 PN DP CPU interface module Status displays of the PROFINET interface Slot for the SIMATIC Micro Memory Card O E O Connection for supply voltage IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 17 Operating and display elements 2 1 Operating and display elements of the IM 151 8 PN DP CPU interface module Slot for the SIMATIC Micro Memory Card Memory module is a SIMATIC Micro Memory Card You can use MMCs as load memory and as portable storage media The slot for the SIMATIC Micro Memory Card can be accessed from the front of the interface module The nserting Replacing a Micro Memory Card section contains detailed information on inserting the SIMATIC Micro Memory Card Note The IM151 8 PN DP CPU interface module does not have an integrated load memory so you will need to connect a SIMATIC Micro Memory Card to the IM 151 8 PN DP interface module in order to use it Mode selector switch You can use the mode selector switch to set the current operating mode of the IM 151 8 PN DP CPU Table 2
32. OB 86 if the IM 151 8 PN DP CPU interface module is in RUN and has previously run DP slaves that are now failing The IM 151 8 PN DP CPU interface module STOPs if OB 86 is not loaded Possible remedies e Check to see if the connector for PROFIBUS DP is inserted properly e Check the bus cable for a short circuit or break e Analyze the diagnostic data Edit the configuration Table 10 12 BF LED on the DP master module flashes Possible error The IM 151 8 PN DP CPU interface module is the DP master e Failure of a connected station e Atleast one of the configured slaves cannot be accessed e Incorrect configuration configured address areas of the actual structure do not correspond with the set structure Response of the IM 151 8 PN DP CPU interface module Call of OB 86 if the IM 151 8 PN DP CPU interface module is in RUN and connected DP slaves have since failed The IM 151 8 PN DP CPU interface module STOPs if OB 86 is not loaded Possible remedies e Check whether the bus cable on the DP master module is connected to the IM 151 8 PN DP CPU interface module and that the bus is not interrupted e Wait until the IM 151 8 PN DP CPU interface module has started up If the LED does not stop flashing check the DP slaves or evaluate the diagnostic data for the DP slaves e Check the settings for the configured address areas for the DP master Reference A detailed descr
33. SIMATIC Micro Memory Card IM 151 8 PN DP CPU interface module 80 Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 2 Memory functions 4 2 2 Downloading user programs via SIMATIC Micro Memory Card to the IM 151 8 PN DP CPU interface module User program download The entire user program is downloaded from your PD PC to the IM 151 8 PN DP CPU interface module via the SIMATIC Micro Memory Card The previous content of the SIMATIC Micro Memory Card is deleted in the process Blocks use the load memory area as specified under Load memory requirements in General block properties The figure shows the load and work memory of the IM 151 8 PN DP CPU interface module Programming device O D A a oN SILVWIS SEES Aowa Saved to the Load memory Work memory hard disk Process relevant parts of logic and plus configurati on data System data blocks Comments Icons 1 If not all of the work memory area is retentive the retentive part is indicated in the STEP 7 module status as retentive memory You cannot run the program until all the blocks are downloaded Note This function is only permissible if the IM 151 8 PN DP CPU interface module is in STOP mode Load memory is cleared if the load operation could not be completed due to power loss or illegal block data IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E0204
34. The SIMATIC Manager lets you e Manage projects and libraries e Call STEP 7tools e Access the PLC AS online e Editing SIMATIC Micro Memory Cards Starting SIMATIC Manager User interface Online Help After installation the SIMATIC Manager icon appears on the Windows desktop and the Start menu contains entry SIMATIC Manager under SIMATIC 1 Run SIMATIC Manager by double clicking the icon or from the Start menu same as with all other Windows applications A corresponding editing tool is started up when you open the relevant objects You start the program editor by double clicking the program block you want to edit object oriented start The online help for the active window is always called by pressing F1 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 117 Commissioning 7 4 Commissioning the modules 7 4 8 Monitoring and modifying I Os The Monitor and modify variables tool The S7EP 7 Monitor and modify variables tool lets you e Monitor program variables in any format e Editing modifying the status or content of variables in the IM 151 8 PN DP CPU interface module Creating a variable table You have two options of creating a variable table VAT e Inthe LAD FBD STL editor by selecting the PLC gt Monitor Modify Variables command This table is also available directly online e Inthe SIMATIC Manager with the Blocks container open via menu item Insert New Objec
35. These determine the order in which OBs are executed or interrupt each other when they appear simultaneously Operating state SIMATIC S7 automation systems know the following operating states STOP STARTUP RUN Operating system The CPU OS organizes all functions and processes of the CPU which are not associated to a specific control task Operating system P Organization blocks Organization blocks OBs form the interface between CPU operating system and the user program The order in which the user program is executed is defined in the organization blocks Parameter e Variable of a STEP 7 code block e Variable used to set the behavior of a module one or more per module All modules have a suitable basic factory setting which can be customized in STEP 7 There are static and dynamic parameters Parameter assignment This means the passing of parameters from the DP master to the DP slave or from the lO controller to the IO device Parameters dynamic In contrast to static parameters you can change dynamic module parameters in runtime by calling an SFC in the user program e g limit values for an analog input module Parameters static In contrast to dynamic parameters static parameters of modules cannot be changed by the user program You can only modify these parameters by editing your configuration in STEP 7 for example by modifying the input delay parameters of a digital input module IM 151 8 PN DP CP
36. UDT 65 TCON_PAR This data structure contains the required parameters you need to establish the connection between the user program and the communication level of the operating system The CONNECT parameter of the FB 65 TCON contains a reference to the address of the corresponding connection description e g P DB100 DBX0 0 Byte 64 Note Setting up the connection description UDT 65 You must enter the interface to be used for communication in the local_device_id parameter in UDT 65 TCON_PAR e g B 16 01 Communication via the integrated PN interface of the IM 151 8 PN DP CPU interface module Establishing a connection for communication 44 e Use with TCP and ISO on TCP Both communication partners call FB 65 TCON to establish the connection In your connection configuration you define which communication partner activates the connection and which communication partner responds to the request with a passive connection To determine the number of possible connections refer to your IM 151 8 PN DP CPU interface module s technical specifications The IM 151 8 PN DP CPU interface module automatically monitors and maintains the established connection If the connection is broken for example by line interruption or by the remote communication partner the active partner tries to reestablish the connection You do not have to call FB 65 TCON again FB 66 TDISCON disconnects the IM 151 8 PN DP CPU interface module fro
37. actual topology Diagnostic interrupt Modules capable of diagnostics operations report detected system errors to the CPU by means of diagnostic interrupts Diagnostics gt System diagnostics Diagnostics buffer The diagnostics buffer represents a buffered memory area in the CPU It stores diagnostic events in the order of their occurrence Direct data exchange Direct data exchange is a special communication relationship between PROFIBUS DP nodes The direct data exchange is characterized by PROFIBUS DP nodes which listen on the bus and know which data a DP slave returns to its DP master Distributed I O systems I O systems that are not integrated into the central controller but rather at distributed locations a long distance from the CPU such as e ET 200M ET 200L ET 200S ET 200pro e DP AS I Link e 5 95U with PROFIBUS DP slave interface e Further DP slaves supplied by Siemens or other vendors The distributed I O systems are connected to the DP master via PROFIBUS DP DP master gt Master IM 151 8 PN DP CPU interface module 208 Operating Instructions 06 2008 A5E02049034 01 Glossary DP master A master that complies with the IEC 61784 1 2002 Ed1 CP 3 1 standard is known as a DP master DP slave DP slave A slave running on the PROFIBUS using the PROFIBUS DP protocol in compliance with IEC 61784 1 2002 Ed1 CP 3 1 is known as a DP slave DP Standard Bus protocol of the ET 200 distributed I O sy
38. and Standard Functions for S7 300 400 reference manual or in the STEP 7 Online Help Note SFC 82 is terminated and an error message is generated if a DB already exists under the same number in load memory and or work memory The data written to load memory are portable and retentive on Memory reset Evaluation of measured values e Measured value DBs saved to load memory can be uploaded and evaluated by other communication partners programming device PC for example Note Active system functions SFC82 to 84 active access to the SIMATIC Micro Memory Card have a distinct influence on PG functions for example block status variable status download block upload open This typically reduces performance compared to passive system functions by a factor of 10 Note With the IM 151 8 PN DP CPU interface module you can also generate non retentive DBs using SFC 82 parameter ATTRIB gt NON_RETAIN bit Note To prevent data losses do not exceed this maximum of delete write operations IM 151 8 PN DP CPU interface module 86 Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 2 Memory functions 4 2 7 Backup of project data to SIMATIC Micro Memory Card Function principle Using the Save project to Memory Card and Fetch project from Memory Card functions you can save all project data to a SIMATIC Micro Memory Card and retrieve these at a later time For this operation the SIMA
39. ch uteceesy sncevccdstasu bge muceesesccetepfuccetstycceestyadaey Vecsey AKANSE BEARREAN 58 3345 PROFINET raperda eia bans ceucsecceed autdedhasggecteaadiewensadz nl a EEE 3 3 4 6 Variable Status osririicsiriseceuicerineri eri iari ei rE a denne EETA TETEE S 334 7 Nanable tables sonei tei eee eae aided ei Se eee ES 63 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 7 Table of contents 3 4 mf COMME GUOMS iarsi a ise cet ed telat ee A tee AE hed 66 3 4 1 S7 CONNECTION AS COMMUNICATION path cece cet cteceeteetecteeeseenecnectseesaeeesnesesesaeeseeneeeenegs 66 3 4 2 Assignment of S7 COMMECUONS esiisa eens eke eee etn 3 4 3 Distribution and availability of S7 connection reSourceS seeeseseesseeirsserisserrrsererrssrrrssrrrrssrenns 3 4 4 Connection resources fOr routing norssi EA 3 5 DPV Wes sadist chen nana A AA E E A AaS 4 MGEMOLY CONCEP EAA TATA E E E T T E E A E T avavedscei e 4 1 Memory areas and retentive MemMOry cece eee e eee eete ee ee ene eee tees nattinatt taeee ee nnatn nast nn nanten nanen nat 4 1 1 Memory areas of the IM 151 8 PN DP CPU interface module eceeeeeeeeeeeeeeeeteneeeteeeaeees 4 1 2 Retentivity of load memory system memory and RAM ccccccceeeseneeeeseeeeeeeseeeeeteeeeeeseenaeees 4 1 3 Retentivity Of memory objectis essc aaa a Ra KERE E AE AAA AS 75 4 1 4 Address areas Of system MEMOLY cccecceceeeeeeeeeeeeeeeeeeeseeeees
40. commissioning the PROFINET IO system Overview There are several ways to start commissioning the PROFINET IO interface of the IM 151 8 PN DP CPU interface module and then the PROFINET IO system e online via the PN interface e offline by saving the data to a SIMATIC Micro Memory Card in SIMATIC Manager on your programming device and then inserting the SIMATIC Micro Memory Card into the IM 151 8 PN DP CPU interface module Commissioning a PROFINET IO system directly via PN interface ET 200S E gt IO device ETIR eel Num Meaning ber Connect the programming device PC to the X1 P1 interface of the IM 151 8 PN DP CPU interface module using a pre assembled uncrossed twisted pair cable Use a pre assembled uncrossed twisted pair cable to connect the IO device e g ET 200S to the integrated PROFINET interface X1 P2 of your IM 151 8 PN DP CPU interface module The IO device can also be connected to X1 P3 It is also possible to interpose a switch Commissioning requirements e The IM 151 8 PN DP CPU interface module is in STOP mode e The IO devices are switched on e The PROFINET subnet is installed and the communication partners programming device IO controller IO devices for example are connected to the PROFINET subnet IM 151 8 PN DP C
41. delay interrupt OBs 1 OB 20 e Number of cyclic interrupt OBs 1 OB 35 e Number of hardware interrupt OBs 1 OB 40 e Number of DPV1 interrupt OBs 3 OB 55 56 57 e Number of asynchronous error interrupts 6 OB 80 82 83 85 86 87 OB 83 only for centralized I O and PN IO e Number of startup OBs 1 OB 100 e Number of synchronous error interrupt OBs 2 OB 121 122 Nesting depth e Per priority class 16 e Additional within an error OB 4 FBs See S7 300 Instruction List e Number max 1024 in the number range from 0 to 2047 e Size 64 KB FCs See S7 300 Instruction List e Number max 1024 in the number range from 0 to 2047 e Size 64 KB IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 175 Technical data 11 2 IM 151 8 PN DP CPU interface module 176 Technical specifications Address areas I O Total I O address area e Inputs freely adressable 2048 bytes e Outputs freely adressable 2048 bytes e Of which distributed Inputs freely adressable 2048 bytes Outputs freely adressable 2048 bytes Process O image e Inputs adjustable 2048 e Outputs adjustable 2048 e Inputs preset 128 e Outputs preset 128 Number of process image partitions none Digital channels e Inputs 16336 e Outputs 16336 e Inputs central 496 e Outputs central 496
42. engineering station that is it just needs to be allocated e If all reserved S7 connection resources for programming device communication are allocated the operating system automatically assigns a free S7 connection resource which has not yet been reserved If no more connection resources are available the engineering station cannot communicate online with the IM151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 67 Communication 3 4 S7 connections Allocating connection resources to HMI services An online function on the HMI station OP TP with WinCC is used for assigning S7 connection resources for the OP communication e An S7 connection resource for programming device communication which was reserved in your IM151 8 PN DP CPU interface module hardware configuration is assigned to the HMI station that is it just needs to be allocated e lf all reserved S7 connection resources for OP communication are allocated the operating system automatically assigns a free S7 connection resource which has not yet been reserved If no more connection resources are available the HMI station cannot communicate online with the IM151 8 PN DP CPU interface module Chronological order in which S7 connection resources are assigned Example See also 68 When you program your project in STEP 7 the system generates parameter assignment blocks which are read by the mod
43. factory settings using the mode selector 1 2 3 7 Switch off the power supply Remove the SIMATIC Micro Memory Card from the receptacle see nserting replacing a Micro Memory Care Keep the mode selector switch in the MRES position and switch the power supply on again Wait until LED lamp image 1 from the subsequent overview is displayed Release the mode selector switch set it back to MRES within 3 seconds and hold it in this position The LED lamp image 2 from the subsequent overview is displayed This lamp image lights up while the reset operation is running approximately 5 seconds During this period you can cancel the resetting procedure by releasing the mode selector Wait until LED lamp image 3 from the following overview is displayed and release the mode selector again The IM 151 8 PN DP CPU interface module is reset to the factory settings It runs unbuffered all the LEDs light up apart from P1 LINK P2 LINK and P3 LINK and changes to STOP mode Lamp images while resetting the IM 151 8 PN DP CPU interface module While you are resetting the IM 151 8 PN DP CPU interface module to the factory settings the LEDs light up in succession in the following lamp images See also 114 Table 7 7 Lamp images LED Color Lamp image 1 Lamp image 2 Lamp image 3 SF Red Oo O A BF PN Red o m m MT Yellow o O oO ON Green A A A FRCE Yellow O o E RUN Gr
44. from the diagnostics buffer Process interrupt is enabled and triggered However a matching block is not loaded Software configuration error Call of OB 85 The IM 151 8 PN DP CPU interface module STOPs if OB 85 is not loaded Load OB 40 OB number can be seen from the diagnostics buffer generated but the appropriate OB57 is not loaded Status alarm is generated but Call of OB 85 The IM 151 8 Load OB55 the appropriate OB55 is not PN DP CPU interface loaded module STOPs if OB 85 is not loaded Update alarm is generated but Call of OB 85 The IM 151 8 Load OB56 the appropriate OB 56 is not PN DP CPU interface loaded module STOPs if OB 85 is not loaded Vendor specific alarm is Call of OB 85 The IM 151 8 Load OB57 PN DP CPU interface module STOPs if OB 85 is not loaded IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 163 Debugging functions diagnostics and troubleshooting 10 4 Diagnostics using status and error LEDs Possible error Access to missing or defective I O module when the process image is updated software or hardware error Response of the IM 151 8 PN DP CPU interface module Call OB 85 depending on the parameter settings in HW Config The IM 151 8 PN DP CPU interface module STOPs if OB 85 is not loaded Possible Remedies Load OB 85 The start information of the OB contains the address of the releva
45. interface module Operating Instructions 06 2008 A5E02049034 01 77 Memory concept 4 1 Memory areas and retentive memory Local data See also 78 Local data store e The temporary variables of code blocks e The start information of the OBs e Transfer parameters e Intermediate results Temporary Variables When you create blocks you can declare temporary variables TEMP which are only available during block execution and then overwritten again These local data have fixed length in each OB Local data must be initialized prior to the first read access Each OB also requires 20 bytes of local data for its start information Local data access is faster compared to access to data in DBs The IM 151 8 PN DP CPU interface module has memory for storing temporary variables local data of recently executed blocks This memory is divided among the priority classes into partitions of equal size Each priority class has its own local data area caution All temporary variables TEMP of an OB and its nested blocks are stored in local data When using complex nesting levels for block processing you may cause an overflow in the local data area The IM 151 8 PN DP CPU interface module will change to STOP mode if the permissible length of the local data for a priority class is exceeded Make allowances for local data space required for synchronous error OBs This is assigned to the respective triggering priority class
46. is in STOP mode see STEP 7 Online Help Resetting the memory of the IM 151 8 PN DP CPU using the mode selector switch The following table contains the steps required to memory reset the IM 151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 109 Commissioning 7 4 Commissioning the modules Table 7 4 Steps for performing a memory reset of the IM 151 8 PN DP CPU interface module 1 Step Resetting the memory of the IM 151 8 PN DP CPU Turn the key to STOP position 2 Turn the key to MRES position Hold the key in this position until the STOP LED lights up for the second time and remains on this takes 3 seconds Now release the key You must turn the key to MRES position again within 3 seconds and hold it there until the STOP LED flashes at 2 Hz You can now release the switch When the IM 151 8 PN DP CPU interface module has completed the memory reset the STOP LED stops flashing and lights up The memory reset has been carried out on the IM 151 8 PN DP CPU interface module The procedure described in the table above is only required if you wish to reset the IM 151 8 PN DP CPU interface module memory without this being requested by the IM 151 8 PN DP CPU interface module STOP LED flashing slowly If the IM 151 8 PN DP CPU interface module prompts you for a memory reset you only have to turn the mode selector br
47. junction PG Connecting Pin assignment Bus connector 94 Pin assignment for supply voltage RJ45 connector 9 Power on initial Requirements 108 235 Index Process interrupt processing PROFIBUS PROFIBUS DP Commissioning Direct data exchange PROFIBUS DP interface 25 PROFIBUS International 35 PROFINET Implementation 35 Objectives Switch PROFINET CBA 35 36 PROFINET interface 21 PROFINET IO 35 37 Commissioning Programming device communication 29 Properties DP master module IM 151 8 PN DP CPU R RAM to ROM Recycling Reference junction Parameter assignment Reloading 82 Replacing DP master module IM 151 8 PN DP CPU interface module Response time Calculating the longest 199 Calculating the shortest Conditions for the longest Conditions for the shortest Definition DP cycle times 195 Factors 19 Fluctuation width Restart 83 Retentive memory 74 Load memory 74 Retentive behavior of the memory objects 75 System memory Routing Access to a CPU on another subnet Network node 31 Requirements 32 236 S S7 communication 30 S7 connections Distribution 69 End point 66 IM 151 8 PN DP CPU 70 Time sequence for allocation Transition point Scope Operating Instructions B Security of the web server Service amp Support 5 Service case 169 SF LED Evaluation 163 SFB 52 SFB 53 SFB 54 SFB 81 SFC 12 SFC 14 SFC 15 S
48. kee IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Description 1 1 1 Function of the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module is a component of the ET 200S distributed I O system with degree of protection IP20 The IM 151 8 PN DP CPU interface module is an intelligent preprocessor It enables you to decentralize control tasks Therefore an ET 200S with IM 151 8 PN DP CPU can exercise full and if necessary independent control over a process related functional unit An IM 151 8 PN DP CPU interface module can be e either an IO controller or a PROFINET CBA device with or without proxy functionality for PROFIBUS DP on the PROFINET The DP master module must also be connected for the proxy functionality for PROFIBUS DP e aDP master on the PROFIBUS DP together with the optional DP master module The use of the IM 151 8 PN DP CPU interface module leads to further modularization and standardization of process related functional units and simple clear machine concepts IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 11 Description 1 2 Properties of the IM 151 8 PN DP CPU interface module 1 2 Properties of the IM 151 8 PN DP CPU interface module Properties of the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module has the following special features 12 The interface module has PLC functional
49. mode In other words the DP master instructs the DP slaves to freeze the current state of the inputs It then transfers the frozen data to the input area of the IM 151 8 PN DP CPU interface module Following each FREEZE control command the DP slaves freeze the state of their inputs again The DP master does not receive the current state of the inputs cyclically once more until you have sent the UNFREEZE control command with SFC11 DPSYC_FR SFC 11 is described in the S7EP 7 online help and in the System and Standard Functions for S7 300 400 reference manual Powering up the DP master system IM 151 8 PN DP CPU as a DP master Set the power up monitoring time for DP slaves using the Monitoring time for parameter transfer to modules parameter This means that the DP slaves must power up within the set time and must be set by the IM 151 8 PN DP CPU interface module as DP master PROFIBUS address of the DP master For the IM 151 8 PN DP CPU interface module you must not set 126 as a PROFIBUS address See also PROFIBUS DP Page 25 IM 151 8 PN DP CPU interface module 132 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 6 Commissioning PROFIBUS DP 7 6 3 Direct data exchange Requirement In STEP 7V5 x or later you can configure direct data exchange for the PROFIBUS nodes The IM 151 8 PN DP CPU interface module with DP master module participate in a direct data exchange as a receiver De
50. module reconfigures the module The IM 151 8 PN DP CPU interface module does not configure the module If parameter assignment is successful the module is entered in the system status list as available The module remains entered in the system status list as unavailable The SF LED on the module remains lit Direct access is again possible Direct access is not possible IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Functions 9 2 Removal and insertion of modules during operation The following actions only take place when the power module of the inserted module is switched off Table 9 4 Result of the preset actual comparison in the case of parameterizable modules with the power module switched off Inserted module configured module Inserted module configured module OB 83 is called with the corresponding diagnostics buffer entry event ID 3861n When the power module is switched on the IM When the power module is switched on the IM 151 8 PN DP CPU interface module reconfigures 151 8 PN DP CPU interface module does not the module reconfigure the module If parameter assignment is successful the The module remains entered in the system status module is entered in the system status list as list as unavailable available The SF LED on the module remains lit Direct access is again possible Direct access is not possible IM
51. of device specific information network statistics status of redundant supply for example Diagnostics with the SIMATIC NET SNMP OPC server The SNMP OPC server software provides diagnostics and parameter assignments for all SNMP devices The OPC server uses the SNMP protocol to exchange data with these devices All information can be integrated into OPC compatible systems into the WinCC HMI system for example This enables process and network diagnostics to be combined in the HMI system Uses of SNMP SNMP can be used as follows e By users to integrate network diagnostics into a central HMI SCADA system using the SNMP OPC server e By the IT administrators of machine and system operators to monitor their Industrial Ethernet network using standard network management systems e By the IT administrators to primarily monitor the office network but often also the automation network using standard network management systems for example HP Openview IM 151 8 PN DP CPU interface module 160 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions Additional information Information relating to SNMP in the network management standardization group can be found at http www profibus com Additional details about SNMP can be found at http Awww snmp org Additional information about the SNMP OPC server can be found at The PROFINET system descri
52. on the PROFIBUS DP Event detection The table below shows how the IM 151 8 PN DP CPU interface module acting as a DP master recognizes operating mode transitions of a CPU acting as a DP slave or any interruption of the data exchange Table 10 13 Event recognition of the IM 151 8 PN DP CPU interface module as a DP master Call of OB 86 with the message Station failure incoming event diagnostics address of Slot 0 of the DP slave that is assigned to the Event What happens in the DP master Bus interruption short circuit connector removed DP master e With I O access call of OB 122 I O access error DP slave RUN gt STOP e Call of OB 82 with the message Module error incoming event diagnostics address of Slot 2 of the DP slave that is assigned to the DP master Variable OB82_MDL_STOP 1 DP slave STOP gt RUN e Call of OB 82 with the message Module OK outgoing event diagnostics address of Slot 2 of the DP slave that is assigned to the DP master Variable OB82_MDL_STOP 0 Evaluation in the user program The table below shows how you can for example evaluate RUN to STOP transitions of the 172 DP slave in the DP master Table 10 14 Evaluating RUN to STOP transitions of the DP slave in the DP master In the DP master Diagnostics addresses Example Master diagnostics address 1023 Slave diagnostics address 1022 Slot 0 of slave Diagnostic address for Slot 2 1021 S
53. saved in an instance data block that belongs to a function block Data stored in an instance data block are retained until the next function block call Temporary data is the local data of a block It is stored in the L stack when the block is executed After the block has been processed this data is no longer available IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Glossary Default router The default router is the router that is used when data must be forwarded to a partner located within the same subnet In STEP 7 the default router is called Router STEP 7 assigns a local IP address to the default router by default Determinism RealTime Device Within the context of PROFINET device is the generic term for e Automation systems e Field devices PLC PC for example e Active network components for example distributed I O valve terminals drives e Hydraulic devices e Pneumatic devices The main characteristic of a device is its integration in PROFINET communication over Ethernet or PROFIBUS The following device types are distinguished based on their attachment to the bus e PROFINET devices e PROFIBUS devices Device gt PROFIBUS device Device gt PROFINET device Device name Because a fixed IP address is assigned to the device name an IO device must have a device name in order to be addressed by an IO controller With PROFINET this procedure is used becaus
54. slot No Yes belonging to a logical address substitute SFC 71 SFC 71 determine the slot Yes Yes belonging to a logical address The following table provides you with an overview of the system and standard functions for SIMATIC whose functionality must be implemented by other functions when converting from PROFIBUS DP to PROFINET IO Table 3 4 System and Standard Functions in PROFIBUS DP that must be Implemented with Different Functions in PROFINET IO Blocks PROFINET IO PROFIBUS DP SFC 55 write dynamic No Yes parameters Replicate via SFB 53 SFC 56 write predefined No Yes parameters Replicate via SFB 81 and SFB 53 SFC 57 assign module No Yes parameters Replicate via SFB 81 and SFB 53 You cannot use the following SIMATIC system and standard functions with PROFINET IO e SFC 11 synchronize groups of DP slaves e SFC 72 read data from a communication partner within local S7 station e SFC 73 write data to a communication partner within local S7 station e SFC 74 cancel an existing connection to a communication partner within local S7 station e SFC 103 determine the bus topology in a DP master system IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 41 Communication 3 2 Communication services Comparison of the Organization Blocks of PROFINET IO and PROFIBUS DP Here there are changes in OB 83 and OB 86 as shown in the following tab
55. table can be linked to another IM 151 8 PN DP CPU interface module Use the PLC gt Connect to menu item to establish a connection to one of the following IM 151 8 PN DP CPU interface modules e configured IM 151 8 PN DP CPU interface module e directly connected IM 151 8 PN DP CPU interface module e available IM 151 8 PN DP CPU interface module The table below lists the display of variables Interface modules The variables of the IM 151 8 PN DP CPU interface module are displayed configured IM 151 8 PN DP in S7 program hardware station of which the variable table is CPU interface module stored directly connected IM 151 8 that is connected directly to the programming device PN DP CPU interface module available IM 151 8 PN DP that is selected in the dialog window CPU interface module Use the PLC gt Connect to gt Available CPU menu item to connect to an available IM 151 8 PN DP CPU interface module With this you can create a connection to any IM 151 8 PN DP CPU interface module in the network IM 151 8 PN DP CPU interface module 120 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules Controlling outputs in STOP of the IM 151 8 PN DP CPU interface module The function Enable PO resets the output disable signal for the peripheral outputs PO This enables you to control the PO when the IM 151 8 PN DP CPU interface module is in STOP mode
56. the V O modules Example of Slot Oriented Address Assignment for I O Modules The figure below illustrates a sample ET 200S configuration showing an example of the address allocation for I O modules The addresses for the I O modules are predefined in default addressing Slot numbers 1 23 4 5 6 7 IM151 8 ET 200S PN DP PM 4 DI 2 Al 2 AO 4 DO CPU l i I 1256 1 0 288 304 4 0 assigned addresses ay pan e 14 3 1291 307 4 3 Diagnostics address Figure 6 3 Example of address assignment for I O modules 6 1 2 User oriented addressing of the I O Modules User oriented addressing User oriented module addressing is possible with both centralized and distributed I Os User oriented addressing means you can freely select e Input addresses for modules and e Output addresses for modules within the range 0 to 2047 with byte level granularity independently of one another Assign the addresses in STEP 7 Specify the module start address that forms the basis for all other addresses of the module User oriented addressing ox r 0 127 2047 ti Process image default setting Figure 6 4 Structure of the address area for user oriented addressing Note If you are using PROFIBUS DP or PROFINET IO field devices then you must always configure the hardware in STEP 7HW Config User oriented addressing of modules is used automatically and there is no fixed slot addressing IM 15
57. what it consists of and how you can calculate it Meaning of the term cycle time The cycle time represents the time that an operating system needs for one program pass i e one OB 1 cycle including all program sections and system activities interrupting this cycle This time is monitored Time slice model Cyclic program processing and therefore user program execution is based on time shares To clarify these processes let us assume that every time share has a length of precisely 1 ms Process image During cyclic program processing the IM 151 8 PN DP CPU interface module requires a consistent image of the process signal To ensure this the process signals are read written prior to program execution The IM 151 8 PN DP CPU interface module then does not address input I and output Q operand areas directly at the I O modules but rather accesses the system memory area containing the I O process image IM 151 8 PN DP CPU interface module 190 Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 Cycle and response times Sequence of cyclic program processing The table and figure below show the phases in cyclic program processing Table A 5 Cyclic program processing Step Sequence 1 The operating system initiates cycle time monitoring 2 The IM 151 8 PN DP CPU interface module writes the values from the process output image to the output modules 3 The IM 151 8 PN DP CPU interface module r
58. 0 18 24 169 14 04 2008 00 18 28 127 The cooler temperature has reached 80 degree Celsius incoming acknowledged 14 04 2008 00 18 30 579 Cooling water tank level HH reached incoming not acknowledged 14 04 2008 00 18 55 030 Sensor KK 143 faulty incoming not acknowledged ail Details on message number 66 Info cooler temperature is at 80 degree Celsius Figure 3 8 Messages IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server Requirement es T sed kaa ie in the correct languages You will find TEP Zand on the Internet at D N tp EIDDOT TETE siemens com WWiview en 23872245 Filter Allows you to access certain specific information on this page The list box allows you to display only entries for the selected parameter Enter the value of the selected parameter in the input box and click on Filter If you wish to display all messages with the status arrived for example then 1 Select the Status parameter from the list box 2 Enter the incoming text in the input box 3 Click on Filter Effects e The filter settings are also retained when you update a page e Filter settings have no effect on the print out The print out always shows the entire contents of the message buffer Deactivating a filter Having pressed the Filter button as described above the value in the input box is deleted If you now with an emp
59. 0 VDC Required accessories e Cable with maximum 2 5 mm conductor cross section for the supply voltage e PROFINET connector according to the specifications in the PROFINET Installation Guide The following are suitable PROFINET RJ45 connector 6GK1901 1BB20 2AA0 with Fast Connect connection system 90 cable outlet e ndustrial Ethernet Fast Connect installation cables The following are suitable Fast Connect standard cable 6XV1840 2AH10 Fast Connect trailing cable 6XV1840 3AH10 Fast Connect marine cable 6XV1840 4AH10 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 91 Mounting and connecting 5 3 Connecting the IM 151 8 PN DP CPU interface module Installing the PROFINET cable connector Install the PROFINET cable connector according to the information in the PROFINET Installation Guide The PROFINET Cabling and Interconnection Technology Version 1 99 Guideline can be found at http www profinet com in the Downloads area Pin assignment for the RJ45 cable connector View of the RJ45 socket Terminal Assignment RD Receive Data RD_N Receive Data TD Transmit Data Ground Ground TD_N Transmit Data Ground Ground Shield CO NIIA A IN gt Connecting PROFINET IO Connect the PROFINET IO as follows 1 Insert the PROFINET cable connector onto the PROFINET terminal X1 P1 2 Clamp t
60. 0 g Voltages currents electrical potentials Rated supply voltage for the electronic components 1L 24 VDC e Permissible range 20 4 V to 28 8 V e Reverse polarity protection Yes against destruction e Short circuit protection Yes e Power failure buffering 5 ms Current consumption from rated supply voltage 1L e IM 151 8 PN DP CPU Typically 320 mA with 24 V 380 mA with 20 V e IM151 8 PN DP CPU DP master module Typically 385 mA with 24 V 460 mA with 20 V e Power supply for the ET 200S backplane bus Max 700 mA Inrush current Typically 1 8A 12t Typically 0 21 A2s External fusing of power supply lines recommended e Electronic encoder supply 1L 24 VDC 16 A circuit breaker with type B or C tripping characteristic Note A 24 VDC 16A circuit breaker with type B tripping characteristic trips before the equipment fuse is tripped A 24 VDC 16A circuit breaker with type C tripping characteristic trips after the equipment fuse is tripped Power loss Typically 5 5 W IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical data 77 3 DP master module Technical specifications 1L Insulation tested with 500 VDC Galvanic isolation e between the backplane bus and supply No voltages 1L e between PROFIBUS PROFINET and power Yes supplies 1L e betwee
61. 01 Service and maintenance 8 4 Backing up project data on a SIMATIC Micro Memory Card 8 4 Backing up project data on a SIMATIC Micro Memory Card Function principle Using the Save project to Memory Card and Fetch project from Memory Card functions you can save all project data to a SIMATIC Micro Memory Card and retrieve these at a later time For this operation the SIMATIC Micro Memory Card can be located in an IM 151 8 PN DP CPU interface module or in the SIMATIC Micro Memory Card adapter of a programming device or PC Project data is compressed before it is saved to a SIMATIC Micro Memory Card and uncompressed on retrieval Note In addition to project data you may also have to store your user data on the SIMATIC Micro Memory Card You should therefore first select a SIMATIC Micro Memory Card with sufficient free memory A message warns you if the memory capacity on your SIMATIC Micro Memory Card is insufficient The volume of project data to be saved corresponds with the size of the project s archive file Note For technical reasons you can only transfer the entire contents user program and project data using the Save project to memory card action Handling the functions How you use the Save project to memory card Retrieve project from memory card functions depends on the location of the SIMATIC micro memory card e When the SIMATIC MMC is inserted in the MMC slot select a project level for exa
62. 06 2008 A5E02049034 01 213 Glossary Interrupt process gt Process interrup Interrupt status A status interrupt can be generated by a DPV1 slave or a PNIO device respectively At the DPV1 master or the PNIO controller respectively the receipt of the interrupt causes the OB 55 to be called For detailed information on OB 55 refer to the Reference Manual System Software for S7 300 400 Interrupt time of day The time of day interrupt is one of the priority classes in SIMATIC S7 program processing It is generated at a specific date or daily and time of day e g 9 50 or hourly or every minute A corresponding OB will be processed Interrupt update An update interrupt can be generated by a DPV1 slave or a PNIO device respectively At the DPV1 master or the PNIO controller respectively the receipt of the interrupt causes the OB 56 to be called For detailed information on OB 56 refer to the Reference Manual System Software for S7 300 400 Interrupt vendor specific A manufacturer specific interrupt can be generated by a DPV1 slave or a PNIO device respectively At the DPV1 master or the PNIO controller respectively the receipt of the interrupt causes the OB 57 to be called For detailed information on OB 57 refer to the Reference Manual System Software for S7 300 400 IO controller PROFINET IO Controlle IO controller ROFINET 1O Device IO controller ROFINET 1O Superviso IO controller
63. 1 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 97 Addressing 6 2 Addressing on PROFINET IO Advantage Advantages of user oriented addressing e You can make the best possible use of the available address spaces because there are no address gaps between the modules e When creating standard software you can specify addresses that are independent of the configuration of the ET 200S station 6 2 Addressing on PROFINET IO Overview The relevant IO devices must first be brought into service on the PROFINET IO before the distributed I Os can be addressed from the user program During this commissioning process e The device number and device name are defined for the IO devices e The device names are assigned to the IO devices so that the IM 151 8 PN DP CPU interface module as the IO controller can assign an IP address to and thus address the IO devices Note Name assignment at Device replacement without removable medium If the functionality Device replacement without removable medium is configured in HW Config IO devices can also be replaced without the user having to assign a name To do so the IO device must be reset to the factory setting e Address ranges are assigned to the input output modules or slots subslots so that they can be addressed from the user program Slots without user data are given a diagnostics address Additional information on commissioning the IM 1
64. 1 Mode selector switch settings Position Meaning Description RUN RUN mode The IM 151 8 PN DP CPU interface module processes the user program STOP STOP mode The IM 151 8 PN DP CPU interface module does not process the user program MRES Memory reset Mode selector switch setting for e Memory reset of the IM 151 8 PN DP CPU interface module e Backing up the firmware to the SIMATIC Micro Memory Card e Resetting to the as supplied state A memory reset using the mode selector requires a number of steps to be carried out in a set order Reference e Operating modes of the IM 151 8 PN DP CPU interface module STEP 7 Online Help e Information on performing a memory reset of the IM 151 8 PN DP CPU interface module Section Resetting the IM 151 8 PN DP CPU interface module using the mode selector switch e Evaluation of the LEDs for errors or diagnostics See the Diagnostics using status and error LEDs section See also Inserting Replacing a SIMATIC Micro Memory Card Page 106 IM 151 8 PN DP CPU interface module 18 Operating Instructions 06 2008 A5E02049034 01 Operating and display elements 2 2 Status and error displays of the IM 151 8 PN DP CPU interface module 2 2 Status and error displays of the IM 151 8 PN DP CPU interface module General status and error displays Table 2 2 General status and error displays of the IM 151 8 PN DP CPU interface module LED designation Color Meaning
65. 10 buffer entries that are displayed in RUN mode The Events info field contains the diagnostic events with the date and time IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 57 Communication 3 3 Web server Details Configuration This box contains detailed information about the selected event Select the event from the Events info field Configuration involves the following steps 1 Select the Object properties dialog box from the context menu of the relevant IM151 8 PN DP CPU interface module 2 Select the Web tab and check the Activate web server on this module check box 3 Select up to two languages to be used to display plaintext messages 4 Save and compile the project and download it to the IM151 8 PN DP CPU interface module Point to note when changing between languages You can change the language e g from German to English in the top right hand corner If you select a language that you have not configured then the information will appear as hexadecimal code rather than in plaintext 3 3 4 4 Messages Messages 58 The browser displays the content of the message buffer on the Messages web page You cannot acknowledge the messages via the web server MessageNr SIMATIC Messages CONTROLLER Message text Status Acknowledgement Date Time Raw material tank 3 low limit reached incoming acknowledged 14 04 2008 0
66. 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 149 Functions 9 3 Switching power modules off and on during operation 9 3 Switching power modules off and on during operation What happens when power modules are switched off during operation If the load power voltage to a power module is switched off during operation the following activities take place e If you enable diagnostics when assigning parameters for the power module the diagnostics interrupt OB 82 diagnostics address of the power module is called with the corresponding diagnostics buffer entry event ID 39424 e The power module is entered as present but faulty in the system status list Switching off the load power supply has the following effects on the modules supplied by the power module e The SF LED on the modules lights up e The modules can continue to be accessed without an I O access error occurring e The outputs of the modules are deenergized and inactive for the process e The inputs of digital modules and FM modules return 0 the inputs of analog modules return 7FFFu What happens when power modules are switched on during operation If the load power supply to a power module is switched on during operation the following activities take place e If you enable diagnostics when assigning parameters for the power module the diagnostics interrupt OB 82 diagnostics address of the power module is called with the corresp
67. 51 8 PN DP CPU interface module as an IO controller can be found in the Commissioning PROFINET O section User oriented addressing of the distributed PROFINET I Os You must use user oriented addressing for the distributed PROFINET IO I Os Information can be found in the User oriented addressing of the O modules section IM 151 8 PN DP CPU interface module 98 Operating Instructions 06 2008 A5E02049034 01 Addressing 6 3 Addressing on PROFIBUS DP Addressing consistent user data areas The table below illustrates the points to consider with respect to communication in a PROFINET IO system if you want to transfer I O areas with Total length consistency For 1 to 254 byte data consistency on the PROFINET IO The address area of consistent data in the process image is automatically updated To read and write consistent data you can also use SFC 14 DPRD_DAT and SFC 15 DPWR_DAT If the address area of consistent data is not in the process image you must use SFC 14 and SFC 15 to read and write consistent data The length in the SFC must tally with the length of the programmed area when accessing areas with Total length consistency Direct access to consistent areas is also possible e g L PEW or T PAW In a PROFINET IO system you can transfer up to 254 bytes of consistent data See also onfiguring and commissioning the PROFINET IO system Page 123 ser oriented addressing of the I O Modules Page 97 6 3 A
68. 7 Manual Configuring Hardware and Communication Connections with STEP 7 Entry ID 18652631 basics configuration saving importing exporting networking configuring connections downloading 7 300 Operating Instructions CPU 31xC and CPU 31x Technical specifications Entry ID 12996906 communication memory concept general technical specifications technical specifications Manual SIMATIC NET Twisted Pair and Fiber Optic Networks Entry ID 8763736 Description of Industrial Ethernet networks network configuration components installation guidelines for networked automation systems in buildings etc Tutorial Component Based Automation Commissioning Systems Entry ID 18403908 Creating PROFINET components commissioning systems Manual Communication with SIMATIC Entry ID 1254686 Fundamentals services networks communication functions connection of PG OP configuring in STEP 7 Manual The Process Device Manager Entry ID 21407212 Starting S MAT C PDM configuring networks and devices working with S MA TIC PDM communication diagnostics Manual Diagnostic repeater for PROFIBUS DP Entry ID 7915183 product overview functions configuration possibilities installation wiring commissioning diagnostics IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 201 Appendix A 4 Additional documentation IM 151 8
69. 9034 01 81 Memory concept 4 2 Memory functions 4 2 3 Handling blocks 4 2 3 1 Download of new blocks or delta downloads There are two ways to download additional user blocks or download deltas e Download of blocks You have already created a user program and downloaded it to the IM 151 8 PN DP CPU interface module via the SIMATIC Micro Memory Card You then want to add new blocks to the user program In this case you do not need to reload the entire user program to the MCC Instead you only need to download the new blocks to the SIMATIC Micro Memory Card this reduces the download times for highly complex programs Delta download In this case you only download the deltas in the blocks of your user program In the next step perform a delta download of the user program or only of the changed blocks to the SIMATIC Micro Memory Card using the programming device PC Awarnine The delta down of block user programs overwrites all data stored under the same name on the SIMATIC Micro Memory Card The data of dynamic blocks are transferred to RAM and activated after the block is downloaded 4 2 3 2 Uploading blocks In contrast to downloading uploading involves the transfer of individual blocks or a complete user program from the IM 151 8 PN DP CPU interface module to the programming device PC In doing so the blocks have the content of the last download in the IM 151 8 PN DP CPU interface module Dynamic DBs form th
70. C address After you have downloaded the configuration the IM 151 8 PN DP CPU interface module is also assigned the configured IP address With that you can then use all programming device functions such as download program status control etc on the interface 7 6 Commissioning PROFIBUS DP 7 6 1 Commissioning the PROFIBUS DP network Requirements Requirements for commissioning a PROFIBUS DP network e The IM 151 8 PN DP CPU interface module can be expanded by one DP master module e A PROFIBUS DP network is installed e You have configured the PROFIBUS DP network using STEP 7and have assigned a PROFIBUS DP address and the address space to all the nodes e Note that you must also set address switches for some of the DP slaves see the description of the relevant DP slave e The software as shown in the following table is required for the IM 151 8 PN DP CPU interface module Table 7 411 Software requirements for the IM 151 8 PN DP CPU interface module Interface module Order number Software required IM 151 8 PN DP CPU__ 6ES7151 8AB00 0ABO STEP 7 V 5 4 SP 4 or higher IM 151 8 PN DP CPU interface module 128 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 6 Commissioning PROFIBUS DP DP address areas of the IM 151 8 PN DP CPU interface module Table 7 12 DP address areas of the IM 151 8 PN DP CPU interface module Address area IM 151 8 PN DP CPU DP address area 2048 by
71. CPU interface module dimensional diagram IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 187 Appendix A 2 Dimension drawings A 2 2 DP master module DP master module Rail support Figure A 2 DP master module dimensional diagram IM 151 8 PN DP CPU interface module 188 Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 Cycle and response times A 3 Cycle and response times A 3 1 Overview Overview This section contains detailed information about the following topics e Cycle time e Response time e Interrupt response time Reference Cycle time You can view the cycle time of your user program on the programming device For additional information refer to the STEP 7 Online Help or to the Configuring Hardware and Connections in STEP 7 manual Reference Execution time Execution times can be found in the S7 300 Instruction List The instruction list contains the execution times in table form for all e STEP 7instructions that can be processed by the IM 151 8 PN DP CPU interface module e SFCs SFBs integrated in the IM 151 8 PN DP CPU interface module e The IEC functions that can be called in STEP 7 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 189 Appendix A 3 Cycle and response times A 3 2 Cycle time A 3 2 1 Overview Cycle time Introduction This section explains what we mean by the term cycle time
72. Commissioning PROFINET IO 7 5 Commissioning PROFINET IO 7 5 1 Requirements for commissioning PROFINET Requirements Requirements to be satisfied before you can start to commission your PROFINET IO system ET 200S with Software required PROFINET IO system installed IM 151 8 PN DP CPU STEP 7V5 4 SP 4 or higher X PROFINET IO address areas of the IM 151 8 PN DP CPU interface module Table 7 8 PROFINET IO address areas of the IM 151 8 PN DP CPU interface module Address area IM 151 8 PN DP CPU PROFINET address area 2048 bytes for inputs and outputs Number of those in process image Bytes 0 to 2047 can be set for I Os Byte 0 to 127 preset In the input address area diagnostics addresses each take up 1 byte for e The IO controller e the PROFINET interface and its ports and each IO device header module at slot 0 e each module submodule without user data within the device e g ET 200S power module or ports of the PROFINET interface You can use these addresses for example to read module specific diagnostics data records by calling SFB 52 The diagnostics addresses are specified in your configuration If you do not specify any diagnostics addresses S7EP 7 assigns these addresses in descending order starting from the highest byte address IM 151 8 PN DP CPU interface module 122 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 5 Commissioning PROFINET IO 7 5 2 Configuring and
73. D O m Z fz i n T wW T U Zz 2 g a D a ET 200S backplane bus Mode selector connection SIMATIC Micro Memory Card switch Internal t gt L power supply M o Figure 11 1 IM 151 8 PN DP CPU interface module with DP master module block diagram Hm RUN 2 stop Electrical PROFINET MREs _ isolation connection Backplane bus IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 173 Technical data 11 2 IM 151 8 PN DP CPU interface module 11 2 2 IM 151 8 PN DP CPU technical specifications 174 Table 11 1 Technical specifications of the IM 151 8 PN DP CPU interface module Technical specifications IM 151 8 PN DP CPU and product version Order number MLFB 6ES7151 8AB00 0ABO e Hardware version 01 e Firmware version V 2 7 0 e Associated programming package STEP 7V5 4 SP 4 or higher data blocks Memory Work memory e Work memory 128 KB e Expandable No e Capacity of the retentive memory for retentive 64 KB Load memory Pluggable via SIMATIC Micro Memory Card max 8 MB Buffering Guaranteed by SIMATIC MMC maintenance free Data retention on the SIMATIC Micro Memory Card after final programming At least 10 years Execution times Processing times of e Bit operations 0 1 us e Word instructions 0 2 u
74. D file is in ASCII format according to IEC 61784 1 2002 Ed1 CP 3 1 The removal and insertion of modules during the operation of the ET 200S Interface module The interface module combines the ET 200S with the DP master or the IO controller and prepares the data for the electronic modules In an ET 200S with IM151 8 PN DP CPU the IM 151 8 PN DP CPU interface module is itself the e O controller or e DP master together with the DP master module Industrial Ethernet gt Fast Etherne Industrial Ethernet 212 Industrial Ethernet formerly SINEC H1 is a technology that allows data to be transmitted free of interference in an industrial environment Standard Ethernet components can be used since the PROFINET is an open system However we recommend setting up PROFINET as Industrial Ethernet IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Glossary Industrial Wireless LAN In addition to data communication Industrial Wireless LAN from SIMATIC NET with the standard IEEE 802 11 offers a multitude of extensions l Features that are of great benefit to industrial users IWLAN is particularly suited for complex industrial applications with requirement for reliable radio communication owing to e Automatic roaming if connection to Industrial Ethernet is interrupted Rapid Roaming e Cost savings generated by using a single wireless network for secure operation of a process with bot
75. DP can be both the IO controller as well as the DP master Examples of connection paths Here you can see that a CPU can be both the IO controller for an 1O device and the DP master for a DP slave e The IM151 8 PN DP CPU interface module with DP master module is the DP master for a DP slave The DP slave is assigned locally to the IM151 8 PN DP CPU interface module and is not visible on the Industrial Ethernet e The 319 3 PN DP CPU is the IO controller for the two IO devices ET 200S and ET 200S e The 319 3 PN DP CPU is the DP master for a DP slave The DP slave is assigned locally to the CPU and is not visible on the Industrial Ethernet Reference Additional information e About PROFINET can be found in the From PROFIBUS DP to PROFINET IO programming manual This manual also provides a clear overview of the new PROFINET blocks and system status lists See also PROFINET PN Page IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 39 Communication 3 2 Communication services 3 2 8 4 Blocks for PROFINET IO Content of this Section This section explains the following e Which blocks are intended for PROFINET e Which blocks are intended for PROFIBUS DP e Which blocks are intended for both PROFINET IO and PROFIBUS DP Compatibility of the New Blocks For PROFINET IO it was necessary to create some new blocks among other things because l
76. DP CPU interface module recognizes interruptions in the data transfer Table 7 10 Event recognition of the IM 151 8 PN DP CPU interface module as an IO controller Event What happens in the IO controller IM 151 8 PN DP CPU in RUN IM 151 8 PN DP CPU in STOP Bus interruption short e Call to OB 86 with the message e The event is written to the circuit connector Station failure diagnostics buffer removed incoming event diagnostics address of the IO device e With I O access Call to OB 122 I O access error Tip Always program OB 86 when you commission the IM 151 8 PN DP CPU interface module This allows you to detect and analyze interruptions in the data transfer IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 127 Commissioning 7 6 Commissioning PROFIBUS DP Status control programming via PROFINET You can use the PROFINET interface to program the IM 151 8 PN DP CPU interface module or execute the status and control programming device functions If you have not yet commissioned the PROFINET interface of the IM 151 8 PN DP CPU interface module you can connect to the IM 151 8 PN DP CPU interface module using its MAC address see also Configuring the PROFINET IO System in the table above Therefore always download the configuration data from the HW Config to the IM 151 8 PN DP CPU interface module You select the IM 151 8 PN DP CPU interface module from the MA
77. DP CPU interface module using the mode selector switch Page 109 7 4 2 Initial power on Requirements e You have installed and wired up the ET 200S e The SIMATIC Micro Memory Card is inserted in the IM 151 8 PN DP CPU interface module e The mode selector of your IM 151 8 PN DP CPU interface module is set to STOP First switch on of an ET 200S with IM 151 8 PN DP CPU Switch on the supply voltage for the ET 200S Result On the IM 151 8 PN DP CPU interface module e The ON LED lights up e the STOP LED flashes at 2 Hz when the IM 151 8 PN DP CPU interface module is carrying out an automatic memory reset e The STOP LED lights up after the memory reset IM 151 8 PN DP CPU interface module 108 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 3 7 4 Commissioning the modules Reset the IM 151 8 PN DP CPU interface module using the mode selector switch When must perform a memory reset of the IM 151 8 PN DP CPU interface module You must perform a memory reset of the IM 151 8 PN DP CPU interface module e When all retentive memory bits timers and counters have been cleared and the initial values of retentive data blocks in the load memory are to be used as actual values in the work memory e if the retentive memory bits timers and counters could cause unwanted responses after Load user program onto memory card with the user program just downloaded to the IM 151 8 PN DP CPU interface module Reason L
78. DP master module 2 3 Display elements of the DP master module Display elements DP Master BFE o o x PROFIBUS DP 6ES7 138 J4HAO0 0AB0 Figure 2 2 Display elements of the DP master module The figure shows the following elements of the DP master module Status and error displays 9 pin sub D socket for PROFIBUS DP IM 151 8 PN DP CPU interface module 20 Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 1 3 1 1 Availability Interfaces PROFINET PN The IM151 8 PN DP CPU interface module has a PROFINET interface with integral switch and 3 ports RJ45 sockets At these ports it is possible for example to configure the network with a line structure or with no additional external switch You can also connect an additional PROFINET device e g a PD for commissioning or an OP to operate and monitor Connecting to Industrial Ethernet You can use the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module to establish a connection to Industrial Ethernet The integrated PROFINET interface of the IM 151 8 PN DP CPU interface module is configured via the PROFINET interface Time Synchronization using PROFINET The IM 151 8 PN DP CPU interface module can be used as a time client at the PROFINET interface by using the NTP method This is set in HW Config The default setting is no time synchronizatio
79. Delivery unit max 1000 m 1m e FC TP standard cable 6XV1840 2AH10 e FC TP trailing cable for cable carriers 6XV1840 3AH10 e FC TP marine cable 6XV1840 4AH10 PROFINET FastConnect stripping tool 6GK1901 1GA00 PROFIBUS PROFINET bus connector 12 Mbit s with FastConnect connection system 90 cable outlet e without PD connection socket 6ES7972 0BA50 0XA0 e with PD connection socket 6ES7972 0BB50 0XA0 PROFIBUS FC cable Sold by meter min ordering quantity 20 m Delivery unit max 1000 m 1m e FC Standard Cable 6XV1830 0EH10 e FC Trailing Cable for cable carriers 6XV1830 3EH10 e FC Food Cable PE sheath 6XV1830 0GH10 e FC Food Cable PUR sheath 6XV1830 0JH10 PROFIBUS FastConnect stripping tool 6GK1905 6AA00 IM 151 8 PN DP CPU interface module 186 Operating Instructions 06 2008 A5E02049034 01 Appendix A 2 Dimension drawings A 2 Dimension drawings A 2 1 IM 151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module 120 Ki EET g a 66 5 m E m a a A a E e E e a a E 119 5 pid if Ji mM te i X vy 4 67 O Rail support Figure A 4 IM 151 8 PN DP
80. ED indicates that at least one DP slave cannot be addressed In this case check that all the DP slaves are switched on and correspond with your configuration or read out the diagnostics buffer with STEP 7 Recognizing the operating state of DP slaves Event recognition The table below shows how the IM 151 8 PN DP CPU interface module with DP master module acting as a DP master recognizes operating mode transitions of a CPU acting as a DP slave or any interruption of the data exchange Table 7 13 Event recognition of the IM 151 8 PN DP CPU interface module as a DP master Event What happens in the DP master Bus interruption e Call of OB86 with the message Station failure short circuit incoming event diagnostics address of the DP slave assigned to the DP connector removed master e With I O access Call of OB 122 I O access error DP slave e Call of OB 82 with the message Module error RUN gt STOP incoming event diagnostics address of the DP slave assigned to the DP master Variable OB82_MDL_STOP 1 DP slave e Call of OB82 with the message Module OK STOP gt RUN outgoing event diagnostics address of the DP slave assigned to the DP master variable OB82_MDL_STOP 0 Tip When commissioning the IM 151 8 PN DP CPU interface module as the DP master always program OB 82 and OB 86 This helps you to recognize and evaluate data exchange errors or interruptions IM 151 8 PN DP CPU inter
81. FC 49 SFC 58 SFC 59 SFC 70 SFC 71 SFC102 SFC13 SFC5 Shortest response time Calculation 197 Conditions SIMATIC Manager start SIMATIC Micro Memory Card Properties 79 Service life 80 Slot Slot assignment ET 200S Slot oriented addressing of the centralized I O modules 95 SNMP 45 Startup IM 151 8 PN DP CPU as a DP master IM 151 8 PN DP CPU as an IO controller Status displays Stepping mode 154 Switch 90 SYNC IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Index Synchronous error System and Standard Functions 40 System memory 74 I O process image Local data 78 T Technical specifications DP master module Technical support Technische Daten IM151 8 PN DP CPU Training center Transfer memory Access from the user program 99 Troubleshooting U Update Operating system 137 Upload 82 Useful life of a SIMATIC Micro Memory Card User program Deleting 82 Delta download Reloadin 82 Upload User oriented addressing of the I O Modules IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 V Variables W WAN 90 Warm start Web access to IM 151 8 PN DP CPU via HMI devices via PDA via programming device PC 47 Web server activate Automatic update Display classes of the messages Display languages Printing refresh status Screen content refresh status Secur
82. Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services 3 2 5 Routing Properties As of STEP 7V5 4 SP 4 you can use the PD PC via your IM 151 8 PN DP CPU interface module with DP master module to reach a CPU in a different subnet in order for example to e Download user programs e Download a hardware configuration or e Perform debugging and diagnostic functions Routing network nodes PROFINET PROFIBUS Gateways between subnets are routed in a SIMATIC station that is equipped with interfaces to the respective subnets The figure below shows the access from PROFINET to PROFIBUS The CPU 1 IM 151 8 PN DP CPU with DP master module is the router between subnet 1 and subnet 2 CPU 1 CPU 2 IM151 8 PN DP CPU IM 151 7 CPU DP Mastermodul DP Master DP slave active Subnet 1 PROFINET Subnet 2 PROFIBUS Number of connections for routing A maximum of 4 connections are available on the PROFINET interface of the IM 151 8 PN DP CPU interface module for the routing function IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 31 Communication 3 2 Communication services Requirements Reference e The station modules are capable of routing CPUs or CPs e The network configuration does not exceed project limits e The modules have loaded the configuration data containing the latest knowledge of the entire
83. Introduction What is PROFINET Within the framework of Totally Integrated Automation TIA PROFINET represents a consequent enhancement of e PROFIBUS DP the established field bus and e ndustrial Ethernet the communication bus for the cell level Experience gained from both systems was and is being integrated into PROFINET PROFINET is an Ethernet based automation standard of PROFIBUS International previously PROFIBUS Users Organization e V and defines a multi vendor communication automation and engineering model PROFINET has been part of the standard IEC 61158 since 2003 IM 151 8 PN DP CPU interface module 34 Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Objectives in PROFINET The objectives in PROFINET are Open Ethernet Standard for automation based on Industrial Ethernet Although Industrial Ethernet and Standard Ethernet components can be used together the Industrial Ethernet devices are more sturdy and therefore better suited for industrial environments temperature immunity to interference etc Using TCP IP and IT standards Automation with real time Ethernet Total integration of field bus systems Implementation of PROFINET in SIMATIC We have integrated PROFINET as follows e We have implemented communication between field devices in SIMATIC with PROFINET IO In SIMATIC communication between controllers as components in distributed systems is imple
84. LED flashes Table 10 8 BF PN LED flashes with a PROFINET IO controller Possible error e Failure of a connected IO device e Atleast one of the assigned IO devices cannot be addressed e Bad engineering configuration Example response of the IM 151 8 PN DP CPU interface module Call of OB 86 if the IM 151 8 PN DP CPU interface module is in RUN and connected IO devices have since failed The IM 151 8 PN DP CPU interface module STOPs if OB 86 is not loaded Possible remedies Check whether the Ethernet cable is connected to the IM 151 8 PN DP CPU interface module and that the bus is not interrupted Wait until the IM 151 8 PN DP CPU interface module has started up If the LED does not stop flashing check the IO devices or evaluate their diagnostic information Check whether the configured device name matches its actually assigned name Check whether the connected IO devices have different device names and IP addresses Remedy for errors at the PROFINET interface of an IO controller BF LED flashes Table 10 9 BF LED flashes with a PROFINET IO device Possible error e Wrong IP address e Bad engineering configuration e Wrong parameter assignment e O controller not found switched off but there is an Ethernet connection e Bad or no device name e The response monitoring time has expired Possible remedies Check that the Ethernet cable is correctly connected Check w
85. M 151 8 PN DP CPU interface module and check the LEDs Commission the power supply and the ET 200S with nitia power on IM 151 8 PN DP CPU interface module Check the LED displays of the IM 151 8 PN DP CPU Debugging functions interface module diagnostics and troubleshooting Reset the IM 151 8 PN DP CPU interface module memory and check the LEDs Reset the IM 151 8 PN DP CPU interface module using the mode selector switch Commission the rest of the modules Gradually install the other modules in the ET 200S and start them up in succession ET 2008S Operating Instructions AXDANGER Proceed step by step Do not go to the next step unless you have completed the previous one without error error message Reference Important notes can also be found in the Debugging Functions Diagnostics and Troubleshooting section See also Page 103 102 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 2 Commissioning procedure 7 2 2 Procedure Software commissioning Requirements You have your ET 200S with IM 151 8 PN DP CPU e mounted and e wired Software requirements to be satisfied in order to utilize the full functionality of your IM 151 8 PN DP CPU interface module For you require the following versions of STEP 7 IM 151 8 PN DP CPU V5 4 Service pack 4 or higher At the ports for e PROFINET th
86. M 151 8 PN DP CPU interface module A 2 2 DP taster MOUS ccc cance venddedeesstalicvadeancuauaae lactaeaseatetaadieuaradd cess ia a en sabe E A 3 Cycle and response meS sia EAN a ete aed A 3 1 OVELVIOW 0 ee cce cee ce cee cc cece cnet cece eee trett tn taee cea aeaaaceceee ea aaa anaes eee caaaaeaeeeeeeesaaaaeaeeeeeeseeaae eaeeeennineeeeeees A 3 2 CY Cle TIM Ose gcc eas deeee iota ebennas O A 3 2 1 Overview Cycle Time i i ccc0scsclececisteceslileceneed siaccecticecenesiadeeesieceevsiacech E EE ANE A 3 2 2 Calculating the cycle time vi icscc ccc ciaceceeesildeeeel Uecevesindecusacdeevslaccevinadecebsuacdebesscceeustucataveceraine A 3 3 Response TIME seanaois taaaicateashcave E a a AA duenaiddneuaghadissandiae wade aaia A 3 3 1 Overview Response time ecccceccececeeceeee ceeeeceecececeeceacaeceeeeeeesaaaeceeeeeeeeccacaeeeeeeesesasaeeensncaeess A 3 3 2 Shortest response time 2 ccececeeec cece ee eeee eeeceeeanee cee eeseaanaeceseeseeeaeaececeeeeeeeaneeeeeeeeeeneeeneeeneaeess A 3 3 3 LONGESTTESPONSE UMC oiae eiie esaa AS 1d nei ected eee 198 A 3 4 Interrupt response time occ eects en eaea aen E a en N a EEEa 199 A 3 4 1 Overview Interrupt response time 2 ce eeeeeece cece cece eeeeeeeaeceeeeeeecaaececeeeseecccaeceeeeeenseaeeeeeanaeess A 4 Additional documentation sisanne a n a a aaa a a a aaa GIOSSANY ssiccecsteieetee Sis icv eerie ieee ean eee wid eee ee WINX sere E E dede west ae Res lore ae eed ene eee eee Ee es E
87. MATIC Micro Memory Card ccceccececieeeeeetteeeeenieeeeetneeeertieeeeess 8 5 Mounting and Connecting iccccescetesscecceceseessscecdisnccis cecvvesevscivndecvssecscduedvesevesusscsvedeuessessccteesdvecizescvavesuseriees 5 1 COnteMt sisi eee detite ect E ee ade eelent tt E 8 5 2 Installing the IM 151 8 PN DP CPU interface module eee ee eee ceee renee eee tee reese eeeees 8 5 3 Connecting the IM 151 8 PN DP CPU interface module eee cece eect eeeeeeeenaeeeeenaeeeeeeaaes 5 4 Installing and connecting the DP master module ceccceeeeeneeeeeeeeeeeeeeeeeeeeaeeeeeaeeeeeenaeeeenaas 6 Addressing isernia eragi eves ea a eia ea aa aaa a a aa anadaka aa aaaea EdaS 6 1 Addressing the VO Modules iciiss2 ccccdceececeecaeeecuena Saddeeccatiedecatsececusehe Nr e EnA E eE 6 1 1 Slot oriented addressing of the centralized I O modules ccccccececceeeeeeeeeeeteeeeeeeeeeesenneeees 6 1 2 User oriented addressing of the I O Modules 00 ceceeeeceececeeeeeeeeaeceeeeeeeenaaeeeeeeeesennaeeeeeeeeteeee 6 2 Addressing on PROFINET lO scrisa tidied eee ene 6 3 Addressing on PROFIBUS DP aisoissa he eee eed eee eee 7 COMMISSIONING isisisi ediino enna aneren aeaea aaea E raresa de licseestersdbed EEA S TE GASE ich Men AEN 7 1 E E E E E E E E 7 2 COMMISSIONING PFOCCOUIG 02 ccis ccccesescccenessececutsctaccecuaactcedsancccuanadecedsadecebanaccebavaedceusnaccertea ensae 101 7 2 1 Procedure Commissioning the Nardwar
88. Message Specification PA Process Automation or TF Technological Functions PROFIBUS address A node must be assigned a unique PROFIBUS address in order to allow its identification on PROFIBUS The PC Programming device is assigned PROFIBUS address 0 The PROFIBUS addresses 1 to 125 may be used for the ET 200S distributed I O system PROFIBUS device Device IM 151 8 PN DP CPU interface module 220 Operating Instructions 06 2008 A5E02049034 01 Glossary PROFIBUS device PROFIBUS DP PROFIBUS DP A PROFIBUS device has at least one or more PROFIBUS ports A PROFIBUS device cannot take part directly in PROFINET communication but must be included over a PROFIBUS master with a PROFINET port or an Industrial Ethernet PROFIBUS link IE PB Link with proxy functionality gt PROFIBUS Internationa PROFIBUS PROFIBUS International PROFINET PROFINET PROFINET ASIC Technical committee dedicated to the definition and development of the PROFIBUS and PROFINET standard Also known as the PROFIBUS User Organization membership corporation PNO Homepage hittp www profibus com gt PROFIBUS Internationa Within the framework of Totally Integrated Automation TIA PROFINET represents a consequent enhancement of e PROFIBUS DP the established field bus and e ndustrial Ethernet the communication bus for the cell level Experience gained from both systems was and is being integrated into PROFINET
89. Micro Memory Card is defective e The content of the SIMATIC Micro Memory Card is invalid The content of the SIMATIC Micro Memory Card has been identified as invalid e The Load user program operation was interrupted as a result of POWER OFF e The Write RAM to ROM operation was interrupted as a result of POWER OFF e Error when evaluating the module content during Memory reset e Formatting error or formatting failed If one of these errors has occurred the IM 151 8 PN DP CPU interface module prompts for yet another memory reset even after the memory has already been reset The card s content is retained until the SIMATIC Micro Memory Card is formatted unless the Load user program or Write RAM to ROM operation was interrupted as a result of POWER OFF The SIMATIC Micro Memory Card is only formatted if there is a reason to do so see above and not for example when you are prompted for a memory reset after a module is changed In this case a switch to MRES triggers a normal memory reset for which the module content remains valid IM 151 8 PN DP CPU interface module 112 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules Use the following steps to format your SIMATIC Micro Memory Card If the IM 151 8 PN DP CPU interface module is requesting a memory reset STOP LED flashing slowly you can format the SIMATIC Micro Memory Card as follows 1 Toggle the switch to the MRES position a
90. NET component is comprised of e Technological function The optional technological software function includes the interface to other PROFINET components in the form of configurable inputs and outputs e Device The device is the representation of the physical automation device or field device including the IO devices sensors actuators mechanics and device firmware PROFINET device Device PROFINET device 222 A PROFINET device always has at least one Industrial Ethernet port A PROFINET device can also have a PROFIBUS port as a master with proxy functionality IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Glossary PROFINET IO Within the framework of PROFINET PROFINET IO is a communication concept for the implementation of modular distributed applications PROFINET IO allows you to create automation solutions which are familiar to you from PROFIBUS PROFINET IO is based both on the PROFINET standard for programmable controllers and on the STEP 7 engineering tool This means that you have the same application view in STEP 7 regardless of whether you are configuring PROFINET or PROFIBUS devices Programming your user program is essentially the same for PROFINET IO and PROFIBUS DP if you use the extended blocks and system status lists for PROFINET IO PROFINET IO Controller Device via which the connected IO devices are addressed That means the IO controller exchang
91. OFINET IO and PROFINET CBA is available in the PROFINET System Description There you will also find descriptions regarding the PROFINET IO functionalities Real time communication RT and IRT Device replacement without removable medium Prioritized startup of IO devices Changing IO devices during operation changing partner ports e Differences between and common properties of the PROFIBUS DP and PROFINET IO are described in the From PROFIBUS DP to PROFINET O Programming Manual e For additional information on PROFINET CBA refer to the documentation on SIMATIC iMAP and Component Based Automation IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 37 Communication 3 2 Communication services 3 2 8 3 Functions of PROFINET IO PROFINET IO System The following graphic shows the new functions in PROFINET IO Company network Switch 1 Industrial Ethernet IO device ET 200S IO device ET 200S PN DP CPU Controller Switch 2 P3 optional DP master oF 3 oll spa Soll 3 fsa IE PB Link PB CPU 319 3 IO 10 device ET 200S IO device ET 200S Controller
92. PAR with the data structure for the configuration of the connection Connectionless protocol UDP FB 67 TUSEND for sending data FB 68 TURCV for receiving data FB65 TCON for establishing the local communication access point FB 66 TDISCON for resolving the local communication access point UDT 65 TCON_PAR with the data structure for configuring the local communication access point UDT 66 TCON_ADR with the data structure of the address parameters of the remote partner IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 43 Communication 3 2 Communication services Data blocks for the configuration of the connection e Data blocks for assigning parameters for TCP and ISO on TCP connections To assign parameters for your connection at TCP and ISO on TCP you need to create a DB that contains the data structure of UDT 65 TCON_PAR This data structure contains all parameters you need to establish the connection You need to create such a data structure for each connection and you can also organize it in a global DB Connection parameter CONNECT of FB 65 TCON reports the address of the corresponding connection description to the user program for example P DB100 DBX0 0 byte 64 Data blocks for the configuration the local UDP communication access point To assign parameters for the local communication access point create a DB containing the data structure from the
93. PN DP CPU interface module 202 Operating Instructions 06 2008 A5E02049034 01 Glossary Accumulator Address Analog modules Application Application ASIC Accumulators represent CPU register and are used as buffer memory for download transfer comparison calculation and conversion operations An address is the identifier of a specific operand or operand area Examples Input 12 1 Memory Word MW 25 Data Block DB 3 Analog modules convert analog process values for example temperature into digital values that can be processed by the IM 151 8 PN DP CPU interface module or convert digital values into analog manipulated variables gt User program An application is a program that runs directly on the MS DOS Windows operating system Applications on the programming device include for example the STEP 7 basic package S7 GRAPH and others ASIC is the acronym for Application Specific Integrated Circuits PROFINET ASICs are components with a wide range of functions for the development of your own devices They implement the requirements of the PROFINET standard in a circuit and allow extremely high packing densities and performance Because PROFINET is an open standard SIMATIC NET offers PROFINET ASICs for the development of your old devices under the name ERTEC Automation system An automation system is a programmable logic controller in the context of SIMATIC S7 IM 151 8 PN DP CPU interface module Operatin
94. PN DP CPU interface module in the Address field of the web browser in the format http a b c d basic for example http 192 168 3 141 basic The start page of the IM 151 8 PN DP CPU interface module opens From the start page you can navigate to additional information The IM 151 8 PN DP CPU interface module information is processed in a specially designed browser for HMI devices running under Windows CE The information appears in a simplified format in this browser The following illustrations show the detailed form respectively Note Asian languages Chinese and Japanese are not supported on HMI devices that are running Windows CE IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 47 Communication 3 3 Web server Web servers without SIMATIC Micro Memory Card Security See also 48 Note You can also use the web server without the SIMATIC Micro Memory Card inserted The condition for operation is that you have assigned an IP address to the IM 151 8 PN DP CPU interface module e The content of the diagnostics buffer is displayed in hex code e Start page identification and PROFINET information as well as variable status are displayed in plain text e Messages and variable tables are not displayed content of the message buffer The web server by itself does not provide any security Protect your web compliant IM 151 8 PN DP CPU interface module against unauthorized
95. PU interface module Operating Instructions 06 2008 A5E02049034 01 123 Commissioning 7 5 Commissioning PROFINET IO Configuring the PROFINET IO system 124 Step Activity Configuring hardware in STEP 7 SIMATIC Manager 1 Select File gt New Enter a name for your project and click on OK to confirm 2 Select Insert gt Station gt SIMATIC 300 Station to add an S7 300 station 3 Double click Hardware Result HW Config opens 4 Insert your IM 151 8 PN DP CPU interface module using drag and drop Result The Properties Ethernet Interface PN IO window opens The properties of the PROFINET interface X1 are shown in the Parameters tab Assigning the IP address 5 Click New on the Properties Ethernet Interface PN IO dialog box to create a new subnet Result The Properties New Industrial Ethernet Subnet dialog box opens 6 Assign a name and confirm with OK Result You are back to the Properties Ethernet Interface PN IO dialog box 7 Enter the IP address and the subnet mask in the dialog box This information is available from your network administrator Note The worldwide unique MAC address is preset by the manufacturer and cannot be changed 8 If you setup a connection via router you must also enter the address of the router This information is also available from your network administrator 9 Click OK to close the Properties dialog box Conf
96. Physics RS 485 Isolated Yes Interface power supply No 15 V DC to 30 V Connection 9 pin sub D socket Functionality e MPI No e PROFIBUS DP Yes DP master only e Point to point communication No e PROFINET No DP master Services e PG OP communication Yes e S7 routing Yes e Data set routing Yes e Global data communication No e S7 communication Yes server only configured one way connection e Support for constant bus cycle time Yes e lsochronous mode No e Enable disable DP slaves Yes e SYNC FREEZE Yes e Direct data exchange Yes e DPV1 Yes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 181 Technical data 11 2 IM 151 8 PN DP CPU interface module 182 Technical specifications Transmission speed Up to 12 Mbaud Number of DP slaves max 32 Address area e Inputs max 2048 bytes e Outputs max 2048 bytes User data per DP slave e Inputs max 244 bytes e Outputs max 244 bytes Programming Programming language STEP 7 LAD FBD STL Instruction set See S7 300 Instruction List Nesting levels System functions SFC 8 See S7 300 Instruction List System function blocks SFB See S7 300 Instruction List User program protection Dimensions Yes Mounting dimensions W x H x D mm 120 x 119 5 x 75 Weight approx 32
97. ROFINET IO system In addition to the LED display an alarm message is generated if these interrupts have been enabled by the configuration of the PN interface Reference 10 4 3 10 4 Diagnostics using status and error LEDs A detailed description of the OBs and on SFCs required for their evaluation can be found in the STEP 7 Online Help and in the S7 300 400 System and Standard Functions Reference Manual For information on maintenance refer to the PROFINET System Description Table 10 4 Evaluating the SF LED in case of software errors Evaluation of the SF LED software error Possible error TOD interrupt is enabled and triggered However a matching block is not loaded Software configuration error Response of the IM 151 8 PN DP CPU interface module Call of OB 85 The IM 151 8 PN DP CPU interface module STOPs if OB 85 is not loaded Possible Remedies Load OB 10 OB number can be seen from the diagnostics buffer Start time of the enabled TOD interrupt was jumped e g by advancing the internal clock Call of OB 80 The IM 151 8 PN DP CPU interface module STOPs if OB 80 is not loaded Disable the TOD interrupt before you set the time of day with SFC 29 Delay interrupt triggered by SFC 32 However a matching block is not loaded Software configuration error Call of OB 85 The IM 151 8 PN DP CPU interface module STOPs if OB 85 is not loaded Load OB 20 OB number can be seen
98. S eet Status PCAN Operating Mode STOP Status y OK Made selector STOP ET 200S MAC ADD Figure 3 5 General Information The image of the IM151 8 PN DP CPU interface module with LEDs reflects your current status at the time of checking the data General Information about the IM151 8 PN DP CPU interface module the web server with which you are currently connected is combined in this group Status Status information about the IM151 8 PN DP CPU interface module at the time of the query is displayed in the Status info field Updating If Automatic update is enabled then this page is updated in accordance with the configured updating interval IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 55 Communication 3 3 Web server 3 3 4 2 Identification Characteristics The Identification web page contains the characteristic data for the IM151 8 PN DP CPU interface module SIMATIC gt Identification Figure 3 6 Identification CONTROLLER 00 17 27 am 11 04 2008 Identification Identification Plant designation User PD Location identifier User L Serial number Order number Hardware 6ES 7 151 8A800 0AB0 Firmware Version Hardware 1 0 Firmware Y 2 7 0 Bootloader A10 13 11 Identification The Identification info field contains the system and location designations as well a
99. SIEMENS SIMATIC ET 200S distributed I O IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Preface Description if Operating and display elements NO Communication Memory concept Mounting and connecting Addressing Commissioning Service and maintenance Functions Debugging functions diagnostics and troubleshooting Technical data 1 1 Safety Guidelines This manual contains notices you have to observe in order to ensure your personal safety as well as to prevent damage to property The notices referring to your personal safety are highlighted in the manual by a safety alert symbol notices referring only to property damage have no safety alert symbol These notices shown below are graded according to the degree of danger indicates that death or severe personal injury will result if proper precautions are not taken A WARNING indicates that death or severe personal injury may result if proper precautions are not taken CAUTION with a safety alert symbol indicates that minor personal injury can result if proper precautions are not taken CAUTION without a safety alert symbol indicates that property damage can result if proper precautions are not taken NOTICE indicates that an unintended result or situation can occur if the corresponding information is not taken into account
100. STOP command in a know how protected module for example Reference Additional information e onthe SSL partial listrefer to the S7 300 Instruction listor the System and standard functions for S7 300 400 Reference Manual e to memory reset the IM 151 8 PN DP CPU interface module refer to section Resetting the IM 151 8 PN DP CPU interface module using the mode selector switch IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 79 Memory concept 4 2 Memory functions Useful life of a SIMATIC Micro Memory Card The life of an SIMATIC Micro Memory Card depends mainly on the following factors 1 The number of delete or programming cycles 2 External influences such as ambient temperature At ambient temperatures up to 60 C up to 100 000 delete write operations can be performed on a SIMATIC Micro Memory Card caution To prevent data losses do not exceed this maximum of delete write operations See also Retentivity of load memory system memory and RAM Page Operating and display elements of the IM 151 8 PN DP CPU interface module Page 4 2 Memory functions 4 2 1 General Memory functions Memory functions Memory functions are used to generate modify or delete entire user programs or specific blocks You can also ensure that your project data are retained by archiving these If you created a new user program use a programming device PC to download the complete program to the
101. TIC Micro Memory Card can be located in the IM 151 8 PN DP CPU interface module or in the programming adapter of a programming device or PC Project data is compressed before it is saved to a SIMATIC Micro Memory Card and uncompressed on retrieval Note In addition to project data you may also have to store your user data on the MMC You should therefore first select a SIMATIC Micro Memory Card with sufficient free memory A message warns you if the memory capacity on your SIMATIC Micro Memory Card is insufficient The volume of project data to be saved corresponds with the size of the project s archive file Note For technical reasons you can only transfer the entire contents user program and project data using the Save project to memory card action IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 87 Memory concept 4 2 Memory functions IM 151 8 PN DP CPU interface module 88 Operating Instructions 06 2008 A5E02049034 01 Mounting and connecting 5 5 1 Content Where can find what information You will find comprehensive information about fitting and connecting an ET 200S in the relevant sections of the ET 200S Distributed I O Device Operating Instructions The following sections will show you the differences and special features associated with using an ET 200S with the IM 151 8 PN DP CPU interface module 5 2 Installing the IM 151 8 PN DP CPU interface module
102. Twisted pair Cat5 100 BASE TX Note Networking PROFINET components The use of switches rather than hubs for networking PROFINET components brings about a substantial improvement in decoupling bus traffic and improves runtime performance under higher bus load PROFINET CBA with cyclic PROFINET interconnections requires the use of switches in order to maintain compliance with performance specifications Full duplex mode at 100 Mbps is mandatory for cyclic PROFINET interconnections PROFINET IO also requires the use of switches and 100 Mbps full duplex mode For PROFINET IO in IRT mode Isochronous Real Time all PROFINET devices in the sync domain must be IRT capable even the switches IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 7 Interfaces Configuring the port properties of the PROFINET interface in STEP 7 The PROFINET interfaces in our devices are preset to a default automatic setting Autonegotiation Ensure that all devices connected to the PROFINET interface of the IM 151 8 PN DP CPU interface module are also set to the Autonegotiation operating mode This is the default setting of standard PROFINET Ethernet components If you connect a device to the PROFINET interface of the IM 151 8 PN DP CPU interface module that does not support the automatic setting Autonegotiation operating mode or if you select a setting other than the automatic setting Autone
103. U 199 Process interrupt processing 2 L LAN 90 LED LED 12 Load memor Local data 78 Longest response time Calculation 199 Conditions 198 M Maintenance data 151 Memory Compression Memory areas Load memory System memor Work memory 74 Memory functions Compression Deleting blocks Delta downloading for blocks Download of blocks Downloading blocks Memory reset 8 Promming RAM to ROM Restart 83 Uploading blocks Warm start Memory reset 83 DP parameters 11 IP parameters with mode selector switch 109 Mode selector switch 18 Memory reset with Modifying of variables Monitor of variables IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Monitoring and modifying variables Controlling outputs in STOP of the IM 151 8 PN DP CPU interface module Creating a connection to the IM 151 8 PN DP CPU interface module Creating a variable table Modifying variables Monitor variable 118 opening the VAT 120 Saving the variable ee fad setting the trigger points N Network Diagnostics 159 Network node 3 O OB 83 OB86 OP communication 30 Operating elements IM 151 8 PN DP CPU Operating Instructions Changes since previous version 4 Purpose Operating system Back up Updating Order numbers Accessories Cables 186 Connector 186 DP master module IM 151 8 PN DP CPU Organization blocks P Parameterization Reference
104. U interface module 218 Operating Instructions 06 2008 A5E02049034 01 Glossary PC station gt SIMATIC PC station PELV Protective Extra Low Voltage extra low voltage with safe isolation PG gt Programming device PLC PLC Programmable controllers PLCs are electronic controllers whose function is saved as a program in the control unit Therefore the configuration and wiring of the unit does not depend on the PLC function The programmable logic PLC has the structure of a computer it consists of a CPU with memory I O modules and an internal bus system The I O and the programming language are oriented to control engineering needs PLC PNO gt PROFIBUS Internationa Prioritized startup Prioritized startup designates the PROFINET functionality for accelerating the startup of IO devices in a PROFINET IO system with RT and IRT communication The function reduces the time that the correspondingly configured IO devices require in order to return to the cyclic user data exchange in the following cases e after the supply voltage has returned e after a station has returned e after 1O devices have been activated Priority class The S7 CPU operating system provides up to 26 priority classes or Program execution levels Specific OBs are assigned to these classes The priority classes determine which OBs interrupt other OBs Multiple OBs of the same priority class do not interrupt each other In this case they are execu
105. a 11 2 IM 151 8 PN DP CPU interface module Technical specifications Remote interconnections with acyclical transmission e Scan rate Scan interval min 500 ms e Number of incoming interconnections 100 e Number of outgoing interconnections 100 e Data length of all incoming interconnections 2000 bytes max e Data length of all outgoing interconnections 2000 bytes max e Data length per connection acyclic 1400 bytes interconnections max Remote interconnections with cyclical transmission e Transmission frequency Minimum 1 ms transmission interval e Number of incoming interconnections 200 e Number of outgoing interconnections 200 e Data length of all incoming interconnections 2000 bytes max e Data length of all outgoing interconnections 2000 bytes max e Data length per connection acyclic 250 bytes interconnections max HMI variables via PROFINET acyclic e Update HMI variables 500 ms e Number of stations that can be logged on for HMI variables PN OPC iMAP 2x PN OPC 1x iMAP e Number of HMI variables 200 e Data length of all HMI variables max 2000 bytes PROFIBUS proxy functionality e supported Yes e Number of coupled PROFIBUS devices 16 e Data length per connection max 240 bytes slave dependent Interfaces 1st interface X1 Type of interface PROFINET Physics Ethe
106. access by means of a firewall anguage settings Page 49 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server 3 3 1 Language settings Display languages The web server provides messages and diagnostics information in the following languages e German Germany e English United States e French France e Italian Italy e Spanish traditional sorting e Simplified Chinese e Japanese Both Asian languages can be combined as follows e Chinese with Japanese e Chinese with English e Japanese with English Conditions for the availability of Asian languages The following conditions must be fulfilled for the Asian languages Chinese and Japanese e Windows XP with the respective language package has been installed on the viewing device e g PC e STEP 7 for Asian languages V5 4 SP 4 is installed on the PD for the configuration of the IM 151 8 PN DP CPU interface module What you need to display texts in different languages You must make two language settings in STEP 7 so that the web server displays the various languages correctly e Setting the language for display devices in SIMATIC Manager e Set the language for the web in the IM 151 8 PN DP CPU interface module Properties dialog For further information refer to section Settings in HW Contig Web tab IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 49 Communica
107. ace module Process in the IM 1 The IM 151 8 PN DP CPU interface module deletes the entire user program in the work 151 8 PN DP CPU memory interface module 2 The IM 151 8 PN DP CPU interface module deletes the retentive data 3 The IM 151 8 PN DP CPU interface module tests its hardware 4 The IM 151 8 PN DP CPU interface module copies the sequence related content of the SIMATIC Micro Memory Card load memory to the work memory Tip If the IM 151 8 PN DP CPU interface module is unable to copy the content of the SIMATIC Micro Memory Card and requests a memory reset then e Remove the SIMATIC Micro Memory Card e Resetting the memory of the IM 151 8 PN DP CPU e Provide the IM 151 8 PN DP CPU interface module with a temporary IP address and then read out the diagnostics buffer or in the SIMATIC Manager under Available nodes establish the MAC address of the IM 151 8 PN DP CPU interface module When the Ethernet interface of the PD is set to TCP IP Auto you can read out the diagnostics buffer also via this available MAC address because then S7EP assigns a temporary IP address Memory contents The user program is transferred back from the SIMATIC Micro Memory Card to the work memory after reset and the memory utilization is indicated accordingly What s left Data in the diagnostics buffer You can read the diagnostics buffer with the programming device see STEP 7 Online Help Content of elapsed time coun
108. age When the user program addresses the input I and output Q operand areas it does not query the signal states of digital electronic modules Instead it accesses a memory area in the IM 151 8 PN DP CPU interface module system memory This particular memory area is the process image The process image is organized in two sections The process image of inputs and the process image of outputs Advantages of the process image In contrast to direct access of the input output modules accessing the process image has the advantage that a consistent image of the process signals is made available to the IM 151 8 PN DP CPU interface module during cyclic program execution When the signal status at an input module changes during program execution the signal status in the process image is maintained until the image is updated in the next cycle Moreover since the process image is stored in the IM 151 8 PN DP CPU interface module system memory access is significantly faster than direct access to the electronic modules Process image update The operating system updates the process image periodically The figure below shows the sequence of this operation within a cycle User program Sa Executes the the user program Lees OB 1 and all the blocks called in it Writes the process output image to the modules Reads the inputs from the modules and updates the data in the process input image Cycle time IM 151 8 PN DP CPU
109. all point pen to eject Insert the new SIMATIC Micro Memory Card into the receptacle so that its beveled edge points towards the ejector Gently press the SIMATIC Micro Memory Card into the IM 151 8 PN DP CPU interface module until it engages Perform a reset refer to section Resetting the IM 151 8 PN DP CPU interface module using the mode selector switch NS oOooooooG Removing and inserting a SIMATIC Micro Memory Card After you replace a SIMATIC MMC in POWER OFF state the IM 151 8 PN DP CPU interface module detects e A physically identical SIMATIC Micro Memory Card with a different content e Anew SIMATIC Micro Memory Card with the same content as the old SIMATIC Micro Memory Card It automatically performs a Memory reset after POWER ON IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 107 Commissioning 7 4 Commissioning the modules Reference Additional information about the SIMATIC Micro Memory Card can be found in the 7echnica Data section of the S7 300 CPU 31xC and CPU 31x manual See also Reset the IM 151 8 PN
110. ans that the operand that you entered may have the wrong syntax when you change between languages For example ABxy rather than QBxy Incorrect syntax is displayed in red in the browser 3 3 4 7 Variable tables Variable tables The browser displays the content of the variable tables on the web page of the same name You can monitor up to 200 variables with each variable table If the associated variable table in the STEP 7 project receives more than 200 variables then the web server variable table is automatically restricted to 200 variables without a message indication Variable tables VAT_1 X 1 Of Comment Test_Bit0 Test_Bitt Test_Bit2 Test_Bit3 SIMATIC CONTROLLER Name Address Test_DB Bit0 DB10 DBx 0 0 Test_DB Bit1 DB10 DBX 0 1 Test_DB Bit2 DB10 DBX 0 2 Test_DB Bit3 DB10 DBX 0 3 Test_DB Bit4 DB10 DBX 0 4 Test_DB Bit5 DB10 DBX 0 5 Test_DB Bit6 DB10 DBX 0 6 Test_DB Bit7 DB10 DBX 0 7 Test_Bit4 Test_Bit5 Test_Bit Test_Bit Variable tables Figure 3 12 Variable tables IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 63 Communication 3 3 Web server Selection Select one of the configured variable tables from the drop down box Name and Address Format Value Comment Updating This info field displays the name of an operand and its address Select the display format for
111. arger configurations are now possible with PROFINET You can also use the new blocks with PROFIBUS Comparison of the System and Standard Functions of PROFINET IO and PROFIBUS DP For the IM 151 8 PN DP CPU interface module with an integrated PROFINET interface the table below provides an overview of e System and standard functions for SIMATIC that you may need to replace when converting from PROFIBUS DP to PROFINET IO e New system and standard functions Table 3 3 New System and Standard Functions System and Standard Functions to be Replaced Blocks PROFINET IO PROFIBUS DP SFC 12 deactivation and Yes Yes activation of DP slaves IO devices SFC 13 read diagnostic data of No Yes a DP slave Substitute e Event related SFB 54 e State related SFB 52 SFC 58 59 write read data No Yes record in I O Substitute SFB 53 52 You should use SFB 52 53 under DPV1 address of a module SFB 52 53 read write data Yes Yes record SFB 54 evaluate interrupt Yes Yes SFC 102 read predefined No Yes parameters Substitute SFB 81 SFB 81 read predefined Yes Yes parameters SFC 5 determine logical start No replacement SFC70 Yes address of a module SFC 70 determine start Yes Yes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Blocks PROFINET IO PROFIBUS DP SFC 49 determine the
112. as that of the field device but for example on the PROFINET subnet at which the PN interface of the IM 151 8 PN DP CPU interface module is also connected service is being used IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 27 Communication 3 2 Communication services Communication service Functionality Time at which the S7 connection is via PN via DP established optional PROFIBUS DP Data exchange between Does not require an S7 connection X master and slave only as DP master PROFINET CBA Data exchange by means of Does not require an S7 connection X component based communication PROFINET IO Data exchange between IO Does not require an S7 connection X controllers and the IO devices Web server Diagnostics Does not require an S7 connection X SNMP Standard protocol for network Does not require an S7 connection X Simple Network diagnostics and configuration Management Protocol Open communication by Data exchange via Industrial Does not require an S7 connection is X means of TCP IP Ethernet with TCP IP protocol handled in the user program by by means of loadable FBs means of loadable FBs Open communication by Data exchange via Industrial Does not require an S7 connection is X means of ISO on TCP Ethernet with ISO on TCP handled in the user program by protocol by means of loadable means of loadable FBs FBs Open communic
113. ata communication Connection oriented protocols Prior to data transmission these establish a logical connection to the communication partner and close this again if necessary after transmission is completed Connection oriented protocols are used when security in especially important in data transmission A physical cable can generally accommodate several logical connections For the FBs to open communication by means of Industrial Ethernet the following connection oriented protocols are supported TCP according to RFC 793 connection types B 16 01 and B 16 11 ISO on TCP according to RFC 1006 connection type B 16 12 Connectionless protocols These operate without a connection There is also no establishing or terminating a connection to remote partner Wireless protocols transmit data to the remote partner without any acknowledgement data transfer is therefore not secure The FBs for open communication over Industrial Ethernet support the following wireless protocol UDP according to RFC 768 connection type B 16 13 How to use open IE communication To allow data to be exchanged with other communication partners STEP 7 provides the following FBs and UDTs under Communication Blocks in the Standard Library Connection oriented protocols TCP ISO on TCP FB 63 TSEND for sending data FB64 TRCV for receiving data FB65 TCON for connecting FB66 TDISCON for disconnecting UDT 65 TCON_
114. ated in accordance with the configured updating interval 3 3 4 6 Variable status Variable status The variable status is displayed by the browser via the web page of the same name You can monitor the status of up to 50 variables SIMATIC Tag status CONTROLLER Enter the address of a taq here which you want to monitor Display format HEX H E EWE FLOATING_POINT BOOL SIMATIC_TIME COUNTER 4 j4 S5T 0ms C 241 Ki HEX 4 new variable Figure 3 11 Variable status Address In the Address text box enter the address of the operand whose behavior you wish to monitor If you enter an invalid address it is displayed in red IM 151 8 PN DP CPU interface module 62 Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server Display format Select the required display format for the variable from this drop down list box If the variable cannot be displayed in the required display format it will be displayed in hexadecimal code Value This displays the value of the operand in the selected format Updating If Automatic update is enabled then this page is updated in accordance with the configured updating interval Point to note when changing between languages You can change the language e g from German to English in the top right hand corner Please note that the mnemonic for German differs from that for the other languages This me
115. ating system STEP A group of electronic modules supplied by one power module Wide Area Network extends beyond LAN limits and allows worldwide communication Legal rights do not belong to the user but to the provider of the WAN networks IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 231 Glossary Work memory The work memory is integrated in the CPU and cannot be extended It is used to run the code and process user program data Programs only run in work memory and system memory IM 151 8 PN DP CPU interface module 232 Operating Instructions 06 2008 A5E02049034 01 Index Simple Network Management Protocol 45 A Accessories IM 151 8 PN DP CPU Address area of the I O modules 96 Address assignment for analog and digital modules 96 Addresses Start addresses Addressing Assignment of addresses slot oriented Unassigned Application View Asynchronous error Automation concept B Back up Operating system The firmware Basic knowledge required 3 Blocks compatibility 40 Deleting Delta download Download 80 Reloading 82 Upload Bus termination Bus terminator IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 C Commissioning Check list Hardware Requirements IM 151 8 PN DP CPU as a DP master Procedure with the hardware Procedure with the software PROFIBUS DP PROFINET IO 122 Reaction to erro
116. ation by Data exchange via Industrial Does not require an S7 connection is X means of UDP Ethernet with UDP protocol by means of loadable FBs handled in the user program by means of loadable FBs See also Distribution and availability of S7 connection resources Page 69 Page 70 28 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services 3 2 2 PG communication Properties Programming device communication is used to exchange data between engineering stations programming device PC for example and SIMATIC modules which are capable of communication This service is available via PROFIBUS and Industrial Ethernet subnets Transition between subnets is also supported Programming device communication provides the functions needed to download upload programs and configuration data to run tests and to evaluate diagnostic information These functions are integrated in the operating system of the IM 151 8 PN DP CPU interface module An IM 151 8 PN DP CPU interface module can maintain several simultaneous online connections to one or multiple programming devices IM 151 8 PN DP CPU without configured PROFINET interface If your IM 151 8 PN DP CPU interface module still does not have a configured PROFINET interface IP address you can nevertheless communication from the PD with the IM 151 8 PN DP CPU interface module e Th
117. based on default components and partial solutions Component Based Automation allows you to use complete technological modules as standardized components in large systems The components are also created in an engineering tool which may differ from vendor to vendor Components of SIMATIC devices are created for example with STEP 7 IM 151 8 PN DP CPU interface module 36 Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Extent of PROFINET CBA and PROFINET IO PROFINET IO and CBA represent two different views of automation devices on Industrial Ethernet Component view IO data view PROFINET CBA PROFINET IO Distributed intelligence Distributed I Os Plant wide engineering Usual IO view in STEP 7 pce _ ssp PROFINET Component Description Generic Station Description m f OI One cable IT standards standard applications protocols controller etc Figure 3 2 Extent of PROFINET IO and Component Based Automation Component Based Automation divides the entire system into various functions These functions are configured and programmed PROFINET IO provides you with a view of the system that is very similar to the view obtained in PROFIBUS You continue to configure and program the individual automation devices Reference Additional information on PR
118. cation and maintenance data I amp M are data that are stored in a module for assisting you in e Checking the system configuration e Locating hardware changes in a system e Correcting errors in a system Identification data I data is information regarding the module like for example order number and serial number which are partly also printed on the housing of the module data is manufacturer s information about the module It is fixed and can only be read Maintenance data M data is system specific information such as the installation location M data is created during the configuration and written to the module I amp M data enable modules to be uniquely identified online IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 151 Debugging functions diagnostics and troubleshooting 10 2 Identification and maintenance data of the IM 151 8 PN DP CPU interface module Reading and writing the 1 amp M data of the IM 151 8 PN DP CPU interface module with STEP 7 Read e In STEP 7the I amp M data is displayed under Module state IM 151 8 PN DP CPU General and Identification tabs and via Available nodes detailed view see STEP 7 online help e Inthe user program the I amp M data can be read via SFC 51 Specify the required SSL sublist number and the index in the input parameters of the SFC 51 see table below e You can read the I amp M data on the Start and Identification page
119. ce The figure below gives you an overview of the DP cycle time In this example let us assume that the data of each DP slave has an average length of 4 bytes Bus cycle time A 1 17 ms 7ms T 6ms 5ms L 4 ms 3ms 2 ms r vo Baud rate 12 Mbps ims Pi 5 min z e Pe l slave interval ri rS Number of DP slaves 1 2 4 8 16 32 e4 max number depending on CPU With multi master operation on a PROFIBUS DP network you must make allowances for the DP cycle time at each master That is you will have to calculate the times for each master separately and then add up the results 196 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 3 2 A 3 Cycle and response times Shortest response time Conditions for the shortest response time Calculation See also The figure below shows the conditions under which the shortest response time is reached ZKP BeSy ZKP BeSy Immediately before the POI is read the state of the input under consideration changes This change in the input signal is therefore also included in the POI Here the change in the input signal is processed by the user program Response time Here the user program s response to the change in the input signal is output at the outputs The shortest response time is the sum of Table A 12 Formula Shortest response time 1 x process image transf
120. cece ee eeeeceeceeeeeeesecaeaeeeeeeesesecaececeeeeesecaseeeeeeeeeeeeeees 7 5 Commissioning PROFINET 10 cccccccsccsscscesecrsecsseeeeceseesecseeeseesecsecsascseesessassascsseesnsenseesaeeaes 122 7 5 1 Requirements for commissioning PROFINET ccccccceeeeeeeeeeeeeeeeeeeecaeeeeeeeeteneaeaeeeeeeeeeteeea 122 7 5 2 Configuring and commissioning the PROFINET IO system 7 6 Commissioning PROFIBUS DP vecccicccectaceccecaceececuceedecececeaeed trnek ctaeaebececatavtaceaeescuansdbaataeeedieanavine 7 6 1 Commissioning the PROFIBUS DP network s s nisnin nnaninn anann an NRAN ANN Nanna ANAN ENARE aa 7 6 2 Commissioning the IM 151 8 PN DP CPU interface module with DP master module as a DP MASIE E E E A ere E E E 130 7 6 3 Directdata exchange neeesa a EE E Gia lade amieaetaieel 133 8 Servic and MAINCCMANCE secsiseesceaseecsedesdecesetvecvcteed speesdestedevstvecesaaevusdievedadestuvveedssecpsgeseviened ENT araar 8 1 OVETVIEW riina aaa aa sed aaae E sda dae E aaa a a a Ea 135 8 2 Backing up firmware on a SIMATIC Micro Memory Card ccccceeeeeeeceeeeeeeseeneaeeeeeeeeeteeee 8 3 Updating the fir ware sireisas 8 3 1 When should you update the IM 151 8 PN DP CPU interface module ccecccesecseeteeeee 137 8 3 2 Firmware update using a SIMATIC Micro Memory Catd ccceeeeeeeeeceeeeeeeeetecaeeeeeeeeeeeeed 8 3 3 Updating the firmware online via NEtWOrKS cecccceceeeeeeeeeeeaeeeeeeeeeeceaeeceeeeeseceecae
121. ceee cee ceaeeeeeeeeetenaeceeeeeeesesaeaeeeeeeesesecaeceeeeesesecanaeeesaaeaeeeeeees 154 10 3 1 Overview Debugging functions ce cceccceceeeeee eee ee cece cece aaeaeeeeeeseceaeaeeeeeeeetenaaeeeeeseeneeneseeeeee 10 3 2 Overview Diagnostics siisii dikain adia diaaa iiaa iaa iaiaaeaia 10 3 3 Diagnostic functions available in STEP 7 ccccecceceeeeeeeneeceeeeeeesecaeceeeeeeeseaeeeeeeeeessnaeaeee es 159 10 3 4 Network infrastructure diagnostics SNMP ccccceeeeeeeeeeeeeeeeeeeteeeeeeeeeeesaeeeetaeeeeesieeeeenaeeed IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 9 Table of contents 11 10 10 4 Diagnostics using status and error LEDS 0 ccceeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeseneeeeesenaeeeseneaeeeseaeees 10 4 1 IntroduCiOM ii cece cece eeceteccccnditede dae AAE cluevins deuvins oeaneedsbananeeeesnaes 10 4 2 Status and error displays of the IM 151 8 PN DP CPU interface module 00eeee 10 4 3 Evaluating the SF LED in case of software errors 0 00 eeeeeeeeeeeeeeeeeeeeeeeeeneeeeetaeeeeetaeeeetnaeeeeees 10 4 4 Evaluating the SF LED in case of hardware CrrOrs ceccceeeeeneeeeeeeeeeeeeeneeeeeteeeeetaeeeeetnaeeees 10 4 5 Status and error displays for the PN interface c ccc esse cseesecnseteeeeenecnenseceeeeeeeeeeaeen 166 10 4 6 Status and error displays of the DP master module 1 00 22 ete e cette cece entree eee
122. ces Information about the amp M data for the I O devices connected to the IM 151 8 PN DP CPU interface module can be found in the relevant I O module manuals IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 153 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions 10 3 Debugging functions 10 3 1 Overview Debugging functions Determining addressed nodes with Node flashing test To identify the addressed node select PLC gt Diagnostics Setting gt Node Flashing Test in STEP 7 A dialog appears in which you can set the flashing time and start the flashing test The directly connected node can be identified by a flashing FRCE LED The flashing test cannot be performed if the FORCE function is active Debugging functions of the software Monitoring and modifying variables stepping mode STEP 7 offers you the following testing functions that you can also use for diagnostics e Monitoring and modifying variables Can be used to monitor the current values of individual variables of a user program or an IM 151 8 PN DP CPU interface module on the programming device PC You can also assign constant values to the variables e Testing with program status You can test your program by viewing the program status of each function result of logical links status bit or the data of specific registers in real time mode If you have selected the LAD programming language to b
123. ces with a standardized send clock can be used in a PROFINET IO subnet For devices that do not support a faster controller send clock the send clock is adapted to the capabilities of the device That is you could operate devices both at a send clock of 250 us and 1 ms on a IM151 8 PN DP CPU interface module IO controller which operates at a send clock of 250 us The device send cycle can be set within a relatively large range This in turn depends on the send clock The following update times can be configured when using the IM151 8 PN DP CPU interface module Send Update Time clock 250 us gt 250 us to 128 ms 500 us gt 500 us to 256 ms 1 ms gt 1msto512ms The minimum send cycle depends on the number of devices in use the amount of configured user data and the communication portion for PROFINET lO STEP 7 automatically considers these dependencies during configuration IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication Reference See also 3 1 2 Availability Properties 3 7 Interfaces e Details of how to configure the integral PROFINET interface of the IM 151 8 PN DP CPU interface module are given in the Connecting a PD PC to the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module and Commissioning PROFINET O sections e For additional information on PROFINET refer to PROFINET System Description There you will also find descriptions
124. cess image you must use SFC 14 and SFC 15 to read and write consistent data The length in the SFC must tally with the length of the programmed area when accessing areas with Total length consistency Direct access to consistent areas is also possible e g L PEW or T PAW In a PROFIBUS DP system you can transfer up to 32 bytes of consistent data See also Commissioning atte IM 151 8 PN DP CPU interface module with DP master module as a DP ser oriented E TES TS Wold of the I O Modules Page 97 IM 151 8 PN DP CPU interface module 100 Operating Instructions 06 2008 A5E02049034 01 Commissioning T 7 1 Overview This section contains important notes on commissioning which you should strictly observe in order to avoid injury or damage to machines Note Your commissioning phase is determined primarily by your application so we can only offer you general information without claiming completeness of this topic Reference Note the information about commissioning provided in the descriptions of your system components and devices 7 2 Commissioning procedure 7 2 1 Procedure Commissioning the hardware Hardware requirements e ET 200S is installed IM 151 8 PN DP CPU interface module and terminal module e ET 200S is wired up IM 151 8 PN DP CPU interface module and terminal module With a networked ET 200S the following applies to the interfaces e PROFINET the integrated PROFINET interface of the IM
125. ch the data is to be sent With the PD e g a parameter set that already exists on the field device can be read edited and then sent back to the field device if the PD is not connected to the same PROFIBUS DP subnet as that of the field device The field devices themselves do not have to support data set routing since they do not forward the information received IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Data set routing The following figure shows the access of the PD to a variety of field devices In doing so the PD is connected via PROFINET to the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module communicates via PROFIBUS with the field devices Programming device PC with SIMATIC PDM PROFINET PROFIBUS DP ET 200M DP PA link ewe o ae ko 0 4 20 mA PROFIBUS PA HART SIMOCODE i 6 Figure 3 1 IM 151 8 PN DP CPU data set routing See also You can find additional information on S MA TIC PDM in the The Process Device Manager Manual IM 151 8 PN DP CPU interface module 33 Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services 3 2 7 Data consistency Properties
126. cribe the HTML pages and contain detailed explanatory notes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server Web access to the IM 151 8 PN DP CPU interface module via PD PC Proceed as follows to access the web server 1 Connect the client programming device or PC to the IM 151 8 PN DP CPU interface module via the PROFINET interface 2 Open the web browser e g Internet Explorer Enter the IP address of the IM 151 8 PN DP CPU interface module in the Address field of the web browser in the format http a b c d for example http 192 168 3 141 The start page of the IM 151 8 PN DP CPU interface module opens From the start page you can navigate to additional information Note Up to 5 http connections are possible Web access to the IM 151 8 PN DP CPU interface module via HMI devices and PDA The web server also supports the Windows terminal service which means that thin client solutions with mobile devices e g PDA or MOBIC T8 and robust local stations e g SIMATIC MP370 with the ThinClient MP option can be implemented under Windows CE in addition to the use of programming devices and PCs Proceed as follows to access the web server 1 Connect the client HMI device PDA to the IM 151 8 PN DP CPU interface module via the PROFINET interface 2 Open the web browser for example Internet Explorer Enter the IP address of the IM 151 8
127. ction resources Open communication via TCP IP This communication service requires no S7 connection resources Open communication by means of ISO on Independently of the S7 connections a total of 8 own resources are available TCP for connections or local access points UDP for TCP IP ISO on TCP UDP Open communication by means of UDP SNMP This communication service requires no S7 connection resources IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 69 Communication 3 4 S7 connections Availability of connection resources Table 3 7 Availability of connection resources Interface module Total number Reserved for Free connection Programming OP S7 basic S7 connections rESOUrCES device communication communication communication IM 151 8 PN DP CPU 12 1to 11 1to11 0 to 10 Displays all non default 1 default 1 default 0 reserved S7 connections as free connections Note If you are using the IM151 8 PN DP CPU interface module you can configure up to 10 connection resources for S7 communication in NetPro These connections are then reserved 3 4 4 Connection resources for routing Number of connection resources for routing A maximum of 4 connections are available on the PROFINET interface of the IM151 8 PN DP CPU interface module for the routing function Routing is only possible if the DP master module is connected and configured
128. d interrupt S blocks 300 Test and startup functions Monitor modify variable Yes e Variables Inputs outputs memory bits DBs timers counters e Number of variables 30 Of those as status variable Max 30 Of those as control variable Max 14 Force Yes e Variables Inputs Outputs e Number of variables Max 10 Block status Yes Single step Yes Breakpoints 2 Diagnostics buffer Yes e Number of entries not configurable Max 500 e Retentivity of the entries after POWER Only the last 100 entries are retained OFF POWER ON Communication functions Web server Yes e Number of http clients 5 Open IE communication Number of connections access points total 8 TCP IP Yes via integrated PROFINET interface and loadable FBs e Maximum number of connections 8 e Data length for connection type 01H max 1460 bytes e Data length for connection type 11H max 8192 bytes ISO on TCP Yes via integrated PROFINET interface and loadable FBs e Maximum number of connections 8 e Data length max 8192 bytes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 177 Technical data 11 2 IM 151 8 PN DP CPU interface module 178 Technical specifications UDP Yes via integrated PROFINET interface and loadable FBs e Maximum number of connections 8 e Data length max 1472 bytes PG OP communicati
129. data according to EN 50170 Volume 2 PROFIBUS You can use SFC 13 DPNRM_DG to read this diagnostic data Error information is stored in hex code Refer to the relevant module manual for information on the meaning of the read code For example the entry of the value 50H dual 0101 0000 in byte 7 of the slave diagnostics for the distributed I O module ET 200B indicates a faulty fuse or missing load voltage in channel group 2 and 3 Reading a data record with SFB 52 RDREC You can use SFB 52 RDREC read record to read a specific data record from the addressed module Data records 0 and 1 are especially suitable for reading diagnostic information from a diagnosable module Data record 0 contains 4 bytes of diagnostic data that indicates the current state of a module Data record 1 contains the 4 bytes of diagnostic data also stored in data record 0 plus module specific diagnostic data Reading the start information of the current OB using SFC 6 RD_SINFO Information about the error can also be found in the start information of the relevant error OB You can use SFC 6 RD_SINFO read start information to read the start information of the OB that was last called and not yet processed completely and of the startup OB that was last called Triggering detection of the bus topology in a DP master system with SFC 103 DP_TOPOL The diagnostic repeater makes it easier to identify faulty modules or an interruption on the DP cable whe
130. ddressing on PROFIBUS DP Overview The relevant DP slaves must first be brought into service on the PROFIBUS DP before the distributed I Os can be addressed from the user program During this commissioning process e PROFIBUS addresses are assigned to the slaves e Address ranges are assigned to the input output modules or slots so that they can be addressed from the user program Slots without user data are given a diagnostics address Additional information on commissioning the IM 151 8 PN DP CPU interface module as a DP master module can be found in the Commissioning PROFIBUS DP section User oriented addressing of the distributed PROFIBUS I Os You must use user oriented addressing for the distributed PROFIBUS DP I Os Information can be found in the User oriented addressing of the I O modules section IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 99 Addressing 6 3 Addressing on PROFIBUS DP Addressing consistent user data areas The table below illustrates the points to consider with respect to communication in a PROFIBUS DP master system if you want to transfer I O areas with Total length consistency For 1 to 32 byte data consistency on the PROFIBUS DP The address area of consistent data in the process image is automatically updated To read and write consistent data you can also use SFC 14 DPRD_DAT and SFC 15 DPWR_DAT If the address area of consistent data is not in the pro
131. dules and digital and analog electronic modules System Manual PROFINET system description Entry ID 19292127 PROFINET overview setups data exchange and communication engineering user examples Programming Manual From PROFIBUS DP to PROFINET IO Entry ID 19289930 PROFINET IO and PROFIBUS DP blocks system status lists data records for PROFINET IO diagnostics 87 300 Instruction List CPU 31xC CPU 31x IM 151 7 CPU etc Entry ID 13206730 List of the operation set of the CPUs and their execution times List of executable blocks Reference Manual System Software for S7 300 400 System and Standard Functions Entry ID 1214574 This manual consisting of Volume 1 and Volume 2 provides a complete overview of the OBs SFCs SFBs IEC functions diagnostics data system status list SSL as well as the events contained in the operating systems of the CPUs of the S7 300 and S7 400 This manual is part of the STEP 7 reference information You can also find the description in the Online Help for STEP 7 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Appendix A 4 Additional documentation Name of manual Manual Programming with STEP 7 Entry ID 18652056 Description This manual provides a complete overview of programming with STEP 7 This manual is part of the STEP 7 basic information You can also find the description in the Online Help for STEP
132. e ccccccecseecceceeeeeeeeeeeeeeeseeeeeeeseeeeeeseeeaeeeseeaeeetennaees 7 2 2 Procedure Software COMMISSIONING c ceeeeeeececeeeneeeeceeneeeeeaeeeceeaaeeseeaeeeeseaeeeeeeaaeeeeeeneeees 7 3 Commissioning Check list cccceceeeeeeeeeeeeeee cece eeneeeeeeaeeeeeaaeeeeesieeeeesaeeeeesieeeeesieeeetieeeeaeeeeess IM 151 8 PN DP CPU interface module 8 Operating Instructions 06 2008 A5E02049034 01 Table of contents 7 4 Commissioning the modules j 2 Accc0220 cien anisa aa itive dieu eiie iaia idea daei 106 7 4 1 Inserting Replacing a SIMATIC Micro Memory Card ssesssesesseerrsserrsserrrssrtrnssrerrssrrssrnnnne 106 7 4 2 IWMI DOW I ON isar onea a R a a aana E a a aE Ee a e ea aaa 108 7 4 3 Reset the IM 151 8 PN DP CPU interface module using the mode selector switch 7 4 4 Formatting the SIMATIC Micro Memory Card sesesssseesssrnesssnnaseennessnnannnnnanssnnaannnnenennaaeennadeannaa 7 4 5 Resetting to the as delivered state o oo cece cceeeseeeeeeeeeeeeeeseeeeeeteeeeeeseeeeeeseeeeeeeseneaeeseenaeeeaaees 7 4 6 onnecting a programming device PC to the integrated PROFINET interface of the IM 8 PN DP CPU interface Module ccsssscsssessseccssecssseessssessseccsnisesssecssnecessieesssecesseesseeeesns 115 7 4 7 Starting SIMATIC Manage ccccccccssecsecsecnceceeceececeecesecsaseesesecsacsascseeseesacsascseeecesnaeeseaeenas 117 7 4 8 Monitoring and modifying W OS ccecececeee cece
133. e module An IM 151 8 PN DP CPU interface module can maintain several simultaneous online connections to one or different OPs It is only after the PN interface of the IM 151 8 PN DP CPU interface module has been operated with a configured IP address that an OP be run on the interface 3 2 4 S7 communication Properties Reference 30 The IM 151 8 PN DP CPU interface module can act as either a server or a client in S7 communication A distinction is made between e Communication with unilateral configuration for PUT GET only e Communication with bilateral configuration for USEND URCV BSEND BRCV PUT GET The available functionality is described in the following table Table 3 2 client and server in S7 communication using connections with unilateral bilateral configuration Interface module Use in server mode for Use in server mode for Use as client connections with unilateral connections with configuration bilateral configuration IM 151 8 PN DP CPU Usually possible at the Possible at the PN Possible at the PN DP PN interface without interface with loadable interface with programming the user FBs loadable FBs interface The user interface is implemented using standard function blocks FBs under communication blocks in the standard S7EP 7 library For additional information on communication refer to the Communication with SIMATIC manual IM 151 8 PN DP CPU interface module Operating
134. e IM 151 8 PN DP CPU interface module logs on to the SIMATIC Manager with its MAC address via Available nodes If the Ethernet interface of the PD is set to TCP IP Auto then during the first establishment of a communication connection e g call of the module status or the online table of contents of the CPU a temporary IP address is automatically assigned by the PD to the PG interface of the IM 151 8 PN DP CPU interface module This is then maintained until the next power off power on or memory reset or until a HW configuration with a differing retentive IP address is loaded e Whilst downloading the parameters of the HW Config the correct IP address can be allocated to IM 151 8 PN DP CPU interface module during the loading process The procedure for this can be found in section Connecting a PD PC to the integrated PROFINET interface of the an IM151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 29 Communication 3 2 Communication services 3 2 3 OP communication Properties OP communication is used to exchange data between operator stations OP TP for example and SIMATIC modules which are capable of communication This service is available via PROFIBUS and Industrial Ethernet subnets OP communication provides functions you require for monitoring and modifying These functions are integrated in the operating system of the IM 151 8 PN DP CPU interfac
135. e another via this switch NOTICE PROFIBUS DP The bus terminator function may fail if you shut down supply voltage at the first or last ET 200S of a bus segment 3 mm screwdriver IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Service and maintenance 8 6 Replacing the DP master module Replacing the DP master module The DP master module and the IM 151 8 PN DP CPU interface module are wired and the terminal modules are on the right 1 2 Oo NOW Switch off the supply voltage for the respective ET 200S station IM 151 8 PN DP CPU Release the connector for the supply voltage and the RJ45 connector s on the IM 151 8 PN DP CPU interface module Use a screwdriver to slide the slider on the IM 151 8 PN DP CPU interface module downwards until it stops Now move the IM 151 8 PN DP CPU interface module about 40 mm to the left Note The slider is located in the centre beneath the IM 151 8 PN DP CPU interface module Use the screwdriver to slide the slider on the DP master module downwards to the stop Slide the faulty DP master module to the left until the connector for the backplane bus is free Note The slider is located underneath the DP master module Keeping the slider pressed down swivel the DP master module out of the mounting rail Suspend the new DP master module in the rail and swing it downwards Slide the DP master module to the right un
136. e exception because their actual values are transferred Uploading blocks or the user program from the IM 151 8 PN DP CPU interface module in STEP 7 does not affect the memory assignment of the IM 151 8 PN DP CPU interface module 4 2 3 3 Deleting blocks When you delete a block it is deleted from load memory In STEP 7 you can also delete blocks with the user program DBs also with SFC 23 DEL_DB RAM used by this block is released 4 2 3 4 Compressing blocks When data are compressed gaps which have developed between memory objects in load memory RAM as a result of load delete operations will be eliminated This releases free memory in a continuous block You can compress both in STOP mode as well as in RUN mode of the IM 151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module 82 Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 2 Memory functions 4 2 3 5 Promming RAM to ROM When writing the RAM content to ROM the actual values of the DBs are transferred from RAM to load memory to form the start values for the DBs Note This function is only permissible if the IM 151 8 PN DP CPU interface module is in STOP mode Load memory is cleared if the function could not be completed due to power loss 4 2 4 CPU memory reset and restart Memory reset After inserting or removing a SIMATIC Micro Memory Card a complete memory reset restores the IM 151 8 PN DP CPU interface module to d
137. e integrated PROFINET interface of the IM 151 8 PN DP CPU interface module has been configured in STEP 7 IP address and device name set in HW Config the IM 151 8 PN DP CPU interface module is connected to the subnet e PROFIBUS on optional DP master module the PROFIBUS address is set the terminating resistors on the segments are enabled Note Please observe the procedure for commissioning the hardware IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 103 Commissioning 7 2 Commissioning procedure Recommended procedure Software Table 7 2 Recommended commissioning procedure Software Activity Switch on the programming device and run SIMATIC Manager Transferring the configuration and program to the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module logs on to the SIMATIC Manager with its MAC address via Available nodes If the Ethernet interface of the PD is set to TCP IP Auto then during the first establishment of a communication connection e g double clicking this network node that displays only the MAC address in order to open the online block container a temporary IP address is automatically assigned by the PD to the PN interface of the IM 151 8 PN DP CPU interface module Now the blocks especially also the SDB container with the HW configuration can be moved by drag and drop from the offline block container to the
138. e module 140 Operating Instructions 06 2008 A5E02049034 01 Service and maintenance 8 5 Replacing the IM 151 8 PN DP CPU interface module Replacing the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU interface module is wired and the terminal modules are on the right 1 2 Switch off the supply voltage for the faulty IM 151 8 PN DP CPU interface module Remove the SIMATIC Micro Memory Card from the receptacle see nserting replacing a Micro Memory Care Release the connector for the supply voltage and the RJ45 connector s on the IM 151 8 PN DP CPU interface module Use a screwdriver to slide the slider on the IM 151 8 PN DP CPU interface module downwards until it stops Now move the IM 151 8 PN DP CPU interface module to the left Note The slider is located in the centre beneath the IM 151 8 PN DP CPU interface module Press down on the slider while swiveling the IM 151 8 PN DP CPU interface module off the rail Suspend the new IM 151 8 PN DP CPU interface module in the rail Press down on the slider while swiveling the IM 151 8 PN DP CPU interface module downwards until the slider audibly engages Now move the IM 151 8 PN DP CPU interface module to the right until the first terminal module If a DP master module is connected Move the IM 151 8 PN DP CPU interface module to the right until it audibly engages on the DP master module Insert the SIMATIC Micro Memory Card remov
139. e names are easier to handle than complex IP addresses The assignment of a device name for a specific IO device can be compared with the setting of the PROFIBUS address for a DP slave In the state of delivery a IO device has no device name The IO device can only be addressed by a IO controller after the device has been assigned a device name for the transfer of configuration data IP address and other data in the startup phase or for the exchange of user data in cyclic operation for example Alternatively the device name can be written directly to the SIMATIC Micro Memory Card e g for the ET 200S IO device in the programming device IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 207 Glossary Device replacement without removable media PD IO devices having this function can be replaced simply e A removable medium such as Micro Memory Card with stored device name is not required e The device name does not have to be assigned with the PD e fa replacement is necessary an IO device already in operation has to be reset to the factory settings by using Reset to factory setting The replaced IO device obtains the device name from the IO controller not from the removable medium or from the programming device For this purpose the IO controller uses the configured topology and the neighbor relationships determined by the IO devices The configured setpoint topology must agree with the
140. e represented in STEP 7 the color of the symbol will indicate a closed switch or an active circuit for example Note The STEP 7 testing function with program status extends the IM 151 8 PN DP CPU interface module s cycle time STEP 7allows you to set a maximum permitted increase in the cycle time To do this you have to set process mode in the IM 151 8 PN DP CPU interface module parameters in STEP 7 e Stepping mode When testing in single step mode you can process your program instructions in sequence single step and set break points This is only possible in testing mode and not in process mode IM 151 8 PN DP CPU interface module 154 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions Debugging functions of the software Forcing variables The Force function can be used to assign the variables of a user program or IM 151 8 PN DP CPU interface module also inputs and outputs constant values which can not be overwritten by the user program For example you can use it to jumper sensors or switch outputs permanently irrespective of the user program DANGER This could result in severe injury or even death and damage to property Incorrect use of the Force function could result in death or severe injury and damage to machinery or even the entire plant Always follow the safety instructions in the STEP 7 manuals Forcing with t
141. e time A 3 3 1 Overview Response time Definition of response time The response time is the time between the detection of an input signal and the change of a linked output signal Fluctuation width The physical response time lies between the shortest and the longest response time You must always reckon with the longest response time when configuring your system The shortest and longest response times are shown below to give you an idea of the fluctuation width of the response time Factors The response time depends on the cycle time and following factors e Delay in the I O module inputs and outputs e Additional send cycles for PROFINET IO e Additional DP cycle times on PROFIBUS DP e Execution in the user program Reference The delay times are described in the technical data for the I O modules E7 200S Distributed I O Device Operating Instructions Update Time for PROFINET IO If you configured your PROFINET IO system in STEP 7 STEP 7 calculates the send cycle for PROFINET IO You can then view the PROFINET IO send cycles on your PG IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 195 Appendix A 3 Cycle and response times DP cycle times in the PROFIBUS DP network If you configured your PROFIBUS DP master system with STEP 7 then STEP 7will calculate the typical DP cycle time that must be expected You can then view the DP cycle time of your configuration on the programming devi
142. eads the status at the inputs of the input modules and then updates the process input image 4 The IM 151 8 PN DP CPU interface module processes the user program in time slices and executes the operations specified in the program 5 At the end of a cycle the operating system executes queued tasks for example loading and deleting blocks 6 The IM 151 8 PN DP CPU interface module then returns to the start of the cycle and restarts cycle time monitoring Process image output PIQ Time slices each 1 ms Process image inputs PII PII AA AAA Cycle time User program Scan cycle check point CCP Operating system OS _4 Time slices each 1 ms Operating system iin eee PIQ Process image of outputs PIQ Process image of inputs CCP Cycle control point OS Operating system In contrast to S7 400 CPUs the IM 151 8 PN DP CPU interface module only accesses data with an OP TP monitor and modify functions at the cycle control point for data consistency see 7echnical specifications Processing of the user program is not interrupted by the monitor and modify functions IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 191 Appendix A 3 Cycle and response times Extending the cycle time Always make allowances for the extension of the cycle time of a user program due to e Time based interrup
143. ections module parameters etc Blocks that are identified as non runtime related are stored exclusively in load memory You can also store all the configuration data for your project on the SIMATIC Micro Memory Card Note User programs can only be downloaded and thus the IM151 8 PN DP CPU interface module can only be used if the SIMATIC Micro Memory Card is inserted in the interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 73 Memory concept 4 1 Memory areas and retentive memory System memory The system memory is integrated in the IM151 8 PN DP CPU interface module and cannot be extended It contains e The address areas for address area memory bits timers and counters e The process image of the I Os e Local data Work memory The working memory is integrated in the IM 151 8 PN DP CPU interface module and cannot be extended It is used to run the code and process user program data Programs only run in work memory and system memory 4 1 2 Retentivity of load memory system memory and RAM Your IM151 8 PN DP CPU interface module is equipped with a maintenance free retentive memory i e its operation does not require a back up battery Data is kept in retentive memory across POWER OFF and restart warm start Retentive data in load memory Your program in the load memory is always retentive It is stored on the SIMATIC Micro Memory Card where it is protected against pow
144. ed from the defective IM 151 8 PN DP CPU interface module into the slot on the new IM 151 8 PN DP CPU interface module 10 Switch on the power supply Behavior of the IM 151 8 PN DP CPU interface module after replacement As the SIMATIC Micro Memory Card has been changed after the IM 151 8 PN DP CPU interface module has been replaced it always automatically resets the memory and remains in STOP mode regardless of the position of the mode selector The IM 151 8 PN DP CPU interface module can then be switched to RUN once more using the mode selector If the IM 151 8 PN DP CPU interface module stays in STOP you can view the cause of error in STEP 7 see the STEP 7 User Manual IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 141 Service and maintenance 8 6 Replacing the DP master module 8 6 Replacing the DP master module Introduction Requirements Required tools 142 You may replace a defective DP master module To replace the DP master module you must switch off the supply voltage on the associated IM 151 8 PN DP CPU interface module Result Failure of the ET 200S station and all components connected to it DP slaves IO devices CAUTION PROFINET IO If you switch off the supply voltage at an ET 2008S the integrated switch will also fail This will interrupt communication with all connected partners e g IO devices or other PROFINET devices that communicate with on
145. eeeeeeeenenaes 8 4 Backing up project data on a SIMATIC Micro Memory Card eeeeccceeeeteeeeeeeeeeeeettieeeeesieeeeeeed 8 5 Replacing the IM 151 8 PN DP CPU interface module ccceeeeeeeeeeceeeeeeeeeeneaeeeeeeeeeteeee 8 6 Replacing the DP master Module 0 ccccccsecceeeesaesecceeeaecceedeseueedeseuievessacsesaueceeteseaiereseaisereences 142 9 FUNCUONS sisciitiiik in eins Rete ie Hires erie Gd ede de T eee ee ed 145 9 1 Assigning parameters of the reference junction for the connection of thermocouples 9 2 Removal and insertion of modules during Operation cceeeeceeeeeeeeeeeeeeeeeeteneeeeetteeeeeneeeeeeed 9 2 1 OVENVIGW iienaa nia aa aa AEE EA sauna tieane vane uaaasasedanlauasamanensanletes bandees e E 9 2 2 What happens when modules are removed during operation 147 9 2 3 Procedure when modules are inserted during operation cccceeeeeeeeeeeeeeeseeeeeeeseeeeetteeeeeeed 9 3 Switching power modules off and on during Operation cececeeceececeeeeeeecaeceeeeeeeeeeeeeeeeeeess 10 Debugging functions diagnostics and troubleshooting ccccceessseseeeeeeeeesssseeeeeeeeessssseeseeneeeseeee nes 151 10 1 OVER VIGW AE Adensagttnsneadened sae avaegeces vac cada eesviseauseaagddevassdadaadadadaanaeezenndvaauiuntageauvesas T 151 10 2 Identification and maintenance data of the IM 151 8 PN DP CPU interface module 10 3 Debugging functions 2 eee eeeeeeteeeeeeeeee
146. eeeeeeeseneeeeseeeeeeesenaeeeseneaeeseenaeeeeeees 16 4 1 5 Properties of the SIMATIC Micro Memory Card cccccccccccsesseteceenecnseceeseenecnseeseeeesneenseenaees 19 4 2 MeOMOry TUMCHONS v 02 icet eee ceeet tae ebee ee ctbcasasuencwta suasueteeseastitesesstalensste ceeadesdcaasetd teeetsetuestsie este a 8 4 2 1 General Memory TUMCtONS secare sauceceh aveaaadedenancedatbanecahesateaie sie iseassaisagessevetsalvenateneanedcs 8 4 2 2 Downloading user programs via SIMATIC Micro Memory Card to the IM 151 8 PN DP CPU Interace modulecsieurini n N E 81 4 2 3 Handing DOCK assoanus bindbaasateeasidtteawens hele uabects 8 4 2 3 1 Download of new blocks or delta downloadS ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseneeeeseneaeeeseeaeeeteees 8 AZo Uploading Doek S eca het ecasuelua ey cheb cq aveetenaentacbevues cd utes sauedee seuut ead ee tenaeedeaseets 8 4 2 3 3 Deleting DIOCKS noniin ninin neer ni EEEE EEEE ET E 8 4 2 3 4 Compressing DIOCKS erasers aaa a AE AE EE S AREAN ieee eer 8 4 2 3 5 Promming RAM to ROM ccccccceseeeceeeceeeeeceeeeeeeceeeeceaeeecaaeecsaeeecaeeseeeeseaeeesaeeeeaeeecneeseeeeeeeeaes 83 4 2 4 CPU memory reset and restart aesaaessseeesrresssrrrneeerrneatnnaatnnaaatnnadttnnaatinnaatnaaatenaaatuaaantanaatan atanan 8 4 2 5 Recipes paa aaa aa ia a E a aaa a A Eaa i 8 4 2 6 Measured value log flOS sticccctes estates ciaetae sie etadev euadeceeseessceiaes A de wiiteraaaeide 8 4 2 7 Backup of project data to SI
147. eeeeeetaeeeeeenaeeeees 10 5 Basics of diagnostics in PROFINET 10 ceccecceeeeseeeeeeseeeeeeseneeeeeseeeeeeseneeeeseneaeeesenaeeseenaeees 10 6 Diagnostics on the PROFIBUS DP iii icececeieess eccaei ce cecdiet ent net ecnuechieesidtieesddedtesidediectuaniestentiees 10 6 1 Diagnostics of the IM 151 8 PN DP CPU interface module as a DP master Technical datarie iensen a E A E nen endless 11 1 General technical data grissini aa a a a Ra aa aa aE a aa 11 2 IM 151 8 PN DP CPU interface MOdUIe cccececeeeeceeceeeeeeeeceeeeeeeeeeececaeceeeeeseeenneeeeeeeeeees 11 2 1 IM 151 8 PN DP CPU with DP master module block diagram ccceeeeeeeeeeeeeeeeeneeeeeeeeeees 11 2 2 IM 151 8 PN DP CPU technical specifications cecececceececeeeeeeeeecceeeeeeeecenceeeeeetesessnaeenees 11 3 DP Master MOGUIC saniser dana ainiai aie anae i debe cundstecdeadavsdeadseishecdssweavbbvaiaddseeteat 11 3 1 Technical specifications DP master module ecceeeeeeeeeeeeceeeeeeeeceeaeeeeeeseteeteeeeeeeeeteees PADD OMGIX E icc 208 Gch dehachci endl vesey A td E A T A 1 Order MUI DEMS 24 252 cess eee aaaeeeaa terea ee Eana SEOEL os cdecetecatel eeas an oe sbevveeebexeseaeseeem tase A 1 1 Module Order NUMDEFS 22 lt c505ccccc ccccceecened deta cadd covet Gone decvesdcacdencdeduduccducduectecad sues evdnacededaaadedescdcateses A 1 2 Order numbers of accessories A 2 DIMENSION GrAWINGS ssie eee er eee ae feed ee ie OT a 187 A 2 1 I
148. een O o oO STOP Yellow O oO O P1 LINK Green o oO E P2 LINK Green o oO oO P3 LINK Green o o oO Legend A LED lit oO LED dark O LED flashes at 0 5 Hz Inserting Replacing a SIMATIC Micro Memory Card Page 106 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules 7 4 6 Connecting a programming device PC to the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module Requirement e IM 151 8 PN DP CPU with integrated PROFINET interface e Programming device PC with network card Connecting a programming device PC to the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module 1 Connect the programming device PC to the X1 P1 interface of the IM 151 8 PN DP CPU interface module using a pre assembled uncrossed twisted pair cable SIEMENS e el Ot Eel Of course a programming device can also be connected and used at the other two ports of the PROFINET interface Result You have connected your programming device PC to the integrated PROFINET interface of the IM 151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 115 Commissioning 7 4 Commissioning the modules Configuring the PROFIN
149. efined conditions in order to make a restart warm start possible When resetting the IM 151 8 PN DP CPU interface module the memory management of the IM 151 8 PN DP CPU interface module is reestablished Blocks in load memory are retained All dynamic runtime blocks are transferred once again from load memory to RAM in particular to initialize the data blocks in RAM restore initial values Restart warm start Reference See also e All retentive DBs retain their current values Non retentive DBs are reset to their initial values e The values of all retentive M C T are retained e All non retentive user data are initialized M C T 1 O with 0 e All run levels are initialized e The process images are deleted Read also section Resetting the IM 151 8 PN DP CPU interface module using the mode selector switch Reset the IM 151 8 PN DP CPU interface module using the mode selector switch Page 109 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 83 Memory concept 4 2 Memory functions 4 2 5 Recipes Introduction A recipe represents a collection of user data You can implement a simple recipe concept using static DBs In this case the recipes should have the same structure length One DB should exist per recipe Processing sequence Recipe is written to load memory e The individual data records of the recipes are created as static DBs in STEP 7 and then downloaded to
150. ehavior of a DB with the IM 1518 PN DP CPU interface module For the IM 151 8 PN DP CPU interface module you can specify in STEP 7 or via SFC 82 CREA_DBL parameter ATTRIB gt NON_RETAIN bit whether in response to a POWER ON OFF or RUN STOP a DB e Keeps the actual values retentive DB or e Accepts the initial values from load memory non retentive DB Table 4 2 Retentive behavior of the DB with the IM 1518 PN DP CPU interface module should After a POWER OFF POWER ON or restart of the IM 151 8 PN DP CPU interface module the DB Receive the initial values non retentive DB Reason from load memory After a POWER OFF POWER ON and restart After a POWER OFF POWER ON and restart STOP RUN of the IM 151 8 PN DP CPU interface module the actual values of the DB are interface module the actual values of the DB are non retentive The DB receives the start values retained Retain the last actual values retentive DB Reason STOP RUN of the IM 151 8 PN DP CPU Requirement in STEP 7 e The Non retain check box must be e The Non retain check box must be activated activated in the block properties of the DB or e anon retentive DB was generated with SFC e A retentive DB was generated with SFC 82 82 CREA_DBL and the associated block attribute ATTRIB gt NON_RETAIN bit Requirement in STEP 7 in the block properties of the DB or 4 1 4 Address areas of system memory The s
151. ensestssedadedensteendarescd 34 3 2 8 Communication by means Of PROFINET ccccccscscesecesecsecseenecnaeeseeneeeensecsaeeesnesesaesaseaseaaeaes 34 D281 MOGUCIM e Ri ete Ae aches des ie ee ais ee ee cee 34 3 2 8 2 PROFINET lO and PROFINET CBA 00 0 ccccccceecceeeeeeeeeeeeeceaeeecaaeceaaeceeeeseaeeecaeeesaeeeeeeeneeeesnatees 36 3 2 8 3 PROFINET lO SYStei wecesisteeitecedcvictecessscevestbiesdtedsstenyastsntulesseaveens abiur aE teenie R A aiaa 38 3 2 8 4 Blocks for PROFINET IlO ccccceesceeeeeceeeeeeeceeeeesaeeecaaeceeeceaeeeceaeeesaeeeeaeeseaeeseaesessaeessaeeaeeseeeeeaes 40 3 2 8 5 Open communication via Industrial Ethernet ccccccccsecsecsecnseteeceeeeceenseceeeesesececsaeeseeeen eas 42 3 2 8 6 SNMP COMMUNICATION SEVICE s r aiian iiaei ideiari aaide ainiai naeia ii deaa 45 3 3 Web SeNet asnan sina eE a a aa E S E Ea E ee E Ee A 46 3 3 1 Language SOTINGS e nsisiriirirrie irri carnea EEE ENEE EAEN EANET E SEENE EAER 49 3 3 2 Settings in HW Config Web tab osissaaiinia daanin aana NAARAAN AA a AENA RAA 51 3 3 3 MY EA A E AA ET ETET E A A A 53 3 3 4 Wep pages re a A E E E E EEE E E R ead 54 3 3 4 1 Start page with general CPU information sescaeseeeeeeeineeseueeeernenssnnntsnnnnrnnnnsitnnntnnnnstennnnnnnnneen neend 54 3 942 AAENtCA UOM ieee reis ania idee A E E AE aera 56 3 9 4 3 Diagnostic DUMEM sciatas iroa EASO eree ETSE EEan EIEE EE ENA ENESE ated of 3 3 4 4 MESSAGES Ho cscic yi acecee cet sees vances
152. er failure or CPU memory restart The configuration data for the interface of the IM151 8 PN DP CPU interface module will be stored retentively in the load memory of an SDB Retentive data in system memory In your configuration IM151 8 PN DP CPU interface module Properties Retentivity tab specify which parts of the bit memory timers and counters should be kept retentive and which should be reinitialized to 0 on restart warm restart The operating hour counter is usually stored in the retentive memory area on the IM151 8 PN DP CPU interface module Only the last 100 entries in the diagnostics buffer are retentive with POWER OFF POWER ON Retentive data in RAM Therefore the contents of retentive DBs are always retentive at restart and POWER OFF POWER ON Retentive data blocks can be uploaded to the work memory in accordance with the maximum limit allowed by the work memory The IM 151 8 PN DP CPU interface module also supports non retentive DBs Non retentive DBs are initialized from the load memory with their initial values whenever a restart is performed or with POWER OFF POWER ON Non retentive data blocks and code blocks can be loaded in accordance with the maximum work memory limit 64 KB of RAM can be used for retentive data blocks in the IM 151 8 PN DP CPU interface module See also Properties of the SIMATIC Micro Memory Card Page 79 IM 151 8 PN DP CPU interface module 74 Operating Instructions 06 2008 A5E02049034 01
153. er time for the inputs 1 x process image transfer time for the outputs 1x program processing time 1 x operating system processing time at the SCC Delay in the inputs and outputs Shortest response time The result is equivalent to the sum of the cycle time plus the I O delay times Page 195 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 197 Appendix A 3 Cycle and response times A 3 3 3 Longest response time Conditions for the longest response time The figure below shows the conditions under which the longest response time is reached ZKP BeSy ZKP BeSy Response time SEN em a Serer User program SaaS ZKP BeSy 198 Delay of the inputs 2 x the update time for PROFINET IO or H 2 x DP cycle time on the PROFIBUS DP i depending on whether PROFINET IO or PROFIBUS DP is being used i As the PII is being read in the state of the relevant input changes The change of the input signal is therefore ignored in the PII The change in input signal is included in the PII here The change in input signal is processed here by the user program The user program reaction to the change in input signal is transferred to the outputs here Delay of the outputs 1 2 x the update time for PROFINET IO or 2 x DP cycle time on the PROFIBUS DP i depending on whether PROFINET IO or PROFIBUS DP is being used IM 151 8 PN DP CPU int
154. erface module Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 Cycle and response times Calculation The longest response time is the sum of Table A 13 Formula Longest response time 2 x process image transfer time for the inputs 2 x process image transfer time for the outputs 2 x program processing time 2 x operating system processing time 4 x PROFINET IO update time only if PROFINET IO is used 4 x DP cycle time on PROFIBUS DP only if PROFIBUS DP is used Delay in the inputs and outputs Longest response time Equivalent to the sum of 2 x the cycle time I O delay time 4 x the PROFINET IO scan cycle or 4 x the DP cycle time on PROFIBUS DP See also Page 195 A 3 4 Interrupt response time A 3 4 1 Overview Interrupt response time Definition of interrupt response time The interrupt response time is the time that elapses between the first occurrence of an interrupt signal and the call of the first interrupt OB instruction Generally valid Higher priority interrupts take priority This means that the interrupt response time is increased by the program processing time of the higher priority interrupt OBs and the interrupt OBs of equal priority which have not yet been executed queued Process interrupt and diagnostic interrupt response times of the IM 151 8 PN DP CPU interface module Table A 14 Process interrupt and diagnostic interrupt response times of the IM 151 8 PN DP CPU
155. es and slot assignment 4 5 6 7 8 9 10 Slot z 2 N O 2 4 T 5 Qa 3 e 5 Zo Sle S E gt x O O ez Flslaia gt oO z e g oo 3 eg Do ji o IN oO oe wt wt ka fe 1elw SiS oiei IZM 52 Me nee oe a SS ca ce ek ead bee E I LTP ytd Oyj 268 Figure 6 2 Slots for the ET 200S Address assignment Depending on the slot 1 byte is reserved for digital I Os motor starters and 4 IQ SENSE as well as 16 bytes for analog I Os and the technology module for each of the I O modules up to 63 The table below indicates the default address assignment for analog and digital modules per slot for slot oriented addressing Table 6 1 Default address assignment for centralized I O modules in an ET 200S with IM 151 8 PN DP CPU interface module Reserved Address Area Slot number 1 2 3 4 5 6 7 8 es 66 Digital module IM 151 8 1 2 3 4 se 62 motor starter PN DP CPU 1 Analog module 272 288 304 320 vis 1248 technology module to to to to to 4 IQ SENSE 287 303 319 335 1263 motor starter high feature Power modules 2 256 272 288 304 320 whe 1248 1 with X1 P1 P2 P3 as PROFINET interface and X1 as DP interface 2 Diagnostics addresses no user data IM 151 8 PN DP CPU interface module 96 Operating Instructions 06 2008 A5E02049034 01 Addressing 6 1 Addressing
156. es input and output signals with assigned field devices The IO controller is often the controller on which the automation program runs PROFINET IO Controller gt PROFINET IO Device PROFINET IO Controller gt PROFINET O Superviso PROFINET IO Controller gt PROFINET IO System PROFINET IO Device gt PROFINET O Controlle PROFINET IO Device Distributed field device assigned to one of the IO controllers e g remote IO valve terminals frequency converters switches PROFINET IO Device gt PROFINET O Superviso PROFINET IO Device gt PROFINET IO System IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 223 Glossary PROFINET IO Supervisor gt PROFINET 10 Controlle PROFINET IO Supervisor gt PROFINET IO Device PROFINET IO Supervisor PG PC or HMI device for commissioning and diagnostics PROFINET IO Supervisor gt PROFINET 1O System PROFINET IO System gt PROFINET 10 Controlle PROFINET IO System gt PROFINET IO Device PROFINET IO System PROFINET IO controller with assigned PROFINET IO devices Programming device Basically speaking PGs are compact and portable PCs which are suitable for industrial applications They are identified by a special hardware and software for programmable logic controllers Proxy gt PROFINET device Proxy The PROFINET device with proxy functionality is the substitute for a PROFIBUS device on Ethernet
157. es the cause of error to the diagnostics buffer In STEP 7 you use the programming device to read the diagnostics buffer This location holds error information in plain text Modules with diagnostics capability that do not have their own diagnostics buffer write their error information to the IM 151 8 PN DP CPU interface module s diagnostics buffer When an error or an interrupt event occurs e g time of day interrupt the IM 151 8 PN DP CPU interface module switches to STOP mode or you can respond in the user program via error interrupt OBs This would be OB82 in the above example IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 157 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions Diagnostics of field devices on PROFINET For additional information refer to the PROFINET System Description and to the From PROFIBUS DP to PROFINET O Programming Manual Diagnostics with system functions On the IM 151 8 PN DP CPU interface module we recommend that you use the more user friendly SFB 54 RALRM called in diagnostic OB 82 to evaluate the diagnostics from I O modules or DP slaves 158 Further options for diagnostics with system functions are listed below Using SFC 51 RDSYSST to read an SSL sublist or an extract thereof Reading the diagnostic data slave diagnostics of a DP slave using SFC 13 DPNRM_DG Every DP slave provides slave diagnostic
158. esseesseesneeseseseesesenesenseesees 2 1 Operating and display elements of the IM 151 8 PN DP CPU interface module 0ee 2 2 Status and error displays of the IM 151 8 PN DP CPU interface module n 2 3 Display elements of the DP master MOCUIE cccceeeeeeeeeeeeneeeeseeeaeeeeeaeeeeeeaeeeseaeeeseenaeeeeeaaes 3 COMMMUNICAUON i Secon cece cntud code accesucenedyivaves eaucnccevued A A E 21 3 1 Menaces See meee Serer sere ete teriane ree rer Perrone Senet Merrett cr et roe rere err eee ee 21 3 1 1 PROFINET PN seinen aiian aeaa dies fadevansecdeesa edvcaanaecexscenasdedantuasiaedeleiueeedaads ERG 21 3 1 2 PROFIBUS DP nienurcnusine iiad aiia a etaa NAE Aa aE TERENE E ARAA 25 3 2 Communication SerV CES s mri eee ee id nie ee E AEE E 27 3 2 1 Overview Of communication SerV CeS cececeecetecteeneeeeceteeseeeeeeeeesecaecaeeseeneesecsseesesseeenaaeel 27 3 2 2 PG COMMUNICATION pisis siie esnin kanka ei in ranean iaaii Eeid ania ka ideaa ai ranea kikino ea Fk 29 3 2 3 OP COMMUNICAUON essiensa oaa aa aariaa a ae a a EE E EE ARE 30 3 2 4 SH COMMUNICATION 55252562 cc ceinascestiaacetacceediacen cxagcedsceceusccat ae AEEA RAE E E e eE 30 3 2 5 ROVID ote te Wah eet eae ede dette ile eee ies a tal Neier 31 3 2 6 Data Set routing tics santas cca n ia a a sian dedi E shes dies caer a abated seed E saad detsbald 32 3 2 7 Data GOMSISLENGY 2 can tscesenestcscestnvedecpacinesatsensantone oqesanuiseeceslsuiedensdndcancadtesaeats
159. face module Operating Instructions 06 2008 A5E02049034 01 131 Commissioning 7 6 Commissioning PROFIBUS DP Constant Bus Cycle Time This is a property of PROFIBUS DP that ensures bus cycles of exactly the same length The Constant bus cycle time function ensures that the DP master always starts the DP bus cycle after a constant interval From the perspective of the slaves this means that they receive their data from the master at constant time intervals In STEP 7V5x or later you can configure constant bus cycle times for PROFIBUS subnets A detailed description of the constant bus cycle time can be found in the STEP 7 Online Help Time synchronization Information about time synchronization via PROFIBUS DP can be found under nterfaces gt PROFIBUS DP SYNC FREEZE The SYNC control command is used to set the DP slaves of a group to sync mode In other words the DP master transfers the current output data and instructs the relevant DP slaves to freeze their outputs The DP slaves writes the output data of the next output frames to an internal buffer the state of the outputs remains unchanged After each SYNC control command the DP slaves of the selected groups transfer the output data stored in their internal buffer to the process outputs The outputs are only updated cyclically again after you transfer the UNSYNC control command using SFC11 DPSYC_FR The FREEZE control command is used to set the relevant DP slaves to Freeze
160. face module This time applies without e Testing and commissioning routines e g status controlling of variables or block status functions e Transfer and deletion of blocks compressing user program memory e Communication e Writing reading of the SIMATIC Micro Memory Card with SFC 82 to 84 Table A 9 Operating system processing time at the scan cycle check point Interface module Cycle control at the scan cycle check point CCP IM 151 8 PN DP CPU 500 us Extension of the cycle time as a result of nested interrupts Enabled interrupts also extend cycle time Details are found in the table below Table A 10 Extended cycle time due to nested interrupts Interrupt type Process Diagnostic Time of Delay interrupt Cyclic interrupt interrupt day interrupt interrupt IM 151 8 PN DP CPU 500 us 600 us 400 us 300 us 150 us The program runtime at interrupt level must be added to this time extension Extension of the cycle time due to error Table A 11 Cycle time extension as a result of errors Type of error Programming errors I O access errors IM 151 8 PN DP CPU 400 us 400 us The interrupt OB processing time must be added to this extended time The times required for multiple nested interrupt error OBs are added accordingly IM 151 8 PN DP CPU interface module 194 Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 Cycle and response times A 3 3 Respons
161. fault The IM 151 8 PN DP CPU interface module cannot be reached via a disabled port in the PROFINET interface Note that it is not possible to perform communication functions like for example PD OP functions open IE communications or S7 communication via a disabled port Note In the case of an IM 151 8 PN DP CPU interface module one port must always be enabled so that access to the module is always guaranteed IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 23 Communication 3 7 Interfaces Addressing the ports To diagnose the individual ports of a PROFINET interface these ports must each have a separate diagnostics address The addressing is done in HW Config For further information refer to the PROFINET System Description The diagnostic message fault and maintenance information can be enabled using OB 82 enable in HW Config and then analyzed using SFB 54 for example in order to diagnose any problems identified in the user program There are also various data records read using SFB 52 and system status lists read using SFC 51 provided for more detailed diagnostics Diagnostics is also possible in STEP 7 e g communication diagnostics network connection Ethernet statistics IP parameters etc Send clock and send cycle 24 The IM151 8 PN DP CPU interface module operating as IO controller supports send clocks of 250 us 500 us or 1 ms Controllers and devi
162. finition Direct data exchange is a special communication relationship between PROFIBUS DP nodes Direct data exchange is characterized by the fact that the PROFIBUS DP nodes listen on the bus for data that a DP slave returns to its DP master This mechanism allows the listening node recipient direct access to deltas of input data of remote DP slaves Address Areas During configuration in STEP 7 use the I O input addresses to specify the address area of the recipient at which the sender s data should be read The IM 151 8 PN DP CPU interface module with DP master module can be a receiver e asa DP master e asa CPU that is not integrated in a master system IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 133 Commissioning 7 6 Commissioning PROFIBUS DP Example Direct data exchange via DP CPUs The example in the figure below shows the relationships you can configure for direct data exchange All the DP masters and DP slaves apart from slave 3 and slave 5 are in each case a DP CPU whereby the IM 151 8 PN DP CPU interface module can be just a DP master Note that other DP slaves ET 200M ET 200S ET 200pro can only operate as transmitters DP master System 2 CPU DP master 2 DP master System 1 CPU CPU DP master 1 PROFIBUS CPU CPU DP slave 1 DP slave 2 DP slave 3 CPU DP slave 5 v 134 o
163. functionality SFB Functionality SFB 52 Read data record from DP slave IO device or centralized I O module SFB 53 Write data record to DP slave IO device or centralized I O module SFB 54 Read additional alarm information from a DP slave IO device or a centralized I O module in the relevant OB SFB 75 Set any interrupts for intelligent slaves Note You can also use SFB 52 to SFB 54 for centralized I O modules SFBs 52 to 54 can also be used for PROFINET IO Reference For additional information on the above blocks can be found in the System and Standard Functions for S7 300 400 reference manual or in the STEP 7 Online Help See also PROFIBUS DP Page 25 IM 151 8 PN DP CPU interface module 72 Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 4 1 Memory areas and retentive memory 4 1 1 Memory areas of the IM 151 8 PN DP CPU interface module The three memory areas of your IM 151 8 PN DP CPU interface module IM151 8 PN DP CPU aT EEN gy Load memory located on SIMATIC Micro Memory Card LS SIEMENS SIMATIC Micro Memory Card System memory Work memory Load memory The load memory is located on the SIMATIC Micro Memory Card The size of the load memory corresponds exactly to the size of the SIMATIC Micro Memory Card It is used to store code blocks data blocks and system data configuration conn
164. g Instructions 06 2008 A5E02049034 01 203 Glossary Autonegotiation Configuration protocol in the Fast Ethernet Before the actual data transfer the devices on the network agree a transfer mode that each participating device can master 100 Mbps or 10 Mbps full duplex or half duplex Backplane bus Serial data bus used by the interface module to communicate with electronic modules and to supply power to these The individual modules are interconnected by means of terminal modules Backup memory Backup memory ensures buffering of the memory areas of a CPU without backup battery It backs up a configurable number of timers counters bit memory data bytes and retentive timers counters bit memory and data bytes Baud rate Data transfer rate in bps Bit memory Bit memory are part of the CPU s system memory They store intermediate results of calculations They can be accessed in bit word or dword operations Bus A bus is a communication medium connecting several nodes Data can be transferred via serial or parallel circuits that is via electrical or fiber optic conductors Bus connector Physical connection between the bus node and the bus cable Bus node This is a device that can send receive or amplify data via the bus It can be a DP master DP slave RS 485 repeater active star coupler etc Bus segment A bus segment is a self contained section of a serial bus system Bus segments are linked to one anothe
165. gotiation note the following e PROFINET IO and PROFINET CBA require operation with 100 Mbps full duplex i e when the PROFINET interface of the IM 151 8 PN DP CPU interface module for PROFINET IO CBA communication and Ethernet communication is used at the same time the PROFINET interface can only be operated with 100 Mbps full duplex e If the PROFINET interface of the IM 151 8 PN DP CPU interface module is used only for Ethernet communication alongside the automatic setting Autonegotiation 100 Mbps full duplex or 10 Mbps full duplex operating modes can be used Half duplex mode is not allowed in any situation Reason If for example a switch permanently set to 10 Mbps half duplex is connected to the PROFINET interface of the IM 151 8 PN DP CPU interface module due to the Autonegotiation setting the IM 151 8 PN DP CPU interface module forwards this setting to the partner device i e the communication operates de facto with 10 Mbps half duplex However since PROFINET IO and PROFINET CBA require operation with 100 Mbps full duplex this operating mode is not allowed Note To configure the ports of IO devices which are to perform a prioritized start up refer to the special information under PROFINET System Description Disabling a port of the PROFINET interface with IM 151 8 PN DP CPU In STEP 7HW Config you can disable a port of the PROFINET interface of an IM 151 8 PN DP CPU interface module This is enabled as de
166. gt PROFINET 1O System IM 151 8 PN DP CPU interface module 214 Operating Instructions 06 2008 A5E02049034 01 Glossary IO device 2ROFINET IO Controlle IO device 2ROFINET 10 Device IO device ROFINET O Superviso IO device 2ROFINET IO System IO supervisor IO supervisor ROFINET IO Device IO supervisor ROFINET 1O Superviso IO supervisor 2ROFINET IO System IO system gt PROFINET O Controlle ROFINET I0 Syste IP address To allow a PROFINET device to be addressed as a node on Industrial Ethernet this device also requires an IP address that is unique within the network The IP address is made up of 4 decimal numbers with a range of values from 0 through 255 The decimal numbers are separated by periods The IP address is made up of e The address of the subnet network e The address of the node generally called the host or network node IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 215 Glossary IRT gt sochronous Real Time communication Isochronous Real Time communication LAN Load memory Synchronized transmission procedure for the cyclic exchange of IRT IO data between PROFINET devices A reserved bandwidth within the send clock is available for the IRT IO data The reserved bandwidth ensures that the IRT IO data can be transmitted at reserved synchronized intervals whilst remaining uninfluenced even by other greater networ
167. h process critical data alarm message for example and non critical communication service and diagnostics for example e Cost effective connection to devices in remote difficult to access environments Instance data block The STEP 7 user program assigns an automatically generated DB to every call of a function block The instance data block stores the values of input output and in out parameters as well as local block data Internal lightning protection Shielding of buildings rooms or devices Corresponds with lightning protection zone 1 2 or 3 Interrupt The operating system of an S7 CPU can distinguish between different priority classes that control how the user program is executed These priority classes include interrupts e g process interrupts When an interrupt is triggered the operating system automatically calls an assigned OB In this OB the user can program the desired response e g in an FB Interrupt cyclic interrupt A cyclic interrupt is generated periodically by the CPU in a configurable time pattern A corresponding OB will be processed Interrupt delay The delay interrupt belongs to one of the priority classes in SIMATIC S7 program processing It is generated on expiration of a time started in the user program A corresponding OB will be processed Interrupt delay gt Interrupt dela Interrupt diagnostic gt Diagnostic interrup IM 151 8 PN DP CPU interface module Operating Instructions
168. he E7 200S Distributed I O Device Operating Instructions e The 151 8 PN DP CPU interface module is installed on the mounting rail see nstalling the 151 8 PN DP CPU interface module Note You should install the required terminal module only having first installed the DP master module Installing the DP master module 1 Suspend the DP master module in the mounting rail to the right of the 151 8 PN DP CPU interface module 2 Rotate the DP master module to the back until it engages 3 Slide the DP master module to the left until it audibly engages with the 151 8 PN DP CPU interface module IM151 8 PN DP CPU DP master module Figure 5 2 Installing the DP master module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 93 Mounting and connecting 5 4 Installing and connecting the DP master module Connecting PROFIBUS DP Connect the PROFIBUS DP as follows 94 e Use a pre fabricated PROFIBUS cable e insert the bus connector in the X1 connection socket on the DP master module e Screw the bus connector into the connection socket Pin assignment for the bus connector View of the connection socket ONO NOUA RS 485 interface Terminal Signal Designation 1 Z 2 Z 3 RxD TxD P_ Data line B 4 RTS Request To Send 5 M5V2 Data reference potential
169. he IM 151 8 PN DP CPU interface module The force values in the process image of the inputs can be overwritten by write commands such as T IB x x y Copy with SFC etc and by read I O commands such as L PIW x in the user program or by write PG OP functions Outputs initialized with forced values only return the forced value if not accessed by the user program via I O write instructions TPQB x for example or by programming device OP write functions Always ensure that forced values in the I O process image cannot be overwritten by the user program or programming device OP functions In the case of the IM 151 8 PN DP CPU interface module forcing corresponds to a cyclic control Version Version Force job force job for inputs for inputs PIO os JPII User program PIO os PIl Transfer Transfer Transfer Transfer Force value overwritten by T PAW by T PAW by T PAW gt gt Version TPAW Version force job force job for outputs for outputs OS Operating system processing Figure 10 1 Forcing with the IM 151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 155 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions The differences between forcing and modifying variables Table 10 2 The differences between forcing and modifying variables Characteristics function Forcing Modify
170. he PROFINET cable securely in the cable holder The integrated switch enables looping through of PROFINET IO If necessary you can connect the PROFINET connections X1 P2 and X1 P3 to other I O devices Connecting the supply voltages The voltage supply is over a connecting plug When it ships this is connected to the connection for the supply voltage on the 151 8 PN DP CPU interface module The connecting plug makes it possible to loop the voltage supply uninterrupted Pin assignment of the interface i oOo M 24 VDC red OG Ground blue OO Ground blue E amp oO 24 VDC red Connect the supply voltage as follows 1 Strip the wires for the supply voltage to 10 mm 2 Insert the individual cables into the spring loaded terminal round openings of the cable connector 3 Inesrt the wired connector onto the 24 VDC terminal of the 151 8 PN DP CPU interface module 4 Please ensure that there is sufficient strain relief IM 151 8 PN DP CPU interface module 92 Operating Instructions 06 2008 A5E02049034 01 Mounting and connecting 5 4 Installing and connecting the DP master module 5 4 Installing and connecting the DP master module If you wish to extend the IM 151 8 PN DP CPU interface module with an optional DP master module you can use the 151 8 PN DP CPU interface module as a DP master Connect the PROFIBUS DP to the DP master module Requirements e The mounting rail has been fitted see t
171. he target interface module if the IM 151 8 PN DP CPU interface module does not yet have an IP address You can display the list of available nodes in the Select node address window whilst downloading the HW configuration Here you can select the desired target device via the associated IP or MAC address If the device has only had a MAC address so far then this can now be assigned the configured IP address The programming device must be connected to the subnet The programming device interface must be set to TCP IP Auto In the IE PG Access tab of the interface properties you must set Assign Project Specific IP Address e offline by saving the data to a SIMATIC Micro Memory Card in SIMATIC Manager on your programming device and then inserting the SIMATIC Micro Memory Card into the IM 151 8 PN DP CPU interface module Assigning IO Device Names 15 Requirement The programming device must be connected to the subnet The programming device interface must be set to TCP IP Auto mode Setting in the IE PG Access tab of the interface properties dialog box Assign Project Specific IP Address Procedure In online mode select the various IO devices in HW Config then select PLC gt Ethernet gt Assign Device Name to assign the corresponding device names Note When you have configured Device replacement without removable medium and specified the set topology of the PROFINET IO system with the topology editor you don t always have to as
172. hether the Ethernet cable to the controller is interrupted Check the configuration and parameter settings On the IO device Switch on the IO controller Check whether the expected configuration matches the actual configuration Check the physical communication connection for interruption Tip Identification of the PROFINET device in the control cabinet PROFINET IO devices must be assigned a device name when they are started for the first time In STEP 7 HW Config you can make the LINK LED of the PROFINET IO device to be assigned a name flash using PLC gt Ethernet gt Assign device name This allows you for example to clearly identify the PROFINET IO device among several identical devices in a cubicle IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 167 Debugging functions diagnostics and troubleshooting 10 4 Diagnostics using status and error LEDs 10 4 6 Status and error displays of the DP master module Explanation of the BF LED Table 10 10 BF LED Meaning IM 151 8 PN DP CPU DP master module SF ON BF On On On flashes PROFIBUS DP interface error To correct or avoid error See the tables below Table 10 11 BF LED on the DP master module lights up Possible error e Bus fault hardware fault e Slave not available or switched off e Short circuit on the bus Response of the IM 151 8 PN DP CPU interface module Call of
173. ialog select the path to the firmware update files UPD using Select PLC gt Update Firmware the Browse button After you selected a file the information in the lower fields of the Update Firmware dialog box shows you the firmware file and version for the corresponding modules Click on the Run button STEP 7 checks to determine whether the selected file can be interpreted by the IM 151 8 PN DP CPU interface module and if so then downloads the file to the interface module If this requires changing the operating state of the IM 151 8 PN DP CPU interface module you will be asked to perform these tasks in the relevant dialog boxes The IM 151 8 PN DP CPU interface module then performs the firmware update independently Use STEP 7 read out the CPU diagnostics buffer to verify that the IM 151 8 PN DP CPU interface module can start with the new firmware As an alternative you can also trigger the firmware update in SIMATIC Manager Select the respective IM 151 8 PN DP CPU interface module as the target CPU and then select Update PLC Firmware Via Available nodes select the target CPU and then select Update PLC Firmware You can use both paths to read step 5 described above Then continue with the remaining steps Result You have updated your IM 151 8 PN DP CPU interface module online with a new firmware version 138 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034
174. iefly to the MRES position to initiate the memory reset operation The figure below shows how to use the mode selector switch to reset the IM 151 8 PN DP CPU interface module memory STOP LED O on O off STOP MRES STOP MRES 3s 4 STOP MRES D t max 3 s STOP MRES 4 STOP MRES B min 3s t IM151 8 PN DP CPU If the IM 151 8 PN DP CPU interface module prompts you for another memory reset following a successful memory reset operation the SIMATIC Micro Memory Card may need to be reformatted see section Formatting the Micro Memory Card STOP LED does not flash during the memory reset What should do if the STOP LED does not flash during the memory reset or if other LEDs are lit 1 You must repeat steps 2 and 3 110 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules 2 If the IM 151 8 PN DP CPU interface module does not perform a memory reset again you must evaluate the diagnostics buffer of the IM 151 8 PN DP CPU interface module What happens to the IM 151 8 PN DP CPU interface module with a memory reset Table 7 5 Internal processes in the IM 151 8 PN DP CPU during a memory reset Event Action in the IM 151 8 PN DP CPU interf
175. igure below This parameter can be used to set the channel 0 1 for measuring the reference temperature calculation of the compensation value for the assigned slot of the RTD module RTD module parameter Measurement type measurement range Value range Resistance temperature measurement e g e RTD 4L Pt100 standard range Explanation If you use a channel of the RTD module for reference junction configuration you must configure the measurement type measurement range for this channel as RTD 4L Pt 100 climatic range 0 and reference junction channel 1 TC module parameter Value range Explanation Reference junction number 1 This parameter allows you to assign the reference junction 1 that contains the reference temperature compensation value Reference junction channel None RTD This parameter allows you to enable the use of the reference junction IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 145 Functions 9 1 Assigning parameters of the reference junction for the connection of thermocouples Example of a parameterization dialog box Properties IM151 8 PN DP CPU RO S2 General Startup Cycle Clock Memory Retentive Memory Interrupts Time of D ay Interrupts Cyclic Interrupts Diagnostics Clock Protection Communication Web Parameters Parameter Shen 2 Interference frequency suppressi
176. iguring the PROFINET IO system 10 Insert the IO devices at the PROFINET IO system for example an IM 151 3 PN ET 200S under PROFINET IO then configure the slots and set their parameters using drag and drop with reference to the physical layout 11 Select Edit gt Object properties to assign device names and numbers to the IO devices IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 5 Commissioning PROFINET lO Step Activity 12 If you are running PROFINET IO and PROFINET CBA in parallel open the Properties dialog for the PROFINET IO system e activating the Use this module for PROFINET CBA communication check box e Modify the Communication portion PROFINET IO parameter e g change the communication portion of PROFINET IO to 87 5 Properties PN IO RO S2 2 13 Save your configuration with Station gt Save and compile IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 125 Commissioning 7 5 Commissioning PROFINET IO Step Activity Configuration Download 14 Download the configuration to the IM 151 8 PN DP CPU interface module There are two ways of doing this e Online via the PN interface When you download the configuration in a system containing several nodes select the appropriate IP address for the IM 151 8 PN DP CPU interface module Select the MAC address of t
177. indow whilst downloading the HW configuration Here you can select the desired target device via the associated IP or MAC address If the device has only had a MAC address so far then this can now be assigned the configured IP address The programming device must be connected to the IM 151 8 PN DP CPU interface module in order to do this The programming device interface must be set to TCP IP Auto In the IE PG Access tab of the interface properties you must set Assign Project Specific IP Address e offline by saving the data to a SIMATIC Micro Memory Card in SIMATIC Manager on your programming device and then inserting the SIMATIC Micro Memory Card into the IM 151 8 PN DP CPU interface module Result You have assigned a retentive IP address to the PROFINET interface of the IM 151 8 PN DP CPU interface module 116 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning Reference See also 7 4 Commissioning the modules e For information on PROFINET refer to the PROFINET System Description e For information on passive network components such as switches refer to the S MATIC NET manual Twisted Pair and Fiber Optic Networks onfiguring and commissioning the PROFINET IO system Page 123 7 4 7 Starting SIMATIC Manager Introduction SIMATIC Manager is a GUI for online offline editing of S7 objects projects user programs blocks hardware stations and tools
178. ing Variables Memory bit M Yes Timers and counters T C Yes Data blocks DB Yes Inputs and outputs l O Yes Yes Peripheral inputs PI Peripheral outputs PO Yes User program can overwrite modify force values Yes Yes Maximum number of force values 10 Reference Details on debugging functions of the software are available in the STEP 7 Online Help and in the Programming with STEP 7 Manual 10 3 2 Overview Diagnostics Introduction System errors can occur especially in the commissioning phase Tracking these errors might be a time consuming effort since they can occur both on the hardware and software side The many different testing functions ensure that commissioning runs smoothly Note Errors during operation are almost always a result of faults or damage to the hardware Type of error Errors that the IM 151 8 PN DP CPU interface module can recognize and to which you can respond with organization blocks OBs can be split into the following categories e Synchronous error Errors you can relate to a specific point in the user program error when accessing an I O module for example e Asynchronous error Errors you can not relate to a specific point in the user program cycle time exceeded module error for example IM 151 8 PN DP CPU interface module 156 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting Troubleshooting 10
179. interface module Interrupt response times without communication for Duration Process alarm diagnostic alarm less than 10 ms IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 199 Appendix A 4 Additional documentation Process interrupt processing Process interrupt processing begins after process interrupt OB 40 is called Higher priority interrupts stop process interrupt processing Direct I O access is executed during runtime of the instruction After process interrupt processing has terminated cyclic program execution continues or further interrupt OBs of equal or lower priority are called and processed See also Overview Page 189 A 4 Additional documentation The following documentation contains detailed information on specific topics The appropriate areas of these operating instructions refer to this documentation 200 he address ind nents in the Internet unde ttp support automation siemens com WW view de and the corresponding entry ID Name of manual Operating Instructions ET 200S Distributed I O System Entry ID 1144348 Description Application planning assembling wiring and assembly commissioning functions alarm error and system messages interface modules COMPACT modules Manual ET 200S Distributed I O System Entry ID 22167495 Description of functions and technical specifications of the terminal modules power mo
180. interface module Operating Instructions 06 2008 A5E02049034 01 135 Service and maintenance 8 2 Backing up firmware on a SIMATIC Micro Memory Card Backing up the firmware on your IM 151 8 PN DP CPU interface module to the SIMATIC Micro Memory Card 136 Table 8 1 Backing up the firmware to the SIMATIC micro memory card Step Action required Insert the new SIMATIC Micro Memory Card in the IM 151 8 PN DP CPU interface module This takes place in the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU requests a memory reset 2 Turn the mode selector switch to MRES position and hold it there 3 Switch supply voltage off and then on the STOP RUN and FRCE LEDs start again and hold the mode selector switch in flashing the MRES position until 4 Mode selector switch to STOP 5 Mode selector switch briefly to MRES e The IM 151 8 PN DP CPU interface module position then let it return to STOP starts to back up the firmware on the SIMATIC Micro Memory Card e All LEDs are lit during the backup operation e The STOP LED flashes when the backup is complete to indicate that the IM 151 8 PN DP CPU interface module requires a memory reset 6 Remove the SIMATIC Micro Memory Card with the backed up firmware IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Service and maintenance 8 3 Updating the firmware 8 3 U
181. ion Slave gt Master Slave A slave can only exchange data after being requested to by the master IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 227 Glossary SNMP STARTUP STEP 7 Subnet mask Subnetwork Subscriber Subscriber 228 SNMP Simple Network Management Protocol makes use of the wireless UDP transport protocol It consists of two network components similar to the client server model The SNMP manager monitors the network nodes and the SNMP agents collect the various network specific information in the individual network nodes and stores it in a structured form in the MIB Management Information Base This information allows a network management system to run detailed network diagnostics A STARTUP routine is executed at the transition from STOP to RUN mode Can be triggered by means of the mode selector switch or after power on or by an operator action on the programming device A restart has been carried out on the IM 151 8 PN DP CPU interface module Engineering system Contains programming software for the creation of user programs for SIMATIC S7 controllers The bits set in the subnet mask determine which part of the IP address contains the address of the subnet network In general e The network address is obtained by an AND operation on the IP address and subnet mask e The node address is obtained by an AND NOT operation on the IP address and sub
182. iption of the OBs and on SFCs required for their evaluation can be found in the STEP 7 Online Help and in the S7 300 400 System and Standard Functions reference manual 168 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 5 Basics of diagnostics in PROFINET lO 10 5 Basics of diagnostics in PROFINET IO Totally Integrated Diagnostics Concept Basic concept PROFINET IO supports you with an integrated diagnostics concept The diagnostics concept with PROFINET IO is similar to that of PROFIBUS DP Below we will explain the basics of the concept Each individual or several errors occurring simultaneously are transferred from the IO device to the IO controller If you require the full status of the IO device including any pending errors you can also read the status directly from the IO device Extended maintenance concept PROFINET devices support the comprehensive diagnostics and maintenance concept described in the IEC 61158 6 10 standard The aim of the maintenance concept is the early detection and elimination of potential faults before they cause a production failure The PROFINET devices modules submodules can therefore also display information for preventive maintenance in addition to the status information OK and Faulty Maintenance information Maintenance information describes the urgency with which maintena
183. ists under the specified indexes Table 10 1 SSL sublists with 1 amp M data SSL ID Index Meaning WAGH W 16 Module identification 0111 an identification data record 0001 Identification of the module This contains the module s order number and the product version 0006 Identification of the basic software Provides information on the software version of the module The IM 151 8 PN DP CPU interface module has no basic software so in this case the identification data are the same as index 0001 0007 Identification of the basic firmware Provides information on the firmware version of the module Identification of a component 011C Identification of a component 0001 Name of the automation system The name of the automation system device name is saved to this parameter 0002 Name of the module The name of the module is saved to this parameter 0003 Higher level designation of the module This is a system wide unique identifier for the module 000B Location designation of a module This is the module s installation location For detailed information on the structure and content of the system state lists see the System and Standard Functions for S7 300 400 reference manual Additional information about reading the SSL with SFC 51 can be found in Reference Manual System and Standard Functions for S7 300 400 or in the Online Help for STEP 7 1 amp M data for the connected I O devi
184. itized startup supported Yes e Max number of IO devices for which a 32 prioritized startup can be carried out Changing IO devices during operation changing Yes partner ports supported e Max number of IO devices per docking unit 8 recommendation on account of max resources for simultaneous activation deactivation of IO devices Device replacement without removable medium Yes IRT supported Yes Isochronous mode No IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical data 11 2 IM 151 8 PN DP CPU interface module Technical specifications Activate deactivate PROFINET IO devices Yes e Max number of simultaneously IO devices that 8 can be activated deactivated Max user data consistency with PROFINET IO 254 bytes Send clock Configurable 250 us 500 us and 1 ms Update Time The minimum value is determined by the set communication portion for PROFINET IO the number of IO devices and the amount of configured user data e for send clock of 250 us 250 us to 128 ms e for send clock of 500 us 500 us to 256 ms e for send clock of 1 ms 1 ms to 512 ms S7 routing Yes Data record routing Yes to field devices on PROFIBUS DP S7 protocol functions e PG functions Yes e OP functions Yes 2nd interface X2 on DP master module Type of interface Integrated RS 485 interface on DP master module
185. ity 48 Set the language without SIMATIC Micro Memory Card Work memory 237 Index IM 151 8 PN DP CPU interface module 238 Operating Instructions 06 2008 A5E02049034 01
186. ity integrated CPU component with 128 KB working memory The interface module can only be used with the load memory inserted SIMATIC Micro Memory Card The interface module can be enhanced with up to 63 I O modules from the ET 200S range The maximum bus length is 2 m Connection to PROFINET via a PROFINET interface with integrated switch and 3 RJ45 ports The IP address for PROFINET is saved alongside the HW Config configuration on the SIMATIC Micro Memory Card Communication takes place via PROFINET in doing so both PROFINET IO up to 128 IO devices can be connected and PROFINET CBA are supported As a PROFINET IO controller the IM 151 8 PN DP CPU interface module also supports the real time communication via RT and IRT the prioritized start ups of PROFINET IO devices the device replacement without removable media PD and changing IO devices during operation changing partner ports Down times are minimized thanks to the integrated diagnostics It is possible to update the firmware via SIMATIC Micro Memory Card or online via the network An integrated web server for information status and diagnostics provides the respective data to any location The interface module has a mode selector with positions for RUN STOP and MRES There are 10 LEDs on the front of the interface module to indicate the following ET 200S faults SF bus faults on PROFINET BF PN available maintenance inf
187. k loads e g TCP IP communication or additional real time communication Local area network Interconnects computers within an enterprise The LAN therefore has a limited geographical span and is solely available to a company or institution The load memory contains objects generated by the programming device For the IM 151 8 PN DP CPU interface module it takes the form of a plug in SIMATIC Micro Memory Card with various memory sizes There must be a SIMATIC Micro Memory Card inserted in order to use the IM 151 8 PN DP CPU interface module Load power supply Local data MAC Address Master 216 Power supply for the load voltage for the power modules gt Data temporar Every PROFINET device is assigned a worldwide unique device identification before it leaves the factory This 6 Byte long device identification is the MAC address The MAC address is divided into e 3 Byte manufacturer identification e 3 Byte device identification consecutive number The MAC address is normally printed on the front of the device Example 08 00 06 6B 80 CO When a master is in possession of the token it can send data to other nodes and request data from other nodes active node The DP masters are for example the CPU 315 2 DP or the IM 151 8 PN DP CPU interface module with DP master module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Glossary Master gt Slave Micro Memory Card
188. le Table 3 5 OBs in PROFINET IO and PROFIBUS DP Blocks PROFINET IO PROFIBUS DP OB 83 New error information The removal and insertion of removal and insertion of modules during operation is modules during operation signaled by slaves added using a GSD file by means of a diagnostic interrupt in other words OB 82 In the case of S7 slaves a swapping interrupt causes a CPU stop to be reported and OB 86 to be called OB 86 New error information Unchanged CPU stop Detailed Information For detailed descriptions of the individual blocks refer to the System and Standard Functions for S7 300 400 manual 3 2 8 5 Open communication via Industrial Ethernet Requirement e STEP 7V5 4 Servicepack 4 or higher Functionality The IM 151 8 PN DP CPU interface module with integrated PROFINET interface supports open communication functionality via Industrial Ethernet abbreviated to open E communication The following services are available for open IE communication e Connection oriented protocols TCP to RFC 793 connection type B 16 01 TCP to RFC 793 connection type B 16 11 ISO on TCP to RFC 1006 e Connectionless protocols UDP according to RFC 768 IM 151 8 PN DP CPU interface module 42 Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Features of the communication protocols The following distinctions are made between protocol types in d
189. lic Interrupts Diagnostics Clock Protection Communication Web Parameters IV Enable Web server on this module o m Languages to be Loaded on the CPU m Automatic Update Select up to 2 languages IV Activate Update interval V German Germany IV English United States _ French Frarice F Spanish Traditional Sort F Italian Italy IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 51 Communication 3 3 Web server Activate the web server The web server is deactivated in HW Config by default You activate the web server in HW Config 1 Check the Activate web server on this module check box Set the language for web Select up to two languages for the Web from the languages installed for display devices 1 Select the required languages for the web Note If you activate the web server and do not select a language messages and diagnostic information will be displayed in hexadecimal code Activate the automatic update The following web pages can be updated automatically Start page PROFINET Variable status Variable table Activate the check box Activate under Automatic update Specify the updating interval in the value range from 1 s to 999 s Note Update time The activation interval set in the HW Config represents the shortest update time Greater quantities of data or more than one FTP connection will i
190. lot 2 of slave In the DP slave e g CPU 31x 2 DP Diagnostics addresses Example Slave diagnostics address 422 Master diagnostics address irrelevant The IM 151 8 PN DP CPU interface module calls OB 82 with the following information e OB82_MDL_ADDR 1021 e OB82_EV_CLASS B 16 39 incoming event e OB82_MDL_DEFECT module fault Tip This information is also available in the diagnostics buffer of the IM 151 8 PN DP CPU interface module In the user program you should also include SFC 13 DPNRM_DG for reading DP slave diagnostic data CPU RUN gt STOP The CPU generates a DP slave diagnostic message frame IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical data 1 1 11 1 General technical data Reference The IM 151 8 PN DP CPU interface module conforms to the standards and test values that apply to the ET 200S distributed I O device Detailed information on the general technical specifications can be found in the E7 200S Distributed O Device Operating Instructions 11 2 IM 151 8 PN DP CPU interface module 11 2 1 IM 151 8 PN DP CPU with DP master module block diagram The following figure shows the block diagram for the IM 151 8 PN DP CPU interface module with the optional DP master module 5 PROFIBUS DP master RS 485 lt A i ZS Electrical isolation DP master module STOP RUN F FS ma
191. lso be configured as a time client by the PROFINET interface As the time slave the IM 151 8 PN DP CPU interface module receives synchronization message frames from a different time master and accepts this time as its own internal time In addition to time synchronization at the DP interface of the DP master module there is also time synchronization at the PROFINET interface The IM 151 8 PN DP CPU interface module can be the time slave on only one of these interfaces At the PN interface it can only act as a time client functionality is the same as that of a time slave at the DP interface Example The IM 151 8 PN DP CPU interface module is time synchronized by a time server over NTP via the PN interface The IM 151 8 PN DP CPU interface module can then only be used as a time master at the DP interface Devices capable of PROFIBUS DP communication Reference 26 e Programming device PC e OP TP e DP slaves e Actuators Sensors e 7 300 S7 400 with PROFIBUS DP interface Additional information on PROFIBUS http www profibus com IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services 3 2 1 Overview of communication services Selecting the communication service You need to decide on a communication service based on functionality requirements Your choice of communication service will have no effect on e The functionality available 3 2 Co
192. m a communication partner as does STOP mode To reestablish the connection to have to call FB65 TCON again Use with UDP Both communication partners call FB 65 TCON to set up their local communication access point This establishes a connection between the user program and operating system s communication level No connection is established to the remote partner The local access point is used to send and receive UDP message frames IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 2 Communication services Disconnecting e Use with TCP and ISO on TCP FB 66 TDISCON disconnects the communication connection between the IM 151 8 PN DP CPU interface module and a communication partner e Use with UDP FB 66 TDISCON disconnects the local communication access point i e the connection between the user program and the communication layer of the operating system is interrupted Options for interrupting the communication connection Events causing interruptions of communication e You program the cancellation of connections at FB 66 TDISCON e The IM 151 8 PN DP CPU interface module changes from RUN to STOP e With POWER OFF POWER ON Reference For detailed information on the blocks described earlier refer to the STEP 7 Online Help 3 2 8 6 SNMP communication service Availability The SNMP communication service is available for the IM 151 8 PN DP CPU interface module
193. maximum of delete write operations IM 151 8 PN DP CPU interface module 84 Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 2 Memory functions 4 2 6 Measured value log files Introduction Measured values are generated when the IM 151 8 PN DP CPU interface module executes the user program These measured values are to be logged and analyzed Processing sequence Acquisition of measured values e The IM 151 8 PN DP CPU interface module writes all measured values to a DB for alternating backup mode in several DBs which is located in the work memory Measured value logging e Before the data volume can exceed work memory capacity you should call SFC 84 WRIT_DBL in the user program to swap measured values from the DB to load memory The figure below shows how to handle measured value log files Load memory SIMATIC Micro Memory Card Work memory Measured value 1 ee SFC 82 CREA_DBL eee IM151 8 PN DP CPU Current Measured values Measured value 2 lt q SFC 84 WRIT_DBL Measured value n e You can call SFC 82 CREA_DBL in the user program to generate new additional static DBs in load memory which do not require RAM space IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 85 Memory concept 4 2 Memory functions Reference For additional information on the block SFC 82 can be found in the System
194. mented with PROFINET CBA Component based Automation Installation engineering and network components are available in SIMATIC NET Established IT standards from the Office environment e g SNMP Simple Network Management Protocol for network parameter assignment and diagnosis are used for remote maintenance and network diagnostics Documentation from PROFIBUS International on the Internet At the website of PROFIBUS International previously PROFIB you will find numerous documents on the topic of PROFINET er Organization PNO http www profinet com For more information go to http www siemens com profinet IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 35 Communication 3 2 Communication services 3 2 8 2 PROFINET IO and PROFINET CBA What is PROFINET 10 Within the framework of PROFINET PROFINET IO is a communication concept for the implementation of modular distributed applications PROFINET IO allows you to create automation solutions which are familiar to you from PROFIBUS This means that you have the same application view in STEP 7 regardless of whether you are configuring PROFINET or PROFIBUS devices What is PROFINET CBA Component Based Automation Within the framework of PROFINET PROFINET CBA is an automation concept for the implementation of applications with distributed intelligence PROFINET CBA lets you create distributed automation solutions
195. mmunication services e Whether an S7 connection is required or not e The time of connecting The user interface can vary considerably SFC SFB and is also determined by the hardware used IM 151 8 PN DP CPU PC Overview of communication services The table below provides an overview of the communication services provided by the IM 151 8 PN DP CPU interface module Table 3 1 Communication services of the IM 151 8 PN DP CPU interface module Communication service Functionality Time at which the S7 connection is via PN via DP established optional Programming device Commissioning test From the programming device X X communication diagnostics starting when the service is used OP communication Control and monitoring From the OP at Power ON X X S7 communication Data exchange in server and from the active partner at power on X Only in client mode Configuration of server communication required mode Global data communication Cyclic data exchange for Does not require an S7 connection example bit memory Routing programming for example testing From the programming device X X device functions diagnostics on other networks starting when the service is used also Data set routing e g configuration and from the PD starting when the X X diagnostics of field devices on PROFIBUS DP if the PD with the associated configuration tool e g PDM is not connection to the same PROFIBUS DP subnet
196. more likely it is that cyclic interrupt errors will occur You must take into account the operating system times of the IM 151 8 PN DP CPU interface module the user program runtime and extension of the cycle time by active programming device functions for example A detailed description of the OBs and on SFCs required for their evaluation can be found in the STEP 7 Online Help and in the S7 300 400 System and Standard Functions reference manual IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting Table 10 5 10 4 Diagnostics using status and error LEDs Evaluating the SF LED in case of hardware errors Evaluating the SF LED hardware error Possible error A centralized I O module was removed or inserted while the system was in RUN mode Response of the IM 151 8 PN DP CPU interface module Call of OB 83 The IM 151 8 PN DP CPU interface module STOPs if OB 83 is not loaded If more than one module is removed the IM 151 8 PN DP CPU interface module always switches to STOP Possible Remedies Load OB 83 A distributed module was removed or inserted on PROFINET IO while the system was in RUN Call of OB 83 The IM 151 8 PN DP CPU interface module STOPs if OB 83 is not loaded OB 86 is also called when one or more modules of an ET 200S lO device are removed or inserted while the system is in RUN The IM 151
197. mple CPU programs sources or blocks which is uniquely assigned to the IM 151 8 PN DP CPU interface module from the project window in SIMATIC Manager Select the Target system gt Save project to memory card or Target system gt Retrieve project from memory card menu command All the complete project data is then written to retrieved from the SIMATIC Micro Memory Card e If project data are not available on the currently used programming device PG PC you can select the source CPU via Available nodes window Select PLC gt Show available nodes to open the Available nodes window Then select the connection IM 151 8 PN DP CPU that contains your project data on the SIMATIC Micro Memory Card Now select menu command Fetch project from Memory Card e Ifthe SIMATIC MMC is located in the MMC programming unit of a PD or PC open the S7 memory card window using the File gt S7 Memory Card gt Open command Select the Target system gt Save project to memory card or Target system gt Retrieve project from memory card menu command to open a dialog in which you can select the source or target project IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 139 Service and maintenance 8 5 Replacing the IM 151 8 PN DP CPU interface module Note Project data can generate high data traffic Especially in RUN mode with read write access to the IM 151 8 PN DP CPU interface module this can lead to waiti
198. n As the time client the IM 151 8 PN DP CPU receives synchronization message frames from a time NTP server e g SICLOCK TS and accepts this time as its own internal time In addition to time synchronization at the PROFINET interface there is also time synchronization at the DP interface of the DP master module The IM 151 8 PN DP CPU interface module can be the time slave on only one of these interfaces At the PN interface there is only the functionality as a time client functionality is the same as that of a time slave at the DP interface Example The IM 151 8 PN DP CPU interface module is synchronized by a time server over NTP via the PN interface corresponding to the functionality as a time slave The IM 151 8 PN DP CPU interface module can then only be used as a time master at the DP interface IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 21 Communication 3 7 Interfaces Devices capable of PROFINET PN communication e PROFINET IO devices for example interface module IM 151 3 PN in an ET 200S e 57 300 S7 400 with PROFINET interface for example CPU 317 2 PN DP or CP 343 1 e Active network components a switch for example e E PB link e Programming device PC with network card Properties of the PROFINET interface 22 Properties IEEE standard 802 3 Connector design e Ports 1 to3 RJ45 Transmission speed Up to 100 Mbps Media
199. n One connection resource each is automatically reserved on the IM151 8 PN DP CPU interface module for programming device and OP communication Whenever you need more connection resources for example when connecting several OPs configure this increase in the IM151 8 PN DP CPU interface module properties dialog box in STEP 7 Connections must also be configured using NetPro for the use of S7 communication For this purpose connection resources have to be available which are not allocated to programming device OP or other connections The required S7 connections are then permanently allocated for S7 communication when the configuration is uploaded to the IM151 8 PN DP CPU interface module Assigning connections in the program In open Industrial Ethernet communication with TCP IP the user program establishes the connection In doing so the operating system of the IM151 8 PN DP CPU interface module initiates the connection The open IE communication does not use any S7 connections The maximum number of eight connections also applies to this type of communication Using connections for commissioning testing and diagnostics An active online function on the engineering station programming device PC with STEP 7 assigns S7 connections for programming device communication e An S7 connection resource for programming device communication which was reserved in your IM151 8 PN DP CPU interface module hardware configuration is assigned to the
200. n a fault occurs during operation The repeater acts as a slave and is able to determine the topology of a DP segment and log faults on the basis of this topology You can use SFC103 DP_TOPOL to trigger the identification of the bus topology of a DP master system by the diagnostic repeater SFC 103 is described in the STEP 7 online help and in the System and Standard Functions for S7 aU reference manual The diagnostic repeater is described in the Diagno The manuals can be found under http support automation siemens com WWiview de and the relevant entry ID 1214574 and 7915183 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions 10 3 3 Diagnostic functions available in STEP 7 Diagnosing with the Diagnosing hardware function Locate the cause of a module error by viewing the online information on the module You can locate the cause of an error in the user program cycle with the help of the diagnostics buffer and of the stack content In addition to this you can check whether a user program is capable of running on the IM 151 8 PN DP CPU interface module Hardware diagnostics give you an overview of the PLC status In an overview representation a symbol can display the error status of every module A double click on the faulty module opens detailed error information The scope of this information depends on the
201. n for modifying is set to once the menu items Variable gt Update Status Values or Variable gt Modify have the same effect namely a single assignment e If trigger conditions are set to permanent the said menu items have different effects as described above e If monitoring and modifying is set to the same trigger point monitoring is executed first e f Process mode is set under Debug gt Mode values are not cyclically updated when permanent modifying is set To correct or avoid error Use the Force test function IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 119 Commissioning 7 4 Commissioning the modules Saving opening the variable table Saving the VAT 1 After aborting or completing a test phase you can save the variable table to memory The name of a variable table starts with the letters VAT followed by a number from 0 to 65535 e g VAT5 Opening VAT 1 Select the menu item Table gt Open 2 Select the project name in the Open dialog 3 In the project window below select the relevant program and mark the Blocks container 4 Inthe block window select the desired table 5 Confirm with OK Creating a connection to the IM 151 8 PN DP CPU interface module The variables of a VAT represent dynamic quantities of a user program To monitor or modify variables you will need to establish a connection with the relevant IM 151 8 PN DP CPU interface module Every variable
202. n the electronics and supply voltage No Maximum potential difference 75 VDC 60 VAC Status interrupts diagnostics Bus monitoring PROFINET Interrupts Yes Diagnostics function Yes Group errors Red SF LED Red BF PN LED Maintenance information Yellow MT LED Monitoring of the supply voltage for the electronic components 1L Green LED ON Existing connection to PROFINET Green LED P1 LINK P2 LINK and P3 LINK 11 3 DP master module 11 3 1 Technical specifications DP master module Table 11 2 Technical specifications of the DP master module Removal Technical specifications DP master module e Position At the right alongside IM 151 8 PN DP CPU e Number for each IM 151 8 PN DP CPU 1 Dimensions Mounting dimensions W x H x D mm 35 x 119 5 x 75 Weight approx 100 g Status interrupts diagnostics PROFIBUS DP bus monitoring Red BF LED IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 183 Technical data 11 3 DP master module IM 151 8 PN DP CPU interface module 184 Operating Instructions 06 2008 A5E02049034 01 Appendix A 1 Order numbers A 1 1 Module order numbers IM 151 8 PN DP CPU interface module Table A 1 IM 151 8 PN DP CPU order numbers Designation Order number IM 151 8 PN DP CPU interface module with terminating module
203. nce is needed The concept distinguishes between two levels of maintenance information e Maintenance required identified by a green wrench in STEP 7 Maintenance is recommended This can for example arise if the attenuation on a fiber optic cable is too high Although operation is still possible the transmission link may fail completely in the near future e Maintenance requested identified by a yellow wrench in STEP 7 Maintenance alarm This can for example arise if the sync master in a sync domain for the IRT operation has failed The times at which maintenance information is generated are defined individually for each wear parameter e g attenuation on a fiber optic cable Information on Diagnostics in PROFINET IO For additional information refer to the STEP 7 Online Help the From PROFIBUS DP to PROFINET O programming manual and the PROFINET System Description The system status lists and data records for PROFINET diagnostics are described in the programming manual IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 169 Debugging functions diagnostics and troubleshooting 10 6 Diagnostics on the PROFIBUS DP 10 6 Diagnostics on the PROFIBUS DP 10 6 1 Diagnostics of the IM 151 8 PN DP CPU interface module as a DP master Evaluate diagnostics in the user program The figure below illustrates the procedure for evaluating diagnostics data in the user program
204. ncrease the update time Display classes of the messages All display classes of the messages are activated in the HW Config factory setting The selected display classes will be displayed later on the Messages web page You must first configure the message classes in the HW Config under Options gt Report system errors Information on configuring message texts is available in STEP 7 Note Reducing the memory requirement of web SDBs You can reduce the memory requirement of web SDBs by selecting just the message display classes that are to be filled in the web SDB 52 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server 3 3 3 Updating Screen content refresh status and printing Screen content Automatic updating is deactivated in HW Config by default This means that the web server screen display contains static information You manually update the web pages in each case via the 2 symbol or by pressing lt F5 gt Printing Any print outs will always show the current information for the IM151 8 PN DP CPU interface module It is therefore possible that the information output to the printer may be more current than the screen contents You print web pages via the symbol Filter settings have no effect on the print out The print out always shows the entire contents of the message buffer Disabling automatic update for an individual web page T
205. nd hold it there until the STOP LED lights up and remains on after approx 9 seconds 2 Within the next three seconds release the switch and toggle it once again to MRES position The STOP LED flashes to indicate that formatting is in progress Note Always perform this sequence of operation within the specified time Otherwise the SIMATIC Micro Memory Card will not be formatted but rather returns to memory reset status See also Reset the IM 151 8 PN DP CPU interface module using the mode selector switch Page 109 7 4 5 Resetting to the as delivered state Setting the IM 151 8 PN DP CPU interface module back to factory settings In the factory settings the properties of the IM 151 8 PN DP CPU interface module are set to the following values Table 7 6 Properties of the IM 151 8 PN DP CPU interface module factory settings Properties Value Retentive memory bits timers counters All retentive memory bits timers and counters are cleared Set retentive area for memory bits timers and Default setting counters 16 memory bytes no timers 8 counters Contents of the diagnostics buffer cleared Operating hours counter 0 Time of day 1 1 1994 00 00 00 IP address None IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 113 Commissioning 7 4 Commissioning the modules Procedure Proceed as follows to reset a IM 151 8 PN DP CPU interface module to the
206. net mask All the devices connected by switches are located in the same network called a subnet All the devices in a subnet can communicate directly with each other All devices in the same subnet have the same subnet mask A subnet is physically restricted by a router gt Direct data exchange The subscriber is a recipient in the direct data exchange IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Glossary Substitute Substitute value Switch SYNC Pros Substitute values are configurable values which output modules transfer to the process when the CPU switches to STOP mode In the event of an I O access error a substitute value can be written to the accumulator instead of the input value which could not be read SFC 44 PROFIBUS is based on a line topology Communication nodes are interconnected by means of a passive cable known as the bus By contrast Industrial Ethernet is made up of point to point connections Each communication node is interconnected directly with one other communication node A node is interconnected with several other communication nodes via the port of an active network component switch Other communications nodes including switches can then be connected to the other ports of the switch The connection between a communication node and the switch remains a point to point connection The task of a switch is thus to regenerate and distribute
207. network configuration of the project Reason All modules participating in the network transition must receive the routing information defining the paths to other subnets e In your network configuration the programming device PC you want to use to establish a connection via network node must be assigned to the network it is physically connected to Additional information e About configuring with STEP 7 can be found in the Configuring Hardware and Connections in STEP 7 manual e On communication are found in the Communication with SIMATIC Manual e On SFCs refer to the S7 300 Instruction List A detailed description is given in the STEP 7 Online Help or System and Standard Functions for S7 300 400 Reference Manual 3 2 6 Data set routing Availability The IM 151 8 PN DP CPU interface module supports data set routing if a DP master module is connected to it Routing and data set routing 32 Routing is the transfer of data beyond network boundaries You can send information from a transmitter to a receiver across several networks Data record routing is an expansion of the standard routing and is used for example by SIMATIC PDM The data sent through data set routing includes the parameters for the participating field devices slaves as well as device specific information e g setpoint values limit values etc The structure of the target address for data record routing depends on the data contents i e the slave to whi
208. ng periods of several minutes Sample application When you assign more than one member of your service and maintenance department to perform maintenance tasks on a SIMATIC PLC it may prove difficult to provide quick access to current configuration data to each staff member However IM 151 8 PN DP CPU interface module configuration data available locally on any IM 151 8 PN DP CPU that is to be serviced can be accessed by any member of the service department They can edit this data and then release the updated version to all other personnel 8 5 Replacing the IM 151 8 PN DP CPU interface module Introduction You can replace the IM 151 8 PN DP CPU interface module if it is faulty Requirements To replace the IM 151 8 PN DP CPU interface module you must switch off the supply voltage on the faulty IM 151 8 PN DP CPU interface module Result Failure of the ET 200S station and all components connected to it DP slaves IO devices CAUTION PROFINET IO If you switch off the supply voltage at an ET 2008S the integrated switch will also fail This will interrupt communication with all connected peers e g IO devices or other PROFINET devices that communicate with one another via this switch NOTICE PROFIBUS DP The bus terminator function may fail if you shut down supply voltage at the first or last ET 200S of a bus segment Required tools Screwdriver with 3 mm blade IM 151 8 PN DP CPU interfac
209. nowledge base on the Internet ttp www siemens com automation service amp support There you will find Our Newsletter which constantly provides you with the latest information about your products The right documentation for you using our Service amp Support search engine The bulletin board a worldwide knowledge exchange for users and experts Your local contact for Automation amp Drives in our contact database Information about on site services repairs spare parts Lots more can be found on our Services pages IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 5 Preface IM 151 8 PN DP CPU interface module 6 Operating Instructions 06 2008 A5E02049034 01 Table of contents PRCT ACS P E deat cea gvastetacteeasdesaensabsnra scp iavaateausscaaessuatesayeveusa T 1 PSS CFUDTON coco e sees cessed ca cect 00s A oe tended eu ca E EE E E N EEA 1 1 Function of the IM 151 8 PN DP CPU interface module 000 eee ee eeeeeeette eect eeeeeeeeeeeeteaeeeeeenaes 1 2 Properties of the IM 151 8 PN DP CPU interface MOdUIe 0 ce ecceeeeneeeeeeeeeeeeeeneeeeeetaeeeeeenaes 1 3 Properties of the DP master MOdUIE ccccceeeceeeeeeeeeceeeeeeeeceaeaeceeeeseceaaaeeeeeeeeseceaeaeeeeeeeeeeeees 1 4 Example ConniguratiOns isisccsiiiccvelersestaiteae A a SRE vata aad easement deeded 2 Operating and display element cccsccssccsssessereseseseseeeseesseesscesseesecesesseeeesse
210. nsfer the program again then set the IM 151 8 PN DP CPU interface module to RUN mode IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 165 Debugging functions diagnostics and troubleshooting 10 4 Diagnostics using status and error LEDs Reference A detailed description of the OBs and on SFCs required for their evaluation can be found in the STEP 7 Online Help and in the S7 300 400 System and Standard Functions reference manual 10 4 5 Status and error displays for the PN interface Status and Error Indicators PROFINET devices Table 10 6 LED displays for PROFINET LED LED status Description of the status P1 LINK Lit There is an Ethernet connection between the allocated port of the PROFINET interface of P2 LINK your PROFINET device and a communication peer on the Ethernet a switch for P3 LINK example Flashes The user has activated flashing from STEP 7 Does not light up There is no Ethernet connection between the allocated port of the PROFINET interface of your PROFINET device and a communication peer on the Ethernet BF PN lit Error at the PROFINET interface communication is no longer possible To correct or avoid error See the table below Flashes Error at the PROFINET interface for example due to CPU stop in one or more IO devices To correct or avoid error See the table below Does not light up No error at the PROFINET interface
211. nstructions 06 2008 A5E02049034 01 Glossary Topology Twisted Pair Update Time User program User program User program Voltage group WAN Structure of a network Common structures include e Bus topology e Ring topology e Star topology e Tree topology Fast Ethernet via twisted pair cables is based on the IEEE 802 3u standard 100 Base TX Transmission medium is a shielded 2x2 twisted pair cable with an impedance of 100 Ohm AWG 22 The transmission characteristics of this cable must meet the requirements of category 5 The maximum length of the connection between end device and network component must not exceed 100 m The ports are implemented according to the 100 Base TX standard with the RJ 45 connector system Within this time interval an IO device IO controller in the PROFINET IO system is supplied with new data by the IO controller IO device The update time can be configured separately for each IO device and determines the interval at which data is sent from the IO controller to the IO device outputs as well as data from the IO device to the IO controller inputs In SIMATIC a distinction is made between the operating system of the CPU and user programs The user program contains all instructions declarations and data for signal processing required to control a plant or a process It is assigned to a programmable module for example CPU and can be structured in smaller units blocks gt Oper
212. nt I O module Replace the affected I O module or eliminate the program error The cycle time was exceeded Probably too many interrupt OBs called simultaneously Call of OB 80 The IM 151 8 PN DP CPU interface module STOPs if OB 80 is not loaded The IM 151 8 PN DP CPU interface module switches to STOP even though OB 80 is loaded if twice the cycle time was exceeded without the cycle time being triggered again Extending the cycle time STEP 7 Hardware configuration changing the program structure To correct or avoid error If necessary retrigger cycle time monitoring by calling SFC 43 Programming error e Block not loaded e Wrong block number e Wrong timer counter number e Read write access to wrong area e etc Call of OB 121 The IM 151 8 PN DP CPU interface module STOPs if OB 121 is not loaded Eliminate the programming error The STEP 7testing function helps you to locate the error I O access errors An error has occurred when I O module data was accessed Call of OB 122 The IM 151 8 PN DP CPU interface module STOPs if OB 122 is not loaded Check the I O module addressing in HW Config and identify whether a I O module DP slave has failed Tip e You can use SFC 39 to disable all interrupts and asynchronous error events e You can set the times in the cyclic interrupt OB 35 starting from 1 ms Note The shorter the selected cyclic interrupt period the
213. nt recycling and disposal of your electronic waste please contact a company certified for the disposal of electronic waste If you have any questions relating to the products described in these operating instructions and do not find the answers in this document please contact your Siemens partner at our local offices ttp Awww siemens com automation partner The portal to our technical documentation for the various SIMATIC products and systems is available at ttp Awww siemens com automation simatic portal The online catalog and ordering system are available at ttp Awww siemens com automation mall We offer courses to help you get started with the ET 200S and the SIMATIC S7 automation system Please contact your regional training center or the central training center in D 90327 Nuremberg Germany Phone 49 911 895 3200 ttp Awww siemens com sitrain IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Preface Technical Support You can reach technical support for all A amp D projects J ing Ne JODO reque NeD torm ttp www siemens com automation support request e Phone 49 180 5050 222 e Fax 49 180 5050 223 For additional information about our technical support refer to the Internet at ttp Awww siemens com automation service Service amp Support on the Internet In addition to our documentation services you can also make use of our comprehensive online k
214. o a PROFIBUS subnet In your configuration you can specify to disable bus parameter broadcasting IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 25 Communication 3 7 Interfaces Time synchronization using PROFIBUS Time synchronization is possible via the DP interface on the DP master module of the IM 151 8 PN DP CPU interface module The IM 151 8 PN DP CPU may act as the time master with suitably programmed synchronization interval or time slave This is set in HW Config The default setting is no time synchronization As the time master the IM 151 8 PN DP CPU interface module sends synchronization message frames to the DP interface at the configured synchronization interval in order to synchronize other stations on the connected PROFIBUS DP subnet If the IM151 8 PN DP CPU interface module is configured on the DP interface as time master then there will be no time synchronization of the connection time slaves as the clock of the IM 151 8 PN DP CPU interface module is still set to default Note that the clock of the IM151 8 PN DP CPU interface module is not yet set when it ships after a reset to factory setting by means of the mode selector switch or after a firmware update As soon as the time of day is set the first time the time synchronization starts as the time master by means of e PD function e SFC call or e adifferent time master if the IM 151 8 PN DP CPU interface module has a
215. o temporarily disable the automatic update for a web page select the FJ Off symbol You can switch the automatic update back on again via the Ein symbol or by pressing lt F5 gt IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 53 Communication 3 3 Web server 3 3 4 Web pages 3 3 4 1 Start page with general CPU information Establishing a connection to the web server Connect to the web server by entering the IP address of the configured IM151 8 PN DP CPU interface module on the web browser s address bar e g http 192 168 1 158 The connection is established and the Intro page opens Intro The web server calls the following page upon start up SIEMENS mall simatic controlle Figure 3 4 Intro Click on the ENTER link to access the web server pages Note Skip website intro Check the Skip Intro check box to skip the intro You will then access the web server s start page directly in future You can reverse the Skip intro setting by clicking on the Intro link on the start page IM 151 8 PN DP CPU interface module 54 Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server Start page The start page contains information as shown below 00 19 22 am 11 04 2008 SIMATIC IM151 8 PNIDP CPU CONTROLLER Bot w SIEMENS General Station name SIMATIC 300 1 Module name IM151 8 PN DP CPU Module type IM151 8 CPU S
216. oad user program onto memory card does not delete the retentive areas e if the IM 151 8 PN DP CPU interface module requests a memory reset with its STOP LED flashing at 0 5 Hz intervals Possible reasons for this request are listed in the table below Table 7 3 module Possible causes for a request to memory reset by the IM 151 8 PN DP CPU interface Causes for a request to memory reset by the IM 151 8 PN DP CPU interface module The SIMATIC Micro Memory Card has been replaced Special features RAM error in the IM 151 8 PN DP CPU interface module Work memory is too small i e not all the blocks of the user program on a SIMATIC Micro Memory Card can be loaded Attempts to load faulty blocks if a wrong instruction was programmed for example IM 151 8 PN DP CPU interface module with SIMATIC Micro Memory Card inserted This causes continuous requests for a memory reset This may be prevented by formatting the SIMATIC Micro Memory Card see Formatting the SIMATIC Micro Memory Card For additional information on the way the SIMATIC Micro Memory Card responds to a memory reset see Memory reset and restart How to reset memory There are two ways to reset the IM 151 8 PN DP CPU interface module memory Memory reset using the mode selector switch ls described in this section Memory reset using the programming device is only possible when IM 151 8 PN DP CPU interface module
217. odule automatically detects the SIMATIC Micro Memory Card with the firmware update and runs the update e All LEDs are lit during firmware update e The STOP LED flashes when the backup is complete to indicate that the IM 151 8 PN DP CPU interface module requires a memory reset 5 Switch off the IM 151 8 PN DP CPU power and insert a SIMATIC Micro Memory Card containing the firmware update Result You have updated your IM 151 8 PN DP CPU interface module online with a new firmware version IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 137 Service and maintenance 8 3 Updating the firmware 8 3 3 Updating the firmware online via networks To update the IM 151 8 PN DP CPU interface module firmware you require the UPD files containing the latest FW version Requirements The firmware can be updated online in STEP 7V5 4 SP 4 or later The interface module of the station pending a firmware update must be accessible online The files containing the current firmware versions must be available in the file system of your programming device or PC A folder may contain only the files of one firmware version Performing a firmware update 1 Run STEP 7 and change to HW Config 2 Open the station with the IM 151 8 PN DP CPU interface module that is to be updated 3 Select the IM 151 8 PN DP CPU interface module 4 5 In the Update Firmware d
218. ols such as industrial communication for programming device PC Real Time gt Real Time Reference ground Ground Reference potential Reference potential for the evaluation measuring of the voltages of participating circuits Restart When the IM 151 8 PN DP CPU interface module starts up for example after changing the mode selector switch from STOP to RUN or after a POWER ON organization block OB 100 warm restart is executed before cyclic program processing OB 1 On restart the input process image is read in and the STEP user program is executed starting at the first instruction in OB1 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 225 Glossary Retentive memory A memory area is considered retentive if its contents are retained even after a power loss and transitions from STOP to RUN The non retentive area of bit memory timers and counters is reset following a power failure and a transition from the STOP mode to the RUN mode Retentive can be the e Bit memory e S7 timers e S7 counters e Data areas Router gt Default route Router Router A router connects two subnetworks with each other A router works in a way similar to a switch With a router however it is also possible to specify which communications nodes can communicate via the router and which cannot Communication nodes on different sides of a router can only communicate with each other if
219. on Bus length KJ Reference junction E Activated Slot E Channel number Figure 9 1 Example for a parameterization dialog box of the IM 151 8 PN DP CPU module parameters in STEP 7 Reference You can find detailed information on the procedure the connection system and an example of configuration in the section entitled Analog Electronic Modules in the ET 200S Distributed VO System Manual IM 151 8 PN DP CPU interface module 146 Operating Instructions 06 2008 A5E02049034 01 Functions 9 2 Removal and insertion of modules during operation 9 2 Removal and insertion of modules during operation 9 2 1 Overview The ET 200S with IM 151 8 PN DP CPU supports the removal and insertion of in each case one module of the ET 200S I O system during operation and in an energized state Exceptions The IM 151 8 PN DP CPU interface module itself must not be removed during operation and in an energized state Removal and insertion of modules in an energized state and during operation When removing and inserting modules in an energized state and during operation refer both to the specifications given here and the restrictions in the ET 200S Distributed I O System Operating Instructions section Wiring and equipping A WARNING When an output module is inserted the outputs set by the user program become active immediately We therefore advise you to se
220. on Yes S7 basic communication Yes I blocks only e User data per job Max 76 bytes Consistent data 76 bytes S7 communication Yes e As server Yes e As client Yes via integrated PN interface and loadable FBs e User data per job Consistent data See the STEP 7 Online Help Common parameters of SFBs FBs and SFCs FCs for S7 communication Number of connections 12 can be used for e Programming device communication Max 11 Reserved default 1 Configurable 1to11 e OP communication Max 11 Reserved default 4 Configurable 1to 11 e S7 basic communication Max 10 Reserved default 0 Configurable 0 to 10 S7 routing Yes with DP master module e Connections Max 4 Data set routing Yes with DP master module CBA Reference setting for CPU communication 50 Number of remote interconnecting partners 32 Number of master slave functions 30 Total of all master slave connections 1000 Data length of all incoming 4000 bytes master slave connections max Data length of all outgoing 4000 bytes master slave connections max Number of device internal and PROFIBUS 500 interconnections Data length of the device internal and PROFIBUS 4000 bytes interconnections max Data length per connection max 1400 bytes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical dat
221. onding diagnostics buffer entry event ID 3842p e The power module is entered as present and o k in the system status list Switching on the load power supply has the following effects on modules supplied by the power module e The SF LED on the modules goes out e The modules regain their full functionality Removal and insertion of power modules during operation If during operation you remove or insert a power module the activities listed in section Removing and inserting modules during operation take place Removal and insertion has the same effects as switching the load power supply off and on for the modules that are supplied by the power module IM 151 8 PN DP CPU interface module 150 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and 4 0 troubleshooting 10 1 Overview This chapter helps you to get acquainted with tools you can use to carry out the following tasks e Hardware software error diagnostics e Elimination of hardware software errors e Testing the hardware software for example during commissioning Note It would go beyond the scope of this manual to provide detailed descriptions of all the tools you can use for diagnostics testing and troubleshooting functions Further notes are found in the relevant hardware software manuals 10 2 Identification and maintenance data of the IM 151 8 PN DP CPU interface module Definition and properties Identifi
222. online block container When loading the SDB container the IP address assigned by STEP 7in the HW Config are also transferred by the IM 151 8 PN DP CPU interface module Remarks Information can be found in the Programming with STEP 7 Manual Debugging the I Os Helpful functions are here e Monitoring and modifying variables e Testing with program status e Forcing e Controlling the outputs in STOP mode PO enable Tip Test the signals at the inputs and e inthe Programming with STEP 7 Manual e inthe A am error and system messages section outputs Commissioning PROFINET IO e inthe Commissioning PROFINET O section e inthe System Description PROFINET Commissioning PROFIBUS DP in the Commissioning PROFIBUS DP section Connect the outputs Commissioning the outputs successively 104 7 DANGER Proceed step by step Do not go to the next step unless you have completed the previous one without error error message IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 3 Commissioning check list Reaction to errors React to errors as follows e Check the system with the help of the check list in the chapter below e Check the LED displays on all modules The meaning is described in the ET 200S Distributed I O Device Operating Instructions e If required remove individual components to trace the error Refe
223. onsistency with the hardware and software described Since variance cannot be precluded entirely we cannot guarantee full consistency However the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions Siemens AG A5E02049034 01 Copyright Siemens AG 2008 Industry Sector 07 2008 Technical data subject to change Postfach 48 48 90327 N RNBERG GERMANY Preface Purpose of the operating instructions These operating instructions are intended to supplement the ET 2008 Distributed I O System Operating Instructions It contains a description of all the functions performed by the IM 151 8 PN DP CPU interface module The operating instructions do not include functions that relate generally to ET 200S These can be found in the ET 200S Distributed VO System Operating Instructions The information contained in these operating instructions and the ET 200S Distributed yO System Operating Instructions allows you to commission ET 200S with the IM 151 8 PN DP CPU interface module and to run it as an IO controller on the PROFINET You will also find information on how the IM 151 8 PN DP CPU interface module can be operated together with the DP master module on the PROFIBUS DP Basic knowledge required To understand these operating instructions you should have general experience in the field of automation engineering Range of validity of these operating instructions These Ope
224. ormation MT Supply voltage for electronic components ON Force requests FRCE operating mode of the IM 151 8 PN DP CPU interface module RUN and STOP Connection status at ports 1 and 3 of the PROFINET interface P1 LINK P2 LINK P3 LINK The IM 151 8 PN DP CPU interface module can be expanded by one DP master module This also lends it the functionality of a DP master IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Description 1 2 Properties of the IM 151 8 PN DP CPU interface module Integration of the IM 151 8 PN DP CPU interface module in ET 200S The IM 151 8 PN DP CPU interface module is integrated in ET 200S just like any other module i e same configuration concept installation and expansion capability Information on this can be found in the ET 2008S distributed I O system Operating Instructions How do configure and program the ET 200S with IM 151 8 PN DP CPU To configure an ET 200S with IM 151 8 PN DP CPU configuration and parameter assignment and to program the IM 151 8 PN DP CPU interface module you will need the STEP 7 project design software V5 4 ServicePack 4 or later The procedure for configuring the ET 200S with IM 151 8 PN DP CPU is described in the Commissioning section of these Operating Instructions In the S7 300 Instruction List you will find the STEP fee set for programming the M 151 8 PN DP CPU interface module fi ttp www
225. ormation in the individual network nodes and stores it in a structured form in the MIB Management Information Base This information allows a network management system to run detailed network diagnostics IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 159 Debugging functions diagnostics and troubleshooting 10 3 Debugging functions Detecting the network topology LLDP Link Layer Discovery Protocol is a protocol that is used to detect the closest neighbors It enables a device to send information about itself and to save information received from neighboring devices in the LLDP MIB This information can be looked up via the SNMP This information allows a network management system to determine the network topology Integration in STEP 7 Configuration of the OPC server is integrated into STEP 7HW Config Stations that have already been configured in the STEP 7 project can be transferred directly As an alternative to STEP 7 the configuration can also be run with the NCM PC included on the SIMATIC NET CD or can be determined automatically and transferred to the project configuration No STEP 7 connection is needed for network management with the SNMP protocol Use of SNMP in the SIMATIC NET environment SNMP compliant devices from the SIMATIC NET family can be monitored and operated via a conventional standard Internet browser The management system known as web based management offers a range
226. pdating the firmware 8 3 1 When should you update the IM 151 8 PN DP CPU interface module After compatible functional expansions or after an enhancement of operating system performance the firmware of the IM 151 8 PN DP CPU interface module should be upgraded updated to the latest version Where do get the latest version of the firmware You can order the latest firmware as UPD files from your Siemens partner or download it from the Siemens Internet homepage ttp www siemens com automation service amp support 8 3 2 Firmware update using a SIMATIC Micro Memory Card Table 8 2 Firmware update using a SIMATIC Micro Memory Card Step Action required This takes place in the IM 151 8 PN DP CPU interface module 1 Recommendation Before you update the IM 151 8 PN DP CPU interface module firmware create a backup copy of the old firmware on an empty SIMATIC Micro Memory Card If problems occur during the update you can reload your old firmware from the SIMATIC Micro Memory Card 2 Transfer the update files to a blank SIMATIC Micro Memory Card using STEP and your programming device To do this click Update PLC operating system in the SIMATIC Manager Note You will need a SIMATIC Micro Memory Card with at least 4 MB of memory 3 Switch off the IM 151 8 PN DP CPU power and insert a SIMATIC Micro Memory Card containing the firmware update 4 Switch on power e The IM 151 8 PN DP CPU interface m
227. perating Instructions 06 2008 A5E02049034 01 Description 7 4 Example configurations 1 4 Example configurations Example configuration of an ET 200S with IM 151 8 PN DP CPU The figure below shows an example configuration of an ET 200S with IM 151 8 PN DP CPU _ AAA SIEMENS El ei Gel g8eo0o0o0ee0 BAHH m oojoo BE oojoo ojoo BAJA Figure 1 1 View of the ET 200S distributed I O system with IM 151 8 PN DP CPU IM 151 8 PN DP CPU interface module Terminating module PM E power module for electronic TM E terminal modules for electronic modules modules Electronic modules TM P terminal modules for PM E power modules IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 15 Description 7 4 Example configurations Example configuration of an ET 200S with IM 151 8 PN DP CPU and DP master module The figure below shows an example configuration of an ET 200S with IM 151 8 PN DP CPU and DP master module A AK A AA A
228. ption contains additional information about the SNMP communication service and diagnostics with SNMP IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 161 Debugging functions diagnostics and troubleshooting 10 4 Diagnostics using status and error LEDs 10 4 Diagnostics using status and error LEDs 10 4 1 Introduction Diagnostics with LEDs is an initial tool for error localization Usually you evaluate the diagnostics buffer for further error localization The buffer contains plain text information on the error that has occurred For example you will find the number of the appropriate error OB here If you generate this error OB you can prevent the IM 151 8 PN DP CPU interface module switching to STOP mode 10 4 2 Status and error displays of the IM 151 8 PN DP CPU interface module Table 10 3 Status and error displays of the IM 151 8 PN DP CPU interface module LED Meaning SF ON FRCE RUN STOP Off Off Off Off Off the IM 151 8 PN DP CPU interface module is without supply voltage Remedy Check whether the supply voltage is connected to mains and switched on Off On x Off On The IM 151 8 PN DP CPU interface module is in STOP mode To correct or avoid error Start the IM 151 8 PN DP CPU interface module On On X Off On The IM 151 8 PN DP CPU interface module is in STOP mode as a result of error To correct or avoid error refer to the tables below evaluation of the
229. r programming complex functions e g closed loop controls mode selections which are repeated frequently Functional ground Ground Grounding which has the sole purpose of safeguarding the intended function of electrical equipment With functional grounding you short circuit interference voltage which would otherwise have an unacceptable impact on equipment The conductive earth whose electrical potential can be set equal to zero at any point Ground potential may be different from zero in the area of grounding electrodes The term reference ground is frequently used to describe this situation IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 211 Glossary Ground free Grounding GSD file Hot swapping Having no direct electrical connection to ground Grounding means to connect an electrically conductive component via an equipotential grounding system to a grounding electrode one or more conductive components with highly conductive contact to earth The properties of a PROFINET device are described in a GSD file General Station Description that contains all the information required for configuration As with PROFIBUS you can link a PROFINET device in STEP 7by means of a GSD file In the case of the PROFINET IO the GSD file is in XML format The structure of the GSD file is compliant with ISO 15734 which is the world wide standard for device descriptions For PROFIBUS the GS
230. r slave 4 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Service and maintenance 8 1 Overview For the ET 200S with IM 151 8 PN DP CPU service and maintenance are e Backing up the firmware to the SIMATIC Micro Memory Card e Updating the firmware via the SIMATIC Micro Memory Card e Updating of the firmware online e Backing up of project data on a SIMATIC Micro Memory Card e Replacing an IM 151 8 PN DP CPU interface module e replacing a DP master module 8 2 Backing up firmware on a SIMATIC Micro Memory Card In which situations should back up the firmware In some cases we recommend that you back up the firmware on your IM 151 8 PN DP CPU interface module For example you might want to replace the IM 151 8 PN DP CPU interface module in your system with an IM 151 8 PN DP CPU interface module from your inventory In this case you should make sure that the IM 151 8 PN DP CPU interface module from your inventory has the same firmware that is used in the system We also recommend that you create a back up copy of the firmware for emergency situations On which IM 151 8 PN DP CPU can you backup the firmware You can backup firmware as of the following versions of the IM 151 8 PN DP CPU interface module Interface module IM 151 8 PN DP CPU Order number 6ES7151 8AB00 0ABO or later SIMATIC Micro Memory Card required 2 in MB 4 IM 151 8 PN DP CPU
231. r using repeaters in PROFIBUS DP for example IM 151 8 PN DP CPU interface module 204 Operating Instructions 06 2008 A5E02049034 01 Glossary Changing IO devices during operation changing partner ports Chassis ground Clock memory Code block Functionality of a PROFINET device A PROFINET device that supports this function can communicate during operation with changing communication partners at the same port Chassis ground includes all the interconnected inactive parts of equipment that must not carry a hazardous voltage even in the event of a fault Memory bit which can be used to generate clock pulses in the user program 1 memory byte Note Make sure that the clock memory byte is not overwritten in the user program A SIMATIC S7 logic block contains elements of the S7EP 7 user program in contrast to a DB this contains only data Component based automation Compression Configuration Consistent data gt PROFINET CBA The programming device online function Compress is used to rearrange all valid blocks in CPU RAM in one continuous area of user memory starting at the lowest address This eliminates fragmentation which occurs when blocks are deleted or edited Assignment of modules to slots and for example with electronic modules addresses Data which are related in their contents and not to be separated are referred to as consistent data For example the values of analog modules must al
232. rating Instructions are valid for e the IM 151 8 PN DP CPU interface module order number 6 S7151 8ABO0 0ABO0 e the DP master module order number 6ES7138 4HAO0 0AB0 e the components of the ET 200S distributed I O system specified in the ET 200S Distributed I O System Operating Instructions Note The special features of the 151 8F PN DP CPU interface module can be found as product information rnet r http support automation siemens com WW view en 1 1669702 133300 These operating instructions contain a description of the components that was valid at the time of publication We reserve the right to issue a Product Information which contains up to date information about new components and new versions of components IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 3 Preface Changes since the previous version Guide These operating instructions are the first version published The operating instructions contain the following guides which provide quick access to the specific information you need e At the beginning of the documentation you will find a comprehensive table of contents e Important terms are explained in the glossary e Navigate to the most important topics in our documents using the index Recycling and disposal Further support Training center The IM 151 8 PN DP CPU interface module is recyclable due to its non toxic materials For environmentally complia
233. received signals The switch learns the Ethernet address es of a connected PROFINET device or of other switches and passes only the signals intended for the connected PROFINET device or switch A switch has a certain number of ports Connect only one PROFINET device or a further switch to any one of the ports Control command a DP master may broadcast to a group of DP slaves With the SYNC control command the DP master causes the DP slave to freeze the statuses of the outputs at the current value The DP slave stores the output data contained in the next frame but does not change the state of its outputs After each new SYNC control command the DP slave sets the outputs it has saved as output data The outputs are not updated cyclically again until the DP master has sent a UNSYNC control command System diagnostics System function System diagnostics refers to the detection evaluation and signaling of errors that occur within the PLC for example programming errors or module failures System errors can be indicated by LEDs or in STEP 7 A system function SFC is a function integrated in the operating system of the CPU that can be called when necessary in the STEP 7 user program IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 229 Glossary System function block A system function block SFB is a function block integrated in the operating system of the CPU that can be called when nece
234. regarding the functionalities Real time communication RT and IRT Device replacement without removable medium Prioritized startup of IO devices Changing IO devices during operation changing partner ports e Extensive information on the subject of Ethernet networks network configuration and network components can be found in the S MATIC NET Twisted Pair and Fiber Optic ei Manual entry ID 8763736 e Component Based Automation Commissioning Systems Tutorial entry ID 18403908 e Additional information about PROFINET at http www profinet com 1e integrated PROFINET interface of the IM 151 8 PN DP CPU interface module interface module Page 115 Configuring and commissioning the PROFINET IO system and commissioning the PROFINET IO system Page 123 PROFIBUS DP Together with the optional DP master module the IM 151 8 PN DP CPU interface module has an RS 485 interface with DP master functionality The PROFIBUS DP interface on the DP master module is mainly used to connect distributed 1 0 PROFIBUS DP allows you to create large subnets for example You can configure the PROFIBUS DP interface as master or to be inactive It allows a transmission rate of up to 12 Mbps The IM 151 8 PN DP CPU broadcasts its bus parameters such as the baud rate to the PROFIBUS DP interface when it is used as the master A programming device for example can thus receive the correct parameters and automatically connect t
235. rence Important notes can also be found in the Debugging Functions Diagnostics and Troubleshooting section See also Procedure Commissioning the hardware Page 101 7 3 Commissioning check list Introduction Once you have installed and wired up your ET 200S we advise you to check all the previous steps once again The following tables give you instructions in the form of a checklist for checking your ET 200S They also provide cross references to sections containing additional information on the relevant topic Mounting rail The points to be checked are listed in the ET 200S Operating Instructions ET 200S Operating Instructions in section Concept of grounding and chassis ground IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Is the rail mounted firmly to the wall in the frame or in the cabinet Installing Have you maintained the free space required Installing The points to be checked are listed in the ET 200S Operating Instructions ET 200S Operating Instructions in section Have you established a low impedance connection large surface large Wiring and assembly contact area to ground potential Is the profile rail properly connected to reference potential and ground Wiring and assembly potential direct electrical connection or ungrounded operation Are all grounding points of electrically connected measuring instruments Appendix and of the load power
236. rnet Isolated Yes Transmission rate 100 Mbps full duplex Transmission mode 100BASE TX Autosensing 10 100 Mbaud Yes Interface e Connection 3 x RJ45 e Switch function Yes internal e Auto cross over Yes IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 179 Technical data 11 2 IM 151 8 PN DP CPU interface module 180 Technical specifications Functionality e PROFINET Yes e MPI No e PROFIBUS DP No e Point to point communication No Services e Programming device communication Yes e OP communication Yes e S7 communication Yes with loadable FBs Max configurable interconnections gt Maximum number of instances e S7 routing Yes with inserted DP master module e Data set routing Yes with inserted DP master module e PROFINET IO Yes e PROFINET CBA Yes e Open IE communication via TCP IP Yes ISO on TCP Yes UDP Yes Local port numbers used by the system 0 20 21 23 25 80 102 135 161 8080 34962 34963 34964 65532 65533 65534 65535 e Web server Yes Number of http clients 5 PROFINET IO Number of integrated PROFINET IO controllers 1 Number of connectable PROFINET IO devices 128 e Of which RT Max 128 Of which in line with RT Max 128 e Of which IRT with the high flexibility option Max 128 Of which in line with IRT Max 61 Prior
237. ro Memory Card using the PD or format it in the IM 151 8 PN DP CPU interface module if you remove it from the live system DO NOT remove the SIMATIC Micro Memory Card when the system is in RUN state always shut down power or set the IM 151 8 PN DP CPU interface module to STOP in order to prevent any write access of a programming device If the CPU is in STOP mode and you cannot determine whether or not a programming device function is active e g load delete block disconnect the communication lines Awarnine Make sure that the SIMATIC Micro Memory Card to be inserted contains the proper user program for the IM 151 8 PN DP CPU interface module system The wrong user program may have fatal processing effects IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules Inserting replacing the SIMATIC Micro Memory Card 1 2 First of all switch the IM 151 8 PN DP CPU interface module to STOP Is there a SIMATIC Micro Memory Card inserted If yes first of all ensure that no writing PD functions e g downloading blocks are running If you cannot ensure this interrupt the communication connections of the IM 151 8 PN DP CPU interface module Press the ejector and remove the SIMATIC MMC An ejector is located on the frame of the module receptacle to enable you to remove the SIMATIC Micro Memory Card Use a small screwdriver or b
238. rs Software requirement Commissioning stage Communication Communication protocols Data consistency 34 Data set routing 32 OP communication Open IE communication Programming device communication 29 S7 communication Services of the IM 151 8 PN DP CPU interface module 2 Communications concept 36 Component Based automation 35 36 Compression 82 Connect the PROFINET connector Connect the RJ45 connector 92 Connecting IM 151 8 PN DP CPU 90 PG Connecting the supply voltage Connection DP master module Consistency 99 Constant bus cycle time 132 Cycle time Calculation Definition 190 Extension 192 Process image Sequence of cyclic program processing 191 Time slice model 190 233 Index D Data consistency 34 99 Data set routing 32 Default addressing Deleting 82 Delta download Diagnostics in DP Master mode with Diagnosing Hardware 159 with LEDs 158 with system functions Diagnostics address Diagnostics buffer 157 Diagnostics Concept Dimensional diagram DP master module IM 151 8 PN DP CPU Direct data exchange Display elements DP master module IM 151 8 PN DP CPU Display languages of the web server 49 Disposal Documentation Additional Download of blocks DP master module connecting 9 Dimensional diagram Display elements installing 93 Properties Technical specifications 183 2 N ee Error displays ET 200S wi
239. s e Fixed point arithmetic 2 us e Floating point arithmetic 3 us Timers counters and their retentivity S7 counters 256 e Retentive memory Configurable e Default From CO to C7 e Counting range 0 to 999 IEC Counters Yes e Type SFB e Number Unlimited limited only by work memory S7 timers 256 e Retentive memory Configurable e Default Not retentive e Timer range 10 ms to 9990 s IEC timers Yes e Type SFB e Number Unlimited limited only by work memory IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Technical data 11 2 IM 151 8 PN DP CPU interface module Technical specifications Data areas and their retentive address areas Bit memory 256 bytes e Retentive memory Configurable e Preset retentive address areas From MBO to MB15 Clock memory 8 1 memory byte Data blocks e Number 511 in the number range from 1 to 511 e Size 64 KB e Non retain support configurable retentive Yes address areas Local data per priority class Max 510 bytes per call Blocks Total 1024 DBs FCs FBs The maximum number of blocks that can be loaded may be reduced if you are using another SIMATIC Micro Memory Card OBs See S7 300 Instruction List e Size max 64 KB e Number of free cycle OBs 1 OB 1 e Number of time of day interrupt OBs 1 OB 10 e Number of
240. s the serial number Order number The Order number info field contains order numbers for the hardware and software Version The hardware firmware and boot loader versions are displayed in the Version info field 56 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server 3 3 4 3 Diagnostic buffer Diagnostics buffer Requirement The browser displays the content of the diagnostics buffer on the Diagnostics buffer web page SIMATIC Diagnostic Buffer 1 CONTROLLER Diagnostic buffer entries 1 100 v Time Date Event 00 00 26 338 am 14 04 2008 Memory reset executed 00 00 00 036 am 14 04 2008 STOP caused by CPU memory management 00 00 00 000 am 14 04 2008 STOP backup buffer contents inconsistent no transition to RUN 00 00 00 000 am 14 04 2008 Firmware update firmware backup completed successfully Memory reset executed Previous operating mode STOP memory reset Requested operating mode STOP own initialization incoming event Figure 3 7 Diagnostics buffer You must have activated the web server made the language setting and compiled and loaded the project in STEP 7 Diagnostics buffer entries 1 100 Events The diagnostics buffer may contain up to 500 messages Select an interval for the buffer entries from the list box Each interval contains 100 entries Note that for performance reasons it is always the last
241. s using the web server Write You will always need STEP 7 HW Config to write the M data for modules For example you can enter the following data during configuration e Name of the automation system device name The device name is assigned when you create the station in SIMATIC Manager In this case a SIMATIC 300 1 station is created by default This name can be changed at any time e You can enter the following data in STEP 7HW Config on the General tab under IM 151 8 PN DP CPU Properties Name of the module In this case HW Config assigns a default name e g IM 151 8 PN DP CPU interface module this can be changed Higher level designation of the module No default setting Location designation of a module No default setting Reading the I amp M data from the IM 151 8 PN DP CPU interface module with the user program If you want to read the I amp M data from the IM 151 8 PN DP CPU interface module in the user program you must read the associated system state list specifying the relevant SSL ID and the index using SFC 51 The SSL IDs and the associated indexes are listed in the following table IM 151 8 PN DP CPU interface module 152 Operating Instructions 06 2008 A5E02049034 01 Debugging functions diagnostics and troubleshooting 10 2 Identification and maintenance data of the IM 151 8 PN DP CPU interface module SSL sublists with I amp M data The I amp M data can be found in the following SSL subl
242. siemens E A EE entry ID 13206730 Constraints on using motor starters and ET 200S modules With central use in an ET 200S with IM 151 8 PN DP CPU the following motor starters and ET 200S modules can cause disturbing responses The product versions specified of these motor starters and ET 200S modules should not be used in an ET 200S with IM 151 8 PN DP CPU Table 1 1 Constraints on using motor starters and ET 200S modules Motor starter module Order number Up to and including product version DS1e x direct on line starter HF 3RK1301 001B10 OQAA2 E06 RS1e x reversing starters HF F DS1e x fail safe direct starters HF 3RK1301 001B13 QAA2 E06 F RS1e x fail safe reversing starters HF DS1e x direct on line starter HF 3RK1301 OUBQO0 DAA3 E03 RS1e x reversing starters HF DSS1e x direct soft starters HF DS1e x direct on line starter HF 3RK1301 OUBOO OAA4 E02 RS1e x reversing starters HF DSS1e x direct soft starters HF F DS1e x fail safe direct starters HF F RS1e x fail safe reversing starters HF 2Al 2WIRE HS analog electronic module 6ES7134 4GB52 0AB0 E03 2 Al 4WIRE HS analog electronic module 6ES7134 4GB62 0AB0O E01 Analog electronic module 2Al U HS 6ES7134 4FB52 0AB0 E01 2A0 HS analog electronic module 6ES7135 4GB52 0AB0 E01 2AO U HS analog electronic module 6ES7135 4FB52 0AB0O E03 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008
243. sign the device name For this to be the case the actual topology must correspond with the set topology and the devices must be reset to the factory settings Note The IM 151 8 PN DP CPU interface module can only assign the IP address automatically and thus communicate correctly with the IO device if you have assigned a device name to the IO device If the configuration of the IO devices you downloaded to the IM 151 8 PN DP CPU interface module actually corresponds to their physical configuration on the subnet then the IO devices will be addressed by the IM 151 8 PN DP CPU interface module and the BF LED will stop flashing on both the IM 151 8 PN DP CPU interface module and the IO device You can then switch the IM 151 8 PN DP CPU interface module to RUN provided there are no other conditions preventing startup and the IM 151 8 PN DP CPU interface module and IO devices will exchange data read inputs write outputs for example Result You have used STEP 7to configure the PROFINET interface of your IM 151 8 PN DP CPU interface module and the PROFINET IO system The IM 151 8 PN DP CPU interface module can now be reached by other nodes on your Industrial Ethernet subnet Reference Detailed Information e About assigning addresses to the PROFINET IO interface and e Setting the properties of the PROFINET IO interface and the individual ports can be found in the STEP 7 online help and the PROFINET System Description IM 151 8 PN
244. specific module You can view the following information e General information about the module e g order number version designation and state of the module e g faulty e Module errors channel errors for example in centralized I O modules and PROFIBUS DP slaves or PROFINET IO devices e Display of messages from the diagnostics buffer e Diagnostic data about the PROFINET interface and its ports is also available e g network connection communication diagnostics and statistics For the IM 151 8 PN DP CPU interface module you can also view the following information about the module states e Cause of an error in the user program cycle e Indication of the cycle time longest shortest and last cycle e Performance data number of possible inputs and outputs memory bits counters timers and blocks For complete and current details of diagnostic functions in STEP 7 and specific procedures refer to the Programming with STEP 7 manual and the STEP 7 Online Help 10 3 4 Network infrastructure diagnostics SNMP Availability As an open standard you can use any systems or software solutions for diagnostics based on SNMP in PROFINET Network Diagnostics SNMP Simple Network Management Protocol makes use of the wireless UDP transport protocol It consists of two network components similar to the client server model The SNMP manager monitors the network nodes and the SNMP agents collect the various network specific inf
245. ssary in the STEP user program System memory System memory is an integrated RAM memory in the CPU System memory contains the address areas e g timers counters bit memory and data areas that are required internally by the operating system for example communication buffers System status list The system status list contains data that describes the current status of an ET 200S with IM 151 8 PN DP CPU interface module You can always use this list to obtain an overview of e the configuration of the ET 200S e The current CPU parameter assignments and configurable electronic modules e The current statuses and processes in the CPU and the configurable electronic modules Terminating module The ET 200S distributed IO system is completed by the terminating module If you have not inserted a terminating module the ET 200S is not ready for operation Terminating resistor The terminating resistor is used to avoid reflections on data links Time of day interrupt gt Interrupt time of da Timer Timers Timers are part of CPU system memory The content of timer cells is automatically updated by the operating system asynchronously to the user program STEP 7 instructions are used to define the precise function of the timer cell for example switch on delay and to initiate their execution for example start Token Allows access to the PROFIBUS DP for a limited time IM 151 8 PN DP CPU interface module 230 Operating I
246. stem to IEC 61784 1 2002 Ed1 CP 3 1 DPV1 The designation DPV1 means extension of the functionality of the acyclical services to include new interrupts for example provided by the DP protocol The DPV1 functionality is an integral part of the IEC 61784 1 2002 Ed1 CP 3 1 standard Electrically isolated Electrically isolated I O modules are isolated from the reference potentials of the control and load circuits by means of an optocoupler relay contact or transformer circuit for example I O circuits may be connected to the same potential Electronic modules Electronic modules form the interface between the process and the automation system There are e digital input and output modules e analog input and output modules e Technology modules Equipotential bonding Electrical connection equipotential bonding conductor that keeps electrical equipment and extraneous conductive objects to the same or almost the same potential in order to prevent disturbing or dangerous voltages between those objects Error display One of the possible reactions of the operating system to a runtime error is to output an error message Further reactions Error reaction in the user program CPU in STOP IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 209 Glossary Error handling via OB After the operating system has detected a specific error e g an access error with STEP 7 it calls a dedicated organiza
247. structions 06 2008 A5E02049034 01 Glossary Flash EPROM FORCE FREEZE Function Function block FEPROMSs can retain data in the event of power loss same as electrically erasable EEPROMs However they can be erased within a considerably shorter time FEPROM Flash Erasable Programmable Read Only Memory They are used on SIMATIC Micro memory cards The Force function can be used to assign the variables of a user program or CPU also inputs and outputs constant values Note in this connection also the restrictions in section Overview Debugging functions in section Debugging functions diagnostics and troubleshooting Control command a DP master may broadcast to a group of DP slaves When it receives a FREEZE command the slave freezes its current input status and outputs its data cyclically to the DP master The DP slave freezes its input status again after each new FREEZE command The DP slave does not resume the transfer input data to the DP master until the DP master has sent the UNFREEZE control command According to IEC 1131 3 a function FC is a code block without static data A function allows transfer of parameters in user program Functions are therefore suitable for programming frequently occurring complex functions e g calculations According to IEC 1131 3 a function block FB is a code block with static data An FB allows the user program to pass parameters Function blocks are therefore suitable fo
248. supply units connected to reference potentials 105 Commissioning 7 4 Commissioning the modules Module installation and wiring The points to be checked are listed in the ET 200S Operating Instructions ET 200S Operating Instructions in section Are all the terminal modules including the terminating module installed Installing correctly Are all the terminal modules wired up correctly Wiring and assembly Are all the power modules electronic modules correctly connected Wiring and assembly 7 4 Commissioning the modules 7 4 1 Inserting Replacing a SIMATIC Micro Memory Card SIMATIC Micro Memory Card MMC as memory module 106 The memory module used in your IM 151 8 PN DP CPU interface module is a SIMATIC Micro Memory Card You can use the SIMATIC Micro Memory Card as a load memory or a portable data medium Note You must have a connected SIMATIC Micro Memory Card in order to operate the IM 151 8 PN DP CPU interface module The SIMATIC Micro Memory Card is not supplied as standard with the IM 151 8 PN DP CPU interface module Note The IM 151 8 PN DP CPU interface module goes into STOP and requests a memory reset when you remove the SIMATIC MMC while the IM 151 8 PN DP CPU interface module is in RUN state caution Data on a SIMATIC Micro Memory Card can be corrupted if you remove the card while it is being accessed by a write operation You may have to delete the SIMATIC Mic
249. t gt Variable table This table created offline can be saved for future retrieval You can also test it after switching to online mode VAT structure In the VAT every address to be monitored or modified e g inputs outputs occupies one row The meaning of the VAT columns is as follows Column text In this field Address contains the absolute address of the variable Icon contains the symbolic descriptor of the variables This is identical to the specification in the Symbol Table Symbol comment shows the symbol comment of the Symbol Table Status format contains the default format setting e g HEX You can change the format as follows e right click in the format field The Format List opens or e left click in the format field until the relevant format appears Status value shows the content of the variable at the time of update Modify value is used to enter the new variable value modify value Monitor variable You have two options for monitoring variables e Updating the status values once via menu item Variable gt Update Status Values or e Continuous update of status values via menu item Variable gt Monitor IM 151 8 PN DP CPU interface module 118 Operating Instructions 06 2008 A5E02049034 01 Commissioning 7 4 Commissioning the modules Modifying variables To modify variables proceed as follows 1 Left click the field Modify value of the relevant variable 2 Enter
250. t processing e Process interrupt processing e Diagnostics and error processing e Communication with programming devices PGs operator panels OPs and via connected CPs e g Ethernet or PROFIBUS DP e Testing and commissioning such as e g status controlling of variables or block status functions e Transfer and deletion of blocks compressing user program memory e Write read access to the SIMATIC Micro Memory Card using SFC 82 to 84 in the user program e S7 communication via the PROFINET interface e PROFINET CBA communication via the PROFINET interface system load SFC call updating at the cycle control point e PROFINET IO communication via PROFINET interface system load IM 151 8 PN DP CPU interface module 192 Operating Instructions 06 2008 A5E02049034 01 Appendix A 3 Cycle and response times A 3 2 2 Calculating the cycle time Introduction The cycle time is derived from the sum of the following influencing factors Process image update The table below shows the times that an IM 151 8 PN DP CPU interface module needs to update the process image process image transfer time The specified times may be extended as a result of interrupts or IM 151 8 PN DP CPU interface module communication The process image transfer time is calculated as follows Table A 6 Formula for calculating the process image PI transfer time The transfer time of the process image is calculated as follows Base load K N
251. t the outputs to 0 in the user program before removing the module If modules are removed or inserted incorrectly see ET 200S Distributed I O System Operating Instructions section Wiring and equipping this can cause uncontrolled system states Adjacent modules could be affected 9 2 2 What happens when modules are removed during operation e When you remove a module from the ET 200S I O system during operation OB 83 is called and a corresponding diagnostics buffer entry is generated event ID 3961n This takes place regardless of whether the associated power module is switched on or off If the OB 83 is available on the IM 151 8 PN DP CPU interface module this remains in RUN The absence of the module is noted in the system status list e Ifthe module that has been removed is accessed from the user program an I O access error occurs with a corresponding entry in the diagnostics buffer and the OB 122 is called up If the OB 122 is available on the IM 151 8 PN DP CPU interface module this remains in RUN IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 147 Functions 9 2 Removal and insertion of modules during operation 9 2 3 Overview Procedure when modules are inserted during operation If you insert a module in the ET 200S I O system during operation the IM 151 8 PN DP CPU interface module initially carries out a set actual comparison with regard to the inserted mod
252. ted sequentially IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 219 Glossary Process image The process image is part of CPU system memory At the start of cyclic program execution the signal states at the input modules are written to the process image of the inputs At the end of cyclic program execution the signal status of the process image of the outputs is transferred to the output modules Process interrupt A process interrupt is triggered by interrupt triggering modules as a result of a specific event in the process The process interrupt is reported to the CPU The assigned organization block will be processed according to interrupt priority Process Related Function gt PROFINET components Product version The product version identifies differences between products which have the same order number The product version is incremented when forward compatible functions are enhanced after production related modifications use of new parts components and for bug fixes PROFIBUS PROFIBUS PROcess Fleld BUS German process field bus standard specified in IEC 61784 1 2002 Ed1 CP 3 1 It specifies functional electrical and mechanical properties for a bit serial field bus system From the perspective of the user program the distributed I O is just as sophisticated as the centralized I O PROFIBUS is available with the protocols DP Distributed Peripherals FMS Fieldbus
253. ter 1 After POWER OFF POWER ON see above action 4 in the IM 151 8 PN DP CPU interface module under Tio only the last 100 entries in the diagnostics buffer are retentive IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 111 Commissioning 7 4 Commissioning the modules Special feature Interface parameters The interface parameters of the PN interface IP parameters and the DP interface DP parameters are not retentive if there is no configuration on the SIMATIC Micro Memory Card Therefore always download the configuration data from the HW Config to the IM 151 8 PN DP CPU interface module The configuration data is stored in the SDBs on the SIMATIC Micro Memory Card The table below describes which interface parameters remain valid after a Memory reset Memory reset IP DP parameters with SIMATIC Micro Memory Card inserted stored on the SIMATIC Micro Memory Card as configuration data in an SDB are valid without inserted SIMATIC Micro Memory Card or will be lost without loaded configuration data See also PU memory reset and restart Page ormatting the SIMATIC Micro Memory Card Page 112 7 4 4 Formatting the SIMATIC Micro Memory Card You must format the SIMATIC Micro Memory Card in the following cases e The SIMATIC Micro Memory Card module type is not a user module e The SIMATIC Micro Memory Card has not been formatted e The SIMATIC
254. ter DP slave PROFIBUS Diagnostics address Explanation of the DP master configuration Explanation of the DP slave configuration When you configure the DP master assign two When you configure the DP slave you also different diagnostics addresses for an intelligent assign it a diagnostics address in the associated DP slave that is one diagnostics address for slot DP slave project 0 and one for slot 2 These two addresses This diagnostics address is referred to as perform the following functions assigned to the DP slave below e The diagnostics address for slot 0 reports in This diagnostics addresses is used by the DP the master all events relating to the entire slave to obtain information about the state of the slave station representative for example DP master or bus interruptions node failure e The diagnostics address for slot 2 is used to report events concerning this slot For example if the IM 151 7 CPU is acting as an intelligent slave it returns the diagnostic interrupts for operating state transitions These diagnostics addresses are referred to as assigned to the DP master below These diagnostics addresses are used by the DP master to obtain information about the state of the DP slave or about bus interruptions IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 171 Debugging functions diagnostics and troubleshooting 10 6 Diagnostics
255. tes for I Os Number of those in process image Bytes 0 to 2047 can be set for I Os Bytes 0 to 127 preset DP diagnostics addresses occupy 1 byte for the DP master and for each DP slave in the input address area For example at these addresses DP standard diagnostics can be called for the relevant node LADDR parameter of SFC 13 The DP diagnostics addresses are specified in your configuration If you do not specify any DP diagnostic addresses STEP 7 assigns these DP diagnostics addresses in descending order starting at the highest byte address If there is an IM 151 8 PN DP CPU interface module with DP master module as the master assign two different diagnostics addresses for S7 slaves e Diagnostics address of the slave address for slot 0 At this address all slave events are reported in the DP master node proxy e g node failure e Diagnostics address of the module address for slot 2 All module STOP RUN transition of an IM 151 7 CPU as an intelligent DP slave for example events are reported in the master OB 82 at this address IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 129 Commissioning 7 6 Commissioning PROFIBUS DP 7 6 2 Commissioning the IM 151 8 PN DP CPU interface module with DP master module as a DP master Requirements for commissioning e A DP master module is connected to the IM 151 8 PN DP CPU interface module e The PROFIBUS subnet has been configured
256. th IM 151 8 PN DP CPU initial power on 108 Event recognition F Failure ET 200S PROFINET IO 140 Firewall 48 Firmware Back up 234 Forcing 155 FREEZE 132 G Guide Operating Instructions 4 I amp M data 151 I O process image 77 Identification Identification and maintenance data 4151 Identification data IM 151 8 PN DP CPU Accessories commissioning as a DP master 130 Connecting Dimensional diagram 187 Display elements installing 89 Memory reset 109 Operating elements Properties Response after replacement 141 IM 151 8 PN DP CPU factory settings Lamp images during reset Properties delivery state 113 Restore delivery state IM151 8 PN DP CPU Technische Daten Industrial Ethernet Installing DP master module IM 151 8 PN DP CPU interfaces PROFIBUS DP interface Time synchronization 26 Interfaces PROFIBUS DP interface 25 PROFIBUS DP interface Connectable devices PROFINET interface PROFINET interface properties PROFINET interface configuring the port properties PROFINET interface Addressing the ports 24 PROFINET interface Connectable devices 22 PROFINET interface Disabling a port 23 PROFINET interface Send clock PROFINET interface Time synchronization PROFINET interface Update Time 24 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Index Internet Service amp support 5 Interrupt response time Definition IM 151 8 PN DP CP
257. the IM 151 8 PN DP CPU interface module Therefore recipes only use load memory rather than RAM Working with recipe data e SFC83 READ_DBL is called in the user program to copy the data record of a current recipe from the DB in load memory to a static DB that is located in work memory As a result the RAM only has to accommodate the data of one record The user program can now access data of the current recipe The figure below shows how to handle recipe data Load memory SIMATIC Micro Memory Card Work memory IM151 8 PN DP CPU Recipe 1 SFC 83 READ_DBL 3 gt Current Recipe 2 Recipe D a SFC 84 WRIT_DBL vr Recipe n Saving a modified recipe e The data of new or modified recipe data records generated during program execution can be written to load memory To do this call SFC 84 WRIT_DBL in the user program The data written to load memory are portable and retentive on Memory reset You can backup modified records recipes by uploading and saving these in a single block to the programming device PC Note Active system functions SFC82 to 84 active access to the SIMATIC Micro Memory Card have a distinct influence on programming device functions for example block status variable status download block upload open This typically reduces performance compared to passive system functions by a factor of 10 Note To prevent data losses do not exceed this
258. the modify value according to the data type 3 To update modify values once select the menu item Variable gt Activate Modify Value or Enable modify values permanently via menu item Variable gt Modify 4 Inthe Monitor test function verify the modify value entry in the variable Is the modify value valid You can disable the modify value entered in the table An invalid value is displayed same as a comment You can re enable the modify value Only valid modify values can be enabled Setting the trigger points Trigger points e The Trigger point for monitoring determines the time of update for values of variables to be monitored e The Trigger point for modifying determines the time for assigning the modify values to the variables to be modified Trigger condition e The Trigger condition for monitoring determines whether to update values once when the trigger point is reached or continuously every time the trigger point is reached e The Trigger condition for modifying determines whether to assign modify values once or permanently to the variable to be modified You can customize the trigger points using the tool Monitoring and Modifying Variables in the menu item Variable gt Set Trigger Special features e If Trigger condition for monitoring is set to once the menu items Variable gt Update Status Values or Variable gt Monitor have the same effect namely a single update e f Trigger conditio
259. the operand from this drop down list box The drop down list box contains all the permitted display formats This column shows the values in the display format The comment that you enter is displayed to make it easy to recognize the importance of an operand If Automatic update is enabled then this page is updated in accordance with the configured updating interval Configuring variable tables for web servers 64 The web server allows you to monitor up to 50 variable tables with up to 200 variables The available memory of the IM151 8 PN DP CPU interface module is used by both messages and variables so it is possible that the number of variable tables that can actually be used may be smaller Example The available memory is sufficient for around 400 messages and 50 variable tables with 100 variables with symbol names but without symbol comments If the permitted memory is exceeded by configured messages and variables the variable tables displayed in the web browser will be incomplete In this case you will have to replace the memory needed by your messages and symbol comments If at all possible you should only use one language for the display You should also configure your variable tables with as few variables as possible since these variable tables are more likely to be displayed in full by the web server and will also be updated faster than tables with lots of variables IM 151 8 PN DP CPU interface module Operating Ins
260. til the first terminal module Move the IM 151 8 PN DP CPU interface module to the right until it audibly engages with the DP master module If required connect the connector for the supply voltage and the RJ45 connector s with the IM 151 8 PN DP CPU interface module 10 Switch on the power supply IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 143 Service and maintenance 8 6 Replacing the DP master module IM 151 8 PN DP CPU interface module 144 Operating Instructions 06 2008 A5E02049034 01 Functions 9 1 Assigning parameters of the reference junction for the connection of thermocouples Introduction If you want to use the IM 151 8 PN DP CPU interface module in an ET 200S system with thermocouples and a reference junction set the parameters in the Properties section of the hardware configuration Parameter assignment of the reference junction Table 9 1 Setting parameters for the reference junction Parameters Value range Explanation Activation of the reference activated You can enable the reference junction with junction not activated Example see figure below this parameter Only then can you continue to parameterize the reference junction Slot none 5 to 66 Example see figure below You can use this parameter to assign the RTD module slot to the reference junction Channel number RTD on channel 0 RTD on channel 1 Example see f
261. tion 3 3 Web server Setting the language for display devices in SIMATIC Manager Select the languages for display devices in SIMATIC Manager Options gt Language for display devices Add Delete Language Set Default Language Laufzeit Available Languages Installed Languages in Project Spanish Chile English United States Spanish Colombia French France Spanish Costa Rica German Gemary Spanish Dominican Republic Es Italian Italy Spanish E cuador Spanish International Sort Spanish El Salvador Spanish Guatemala Spanish Honduras ea Bee Spanish Mexico Spanish Nicaragua Spanish Panama x pr Language English United States Set as Default Apply Cancel Help Figure 3 3 Example for selecting the display device language IM 151 8 PN DP CPU interface module 50 Operating Instructions 06 2008 A5E02049034 01 Communication 3 3 Web server 3 3 2 Settings in HW Config Web tab Requirements You have opened in HW Config the Properties dialog for the IM 151 8 PN DP CPU interface module To use the full functionality of the web server carry out the following settings in the Web tab e Activating the web server e Set the language for Web e Activate automatic update e Display classes of the messages Properties IM151 8 PN DP CPU RO S2 General Startup Cycle Clock Memory Retentive Memory Interrupts Time of D ay Interrupts Cyc
262. tion block error OB in which the subsequent behavior of the CPU can be defined Error response Reaction to a runtime error Reactions of the operating system It sets the automation system to STOP indicates the error or calls an OB in which the user can program a reaction ERTEC gt ASIC ET 200 The ET 200 distributed I O system with PROFIBUS DP or PROFINET IO allows the connection of distributed I Os to a CPU via a DP master or IO controller ET 200 is characterized by high speed reaction times because of a minimum data transfer volume bytes The ET 200 is based on IEC 61784 1 2002 Ed1 CP 3 1 d standard The ET 200 works on the master slave principle or controller device principle The DP masters are for example the IM 308 C master connection or the IM 151 8 PN DP CPU interface module with DP master module An IO controller could be for example the IM 151 8 PN DP CPU interface module DP slaves IO devices could be the distributed I Os ET 200M ET 200L ET 200S ET 200pro or DP slaves IO devices from Siemens or other vendors External lightning protection External plant components at which galvanic coupling of lightning surges is excluded Corresponds with lightning protection zone Oa and Os Fast Ethernet Fast Ethernet describes the standard for transferring data with 100 Mbits Fast Ethernet uses the 100 Base T standard FB gt FC Function IM 151 8 PN DP CPU interface module 210 Operating In
263. tructions 06 2008 A5E02049034 01 Communication 3 3 Web server Creating a variable table for web servers 1 Create a variable table with STEP 7 2 Open the variable table Properties dialog 3 Activate the Web server check box Properties Yariable Table 4 Save and compile the project and download it to the IM151 8 PN DP CPU interface module IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 65 Communication 3 4 S7 connections 3 4 S7 connections 3 4 1 S7 connection as communication path An S7 connection is established when S7 modules communicate with one another This S7 connection is the communication path Note No S7 connections are required for communication via PROFIBUS DP PROFINET CBA PROFINET IO web server TCP IP ISO on TCP UDP and SNMP Each communication link requires S7 connection resources on the IM151 8 PN DP CPU interface module for the entire duration of this connection Thus each IM151 8 PN DP CPU interface module is provided with a specific number of S7 connection resources These are used by various communication services PG OP communication or S7 communication Connection points Transition point See also 66 An S7 connection between modules with communication capability is established between connection points The S7 connection always has two connection points The active and passive connection points e The acti
264. ty input box press Filter again then the filter conditions are deleted i e the filter is disabled Messages IM151 8 PN DP CPU interface module messages are displayed in chronological order in the info field together with the date and time The Message text parameter relates to the entering of message texts configured for the particular error definitions Sort You also have the option of displaying the individual parameters in ascending or descending order To do this click on one of the parameters in the column header e Message number e Date e Time of day e Message text e State e Acknowledgement If you click Date the messages will be displayed in chronological order Incoming and outgoing events are output in the Status parameter IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 59 Communication 3 3 Web server Details for message number This info field is used to display detailed information about a message Select the message for which you are interested in the details from the info field Point to note when changing between languages You can change the language e g from German to English in the top right hand corner If you select a language that you have not configured or for which no message text was configured then the information will appear as hexadecimal code rather than in plaintext 3 3 4 5 PROFINET PROFINET On this web page tab
265. ule In doing so the configured module is compared with the one that is actually inserted The activities described below take place dependent on the result of the set actual comparison Non configurable modules The following actions will take place regardless of whether the power module of the inserted module is switched on or off Table 9 2 Result of the set actual comparison in the case of non configurable modules Inserted module configured module OB 83 is called with the corresponding diagnostics buffer entry event ID 3861n Inserted module configured module OB 83 is called with the corresponding diagnostics buffer entry event ID 38631 The module remains entered in the system status list as unavailable The module remains entered in the system status list as unavailable Direct access is again possible Direct access is not possible Modules that can be parameterized The following actions only take place when the power module of the inserted module is 148 switched on Table 9 3 power module switched on Result of the preset actual comparison in the case of parameterizable modules with the Inserted module configured module OB 83 is called with the corresponding diagnostics buffer entry event ID 3861n Inserted module configured module OB 83 is called with the corresponding diagnostics buffer entry event ID 38634 The IM 151 8 PN DP CPU interface
266. ules in the startup phase This allows the module s operating system to reserve or assign the relevant S7 connection resources This means for example that OPs cannot access an S7 connection resource that has been reserved for programming device communication If the IM151 8 PN DP CPU interface module has S7 connection resources that have not been reserved these can be used freely These S7 connection resources are allocated in the order they are requested If there is only one free S7 connection left on the IM151 8 PN DP CPU interface module you can still connect a programming device to the bus The programming device can then communicate with the IM151 8 PN DP CPU interface module However the S7 connection will always be used if the PD is communicating with the IM151 8 PN DP CPU interface module If you connect an OP to the bus while the programming device is not communicating the OP can establish a connection to the IM151 8 PN DP CPU interface module Since an OP maintains its communication link at all times in contrast to the PG you cannot subsequently establish another connection via the PG Open communication via Industrial Ethernet Page IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 4 S7 connections 3 4 3 Distribution and availability of S7 connection resources Distribution of connection resources Table 3 6 Distribution of connections Communication service Distrib
267. umber of bytes in the PI for ET 200S I Os A Number of words in the PI via PROFINET P Number of words in the PI via PROFIBUS DP D Transfer time for the process image Table A 7 Data for calculating the process image PI transfer time Constant Components IM 151 8 PN DP CPU C Base load 100 us A per byte in the PO for centralized ET 200S I Os 78 us P per WORD in the PROFINET area for the 7 us PROFINET only integrated PROFINET interface D per word in the DP area for the DP interface 5 us PROFIBUS DP only integrated in the DP master Extending the user program processing time In addition to actually working through the user program your IM 151 8 PN DP CPU interface module s operating system also runs a number of processes in parallel such as timer management for the core operating system These processes extend the processing time of the user program The table below lists the multiplication factors required to calculate your user program processing time Table A 8 Extending the user program processing time Interface module Factor IM 151 8 PN DP CPU 1 10 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 193 Appendix A 3 Cycle and response times Operating system processing time at the scan cycle check point The table below shows the operating system processing time at the cycle control point of the IM 151 8 PN DP CPU inter
268. ution Programming device communication In order to avoid allocation of connection resources being dependent only on the chronological sequence in which various communication services are requested connection resources can be reserved for these services OP communication S7 basic communication Phe For PG and OP communication at least one connection resource is reserved by default The following table and the technical specifications for the IM151 8 PN DP CPU interface module contain the configurable S7 connections and the default setting You redistribute the connection resources by setting the relevant IM151 8 PN DP CPU interface module parameters in STEP 7 S7 communication Available connection resources that are not specially reserved for a service programming device OP communication S7 basic communication are used for this Routing PG functions Together with the DP master module the IM 151 8 PN DP CPU interface module has a number of connection resources available for routing purposes These connections are available in addition to the connection resources The subsection below shows the number of connection resources PROFIBUS DP This communication service requires no S7 connection resources PROFINET CBA This communication service requires no S7 connection resources PROFINET IO This communication service requires no S7 connection resources Web server This communication service requires no S7 conne
269. ve connection point is assigned to the module that establishes the S7 connection e The passive connection point is assigned to the module that accepts the S7 connection Any module that is capable of communication can thus act as an S7 connection point At the connection point the established communication link always uses one S7 connection of the module concerned If you use the routing functionality the S7 connection between two modules capable of communication is established across a number of subnets These subnets are interconnected via a network transition The module that implements this network transition is known as a router The router is thus the point through which an S7 connection passes Each IM 151 8 PN DP CPU interface module with DP master module can be a route for an S7 connection You can establish a certain maximum number of routing connections This does not limit the data volume of the S7 connections onnection resources for routing Page 70 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Communication 3 4 S7 connections 3 4 2 Assignment of S7 connections There are several ways to allocate S7 connections on a communication capable module e Reservation during configuration e Assigning connections in the program e Allocating connections during commissioning testing and diagnostics routines e Allocating connection resources to HMI services Reservation during configuratio
270. ways be handled as a whole that is the value of an analog module must not be corrupted as a result of read access at two different points of time IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 205 Glossary Counters CPU Cycle time Cyclic interrupt Data block Counters are part of CPU system memory The content of Counter cells can be modified by STEP 7 instructions for example up down count Central processing unit CPU of the S7 automation system with a control and arithmetic unit memory operating system and interface for programming device The cycle time represents the time a CPU requires for one execution of the user program gt Interrupt cyclic interrup Data blocks DB are data areas in the user program which contain user data There are shared data blocks which can be accessed by all code blocks and instance data blocks which are assigned to a specific FB call Data exchange broadcast gt Direct data exchange Data exchange traffic Data set routing Data static Data temporary 206 gt Direct data exchange Functionality of a module with several network connections Modules that support this function are able to pass on data of an engineering system for example parameter data generated by SIMATIC PDM from a subnetwork such as Ethernet to a field device at the PROFIBUS DP Static data can only be used within a function block These data are
271. with integrated PROFINET interface Properties SNMP Simple Network Management Protocol is a standard protocol for TCP IP networks Reference For additional information on the SNMP communication service and diagnostics with SNMP refer to the PROFINET System Description IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 45 Communication 3 3 Web server 3 3 Web server Introduction Web browser The web server allows you to monitor your IM 151 8 PN DP CPU interface module over the Internet or your company s intranet This allows analyses and diagnostics to be carried out remotely Messages and status information are displayed on HTML pages You will need a web browser to access the HTML pages for the IM 151 8 PN DP CPU interface module The following web browsers are suitable for communication with the IM 151 8 PN DP CPU interface module e Internet Explorer version 6 0 or later e Mozilla Firefox version 1 5 or later e Opera version 9 0 or later e Netscape Navigator version 8 1 or later Reading information via the web server 46 Via the web server you can read the following information from the IM 151 8 PN DP CPU interface module e Start page with general information e Identification data e Contents of the diagnostics buffer e Messages without acknowledgment option e Information about the PROFINET e Variable status e Variable tables The following pages des
272. without errors 5396 Collision during sending attempt 0 Canceled due to other errors 0 Received data packages Received without errors 41562 rejected due to error 0 Rejected due to resource bottleneck 0 Statistics Port 1 Sent data packages Sent without errors Collision during sending attempt Canceled due to other errors Received data packages Received without errors rejected due to error Rejected due to resource bottleneck Statistics Port 2 Sent data packages Sent without errors 6396 Collision during sending attempt 0 Canceled due to other errors 0 Received data packages Received without errors 41562 rejected due to error 0 Rejected due to resource bottleneck 0 Statistics Port 3 Sent data packages Sent without errors Collision during sending attempt Canceled due to other errors Received data packages Figure 3 10 Key data transmission figures IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 61 Communication 3 3 Web server Data packets since This shows the time at which the first data packet was sent or received Total statistics Here you can find out the total of how many data packets have been sent and received and their quality Statistics port n Here you can find out how many data packets on port n have been sent and received and their quality Updating If Automatic update is enabled then this page is upd
273. you have explicitly enabled communication between the two nodes via the router Real time data cannot be replaced beyond subnetwork limits RT Real Tine Runtime error Errors occurred in the PLC that is not in the process itself during user program execution Scan cycle check point The cycle control point is the section of the CPU program processing in which the process image is updated Segment gt Bus segmen IM 151 8 PN DP CPU interface module 226 Operating Instructions 06 2008 A5E02049034 01 Glossary SELV Safety Extra Low Voltage SFB gt System function bloch SFC SIMATIC The term denotes Siemens products and systems for industrial automation SIMATIC Micro Memory Card SIMATIC Micro Memory Cards are storage media for the IM 151 8 PN DP CPU interface module SIMATIC NCM PC SIMATIC NCM PC is a version of STEP 7 designed specifically for configuring PCs It provides the complete STEP 7 functionality for PC stations SIMATIC NCM PC is the central tool with which you configure the communication services for your PC station The configuration data generated with this tool must be downloaded to the PC station or exported This makes the PC station ready for communication SIMATIC NET Siemens business area for industrial communication networks and network components SIMATIC PC station A PC station is a PC with communication modules and software components within a SIMATIC automation solut
274. ystem memory of the IM 151 8 PN DP CPU interface module is broken down into operand areas refer to the table below In a corresponding operation of your user program you address data directly in the relevant address area Address areas of system memory Table 4 3 Address areas of system memory Address areas Process image of inputs Description At every start of an OB 1 cycle the IM 151 8 PN DP CPU interface module reads the inputs from the input modules and saves the values to the process image input Process image of outputs During its cycle the program calculates the values for the outputs and writes these to the process image of outputs At the end of the OB 1 cycle the IM 151 8 PN DP CPU interface module writes the calculated output values to the output modules Bit memory This area provides memory for saving the intermediate results of a program calculation Timers Timers are available in this area Counters Counters are available in this area Local data Temporary data in a code block OB FB FC is saved to this memory area while the block is being edited Data blocks See Recipes and Measured value logs 76 IM 151 8 PN DP CPU interface module Operating Instructions 06 2008 A5E02049034 01 Memory concept 4 1 Memory areas and retentive memory Reference The address areas of your IM 151 8 PN DP CPU interface module are listed in the S7 300 Instruction List I O process im

Download Pdf Manuals

image

Related Search

Related Contents

PD636 / PD636E / PD636W User's Manual H.264 High  Nokia N97 Bedienungsanleitung  Samsung Gear Manual de Usuario    50926®Listenor Pro User Guide A4    Lave-linge - Sears Canada  TERMO DE REFERÊNCIA – LOTE 1  Kopie - copie - Operator's Manual  search - Madison Communications  

Copyright © All rights reserved.
Failed to retrieve file