background image

Debugging functions, diagnostics and troubleshooting 

 

10.2 Overview: Debugging functions 

 

S7-300, CPU 31xC and CPU 31x: Installation 

10-2

 

Operating Instructions, Edition 08/2004, A5E00105492-05 

Debugging functions of the software: Monitoring and modifying variable, stepping mode 

STEP 7 offers you the following testing functions you can also use for diagnostics: 

• 

Monitoring and modifying variables 
Can be used for PG/PC monitoring of specific CPU or user program variables. You can 

also assign constant values to the variables. 

• 

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. 
For example, if you have selected the programming language LAD in STEP 7 for your 

presentation, the color of the symbol will indicate a closed switch or an active circuit. 

 

 

 

Note 
The STEP 7 testing function with program status extends the CPU cycle time! In STEP 7 

you can customize the maximum permitted increase in cycle time (not for CPU 318­2 

DP). In this case, set process mode for the CPU parameters in STEP 7. 

 

• 

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. 

Debugging functions of the software: Forcing variables 

The Force function can be used to assign the variables of a user program or CPU (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. 

 

 

Summary of Contents for Simatic S7-300 CPU 315-2-PN/DP

Page 1: ... Wiring 6 Addressing 7 Commissioning 8 Maintenance 9 Debugging functions dia gnostics and troubleshooting 10 Appendix A SIMATIC S7 300 CPU 31xC and CPU 31x Installation Operating Instructions Edition 08 2004 A5E00105492 05 This manual is part of the documentation package with the order number 6ES7398 8FA10 8BA0 ...

Page 2: ...o commission to earth and to tag circuits equipment and systems in accordance with established safety practices and standards Intended Use Please note the following Warning This device and its components may only be used for the applications described in the catalog or technical description and only in connection with devices or components from other manufacturers approved or recommended by Siemen...

Page 3: ... application as of version CPU Convention CPU designation Order number Firmware Hardware CPU 312C 6ES7312 5BD01 0AB0 V2 0 0 01 CPU 313C 6ES7313 5BE01 0AB0 V2 0 0 01 CPU 313C 2 PtP 6ES7313 6BE01 0AB0 V2 0 0 01 CPU 313C 2 DP 6ES7313 6CE01 0AB0 V2 0 0 01 CPU 314C 2 PtP 6ES7314 6BF01 0AB0 V2 0 0 01 CPU 314C 2 DP CPU 31xC 6ES7314 6CF01 0AB0 V2 0 0 01 CPU 312 6ES7312 1AD10 0AB0 V2 0 0 01 CPU 314 6ES7314...

Page 4: ...rovals Underwriters Laboratories Inc UL 508 Industrial Control Equipment Canadian Standards Association CSA C22 2 No 142 Process Control Equipment Factory Mutual Research Approval Standard Class Number 3611 CE label The SIMATIC S7 300 product series satisfies the requirements and safety specifications of the following EU Directives EU Directive 73 23 EC Low voltage directive EU Directive 89 336 EW...

Page 5: ...on PROFINET I O Component based Automation application example of PROFINET I O and Component based Automation Programming Manual From PROFIBUS DP to PROFINET I O Guideline for the migration from PROFIBUS DP to PROFINET I O Manual CPU 31xC Technological functions Examples Description of the various technological functions of positioning and counting PtP communication rules The CD contains examples ...

Page 6: ...components installation guidelines for networked automation systems in buildings etc Manual Component based Automation Configuring systems with SIMATIC iMap Description of the engineering software iMAP Manual Programming with STEP 7 V5 3 Programming with STEP 7 Manual SIMATIC communication Basics services networks communication functions connecting PGs OPs engineering and configuring in STEP 7 S7 ...

Page 7: ...4 15 4 9 2 Installing an S7 300 with grounded reference potential 4 16 4 9 3 Configuring an S7 300 with ungrounded reference potential not CPU 31xC 4 17 4 9 4 Modules with isolated or common potential 4 19 4 9 5 Grounding measures 4 21 4 9 6 Overview Grounding 4 24 4 10 Selecting the Load Power Supply 4 26 4 11 Planning subnets 4 28 4 11 1 Overview 4 28 4 11 2 Configuring MPI and PROFIBUS subnets ...

Page 8: ... 7 Labeling the module I O 6 11 6 8 Connecting shielded cables to the shielding contact element 6 12 6 9 Wiring the MPI PROFIBUS DP bus connectors 6 15 6 9 1 Wiring the bus connector 6 15 6 9 2 Setting the terminating resistor on the bus connector 6 16 6 10 RJ45 Ethernet connector 6 17 7 Addressing 7 1 7 1 Slot specific addressing of modules 7 1 7 2 User specific addressing of modules 7 3 7 2 1 Us...

Page 9: ...MMC 9 3 9 4 Online via networks update of CPU FW V2 2 0 or higher 9 4 9 5 Backup of project data to a Micro Memory Card MMC 9 5 9 6 Module installation removal 9 6 9 7 Digital output module AC 120 230 V Changing fuses 9 11 10 Debugging functions diagnostics and troubleshooting 10 1 10 1 Overview 10 1 10 2 Overview Debugging functions 10 1 10 3 Overview Diagnostics 10 4 10 4 Diagnostic Options with...

Page 10: ... A 7 A 2 4 Examples of an EMC compliant installation Cabinet installation A 9 A 2 5 Examples of an EMC compliant installation Wall mounting A 10 A 2 6 Cable shielding A 12 A 2 7 Equipotential bonding A 14 A 2 8 Cable routing inside buildings A 16 A 2 9 Outdoor routing of cables A 18 A 3 Lightning and Surge Voltage Protection A 18 A 3 1 Overview A 18 A 3 2 Lightning protection zone concept A 19 A 3...

Page 11: ...he installation of a PLC system 4 16 Table 4 8 Measures for protective grounding 4 22 Table 4 9 Connecting the load voltage reference potential 4 23 Table 4 10 Connecting the load voltage reference potential 4 24 Table 4 11 Connecting the load voltage reference potential 4 25 Table 4 12 Features of load power supply units 4 26 Table 4 13 Subnet nodes 4 31 Table 4 14 MPI PROFIBUS DP addresses 4 31 ...

Page 12: ...mended commissioning procedure Part II Software 8 4 Table 8 3 Possible reasons of a CPU request to reset memory 8 9 Table 8 4 Procedure for CPU memory reset 8 10 Table 8 5 Internal CPU events on memory reset 8 11 Table 8 6 Software requirements 8 23 Table 8 7 DP address areas of the CPUs 8 23 Table 8 8 Event recognition by CPUs 31x 2 DP 31xC 2 DP operating as DP master 8 25 Table 8 9 Event recogni...

Page 13: ...of Station Status 2 Byte 1 10 28 Table 10 17 Structure of Station Status 3 Byte 2 10 29 Table 10 18 Structure of the Master PROFIBUS address byte 3 10 29 Table 10 19 Structure of the manufacturer ID byte 4 and 5 10 29 Table A 1 System startup after specific events A 1 Table A 2 Mains voltage A 2 Table A 3 Protection against external electrical interference A 2 Table A 4 Protection against external...

Page 14: ...Table of contents S7 300 CPU 31xC and CPU 31x Installation xiv Operating Instructions Edition 08 2004 A5E00105492 05 ...

Page 15: ...d CPU 31x Manual Installation Appendix Table 1 2 Galvanic isolation Information on is available in Which modules can I use if electrical isolation is required between sensors actuators S7 300 CPU 31xC and CPU 31x Operating Instructions Installation Configuring Electrical assembly protective measures and grounding Module data Manual Under what conditions do I have to isolate the modules electricall...

Page 16: ...stallation Configuring Distribution of modules to several racks How to mount modules on racks mounting rails S7 300 CPU 31xC and CPU 31x operating instructions Installation Assembly Installing modules on the mounting rail Table 1 4 The use of local and distributed I O Information on is available in Which range of modules do I want to use For local I O and expansion devices Module Data reference ma...

Page 17: ...e 1 7 Communication Information on is available in Which principles do I have to take into account Communication with SIMATIC Manual PROFINET System Manual System Description Options and resources of the CPU CPU 31xC and CPU 31x Manual Technical Data How to use communication processors CPs to optimize communication CP Manual Which type of communication network is best suited to my application S7 3...

Page 18: ...unctions Human Machine Interface For text based displays The relevant Manual For Operator Panels The relevant Manual For WinCC The relevant Manual How to integrate process control modules For PCS7 The relevant Manual Options of redundant and fail safe systems S7 400H Manual Redundant Systems Fail Safe Systems Manual Information to be observed when migrating from PROFIBUS DP to PROFINET IO Programm...

Page 19: ...u can modify an existing system Installation procedure Configuring Mounting Wiring Do you want to set up a subnet Networking Addressing Installation completed continue with commissioning YES NO Basic rules for trouble free operation of the S7 system In view of the many and versatile applications we can only provide basic rules for the electrical and mechanical installation in this section You have...

Page 20: ... existing S7 system structure To modify the configuration of an existing system proceed as described earlier Note When adding a new signal module always refer to the relevant module information Reference Also refer to the description of the various modules in the manual SIMATIC S7 300 Automation Systems Module Data Reference Manual ...

Page 21: ...th integrated I O 3 Signal module SM 4 PROFIBUS bus cable 5 Cable for connecting a programming device PG You use a programming device PG to program the S7 300 PLC Use the PG cable to interconnect the PG with the CPU To commission or program a CPU with PROFINET interface you may also use an Ethernet cable to interconnect the PG with the PROFINET connector of the CPU Please note that you need to adj...

Page 22: ...ng terminal S7 300 racks Power supply PS module The PS converts the line voltage 120 230 VAC into a 24 VDC operating voltage and supplies the S7 300 and its 24 VDC load circuits SIEMENS A CPU 31xC for example SIE ME NS A CPU 312 314 or 315 2 DP for example CPU Accessories Front connectors CPU 31xC only The CPU executes the user program supplies 5 V to the S7 300 backplane bus and communicates with...

Page 23: ...odules FM Accessories Front connectors The FM performs time critical and memory intensive process signal processing tasks Positioning or controlling for example Communication processor CP Accessories Connecting cable The CP relieves the CPU of communication tasks Example CP 342 5 DP for connecting to PROFIBUS DP SIMATIC TOP connect Accessories Front connector module with ribbon cable terminals Wir...

Page 24: ...he repeater is used to amplify the signals and to couple segments of an MPI or PROFIBUS subnet Switch A switch is used to interconnect the Ethernet nodes Twisted pair cables with RJ45 connectors Interconects devices with Ethernet interface a switch with a CPU 317 2 PN DP for example Programming device PG or PC with the STEP 7 software package You need a PG to configure set parameters program and t...

Page 25: ...formation refer to the Communication with SIMATIC manual 6ES7398 8EA00 8AA0 or the SIMATIC NET Twisted Pair and Fiber Optic Networks Manual 6GK1970 1BA10 0AA0 4 2 Basic engineering principles Important information for engineering Warning Open equipment S7 300 modules are open equipment That is the S7 300 must be installed in a cubicle cabinet or electrical control room which can only be accessed u...

Page 26: ...need to observe when integrating an S7 300 into a plant or a system Central unit CU and expansion module EM An S7 300 PLC consists of a central unit CU and of one or multiple expansion modules The rack containing the CPU is the central unit CU Racks equipped with modules and connected to the CU form the expansion modules EMs of the system Use of an expansion module EM You can use EMs if the CU run...

Page 27: ...ambient air temperatures are permitted Vertical assembly 0 C to 40 C Horizontal assembly 0 C to 60 C Always install the CPU and power supply modules on the left or at the bottom DC5 V DC5 V FRCE FRCE RUN RUN ST OP ST OP DC5 FRCE RUN ST OP CPU CPU PS PS 1 3 SM SM SM SM SM SM SM SM SM SM SM SM SM SM SM SM 1 1 2 1 3 The figure illustrates the following 1 the vertical installation of an S7 300 2 the h...

Page 28: ...on of the 2 m rail to your application Dimensions of modules Table 4 2 Module width Module Width Power supply module PS 307 2 A 50 mm Power supply module PS 307 5 A 80 mm Power supply module PS 307 10 A 200 mm CPU For information on assembly dimensions refer to the Technical Data in CPU 31xC and CPU 31x Manual Technical Data Analog I O modules 40 mm Digital I O modules 40 mm Simulator module SM 37...

Page 29: ...he bracket Mount the bracket order no 6ES5 390 5AA0 0AA0 to the rail using the two screw bolts If you use a shielding contact element the specified dimensions are measured from the base of the element Width of the shielding contact element 80 mm Mountable shielding terminals per shielding contact element max 4 Table 4 3 Shielding terminals Overview Cable with shielding diameter Shielding terminal ...

Page 30: ...es The S7 300 assembly on multiple racks shown in the figure below shows the clearance between racks and adjacent components cable ducts cabinet walls etc For example when routing your module wiring through cable duct the minimum clearance between the bottom of the shielding contact element and the cable duct is 40 mm PP PP PP PP PP D D PP PP 60 60 60 60 60 38 36 38 The figure illustrates the foll...

Page 31: ...ght of the CPU order no 6ES7 370 0AA01 0AA0 This gives you the option of adding a second rack for your application simply by replacing the dummy module with an interface module and without having to reinstall and rewire the first rack Rules Layout of modules on a single module rack The following rules apply to module installations on a single rack No more than eight modules SM FM CP may be install...

Page 32: ...ated on rack 0 Table 4 4 Interface modules Overview Properties Two or more rows Cost effective 2 row configuration Send IM in rack 0 IM 360 order no 6ES7 360 3AA01 0AA0 IM 365 order no 6ES7 365 0AB00 0AA0 Receiver IM in racks 1 to 3 IM 361 order no 6ES7 361 3CA01 0AA0 IM 365 hard wired to send IM 365 Maximum number of expansion modules 3 1 Length of connecting cables 1 m 6ES7 368 3BB01 0AA0 2 5 m ...

Page 33: ...CP is limited by the permitted current consumption on the S7 300 backplane bus The accumulated power consumption may not exceed 1 2 A per row Note For information on the power consumption of the various modules refer to the Module Specifications Reference Manual Rules Interference proof interfacing Special shielding and grounding measures are not required if you interconnect the CU and EM using su...

Page 34: ...7 300 assembly on 4 racks IM IM CPU PS SM1 SM2 SM3 SM4 SM5 SM6 SM7 SM8 PS PS 4 3 2 1 5 4 6 SM1 SM2 SM3 SM 4 SM5 SM6 SM7 SM8 SM1 SM2 SM3 SM 4 SM5 SM6 SM7 SM8 SM1 SM2 SM3 SM 4 SM5 SM6 SM7 SM8 IM IM IM IM 5 5 The figure illustrates the following 1 Rack 0 central unit 2 Rack 1 expansion module 3 Rack 2 expansion module 4 Rack 3 expansion module 5 The connecting cable 368 6 Restriction for CPU 31xC Whe...

Page 35: ...conditions temperature humidity dust chemical influence explosion hazard at the cabinet s place of installation determine the degree of protection IP xx required for the cabinet Reference for degrees of protection For further information on the degrees of protection refer to IEC 529 and DIN 40050 The power dissipation capability of cabinets The power dissipation capability of a cabinet depends on ...

Page 36: ...lation 4 12 Operating Instructions Edition 08 2004 A5E00105492 05 Warning Modules may get damaged if exposed to excess ambient temperatures Reference for ambient temperatures For information on permitted ambient temperatures refer to the S7 300 Automation System Module data Reference Manual ...

Page 37: ...ssipation only across the cabinet wall only low power losses permitted In most cases the heat accumulates at the top of the cabinet interior Heat dissipation only across the cabinet wall Forced convection of the interior air improves heat dissipation and prevents heat accumulation Heat dissipation by heat exchange between heated internal air and cool external air The increased surface of the pleat...

Page 38: ...an accumulated power loss of 650 W Power loss dissipated The diagram in the figure below shows guide values for the permitted ambient temperature of a cabinet with the dimensions 600 mm x 600 mm x 2 000 mm based on the accumulated power loss These values only apply if you maintain the specified assembly and clearance dimensions for racks rails 200 400 600 800 1000 1200 1400 Power loss in W 20 30 4...

Page 39: ...ation closed with heat exchanger 4 9 Electrical assembly protective measures and grounding 4 9 1 Grounding concept and overall structure This section contains information about the overall configuration of an S7 300 connected to a grounded TN S network Circuit breaking devices short circuit and overload protection to VDE 0100 and VDE 0113 Load power supplies and load circuits Grounding concept Not...

Page 40: ...tion In groups for signal generators and final control elements 2 Part 725 Single pole fusing of circuits Part 1 With grounded secondary power circuit single pole fusing Otherwise fusing of all poles Load power supply for AC load circuits with more than five electromagnetic devices 3 Galvanic isolation by transformer recommended Electrical isolation by transformer mandatory 1 This column refers to...

Page 41: ...ollowing 1 Grounding slide contact in grounded state 2 Ground of the internal CPU circuitry 3 The mounting rail Note Do not pull out the grounding slide contact when you install an S7 300 with grounded reference potential 4 9 3 Configuring an S7 300 with ungrounded reference potential not CPU 31xC Introduction During installation of an S7 300 with ungrounded reference potential interference curren...

Page 42: ...re shows an S7 300 configuration with floating potential M M L M 10M 100 nF 1 2 3 The figure illustrates the following 1 How to implement an ungrounded reference potential in your CPU Use a screwdriver with 3 5 mm blade width to push the grounding slide contact forwards in the direction of the arrow until it snaps into place 2 Ground of the internal CPU circuitry 3 The mounting rail Note You shoul...

Page 43: ...ernal Field of application Use isolated modules for All AC load circuits DC load circuits with separate reference potential Examples DC load circuits containing sensors which are connected to different reference potentials for example if grounded sensors are located at a considerable distance from the control system and equipotential bonding is not possible DC load circuits with grounded positive ...

Page 44: ...a configuration A CPU 31xC with isolated modules The CPU 31xC 1 is automatically grounded N L1 L M PS S7 300 CPU µ P L1 N Mexternal L U internal M internal Data L1 N DI DO PE Common grounding line in the cabinet 230 V AC load power supply 24 V DC load power supply 1 Common potential modules In a configuration containing modules with common potential the reference potentials of the control circuit ...

Page 45: ...A A D Common grounding line in the cabinet 24 V DC load power supply 4 9 5 Grounding measures Bonding to ground Low impedance connections to ground reduce the risk of electric shock as a result of a short circuit or system fault Low impedance connections large surface large surface contact reduce the effects of interference on the system or the emission of interference signals An effective shieldi...

Page 46: ...ol elements Grounding in accordance with regulations applying to the system Rule Connect the cable shielding to ground You should always connect both ends of the cable shielding to ground system ground This is the only way to achieve an effective interference suppression in the higher frequency range Attenuation is restricted to the lower frequency range if you connect only one end of the shieldin...

Page 47: ...r see Overview Grounding section 4 Connecting the load voltage reference potential A complex system containing many output modules requires an additional load voltage for switching the final control elements The table below shows how to connect the load voltage reference potential Mexternal for the various configurations Table 4 9 Connecting the load voltage reference potential Installation common...

Page 48: ...th their physical arrangement it was merely selected to give you a clear overview Cabinet Profile rail PS CPU SM L1 N L M µP AC AC AC AC DC DC L1 L2 L3 N PE 1 Low voltage distribution e g TN S system 3 x 400 V Common grounding line in the cabinet Load circuit 24 to 230 V AC for AC modules Load circuit 5 to 60 V DC non isolated DC modules Load circuit 5 to 60 V DC for isolated DC modules Signal mod...

Page 49: ...ected to give you a clear overview Cabinet Profile rail PS CPU SM Signal modules L1 N L M µP AC AC AC AC DC DC L1 M L2 L3 N PE Load circuit 24 to 230 V AC for AC modules Load circuit 5 to 60 V DC for non isolated DC modules Load circuit 5 to 60 V DC for isolated DC modules Low voltage distribution e g TN S system 3 x 400 V Common grounding line in the cabinet 1 2 2 2 3 4 5 Table 4 11 Connecting th...

Page 50: ...tput voltage tolerances 20 4 V to 28 8 V 40 8 V to 57 6 V 51 V to 72 V Load power supply requirements Only an extra low voltage of 60 VDC which is safely isolated from mains may be used as load voltage Safe isolation from mains can be achieved for example in accordance with VDE 0100 Part 410 HD 384 4 41 IEC 364 4 41 as functional extra low voltage with safe isolation or VDE 0805 EN 60950 IEC 950 a...

Page 51: ... grounding concept with TN S mains supply The PS 307 supplies the CPU and the load current circuit of the 24 VDC modules Note The layout of the power connections does not correspond with their physical arrangement it was merely selected to give you a clear overview 1 0 0 36 6 38 w3 1 3 60 5DLO RZ YROWDJH GLVWULEXWLRQ H J 71 6 V VWHP 9 TXLSRWHQWLDO EXV OLQH LQ WKH FDELQHW 2Q ORDG SRZHU FLUFXLWV 9 I...

Page 52: ...ways retains the last configuration of the transmission rate node number and highest MPI address even after CPU memory reset power failure or deletion of the CPU parameter configuration It is advisable to use the PROFIBUS DP network components for your MPI network configuration The same configuration rules apply in this case Exception OWG modules are not allowed in the MPI network PROFIBUS Availab...

Page 53: ...r the implementation of applications with distributed intelligence 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 is designed for the integra...

Page 54: ... DP MPI and PROFIBUS network components Example of networks MPI 4 11 2 2 Basic principles of MPI and PROFIBUS subnets Convention device node All devices you interconnect on the MPI or PROFIBUS network are referred to as nodes Segment A segment is a bus line between two terminating resistors A segment may contain up to 32 nodes It is also limited with respect to the permitted line length which is d...

Page 55: ...work a PROFIBUS DP address You can use the PG to set the MPI PROFIBUS addresses for each one of the nodes some of the PROFIBUS DP slaves are equipped with a selector switch for this purpose Default MPI PROFIBUS DP addresses The table below shows you the default setting of the MPI PROFIBUS DP addresses and the factory setting of the highest MPI PROFIBUS DP addresses for the nodes Table 4 14 MPI PRO...

Page 56: ...nets The MPI address of those FM CPs is thus no longer relevant for the nodes on other subnets The MPI address of the CPU is used to communicate with these FMs CPs Recommended MPI address settings Reserve MPI address 0 for a service PG or 1 for a service OP for temporary connections of these devices to the subnet You should therefore assign different MPI addresses to PGs OPs operating on the MPI s...

Page 57: ...es The MPI Multi Point Interface represents the CPU interface for PG OP connections or for communication in an MPI subnet The typical default transmission rate for all CPUs is 187 5 kbps You can also set 19 2 kbps for communication with an S7 200 The 315 2 PN DP and 317 CPUs support transmission rates up to 12 Mbps The CPU automatically broadcasts its bus configuration via the MPI interface the tr...

Page 58: ...n both interfaces is excluded Properties The PROFIBUS DP interface is mainly used to connect distributed I O PROFIBUS DP allows you to create large subnets for example The PROFIBUS DP interface can be set for operation in master or slave mode and supports transmission rates up to 12 Mbps The CPU broadcasts its bus parameters transmission rate for example via the PROFIBUS DP interface when master m...

Page 59: ... subnet segment This length of 50 m is the distance between the first and the last node of the segment Table 4 17 Permissible cable length of a segment on the MPI subnet Transmission rate S7 300 CPUs common potential MPI without CPU 317 CPU 317 19 2 kbps 187 5 kbps 50 m 1000 m 1 5 Mbps 200 m 3 0 Mbps 6 0 Mbps 12 0 Mbps 100 m Segment on the PROFIBUS subnet The maximum cable length of a a segment on...

Page 60: ...rd to connect the PG or PC You can connect several PG patch cords to the the bus for order numbers see table 4 20 Other types of stub cables are not permitted Length of stub cables The table below shows the maximum permitted lengths of stub cables per segment Table 4 19 Lengths of stub cables per segment Number of nodes with stub cable length of Transmission rate Max length of stub cables per segm...

Page 61: ...to chemical and mechanical stress 6XV1 830 0DH10 PROFIBUS cable with PE sheath for the food and beverages industry 6XV1 830 0BH10 PROFIBUS cable for festooning 6XV1 830 3CH10 Properties of PROFIBUS cables The PROFIBUS cable is a 2 wire shielded twisted pair cable with copper conductors It is used for hardwired transmission in accordance with US Standard EIA RS485 The table below lists the characte...

Page 62: ...e of fiber optic cables for PROFIBUS refer to the SIMATIC NET PROFIBUS Networks Manual Bus connector RS 485 Table 4 24 Bus connector Type Order number RS485 bus connector up to 12 Mbps with 90 cable exit without PG interface with PG interface 6ES7 972 0BA11 0XA0 6ES7 972 0BB11 0XA0 Fast Connect RS485 bus connector up to 12 Mbps with 90 cable exit with insulation displacement technology without PG ...

Page 63: ...h in a segment Longer cable lengths If you want to implement cable lengths above those permitted in a segment you must use RS485 repeaters The maximum cable length possible between two RS 485 repeaters corresponds to the cable length of a segment Please note that these maximum cable lengths only apply if there is no further node interconnected between the two RS 485 repeaters You can connect up to...

Page 64: ... CPU FM MPI addr 1 MPI addr 3 MPI addr 4 MPI addr 5 MPI addr 6 MPI addr 7 PROFIBUS MPI addr 9 MPI addr 8 MPI addr 10 MPI addr 11 MPI addr 12 OP 27 MPI addr 13 MPI addr 0 2 2 1 1 5 4 3 3 Key to numbers in the figure 1 Terminating resistor enabled 2 S7 300 and OP 27 have subsequently been connected to the MPI subnet using their default MPI address 3 CPU 31xC 312 314 315 2 DP You can also assign user...

Page 65: ...t configuration maximum distances possible in an MPI subnet the principle of Line extension using RS 485 repeaters PD P PD P 3 3 56 5HSHDWHU PD P 6 38 36 38 03 DGGU 6 38 36 38 03 DGGU 6 38 36 38 03 DGGU 03 DGGU 23 03 DGGU 6 38 36 38 03 DGGU 56 5HSHDWHU 03 DGGU 23 6 38 36 38 03 DGGU 03 DGGU 23 03 DGGU Key to numbers in the figure 1 Terminating resistor enabled 2 PG connected by means of a stub cabl...

Page 66: ...U CPU PS ET 200 M S7 300 CPU PS CPU CPU PS ET 200 M S7 300 CPU PS CPU OP 27 CPU PS ET 200 M S7 300 CPU PS CPU 2 1 2 1 2 2 2 1 2 1 Key to numbers in the figure 1 Terminating resistor enabled 2 PG connected by means of a stub cable for maintenance purposes Warning Disturbance of data traffic might occur on the bus A bus segment must always be terminated at both ends with the terminating resistor Thi...

Page 67: ...31x 2 DP MASTER MPI addr 0 MPI addr 3 PROFIBUS addr 2 PROFIBUS addr 3 PROFIBUS addr 4 PROFIBUS addr 5 PROFIBUS addr 6 PROFIBUS addr 7 3 CPU PS ET 200M CPU PS ET 200M CPU PS ET 200 M 3 S7 300 CPU PS DP CPU CPU PS ET 200M CPU PS ET 200M CPU ET 200B ET 200B CPU ET 200B CPU ET 200B PROFIBUS addr 12 PROFIBUS addr 11 PROFIBUS addr 10 PROFIBUS addr 9 PROFIBUS addr 8 1 1 2 Key to numbers in the figure 1 T...

Page 68: ...et S7 300 CPU with DP interface as DP master RS 485 repeater MPI address 2 MPI address 3 MPI address 4 MPI address 6 MPI address 5 OP 27 MPI address 7 MPI address 8 MPI address 0 S7 300 CPU PS CPU S7 300 PS CPU OP 27 CPU PS DP CPU ET200M ET200M ET200M ET200M ET200M ET200M ET200B ET200B S5 95U S5 95U S5 95U DP address 3 DP address 4 DP address 9 DP address 8 DP address 10 DP address 11 DP address 5...

Page 69: ...ulic devices pneumatic devices Active network components for example distributed I O valve blocks drives The main characteristics of a node is its integration into PROFINET communication by means of Ethernet or PROFIBUS The following device types are distinguished based on their attachment to the bus PROFINET nodes PROFIBUS nodes Definition PROFINET nodes A PROFINET node always has at least one In...

Page 70: ...IBUS Comment 1 IO system DP master system 2 IO controller DP master Node used to address the connected IO devices DP slaves That is the IO controller DP master exchanges input and output signals with field devices The IO controller DP master is often the controller on which the automation program runs 3 IO supervisor PG PC Class 2 DP master PG PC HMI device for commissioning and diagnostics 4 Indu...

Page 71: ...sists of slots in which the modules submodules are inserted The modules submodules have channels over which the process signals are read in or output The following graphic illustrates the situation 10 11 11 11 12 12 12 12 12 12 12 12 Figure 4 2 Module Submodule Slot and Channel Number Description 10 Interface module 11 Slot with module submodule 12 Channel It is always possible for a slot to be di...

Page 72: ...bsystems This makes a continuous technological transition to PROFINET possible Interconnection of PROFINET and PROFIBUS You can connect PROFIBUS devices to the local PROFIBUS interface of a PROFINET device This allows you to integrate existing PROFIBUS configurations in PROFINET The following figure shows the supported network types for PROFINET Industrial Ethernet and PROFIBUS 1 2 3 Industrial Et...

Page 73: ...ogramming manual 4 11 3 4 PROFINET IO and PROFINET CBA What is 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 familiar from PROFIBUS PROFINET IO is implemented by the PROFINET standard for the programmable controllers on the one hand and on the other...

Page 74: ...processes Component based Automation allows you to use complete technological modules as standardized components in large systems PROFINET CBA is implemented by the PROFINET standard for programmable controllers and the SIMATIC iMAP engineering tool The components are also created in an engineering tool that can differ from vendor to vendor Components of SIMATIC devices are generated for example w...

Page 75: ...ructions Edition 08 2004 A5E00105492 05 4 51 Automation Solution with PROFINET CBA Engineering Human Machine Interface Industrial Ethernet PROFIBUS Intelligent Field devices Mechanical Electrical Elektronic User program IE PB Link Figure 4 5 New Modular Concept with Distributed Intelligence ...

Page 76: ...RWRFROV 1RQ 57 RQWUROOHU Figure 4 6 Extent of PROFINET IO and Component based Automation Component based Automation divides the entire plant into various functions These functions are configured and programmed PROFINET IO provides you with a picture of the plant that is very similar to the view obtained in PROFIBUS You continue to configure and program the individual programmable controllers Contr...

Page 77: ...urrently you can only use a CPU 317 2 DP PN as a proxy for PROFINET CBA Integrating Components and Devices In Component based Automation you integrate the components in an interconnection editor for example SIMATIC iMap The components are described in a PCD file In PROFINET IO you integrate the devices in an engineering system for example STEP 7 The components are described in a GSD file Connectin...

Page 78: ... that will be reserved for PROFINET IO For more detailed information refer to the STEP 7 online help Details on the Possible Uses of the Individual Products For more information refer to the documentation of the particular product 4 11 3 5 PROFINET cable lengths and network expansion Network expansion options are based on various factors hardware design used signal propagation delay minimum distan...

Page 79: ...XP cord 9 RJ45 Cross over TP patch cable with 9 pin sub D connector and RJ45 connector 0 5 m 1 0 m 2 0 m 6 0 m 10 0 m 6XV1 850 2ME50 6XV1 850 2MH10 6XV1 850 2MH20 6XV1 850 2MH60 6XV1 850 2MN10 TP patch cable 9 45 RJ45 TP patch cable with RJ45 connector and sub D connector with 45 cable exit for OSM ESM only 1 0 m 6XV1 850 2NH10 TP XP patch cable 9 45 RJ45 Cross over TP patch cable with RJ45 connec...

Page 80: ...com automation service support See also Connecting the PG to a node Page 8 14 Connecting the PG to several nodes Page 8 15 4 11 3 6 Connectors and other components for Ethernet The selection of the bus cable bus connector and other components for Ethernet for example switches etc depends on the intended application We offer a range of products covering a variety of applications for the installatio...

Page 81: ...ustrates the combination of corporate level and process control level via industrial Ethernet PCs in a classical office environment can be used to acquire data of the process automation system CPU 31x 2 PN DP PG ET200 DP SLAVE PROFIBUS Company network CPU CPU CPU 31x 2 PN DP DP master CPU 31x 2 PN DP Switch 3 Switch 1 Switch 2 Subnet 1 Subnet 1 Subnet 2 Subnet 2 Router INDUSTRIAL ETHERNET Figure 4...

Page 82: ...our PROFINET system architecture Connect your programming device PG close to the communication partner for example connect the PG and the communication partner to the same switch Modules with PROFINET interfaces may only be operated in LANs where all nodes are equipped with SELV PELV power supplies or protection systems of equal quality A data transfer device that ensures this safety must be speci...

Page 83: ...You can of course also access other areas in Industrial Ethernet from a field PG Example PG Switch 3 Switch 2 to an IO device of ET 200S 2 The IO controller of the CPU 31x 2 PN DP 1 controls the nodes connected to the Industrial Ethernet and PROFIBUS directly At this point you see the enhanced IO feature between the IO controller and IO device s on Industrial Ethernet The CPU 31x 2 PN DP 1 is the ...

Page 84: ...ting A CPU with several interfaces can also serve as a router for intercommunication with different subnets With a PG you can access all modules on local and remote networks Requirements STEP 7 Version 5 0 or higher Note For STEP 7 requirements with respect to the CPUs used refer to the technical specifications Assign the PG PC to a network in your STEP 7 project SIMATIC Manager assigning a PG PC ...

Page 85: ... 1 PG PC 1 MPI network 1 CPU 417 as router PROFIBUS network 3 CPU 31x 2 DP Example 2 To access the the S7 300 CPU on the right in the figure using PG PC 2 PG PC 2 PROFIBUS network 3 CPU 31x 2 DP as router MPI network 2 S7 300 CPU Example 3 To access the 416 CPU using PG PC 3 PG PC 3 MPI network 2 CPU 31x 2 DP as router PROFIBUS network 3 CPU 417 as router MPI network 1 CPU 416 Note Only for CPUs w...

Page 86: ...ng the PtP interface of your CPU you can connect external devices with serial interface You can operate such a system at transmission rates up to 19 2 kbps in full duplex mode RS 422 and up to 38 4 kbps in half duplex mode RS 485 Transmission rate Half duplex 38 4 kbps Full duplex 19 2 kbps Driver PtP communication drivers installed in those CPUs ASCII drivers 3964 R Protocol RK 512 only CPU 314C ...

Page 87: ...tor Sensor Interface ASI Implementation using communication processors CP The ASI or Actuator Sensor Interface represents a subnet system on the lowest process level for automation systems It is designed especially for networking digital sensors and actuators The maximum data volume is 4 bits per slave station S7 300 CPUs require communication processor for the ASI connection ...

Page 88: ...Configuring 4 11 Planning subnets S7 300 CPU 31xC and CPU 31x Installation 4 64 Operating Instructions Edition 08 2004 A5E00105492 05 ...

Page 89: ... to IEC 61131 2 and EC directive 73 23 EEC Low Voltage directive and to UL CSA Approval an open type In order to conform with specifications on safe operation relating to mechanical strength inflammability stability and touch protection the following alternative installation modes are prescribed Installation in a suitable cubicle Installation in a suitable cabinet Installation in an appropriately ...

Page 90: ...only Tip Templates for labeling strips are available on the Internet at http www ad siemens de csinfo under article ID 11978022 1 Bus connector For electrical interconnection of modules Signal module SM Function Module FM 1 Labeling strip For labeling module I O Tip Templates for labeling strips are available on the Internet at http www ad siemens de csinfo under article ID 11978022 1 Bus connecto...

Page 91: ...r matching the selected fixing screws diverse M6 screws length depends on the place of installation with nuts and spring lock washers screw fastening the modules on the rail screwdriver with 3 5 mm blade width cylindrical design pulling out the grounding slide contact to achieve ungrounded state screwdriver with 3 5 mm blade width cylindrical design 5 2 Installing the mounting rail Mounting rail v...

Page 92: ... length of your rail exceeds 830 mm you must stabilize it by providing additional holes for fixing it with more screws Mark out these holes along the groove in the middle section of the rail see the Figure below The pitch should be approx 500 mm 4 Drill the marked holes bore diameter 6 5 0 2mm for M6 screws 5 Mount an M6 bolt for fixing the ground conductor 3 4 5 2 1 Key to numbers in the figure 1...

Page 93: ...00 mm 15 mm _ _ _ _ Length of rail Dimension a Dimension b 160 mm 10 mm 140 mm 482 6 mm 8 3 mm 466 mm 530 mm 15 mm 500 mm 830 mm 15 mm 800 mm Fixing screws To fix the mounting rails you can use the following types of screws For you can use description cylindrical head screw M6 to ISO 1207 ISO 1580 DIN 84 DIN 85 outer fixing screws M6 hexagonal head screw to ISO 4017 DIN 4017 additional fixing scre...

Page 94: ...he modules See the figure below 2 Mark up the mounting holes on the mounting surface Drill the holes diameter 6 5 0 2 mm 3 Screw the rail M6 screws onto the mounting surface Note Always make sure of a low impedance contact between the rail and a mounting surface if the latter is a grounded metal panel or equipment mounting panel On varnished or anodized metals for instance use a suitable contactin...

Page 95: ...he modules onto the rail starting at the left and in the following order 1 Power supply module 2 CPU 3 SMs FMs CPs IMs Note Please check before you insert any SM 331 analog input modules whether you have to reposition the measuring range submodules at the side of the module For further information refer to chapter 4 Analog Modules in your Module Data Reference Manual Note When installing an S7 300...

Page 96: ...dule is supplied with a bus connector Always start at the CPU when you plug in the bus connectors Remove the bus connector from the last module of the assembly Plug the bus connectors into the other modules The last module does not receive a bus connector CPU 2 Add all modules to the rail in the specified order 1 slide them up to the module on the left 2 then swing them down 3 CPU 2 1 3 3 Screw ti...

Page 97: ...aking it easier to assign the modules in the configuration table in STEP 7 The table below shows the slot number assignment Table 5 4 Slot numbers for S7 modules Slot number Module Comment 1 Power supply PS 2 CPU 3 Interface module IM to the right of the CPU 4 1 Signal module SM to the right of the CPU or IM 5 2 Signal module SM 6 3 Signal module SM 7 4 Signal module SM 8 5 Signal module SM 9 6 Si...

Page 98: ... Clipping the slot numbers onto the modules 1 Hold the corresponding slot number in front of the relevant module 2 Insert the pin into the opening on the module 1 3 Press the slot number into the module 2 The slot number breaks off from the wheel The figure below illustrates this procedure The slot number labels are included with the CPU CPU PS 1 2 ...

Page 99: ... I Os Shielding contact element shielding terminals matching the shielding diameter for connecting cable shielding Tools and material required Tools and materials required for wiring the S7 300 Table 6 2 Tools and material for wiring To you need Connect the protective conductor to the rail Wrench size 10 Protective conductor cable cross section 10 mm2 with M6 cable lug M6 nut washer spring lock wa...

Page 100: ...ire end ferrules to DIN 46228 without insulating collar with insulating collar Design A 10 mm to 12 mm length Design E up to 12 mm length Wiring conditions for front connectors Table 6 4 Wiring conditions for front connectors Front connectors Connectable cables 20 pole 40 pole Solid conductors No No Flexible conductors without wire end ferrule with wire end ferrule 0 25 mm2 to 1 5 mm2 0 25 mm2 to ...

Page 101: ...ail with the protective conductor using the M6 protective conductor bolt Minimum cross section of the protective conductor 10 mm2 The figure below shows how the protective conductor has to be bonded to the rail Note Always make sure of a low impedance contact between the protective conductor and the rail You can achieve this by using a low impedance cable keeping it as short as possible and contac...

Page 102: ... on 120 VAC or 230 VAC The default setting for the PS 307 is 230 VAC Mains voltage selector switch adjusting Verify that the setting of the voltage selector switch matches your local mains voltage To set the selector switch 1 Remove the protective cap with a screwdriver 2 Set the selector switch to match the local line voltage 3 Reinsert the protective cap CPU PS 2 1 2 2 Key to numbers in the figu...

Page 103: ...onnected to the mains You should therefore isolate the S7 300 from power before you start wiring Always use crimp ferrules with insulating collars for the conductors Close all front panels of the modules when you completed the wiring This is conditional before you reconnect the S7 300 to power 1 Open the PS 307 power supply module and CPU front panels 2 Open the strain relief on the PS 307 3 Strip...

Page 104: ...nect the M and L terminals of the power supply module and of the CPU 6 Close the front panels The figure below illustrates the procedures described earlier L1 N L M M L I M L 230V 120V 1 2 3 Key to numbers in the figure 1 Strain relief of the power supply cable 2 Connection cables between the PS and CPU 3 Removable power supply connector Note The PS 307 power supply module is equipped with two add...

Page 105: ...crew terminals order no Front connector with spring terminals order no SMs not 32 channel FMs Communication module CP 342 2 6ES7 392 1AJ00 0AA0 6ES7 392 1BJ00 0AA0 SMs 32 channel and CPU 31xC 6ES7 392 1AM00 0AA0 6ES7 392 1BM01 0AA0 Termination on spring terminals It is quite easy to wire a front connector with spring terminals Simply insert the screwdriver vertically into the opening with the red ...

Page 106: ...he wiring This is conditional before you reconnect the S7 300 to power 1 Switch off the power supply 2 Open the front panel 3 Place the front connector into wiring position Push the front connector into the signal module until it latches In this position the front connector still protrudes from the module Advantage of this wiring position Comfortable wiring The front connector pins do not contact ...

Page 107: ...art wiring at terminal 1 and work your way up to terminal 20 Start wiring at terminal 1 or 21 and work in alternating passes from terminals 2 22 3 23 etc until you have reached terminals 20 and 40 3 Front connectors with screw terminals Always screw tighten the unused terminals 4 Place the strain relief around the cable harness and the front connector 5 Tighten the strain relief for the cable harn...

Page 108: ...r is seated correctly in the module the unlocking mechanism automatically returns to the initial position when you release it Tighten the mounting screw in the center of the connector This pulls the front connector completely into contact with the module 1 Note When you insert the front connector into the module an encoding mechanism engages in the front connector thus ensuring that the connector ...

Page 109: ...following labeling strips depending on the module Table 6 8 Labeling strip assignment to modules Module Labeling strip order no SMs not 32 channel FMs Communication module CP 342 2 6ES7 392 2XX00 0AA0 SMs 32 channel 6ES7 392 2XX10 0AA0 Labeling strips Labeling and inserting 1 Label the strips with the addresses of the sensors actuators 2 Slide the labeled strips into the front panel CPU PS Hint Te...

Page 110: ...he following shielding terminals based on the shielding diameter of your cables Table 6 9 Shielding diameter assignment to shielding terminals Cable with shielding diameter Shielding terminal order no 2 cables each with shielding diameter of 2 mm to 6 mm 6ES7 390 5AB00 0AA0 1 cable shielding diameter 3 mm to 8 mm 6ES7 390 5BA00 0AA0 1 cable shielding diameter 4 mm to 13 mm 6ES7 390 5CA00 0AA0 The ...

Page 111: ... the shielding terminal at this position onto the edge of the bracket see figure below Push the shielding terminal down and pivot it into the desired position You can install up to 4 shielding terminals on each of the two rows of the shielding contact element CPU PS 1 1 2 2 3 The figure illustrates the following 1 Bracket of shielding contact element 2 Edge of the bracket where the shielding termi...

Page 112: ...mm 2 Clamp in the stripped cable shielding underneath the shielding terminal Push the shielding terminal towards the module 1 and feed the cable through the clamp opening 2 If you need more than four shielding terminals start wiring at the rear row of the shielding contact element CPU PS 2 2 2 1 The figure illustrates the following 1 Magnified view of the shielding terminal 2 Wiring of the shieldi...

Page 113: ... the same wires to the same terminal green wire to terminal A red wire to terminal B for example 4 Press the cable sheath into the clamp Make sure that the shielding directly contacts the shielding contact surfaces 5 Screw tighten the wire terminals 6 Close the bus connector housing Wiring a Fast Connect bus connector 1 Strip the bus cable Details on stripped lengths are found in the product infor...

Page 114: ...module 1 Plug the wired bus connector into the module 2 Screw tighten the bus connector on the module 3 If the bus connector is located at the beginning or end of a segment you must enable the terminating resistor switch setting ON see the following figure Note 6ES7 972 0BA30 0XA0 bus connectors are not equipped with a terminating resistor You cannot insert this type of bus connector at the beginn...

Page 115: ...erminating resistor This is not the case if the last slave with bus connector is off power for example The bus connector draws its power from the station and the terminating resistor is thus disabled Please make sure that power is always supplied to stations on which the terminating resistor is active 6 10 RJ45 Ethernet connector This is an 8 pin connector with a design in accordance with ISO IEC ...

Page 116: ...Wiring 6 10 RJ45 Ethernet connector S7 300 CPU 31xC and CPU 31x Installation 6 18 Operating Instructions Edition 08 2004 A5E00105492 05 ...

Page 117: ...f module This section shows you which module start address is assigned to which slot number You need this information to determine the start addresses of the installed modules Maximum assembly and the corresponding module start addresses The figure below shows you an S7 300 assembly on four racks and the optional slots with their modules Start addresses The input and output addresses for I O modul...

Page 118: ... 3 3 32 64 96 5 5 5 36 68 100 384 512 640 400 528 656 6 6 6 40 72 104 416 544 672 7 7 7 44 76 108 432 560 688 8 8 8 48 80 112 448 576 704 9 9 9 52 84 116 464 592 720 10 10 10 56 88 120 480 608 736 11 11 11 60 92 124 496 624 752 SF SF BUSF BUSF DC5V DC5V FRCE FRCE RUN RUN STOP STOP SIEMEN S CPU PS IM IM SM SM SM SM SM SM SM SM SM IM SM SM SM SM SM SM SM SM SM IM SM SM SM SM SM SM SM SM SM SM SM SM ...

Page 119: ...andard software configuration you can define addresses which are independent of the relevant S7 300 configuration Note User specific addressing of modules is always required when using PROFIBUS DP or PROFINET IO field devices There is no fixed slot addressing for such a configuration 7 2 2 Addressing digital modules This section describes how to assign addresses to digital modules You need this in...

Page 120: ...a digital module are derived 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Bit address Module start address Byte address Module start address 1 Bit address An example of digital modules The example in the figure below shows which default addresses are derived when a digital module is located in slot 4 that is when the module start address is 0 Slot number 3 is not assigned because the example does not contain a...

Page 121: ...e start address of each further analog module increments by the count of 16 An analog I O module has the same start addresses for its input and output channels An example of analog modules The example in the figure below shows you which default channel addresses are derived for an analog module located at slot 4 As you can see the input and output channels of an analog I O module are addressed sta...

Page 122: ...ons 124 0 to 124 1 All digital inputs can be assigned an interrupt function Optional technological functions Counting Frequency measurement Pulse width modulation CPU 313C Addresses of the integrated I Os of this CPU Table 7 2 Integrated I Os of CPU 313C Inputs outputs Default addresses Comments 24 digital inputs 124 0 to 126 7 of which 12 inputs are for technological functions 124 0 to 125 0 125 ...

Page 123: ...ting Frequency measurement Pulse width modulation CPU 314C 2 PtP and CPU 314C 2 DP Addresses of the integrated I Os of these CPUs Table 7 4 Integrated I Os of CPU 314C 2 PtP DP Inputs outputs Default addresses Comments 24 digital inputs 124 0 to 126 7 of which 16 inputs are for technological functions 124 0 to 125 7 16 digital outputs 124 0 to 125 7 of which 4 inputs are for technological function...

Page 124: ...nt full length CPU 315 CPU 317 CPU 31xC 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 and SFC 15 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 Direct access to consistent areas is also possible L PEW or T PAW for example...

Page 125: ...is topic Reference Note the information about commissioning provided in the descriptions of your system components and devices 8 2 Commissioning procedure 8 2 1 Procedure Commissioning the hardware Hardware requirements S7 300 is installed S7 300 is wired With networked S7 300 the following applies to these interfaces MPI PROFIBUS MPI PROFIBUS addresses are configured segments are terminated with ...

Page 126: ...the PG Connecting the programming device PG Commission the CU with inserted power supply module and CPU First switch on the expansion devices EMs which are equipped with their own power supply module and then switch on the power supply module of the CU Initial power on Central unit CU commission the CPU and power supply check the LEDs Check the LED displays on both modules Debugging functions diag...

Page 127: ...4 315 2 DP V5 1 Servicepack 4 or higher 317 2 DP V5 2 Servicepack 1 or higher 317 2 PN DP with firmware version 2 2 0 V5 3 or higher 315 2 PN DP and 317 2 PN DP with FW version 2 3 0 V5 3 Servicepack 1 or higher With networked S7 300 the following applies to the interfaces MPI PROFIBUS the MPI PROFIBUS addresses are configured the terminating resistors on the segments are enabled PROFINET the inte...

Page 128: ...ction Debugging functions diagnostics and troubleshooting Commissioning PROFIBUS DP or Ethernet in the section Commissioning PROFIBUS DP in the section Configuring PROFINET interface X2 Commissioning PROFINET IO in the System Description PROFINET Connect the outputs Commissioning the outputs successively Danger Proceed step by step Do not go to the next step unless you have completed the previous ...

Page 129: ... the cable ducts installed properly Configuring Is the air circulation OK Installing Concept of grounding and chassis ground Points to be examined are in the manual S7 300 Installation in chapter Have you established a low impedance connection large surface large contact area to local ground Configuring Appendix Are all racks rails properly connected to reference potential and local ground direct ...

Page 130: ...ains voltage Points to be examined S7 300 Installation in chapter See reference manual Section Is the correct mains voltage set for all components Wiring Module Specifications Power supply module Points to be examined S7 300 Installation in chapter See reference manual Section Is the mains plug wired correctly Wiring Is mains voltage connected ...

Page 131: ...he CPU will STOP and request a memory reset 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 In this case you may have to delete the MMC on your PG or format the card in the CPU Never remove an MMC in RUN mode Always remove when power is off or when the CPU is in STOP state and when the PG is not a writing to the ca...

Page 132: ...nd Display Elements Use a small screwdriver or ball point pen to remove the MMC 3 Insert the new MMC into the MMC slot with the beveled edge of the MMC pointing towards the ejector 4 Gently insert the MMC into the CPU until the MMC clicks into place 5 Reset CPU memory see Resetting CPU memory by means of mode selector switch CPU Inserting and removing an MMC when CPU power is switched off If you r...

Page 133: ...y means of mode selector switch When to reset CPU memory You reset CPU memory before you download a completely new user program to the CPU when the CPU 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 8 3 Possible reasons of a CPU request to reset memory Causes of a CPU request to reset memory Special featu...

Page 134: ...Now release the key 3 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 CPU has completed memory reset the STOP LED stops flashing and remains lit The CPU has reset the memory The procedure described in the table above is only required if the user wishes to reset the CPU memory without being re...

Page 135: ...e MMC to the main memory again and memory utilization is indicated accordingly Data in the diagnostics buffer You can read the diagnostic buffer with the PG see STEP 7 Online Help The MPI parameters MPI address and highest MPI address transmission rate configured MPI addresses of CPs FMs in an S7 300 The same also applies to the CPU 317 if the MPI DP interface of the CPU was assigned as a DP inter...

Page 136: ... unless the Load user program Write RAM to ROM operation was interrupted as a result of Power Off The MMC is only formatted if a reason for formatting exists see above and not for example when you are prompted for a memory reset after a module replacement In this case a switch to MRES triggers a normal memory reset for which the module content remains valid Use the following steps to format your M...

Page 137: ...x 2 PN DP 1 Connect the PG PC to a switch using a TP patch cable 1 2 In the same way connect the switch to the integrated PROFINET interface of your CPU 2 38 36 7 6 2 HYLFH 6ZLWFK QGXVWULDO WKHUQHW 31 PG PC 2 1 Result You connected the PG PC to the integrated PROFINET interface of the CPU Tip Using an Ethernet crossover cable you can also connect your PG PC directly to the integrated PROFINET inte...

Page 138: ...ipped with an integrated MPI interface or an MPI card in order to connect it via MPI Connecting a PG to the integrated MPI interface of the CPU 1 Connect the PG to the MPI interface of your CPU by means of a PG patch cable 1 You can use a self made PROFIBUS bus cable with bus connectors The figure below illustrates the connection between the PG and the CPU 1 3 36 03 38 60 Procedure for PROFIBUS DP...

Page 139: ...MPI card in order to connect it to an MPI Connecting the PG to several nodes 1 Use bus connectors to connect a PG which is permanently installed on the MPI subnet to the other nodes of the MPI subnet The figure below shows two networked S7 300s which are interconnected by means of bus connectors PG SF BUSF DC5V FRCE RUN STOP SIEMENS CPU PS 2 SM SM 2 1 CPU PS The figure illustrates the following 1 ...

Page 140: ...maintenance 1 Use a stub cable to connect the commissioning and maintenance PG to the other subnet nodes The bus connector of these nodes must be equipped with a PG socket The figure below shows the interconnection of two networked S7 300 and a PG SF BUSF DC5V FRCE RUN ST OP S IE ME N S PS SM SF BUSF DC5V FRCE RUN STOP SIEMENS CPU PS SM PG 1 2 2 3 CPU The figure illustrates the following 1 Stub ca...

Page 141: ...re commissioning Page 8 3 8 4 5 5 Connecting a PG to ungrounded MPI nodes not CPU 31xC Requirements The PG must be equipped with an integrated MPI interface or an MPI card in order to connect it to an MPI Connecting a PG to ungrounded nodes on an MPI subnet not CPU 31xC Connecting a PG to ungrounded nodes Always use an ungrounded PG to connect to ungrounded MPI subnet nodes or to ungrounded S7 300...

Page 142: ...r is a GUI for online offline editing of S7 objects projects user programs blocks hardware stations and tools The SIMATIC Manager lets you manage projects and libraries call STEP 7 tools access the PLC AS online edit Memory Cards Starting SIMATIC Manager After installation the SIMATIC Manager icon appears on the Windows desktop and the Start menu contains entry SIMATIC Manager under SIMATIC 1 Run ...

Page 143: ...ert New Object 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 This field Address contains the absolute address of the variable Icon contains the symbolic descr...

Page 144: ...lue 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 The Trigger point for monitoring determines the time of update for values of variables to be monitored The Trigger point for modi...

Page 145: ...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 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 In the block window select the desired table 5 Confirm with OK establishing a connection to the CPU The varia...

Page 146: ...n menu command PLC Connect to 3 Use menu command PLC Operating Mode to open the Operating Mode dialog and switch the CPU to STOP mode 4 Enter your values in the Modify value column for the PO you want to modify Examples PO POB 7 modify value 2 0100 0011 POW 2 W 16 0027 POD 4 DW 16 0001 5 Select Variable Enable PO to set Enable PO mode 6 Modify the PO by selecting Variable Activate Modify Values En...

Page 147: ...ow based on the CPU used Table 8 6 Software requirements CPU Order number Software required 313C 2 DP 6ES 313 6CE00 0AB0 314C 2 DP 6ES7314 6CF00 0AB0 STEP 7 V 5 1 SP 4 or higher COM PROFIBUS V 5 0 or higher 315 2 DP 6ES7315 2AG10 0AB0 STEP 7 V 5 1 SP 4 or higher 315 2 PN DP 6ES7315 2EG10 0AB0 STEP 7 V 5 3 or higher 317 2 DP 6ES7317 2AJ10 0AB0 STEP 7 V 5 2 SP 1 or higher 317 2 PN DP 6ES7317 2EJ10 0...

Page 148: ...s I Slave for example events are reported in the master OB82 at this address With a CPU as DP Slave for example diagnostic interrupts for operating mode transitions are reported at this address See also Connecting the PG to a node Page 8 14 Connecting the PG to several nodes Page 8 15 8 5 2 Commissioning the CPU as DP master Requirements for commissioning The PROFIBUS subnet has been configured Th...

Page 149: ...ot be addressed DP CPU remains in STOP mode and the BUS LED flashes after the set Monitoring time for transfer of parameters to modules The flashing BUSF LED indicates that at least one DP slave cannot be accessed In this case check whether all DP slaves are switched on or correspond with your configuration or read out the diagnostic buffer with STEP 7 Recognizing the operating state of DP slaves ...

Page 150: ...nterface Note The use of Status and Control function via the PROFIBUS DP interface extends the DP cycle Constant Bus Cycle Time In STEP 7 V 5 x or higher you can configure constant bus cycle times for PROFIBUS subnets Details on constant bus cycle times are found in the Step 7 Online Help Start up of the DP master system CPU 31x 2 DP 31xC 2 DP is a DP master Customize the startup monitoring time f...

Page 151: ...ster All other DP slaves are programmed and configured Reference Information on migration to a CPU 31xC 312 314 315 2 DP 317 2DP and 317 2 PN DP can be found in the applicable section in the CPU Data 31xC and 31x Reference Manual GSD files If you are working on an IM 308 C or third party system you require a GSD file in order to be able to configure the DP CPU as a DP slave in a DP master system C...

Page 152: ...CPU starts data exchange with the DP master via the PROFIBUS DP interface Recognizing the Operating State of the DP master Event Recognition The table below shows how the DP CPU operating as a DP slave recognizes operating state transitions or data exchange interruptions Table 8 9 Event recognition by CPUs 31x 2 DP 31xC 2 DP as DP slave Event What happens in the DP slave Bus failure interrupt shor...

Page 153: ...DP interface extends the DP cycle Data transfer via transfer memory The DP CPU operating as a DP slave provides a transfer memory for PROFIBUS DP All data exchange between the CPU as DP slave and the DP master takes place via this transfer memory You can configure up to 32 address areas for this function That is the DP master writes its data to these transfer memory address areas the CPU reads the...

Page 154: ... configure a maximum of 244 input bytes and 244 outputs bytes The table below shows the principle of address areas You can also find this figure in the STEP 7 configuration Table 8 10 Configuration example for the address areas of transfer memory Type Master address Type Slave address Length Unit Consistency 1 E 222 A 310 2 BYTE Unit 2 A 0 E 13 10 Word Total length 32 Address areas in the DP maste...

Page 155: ...In the DP slave CPU In the DP master CPU L 2 T MB 6 L IB 0 Data preparation in DP slave T MB 7 L MW 6 T PQW 310 Forward data to DP master L PIB 222 T MB 50 L PIB 223 continued processing of received data in DP master L B 16 3 I T MB 51 L 10 Data preparation in DP master 3 T MB 60 CALL SFC 15 Send data to DP slave LADDR W 16 0 RECORD P M60 0 Byte 20 RET_VAL MW 22 CALL SFC 14 LADDR W 16 D Receive da...

Page 156: ...s area of the DP CPU to the transfer memory You cannot assign addresses specified for the transfer memory again for the I O modules on the DP CPU Further information on the use of consistent data areas in transfer memory is found at the end of this subsection S5 DP master If you use an IM 308 C as a DP master and the DP CPU as a DP slave the following applies to the exchange of consistent data You...

Page 157: ...ceivers Definition Direct data exchange is a special communication relationship between PROFIBUS DP nodes Characteristic of direct data exchange are the PROFIBUS DP nodes Listening on the bus for data a DP slave returns to its DP master This mechanism allows Listening stations receivers direct access to modified input data of remote DP slaves Address Areas In your STEP 7 configuration of the relev...

Page 158: ...ch as one DP CPU Note that other DP slaves ET 200M ET 200X ET 200S can only operate as sending node CPU DP master 1 PROFIBUS CPU DP slave 3 DP slave 5 CPU DP slave 1 DP master system 1 DP master system 2 CPU DP master 2 CPU DP slave 2 CPU DP slave 4 8 6 Commissioning PROFINET IO 8 6 1 Requirements Requirements Requirements to be satisfied before you can start to commission your PROFINET IO system ...

Page 159: ... the IO controller the PN interface and the IO devices header module at slot 0 and for each module without user data within the device power module of ET 200S for example You can use these addresses for example to read module specific diagnostics data records by calling SFB 52 The diagnostic addresses are specified in your configuration If you do not specify any diagnostic addresses STEP 7 assigns...

Page 160: ... PG to the integrated MPI DP interface of the CPU 2 Use the twisted pair patch cable to interconnect the integrated PROFINET IO interface of the CPU with the Industrial Ethernet for example connection to a switch Commissioning a PROFINET IO system directly via PN interface 38 36 7 6 2 HYLFH 6ZLWFK QGXVWULDO WKHUQHW 31 PG PC 2 1 Number Meaning 1 Use a twisted pair patch cable to connect the PG PC t...

Page 161: ...al 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 Under Options you also specify the required communication medium and duplex mode Note The worldwide unique MAC address is preset by...

Page 162: ...he MMC into the CPU Assigning IO Device Names 15 Requirements The PG must be connected to the subnet The PG 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 Ethernet Assign Device Name to assign the corresponding devi...

Page 163: ...er the parameter monitoring time has expired the CPU goes into RUN The flashing BUSF LED indicates that at least one IO device can not be addressed In this case verify that all IO devices are switched on and correspond with the set configuration For further information read the diagnostics buffer in STEP 7 CPU startup fails Detecting interruptions in the data transfer to the IO device The table be...

Page 164: ...functions via the PROFIBUS DP interface If you have not commissioned the PROFINET interface of the CPU yet you can connect to the CPU using its MAC address see also Configuring the PROFINET IO System in the table above To do so use HW Config to download your project to the CPU Address the CPU using its MAC address After you downloaded the configuration the CPU is also assigned the set IP address Y...

Page 165: ... Card MMC Replacement of modules Replacement of fuses in digital output modules Replacement of digital output module AC 120 230 V 9 2 Backup of firmware to Micro Memory Card MMC In which situations should I back up the firmware In some cases we recommend that you back up your CPU firmware For example you might want to replace the CPU in your system with a CPU from store In this case you should mak...

Page 166: ...s of 6ES7314 6BF00 0AB0 V 1 0 0 2 315 2 PN DP as of 6ES7315 2EG10 0AB0 V 2 3 0 4 317 2 DP as of 6ES7317 2AJ10 0AB0 V 2 1 0 4 317 2 PN DP as of 6ES7317 2EJ10 0AB0 V2 2 0 4 Creating a backup copy of the CPU firmware on the MMC Table 9 1 Firmware backup to MMC Step Action required This happens in the CPU 1 Insert a new micro memory card into the CPU The CPU requests memory reset 2 Turn the mode selec...

Page 167: ...upport Updating the CPU firmware Table 9 2 Updating the firmware from MMC Step Action required This happens in the CPU 1 Recommendation Before you update the CPU firmware you should create a backup copy of the old firmware on an empty MMC If problems occur during the update you can simply reload your old firmware from the MMC 2 Transfer the update files to a blank MMC using STEP 7 and your program...

Page 168: ...on containing the CPU you want to update 3 Select the CPU 4 Select PLC Update Firmware The menu command can only be executed if the selected CPU supports the Update Firmware function 5 On the Update Firmware dialog select the path to the FW update files UPD using the Search button 6 After you selected a file the information in the lower fields of the Update Firmware dialog box shows you the FW fil...

Page 169: ...mory 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 If the micro memory card is inserted in the MMC slot select a project level that is uniquely assigned to the CPU from the SIMATIC Manager project window e g CPU program source or blocks Select the Target system Save...

Page 170: ... However CPU configuration data available locally on any CPU that is to be serviced can be accessed by any member of the service department They can edit these data and then release the updated version to all other personnel 9 6 Module installation removal Installation and wiring rules The table below shows you points to follow when wiring installing or removing S7 300 modules Rules governing Powe...

Page 171: ...If you are not certain whether or not data transfer is active on the interface unplug the connector at the interface before you replace the module Removing the module SM FM CP To remove the module Step 20 pin front connector 40 pin front connector 1 Switch the CPU to STOP 2 Switch off the load voltage to the module 3 Remove the labeling strip from the module 4 Open the front panel Unlock the front...

Page 172: ... Remove labeling strips 2 Open module 3 Press unlocking mechanism loosen mounting screw and pull out front connector 4 Remove mounting screw of module and swing module out Removing the front connector coding from the module Before you start installing the new module remove the upper part of the front connector coding pin from this module Reason This part is already inserted in the wired front conn...

Page 173: ...lide the labeling strips into the module CPU PS 1 2 4 3 The figure illustrates the described steps 1 Hang module onto rail 2 Swivel module downward 3 Screw tighten the module 4 Insert labeling strips Removing the front connector coding from the front connector You may take a used front connector to wire another module by removing its coding mechanism Simply use a screwdriver to push out the front ...

Page 174: ...tall the front connector 3 Close the front panel 4 Switch the load voltage back on 5 Reset the CPU to RUN mode CPU PS 1 2 The figure illustrates the described steps 1 Move the front connector into operating position 2 Close front panel Reaction of the S7 300 after module replacement After a module replacement the CPU switches to run mode provided no error has occurred If the CPU stays in STOP you ...

Page 175: ...Schurter SP001 013 Littlefuse 217 008 Fuse holder Wickmann 19 653 Warning Improper handling of digital output modules could result in injury or damage to property There are dangerous voltages 25 VAC or 60 VDC beneath the covers to the right of the module Before you open these covers make sure that you have either unplugged the front connector from the module or isolated the module from power Warni...

Page 176: ...ws you the location of the fuses on digital output modules 1 1 1 Replacing fuses The fuses are located at the left side of the module Replace the fuses as follows 1 Switch the CPU to STOP 2 Switch off the load voltage of the digital output module 3 Remove the front connector from the digital output module 4 Loosen the fixing screw of the digital output module 5 Swing out the digital output module ...

Page 177: ...nd 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 Overview Debugging functions Determining addressed nodes with Node flashing test for CPUs V2 2 0 To identify the addressed node select PLC Diagnostics Setting Node Flashing Test in STEP...

Page 178: ...ch or an active circuit Note The STEP 7 testing function with program status extends the CPU cycle time In STEP 7 you can customize the maximum permitted increase in cycle time not for CPU 318 2 DP In this case set process mode for the CPU parameters in STEP 7 stepping mode When testing in single step mode you can process your program instructions in sequence single step and set break points This ...

Page 179: ...lues only return the forced value if not accessed by the user program via peripheral write instructions TPQB x for example or by PG OP write functions Always ensure that forced values in the I O process image cannot be overwritten by the user program or PG OP functions T P A W OS PAE transfer User program Force value OS operating system processing PAA transfer OS PAE transfer Force value For S7 30...

Page 180: ...he STEP 7 Online Help and in the STEP 7 Programming Manual 10 3 Overview Diagnostics 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 Here the multitude of testing functions ensures commissioning without problems Note Errors during operation are almost always a result of ...

Page 181: ...en 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 CPU memory reset Two LEDs are used for Ethernet LED designation Color State Meaning LINK Green Off No other device is connected with the integrated PROFINET interface of the CPU On Another device in most cases a switch is connected to...

Page 182: ...From PROFIBUS DP to PROFINET IO Programming Manual In the next chapter we will concentrate on the diagnostics of local or distributed modules on PROFIBUS Diagnostics with system functions If the following CPUs are used we recommend that you use the more user friendly SFB 54 RALRM called in diagnostic OB82 to evaluate the diagnostics from centralized or distributed modules or DP slaves CPU As of fi...

Page 183: ...online information on the module You can locate the cause of an error in the user program cycle with the help of the diagnostic buffer and of the stack content You can also check whether a user program will run on a specific CPU 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 fault...

Page 184: ...heir Industrial Ethernet network using standard network management systems By users to integrate network diagnostics in a central HMI SCADA system By the IT administration to monitor primarily the office network but also in many cases the automation network using standard network management systems for example HP Openview By automation engineers plant operator to integrate network diagnostics in a...

Page 185: ...u will find further details on SNMP At the Web address www siemens com snmp opc server you will find further information on the SNMP OPC server 10 6 Diagnostics using status and error LEDs 10 6 1 Introduction Diagnostics with LEDs is an initial tool for error localization Usually you evaluate the diagnostic buffer for further error localization The buffer contains plain text information on the err...

Page 186: ... Flashes 2 Hz On The CPU is in startup mode X On X Flashes 0 5 Hz On The CPU was halted by a programmed break point For details refer to the Programming Manual Programming with STEP 7 On On X X X Hardware or software error Remedy 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 Manual Programming with STEP 7 X X Flash...

Page 187: ...diagnostic buffer Status alarm is generated but the appropriate OB55 is not loaded Calls OB85 CPU does not STOP if OB85 is loaded Load OB55 Update alarm is generated but the appropriate OB 56 is not loaded Calls OB85 CPU does not STOP if OB85 is loaded Load OB56 Vendor specific alarm is generated but the appropriate OB57 is not loaded Calls OB85 CPU does not STOP if OB85 is loaded Load OB57 Access...

Page 188: ...87 CPU does not STOP if OB87 is loaded Check global data communication in STEP 7 If required correct the DB size Tip You can use SFC 39 to disable all interrupts and asynchronous error events You can set the times in the cyclic interrupt OB32 and OB35 starting from 1 ms Note The shorter the selected cyclic interrupt period the more likely it is that cyclic interrupt errors will occur You must take...

Page 189: ...dules of an ET 200S IO device are removed or inserted while the system is in RUN CPU switches to STOP if OB86 is not loaded Load OB 83 and OB 86 A diagnosable module reports a diagnostic interrupt Calls OB82 CPU goes into STOP if OB 82 is not loaded Reaction to the diagnostic event based on the module configuration Attempt to access a missing or faulty module Loose connector software or hardware e...

Page 190: ... DP interface of CPU 317 2 DP Remedy See the tables below Description of status X The LED can assume the On or Off state This status however is irrelevant for the current CPU function For example the states Force On or Off do not influence the CPU STOP status Table 10 6 BUSF LED is lit Possible errors CPU reaction Remedies Bus fault hardware fault DP interface error Different transmission rates in...

Page 191: ... is not interrupted Wait until the CPU has completed its startup If the LED does not stop flashing check the DP slaves or evaluate the diagnostic data for the DP slaves The CPU is active DP slave Possible causes The response monitoring time has expired PROFIBUS DP communication is down Wrong PROFIBUS address Faulty configuration Call of OB 86 when CPU is in RUN mode CPU switches to STOP if OB 86 i...

Page 192: ...TEP 7 LINK X The Ethernet connection between the PROFINET interface of the PROFINET device and the communication partner is down X flickers At the current time data are being received from a communication partner on Ethernet via PROFINET interface of the PROFINET device RX X No data are currently received via the PROFINET interface X flickers Data are currently sent to a communication partner on E...

Page 193: ...d in full duplex mode Analyze the diagnostic data Edit the configuration To correct or avoid error on the PROFINET Interface of an IO Controller BF2 BUSF LED flashes Table 10 9 BF2 BUSF LED flashes on a PROFINET IO controller Possible errors Reaction based on the example of a CPU To correct or avoid error Failure of a connected IO device At least one of the assigned IO devices cannot be addressed ...

Page 194: ...bit 15 in OB82_MDL_ADDR Result Diagnostic address OB82_MDL_ADDR For the diagnostics of the complete DP slave Call SFC13 Enter the OB82_MDL_ADDR diagnostic address in the LADDR parameter Note The SFC 13 is asynchronous i e it is called repeatedly if required until it has changed to BUSY 0 status Initial call in OB82 finishing in cycle For the diagnostics of affected components Call SFB54 Set MODE 1...

Page 195: ... one for slot 2 Functions of those two addresses The diagnostic address for slot 0 reports in the master all events relating to the entire slave station representative for example node failure The diagnostic address for slot 2 is used to report events concerning this slot For example if the CPU is acting as an intelligent slave it returns the diagnostic interrupts for operating state transitions H...

Page 196: ...OP 1 DP slave RUN STOP Call of OB 82 with the message Module OK outgoing event diagnostic 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 DP slave in the DP master Table 10 11 Evaluating RUN to STOP transitions of the DP slave in the DP m...

Page 197: ...ans of this diagnostic address Reading out the diagnostic data The table below shows you how the various DP master systems can read diagnostic information from a slave Table 10 12 Reading out diagnostic data in the master system using STEP 5 and STEP 7 Automation system with DP master Blocks or registers in STEP 7 Application Further Information SIMATIC S7 M7 DP slave diagnostics tab Output of sla...

Page 198: ...in DP master mode FB 230 S_DIAG Example of reading slave diagnostic data using FB 192 IM 308C This shows you an example of how to use FB 192 in the STEP 5 user program to read out slave diagnostics data for a DP slave Assumptions regarding the STEP 5 user program For this STEP 5 user program it is assumed that The IM 308 C operating in DP master mode uses the page frames 0 to 15 number 0 of IM 308...

Page 199: ...ut Data record 1 is to be stored in DB 10 STEP 7 user program STL Description CALL SFC 59 REQ TRUE IOID B 16 54 LADDR W 16 200 RECNUM B 16 1 RET_VAL MW2 BUSY MO 0 RECORD P DB10 DBX 0 0 BYTE 240 Request to read Identifier of the address area here the I O input Logical address of the module Data record 1 is to be read An error code is output if an error occurs Read operation not finished DB 10 is ta...

Page 200: ...ain information about the status of of DP slave or about bus interruptions When you configure the DP slave you also assign it a diagnostic address in the associated DP slave project Below this diagnostic address is labeled assigned to DP slave This diagnostic addresses is used by the DP slave to obtain information on the status of the DP master or on bus interruptions Event recognition The table b...

Page 201: ... master Process interrupts from an intelligent slave with SFC 7 In the CPU 31x 2 operating in DP slave mode you can trigger a user defined process interrupt from the DP master from the user program A call of SFC 7 DP_PRAL triggers the execution of OB 40 in the user program on the DP master The SFC 7 allows you to forward interrupt information to the DP master in a double word This information can ...

Page 202: ...vice specific diagnostics using a different DP master please note that The DP master should be able to save the diagnostics messages to its ring buffer For example if the DP master can not save the diagnostic messages only the last incoming diagnostic message would be saved In your user program you have to poll the relevant bits in the device specific diagnostic data in cyclic intervals Make allow...

Page 203: ...gh byte Vendor ID to Byte x 1 Byte x to Byte y 1 Byte y to Byte z Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 1 Exception If the DP master is incorrectly configured the DP slave interprets 35 configured address ranges 46H in byte 6 Interrupt status module diagnostics The length is dependent on the type of interrupt Module status module diagnostics The length is dependent on the number of conf...

Page 204: ...ostic data 4 1 Function not supported e g changing the DP address at software level Check configuration data 5 0 This bit is always 0 6 1 DP slave type inconsistent with software configuration Was the software set for the right station type parameter assignment error 7 1 DP slave was configured by a DP master other than the master currently accessing the slave The bit is always 1 if for example yo...

Page 205: ...BUS address The Master PROFIBUS address diagnostic byte stores the DP address of the DP master that has configured the DP slave and has read and write access to the DP slave Table 10 18 Structure of the Master PROFIBUS address byte 3 Bit Meaning 0 to 7 DP address of the DP master that has configured the DP slave and has read write access to that DP slave FFH DP slave was not configured by a DP mas...

Page 206: ...RQILJXUHG DGGUHVV DUHDV XS WR E WH WH QWU IRU FRQILJXUHG DGGUHVV DUHD QWU IRU FRQILJXUHG DGGUHVV DUHD QWU IRU FRQILJXUHG DGGUHVV DUHD QWU IRU FRQILJXUHG DGGUHVV DUHD WH QWU IRU FRQILJXUHG DGGUHVV DUHD WR QWU IRU FRQILJXUHG DGGUHVV DUHD QWU IRU FRQILJXUHG DGGUHVV DUHD 6HWSRLQW DFWXDO FRQILJXUDWLRQ RGH IRU VSHFLILF GLDJQRVWLFV QWU IRU FRQILJXUHG DGGUHVV DUHD QWU IRU FRQILJXUHG DGGUHVV DUHD WR WH WH ...

Page 207: ...3 bytes DOZD V ಯ ರ DOZD V ಯ ರ RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD 0RGXOH VWDWXV RGH IRU VWDWXV PHVVDJH RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD RQILJXUHG DGGUHVV DUHD 38 VORW RQILJXUHG DGGUHVV DUHD HQJWK RI PRGXOH VWDWXV LQFO E WH PD E WH RGH IRU ...

Page 208: ...ce specific diagnostics incl byte y max 20 byte Code for module diagnostics 01H Code for diagnostic interrupt 02H Code for process interrupt Slot no 2 CPU 4 35 Number of intermediate memory 00 No further information about diagnostics status 01 Incoming diagnostics at least one error is present 10 Outgoing diagnostics 11 Outgoing diagnostics deviating error present diagnostic interrupts only Exampl...

Page 209: ...he figure below shows the allocation of the first four bytes of diagnostic data The next 12 bytes are always 0 The data in these bytes correspond to the contents of data record 0 of diagnostic data in STEP 7 in this case not all bits are used 0 RUN mode 1 STOP mode ID for address areas of intermediate memory constant Byte y 7 0 module OK 1 module error Byte y 6 Byte y 5 Byte y 4 7 6 5 4 3 2 1 0 Bi...

Page 210: ...QR PRGXOH 2 PRGXOH HUURU 2EVHUYH WKH DSSOLFDWLRQ GHVFULSWLRQ IRU 6 3OHDVH QRWH WKDW WKH GLDJQRVWLF GDWD KDYH D IL HG PHDQLQJ ZLWK UHVSHFW WR 6 RU DGGLWLRQDO LQIRUPDWLRQ VHH WKH RQOLQH KHOS RI 67 3 RU WKH V VWHP VRIWZDUH UHIHUHQFH PDQXDO IRU 6 6 VWHP DQG 6WDQGDUG XQFWLRQV FK LDJQRVWLF DWD Figure 10 7 Bytes y 4 to y 7 for the diagnostic interrupt SFB 75 10 8 Diagnostics of PN CPUs Diagnostics of fie...

Page 211: ... fully functional S7 300 system EMERGENCY OFF equipment EMERGENCY OFF equipment to IEC 204 corresponds to VDE 113 must remain effective in all operating modes of the plant or system System startup after specific events The table below shows what you have to observe when restarting a plant after specific events Table A 1 System startup after specific events If there is then Restart following a volt...

Page 212: ...at you must observe for the 24 VDC power supply Table A 3 Protection against external electrical interference In the case of you need to observe Buildings external lightning protection 24 VDC power supply cables signal cables internal lightning protection Install lightning protection e g lightning conductors 24 VDC power supply safe electrical extra low voltage isolation Protection against externa...

Page 213: ...d its components are developed for an industrial environment and high electromagnetic compatibility you should draw up an EMC installation plan before you install the controller taking into consideration all possible sources of interference Possible interferences Electromagnetic interference can influence a PLC in various ways Electromagnetic fields having a direct influence on the system Interfer...

Page 214: ... Capacitive coupling Capacitive or electrical coupling occurs between conductors connected to different potentials The coupling effect is proportional to voltage change over time Interference coupling due to parallel routing of signal cables Static discharge of the operator Contactors Inductive coupling Inductive or magnetic coupling occurs between two current circuit loops Current flow in magneti...

Page 215: ...ecial contact washers or remove the protective insulating finish on the points of contact Wherever possible avoid the use of aluminum parts for ground bonding Aluminum oxidizes very easily and is therefore less suitable for ground bonding Create a central connection between chassis ground and the equipotential grounded protective conductor system A 2 2 2 2 Basic rule for ensuring EMC Rule 2 Proper...

Page 216: ... of the shielding protective ground bar and fasten it with the help of a cable clamp Then route the cable to the module however do not connect the shielding once again to ground in this place Connections between the shielding protective ground conductor bar and the cabinet enclosure must be of a low impedance Always install shielded data cables in metal metallized connector housings See also Cable...

Page 217: ...controller is actually in operation Frequently the causes of such interference are found in inadequate reference potentials as a result of faulty installation This section shows you how to avoid such errors Inactive metal parts Inactive parts are referred to as electrically conductive elements separated from active elements by a basic insulating and only subject to electrical potential if an error...

Page 218: ...nterconnection between metal elements e g large and highly conductive contact surface The protective insulating finish on varnished or anodized metal elements must be pierced or removed Use special contact washers or completely remove the finish on the point of contact Protect your connecting elements against corrosion e g with a suitable grease Interconnect moving chassis ground elements e g cabi...

Page 219: ...tion Cabinet installation Cabinet installation The figure below shows a cabinet installation with the measures described above bonding of inactive metal parts to chassis ground and connecting the cable shielding to ground This sample applies only to grounded operation Note the points in the figure when you install your system 1 2 3 4 5 6 7 8 Figure A 1 Example of an EMC compatible cabinet installa...

Page 220: ...ing conductor bar Interconnect the shielding conductor bar on a large surface with the supporting bars metal to metal connection The cable shielding is terminated on the conductor bar 7 Protective conductor bar Interconnect the protective conductor bar on a large surface with the supporting bars metal to metal connection Interconnect the grounding busbar with the protective ground system using a s...

Page 221: ... to the S7 300 Automation System Module data Reference Manual Please note When mounting on varnished or anodized metal parts use special contact washers or remove the insulating layers Provide a large surface and low impedance metal to metal connection for fastening the shielding protective protective ground bar Always touch protect live mains conductors The figure below shows an example of EMC co...

Page 222: ...tive conductor Suitable cables Whenever possible use cables equipped with a shielding braid Shielding density should be at least 80 Avoid cables with film shielding because the film can be easily damaged by tensile or pressure stress thus reducing its shielding effect Handling of the shielding Note the following points on handling the shielding Always use metal clamps to mount shielding braid The ...

Page 223: ...on against electromagnetic interference S7 300 CPU 31xC and CPU 31x Installation Operating Instructions Edition 08 2004 A5E00105492 05 A 13 The figure below shows some options for mounting shielded cables using cable clamps ...

Page 224: ...on Otherwise interface hardware might get damaged or even be destroyed Equipotential bonding conductor To reduce potential differences and ensure proper functioning of your electronic equipment you must install equipotential bonding conductors Note the following points on the use of equipotential bonding conductors The lower the impedance of an equipotential bonding conductor the more effective is...

Page 225: ...use equipotential bonding conductors made of copper or galvanized steel Always connect the cables on a large surface to the equipotential conductor bar protective conductor and protect it against corrosion Route your equipotential bonding conductor to minimize the area between the equipotential bonding conductor and signal lines as far as possible see the figure below ...

Page 226: ...ble directives in column 3 Run Table A 7 Cable routing inside buildings Cables for and cables for Run Bus signals shielded PROFIBUS Data signals shielded programming devices operator panels printers counter inputs etc Analog signals shielded DC voltage 60 V unshielded Process signals 25 V shielded AC voltage 25 V unshielded Monitors coaxial cable In common bundles or cable ducts DC voltage 60 V an...

Page 227: ...ge 25 V and 400 V unshielded DC and AC voltage 400 V unshielded Inside cabinets In separate bundles or cable ducts no minimum clearance necessary Outside cabinets On separate cable racks with a clearance of at least 10 cm Bus signals shielded PROFIBUS Data signals shielded programming devices operator panels printers counter inputs etc Analog signals shielded DC voltage 60 V unshielded Process sig...

Page 228: ... your particular application Rules for lightning protection outside buildings Run your cables either in metal conduits grounded at both ends or in concrete cable ducts with continuous end to end armoring Overvoltage protection equipment An individual appraisal of the entire plant is necessary before any lightning protection measures are taken A 3 Lightning and surge voltage protection A 3 1 Overvi...

Page 229: ... The principle of the lightning protection zone concept states that the volume to be protected against overvoltage for example a manufacturing hall is subdivided into lightning protection zones in accordance with EMC directives see Figure The specific lightning protection zones are formed by the following measures Lightning protection of the building exterior field side Lightning protection zone 0...

Page 230: ... shielding steel armor Room shielding steel armor Device shielding metal housing Nonelectrical cable metallic External lightning protection Principle of the transition points between lightning protection zones At the transitions points between lightning protection zones you must take measures to prevent surges being conducted downstream The principle of the lightning protection zone concept also s...

Page 231: ...scribed above you must install a high voltage protection for your system between the 0 1 transition points with a lightning conductor The table below contains the components you can use for high voltage protection of your plant Table A 8 High voltage protection of cables with the help of surge protection equipment Consec no Cables for equip transition point 0 1 with Order number 3 phase TN C syste...

Page 232: ...between lightning protection zones 1 2 and higher Rules for transition points 1 2 and higher local equipotential bonding The following measures must be taken on all transition points 1 2 and higher Set up local equipotential bonding at each subsequent lightning protection zone transition Include all lines also metal conduits for example in the local equipotential bonding of all subsequent lightnin...

Page 233: ...imum of 26 8 V for a rated voltage of 24 VDC If the tolerance of your 24 VDC power supply is higher use surge protection components with 30 VDC rating You can also use Blitzductor VT type AD 24 V Note that input current can increase if negative input voltages are generated Low voltage protection elements for 1 2 For the transition points between lightning protection zones 1 2 we recommend the surg...

Page 234: ... 5SD7 030 1 x Surge arrester DEHNguard 275 phase L to N 900 600 5SD7 030 1 AC TT system 1 x N PE surge arrester DEHNgap C N to PE 900 131 2 24 VDC power supply 1 x Blitzductor VT type AD 24 V 918 402 Bus cable MPI RS485 Blitzductor CT surge arrester type MD HF 919 506 and 919 570 3 RS232 V 24 1 x per cable pair Blitzductor CT surge arrester type ME 15 V 919 506 and 919 522 4 Inputs of digital modu...

Page 235: ...2 x DEHNguard 275 surge arresters 900 600 5SD7 030 AC TN C system 1 x DEHNguard 275 surge arresters 900 600 5SD7 030 1 x Surge arrester DEHNguard 275 phase L to N 900 600 5SD7 030 1 AC TT system 1 x N PE surge arrester DEHNgap C N to PE 900 131 2 24 VDC power supply 1 x Blitzductor VT type AD 24 V 918 402 Bus cable MPI RS485 Blitzductor CT surge arrester type MD HF 919 506 and 919 570 3 RS232 V 24...

Page 236: ... circuit for networked S7 300 PLCs The sample in the figure below shows you how install an effective surge protection for two networked S7 300 PLCs CPU SV 10 mm2 PE Cabinet 1 L1 L2 L3 N PE Lightning protection zone 0 field side Lightning protection zone 1 Lightning protection zone 1 SM MPI CPU SV 10 mm 2 PE Cabinet 1 SM MPI Lightning protection zone 1 1 4 5 3 6 2 4 2 5 4 4 6 3 7 3 ...

Page 237: ...nsition 1 2 3 Surge arrester Blitzductor CT surge arrester type MD HF Order no 919 506 and 919 570 Low voltage surge protection for RS485 interfaces at transition 1 2 4 Digital input modules FDK 2 D 60 V order no 919 993 Digital output modules FDK 2 D 5 24 V order no 919 991 Analog modules MD 12 V Blitzductor CT order no 919 506 and 919 541 Low voltage surge protection signal modules I O at transi...

Page 238: ...Additional overvoltage protection Inductive devices require additional surge arresters only in following cases If SIMATIC output circuits can be switched off by additionally installed contacts e g relay contacts If the inductive loads are not controlled by SIMATIC modules Note Request information on relevant surge protection rating from the supplier of inductive devices Example EMERGENCY OFF relay...

Page 239: ...Zener diode has a higher switch off voltage capacity High switch off delay 6 to 9 times higher than without protective circuit The Zener diode switches off faster than a diode circuit Circuit for coils operated with AC voltage The figure shows coils operated with AC voltage and varistor or RC circuit with varistor circuit with RC circuit The characteristics of varistor circuits are The amplitude o...

Page 240: ...systems and components to enable the immediate initiation of suitable corrective measures Monitoring of major control components using on line tests cyclic interrupt for the CPU etc These measures are referred to as basic measures Risks In all cases where the occurrence of failures can result in material damage or injury to persons special measures must be taken to enhance the safety of the instal...

Page 241: ... automation system S7 F FH systems is perfectly suited for systems in the process technology and the oil industry Fail safe and redundant S7 FH system To increase the availability of the automation system and thereby avoid process interruption in case of errors in the F system it is possible to build in fail safe S7 F systems as optionally redundant S7 FH systems This increase in availability can ...

Page 242: ...Appendix A 4 Safety of electronic control equipment S7 300 CPU 31xC and CPU 31x Installation A 32 Operating Instructions Edition 08 2004 A5E00105492 05 ...

Page 243: ...ram An application is a program that runs directly on the MS DOS Windows operating system Applications on the PG include for example the STEP 5 basic package GRAPH 5 and others ASIC 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 stan...

Page 244: ...rogram 1 byte per flag bit Note When operating with S7300 CPUs make sure that the byte of the clock memory bit is not overwritten in the user program Coaxial Cable A coaxial cable also known as coax is a metallic cabling system used in high frequency transmission for example as the antenna cable for radios and televisions as well as in modern networks in which high data transmission rates are requ...

Page 245: ...onsistently that is the value of an analog module must not be corrupted as a result of read access at two different points of time Counters Counters are part of CPU system memory The content of Counter cells can be modified by STEP 7 instructions for example up down count CP See Communication processor CPU See CPU Central processing unit CPU of the S7 automation system with a control and arithmeti...

Page 246: ...rminism See Real Time Device Name Before an IO device can be addressed by an IO controller it must have a device name In PROFINET this method was selected because it is simpler to work with names than with complex IP addresses The assignment of a device name for a concrete IO device can be compared with setting the PROFIBUS address of a DP slave When it ships an IO device does not have a device na...

Page 247: ... contact or transformer I O circuits can be interconnected with a root circuit Equipotential bonding Electrical connection equipotential bonding conductor which eliminates potential difference between electrical equipment and external conductive bodies by drawing potential to the same or near the same level in order to prevent disturbing or dangerous voltages between these bodies Error display One...

Page 248: ...o inputs and outputs constant values In this context please note the limitations listed in the Overview of the test functions section in the chapter entitled Test functions diagnostics and troubleshooting in the S7 300 Installation manual Function 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 therefo...

Page 249: ...a communication is a method of transferring global data between CPUs without CFBs Ground The conductive earth whose electrical potential can be set equal to zero at any point Ground potential can differ from zero in the area of grounding electrodes The term reference ground is frequently used to describe this situation Grounding means to connect an electrically conductive component via an equipote...

Page 250: ...ally generated DB to every call of a function block The instance data block stores the values of inputs outputs and in out parameters as well as local block data Interface MPI capable See MPI Interrupt The CPU operating system knows 10 different priority classes for controlling user program execution These priority classes include interrupts e g process interrupts When an interrupt is triggered th...

Page 251: ...r hourly or every minute A corresponding OB will be processed Interrupt update An update interrupt can be generated by a DPV1 slave and causes OB56 to be called on the DPV1 master For detailed information on OB56 see the Reference Manual System software for S7 300 400 System and Standard Functions Interrupt vendor specific A vendor specific interrupt can be generated by a DPV1 slave It causes OB57...

Page 252: ...from 0 through 255 The decimal numbers are separated by a period The IP address is made up of The address of the subnet network and The address of the node generally called the host or network node LAN Local area network to which several computers are connected within an enterprise The LAN therefore has a limited geographical span and is solely available to a company or institution Load memory Loa...

Page 253: ... active node Memory Card MC Memory Cards are memory media for CPUs and CPs They are implemented in the form of RAM or FEPROM An MC differs from a Micro Memory Card only in its dimensions MC is approximately the size of a credit card Micro Memory Card MMC Micro Memory Cards are memory media for CPUs and CPs Their only difference to the Memory Card is the smaller size Module parameters Module parame...

Page 254: ...tributed I O valve blocks drives The main characteristics of a node is its integration into PROFINET communication by means of Ethernet or PROFIBUS The following device types are distinguished based on their attachment to the bus PROFINET nodes PROFIBUS nodes Non isolated The reference potential of the control and on load power circuits of non isolated I O modules is electrically interconnected OB...

Page 255: ... runtime by calling an SFC in the user program e g limit values of an analog signal input module Parameters static Unlike 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 modification of the input delay parameters of a digital signal input module PC station See SIMATIC PC S...

Page 256: ...s 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 See PROFINET Component Product version The product version identifies differences between products which have the sa...

Page 257: ...et based automation standard from PROFIBUS International previously PROFIBUS Users Organization defines a vendor independent communication automation and engineering model PROFINET ASIC See ASIC PROFINET CBA 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 ...

Page 258: ... the PROFINET standard for the programmable controllers on the one hand and on the other hand by the engineering tool STEP 7 This means that you have the same application view in STEP 7 regardless of whether you configure PROFINET devices or PROFIBUS devices Programming your user program is essentially the same for PROFINET IO and PROFIBUS DP if you use the expanded blocks and system status lists ...

Page 259: ...Their distinguishing feature is the special hardware and software for SIMATIC programmable logic controllers Proxy See PROFINET node The PROFINET device with proxy functionality is the substitute for a PROFIBUS device on Ethernet The proxy functionality allows a PROFIBUS device to communicate not only with its master but also with all nodes on PROFINET You can integrate existing PROFIBUS systems i...

Page 260: ...nication to Real Time RT An exact prediction of the time at which the data transfer takes place is possible It is guaranteed that problem free communication using other standard protocols for example industrial communication for PG PC can take place within the same network Reduction factor The reduction rate determines the send receive frequency for GD packets on the basis of the CPU cycle Referen...

Page 261: ...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 you have explicitly enabled communication via the router between the two nodes RT See Real Time Runtime error Errors occurred in the PLC that is not in the proce...

Page 262: ... a SIMATIC automation solution Slave See Master A slave can only exchange data after being requested to by the master SNMP SNMP Simple Network Management Protocol is the standardized protocol for diagnostics of the Ethernet network infrastructure and for assignment of parameters to it Within the office area and in automation engineering devices of a wide range of vendors support SNMP on Ethernet A...

Page 263: ...titute value can be written to the accumulator instead of the input value which could not be read SFC 44 Switch PROFIBUS is based on a bus topology Communication nodes are connected by a passive cable the bus In contrast Industrial Ethernet is made up of point to point links Each communication node is connected directly to one other communication node If a communication node needs to be connected ...

Page 264: ...n the CPU System memory contains the address areas e g timers counters flag bits 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 S7 300 You can always use this list to obtain an overview of The configuration of the S7 300 the current CPU configuratio...

Page 265: ...een 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 Ungrounded Having no direct electrical connection to ground User memory User memory contains the code and data block of the user program User memory can be integrated in the CPU or stored on plug in Memory Cards or memory modules However the use...

Page 266: ...ary 24 Operating Instructions Edition 08 2004 A5E00105492 05 WAN Network with a span beyond that of a local area network allowing for example intercontinental operation Legal rights do not belong to the user but to the provider of the transmission networks ...

Page 267: ...Bus connectors plugging 5 8 Bus termination 4 42 C Cabinet Dimensions 4 11 power loss dissipated 4 14 Selecting and dimensioning 4 11 Types 4 13 Cable lengths longer 4 36 maximum 4 39 MPI subnet 4 35 PROFIBUS subnet 4 35 Stub cables 4 36 Cable routing inside buildings A 16 Cable shielding A 12 Ground 4 22 Cables Preparing 6 8 Category Cat Attainable A 31 Central unit 4 2 Channel 4 47 Commissioning...

Page 268: ...10 32 during operation 10 8 in DP Master mode 10 18 With Hardware Diagnostics 10 7 with LEDs 10 9 with system functions 10 6 Digital module Addresses 7 3 Digital output module Replacement fuse 9 11 Replacing fuses 9 12 Direct data exchange 8 33 DP master 4 46 Class 2 4 46 Interrupts 10 25 DP master system 4 46 DP slave 4 46 E EMC Definition A 3 EMC error free installation A 7 Engineering Tool 4 49...

Page 269: ... supply from PS 307 4 27 Load voltage Connecting the reference potential 4 23 Local equipotential bonding A 22 M Mains grounded 4 15 Mains voltage Selecting the mains voltage 6 4 Mains voltage selector switch 6 4 Material required 5 3 Mode selector switch CPU memory reset with 8 10 Modifying of variables 10 2 module 4 47 Module Arrangement 4 7 4 9 Assembly dimensions 4 4 common potential 4 19 inst...

Page 270: ...S DP Direct data exchange 8 33 Maximum number of nodes 4 31 Maximum transmission rate 4 30 PROFIBUS DP 8 23 PROFIBUS DP address default 4 31 highest 4 31 Rules 4 31 PROFIBUS node 4 45 PROFIBUS subnet Cable lengths 4 35 Example 4 43 PROFIBUS terminator 4 42 PROFINET 4 29 4 46 CBA 4 29 Environment 4 45 Implementation 4 49 Glossary 16 IO 4 29 standard 4 50 Glossary 15 PROFINET CBA 4 29 4 50 Glossary ...

Page 271: ... 22 Slot 4 47 Slot 4 47 Slot number Assigning 5 9 Slot number label 5 2 Slot numbers Mounting 5 10 SNMP 10 8 SOFTNET PROFINET 4 53 Startup CPU 31x 2 DP in DP master mode 8 39 CPU 31xC 2 DP in DP master mode 8 39 Start up CPU 31x 2 DP as a DP master 8 25 CPU 31x 2 DP as a DP slave 8 28 CPU 31xC 2 DP as a DP master 8 25 CPU 31xC 2 DP as a DP slave 8 28 Station status 10 28 Stepping mode 10 2 Strain ...

Page 272: ...Index S7 300 CPU 31xC and CPU 31x Installation Index 6 Operating Instructions Edition 08 2004 A5E00105492 05 ...

Reviews: