Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers Contents 1 INTRODUCTION 4 1.1 Contents of this manual 4 1.2 Explanation of terms and advantages of "communication" 4 1.3 Explanation of terms "PROFIBUS" and "PROFIBUS-DP" 5 1.4 The open world of PROFIBUS-DP communication 6 2 3VF CIRCUIT-BREAKERS 7 2.1 Design and mode of operation 2.1.1 Communication via PROFIBUS-DP 2.1.2 Data exchange 2.1.3 Hardware and software connections of 3VF 2.1.4 Connecting 3VF to the communication system 2.1.5 Selection and ordering data 2.1.6 Parameter file 7 7 8 10 12 17 19 2.2 Technical data 25 2.3 Supplementary literature on 3VF communication 25 3 3WN6 CIRCUIT-BREAKERS 26 3.1 Mode of operation and design 3.1.1 General mode of operation of 3WN6 circuit-breaker communication via PROFIBUS-DP 3.1.2 Hardware and software requirements 26 26 26 3.2 Bus connection functionality 28 3.3 Procedure for connection to communication system 31 3.4 Displaying the data in the 3WN6 circuit-breaker 37 3.4.1 Addressing the 3WN6 functions on PROFIBUS-DP: 3.4.2 List of acyclic 3WN6 messages on PROFIBUS-DP 3.4.3 List of cyclical 3WN6 data traffic on PROFIBUS-DP 3.4.4 Examples of (acyclic) message requests: 3.4.5 Time response of data traffic 3.5 Description of software block required for utilizing communication functions with SIMATIC S5 and S7 3.5.1 CPU and DP master types 3.5.2 Displaying data in PROFIBUS-DP 3.5.2.1 Parameterization 3.5.2.2 Configuration 3.5.2.3 Diagnostics 3.5.2.4 Data 3.5.3 STEP 5 program 3.5.3.1 Brief outline of software block tasks 3.5.3.2 Preparing to use the software block 3.5.3.3 General information and adaptations Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 37 39 52 54 55 59 59 59 59 59 60 60 63 63 63 63 1 Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers 3.5.3.4 Data blocks (DBs) 3.5.3.5 Description of examples 3.5.3.6 Extract from program listing of supplied example 3.5.3.7 Procedure for creating your own project 3.5.3.8 Description of visualization with software block 3.5.4 STEP 7 program 66 69 71 77 78 79 4 3WN1 AND 3WS1 CIRCUIT-BREAKERS 80 4.1 Mode of operation and design 80 4.1.1 General mode of operation 4.1.2 Design of the communication-capable 3WN1/3WS1 PROFIBUS system 4.1.3 Hardware and software requirements 80 80 81 4.2 Functionality and bus connection 81 4.3 Procedure for connection to communication system 82 4.4 Special cases 89 4.5 DP/3WN1, 3WS1 and DP/3WN6 interface modules 89 4.5.1 Device description 4.5.1.1 Display/operating elements and interfaces 4.5.2 Installation guidelines 4.5.2.1 Installing the interface module 4.5.2.2 Wiring 4.5.2.3 Wiring arrangements, screening and measures to counteract interference voltage 4.5.3 Operation 4.5.3.1 Operating elements 4.5.3.2 Display elements 4.5.4 Technical data 4.5.4.1 Device data 4.5.4.2 Interface data 4.5.5 Connecting cables between interface modules and 3WN1/3WS1 4.5.6 Displaying data in PROFIBUS-DP 4.5.6.1 Parameterization 4.5.6.2 Configuration 4.5.6.3 Diagnostics 4.6 Displaying the data in the 3WN1/3WS1 circuit-breaker 5 APPENDIX 2 89 89 90 90 92 96 101 101 102 103 103 105 106 107 107 109 110 111 113 5.1 Reference to PROFIBUS installation guidelines 113 5.2 Glossary 114 Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers Disclaimer of liability We have checked that the contents of this document correspond to the hardware and software described. Nonetheless, differences might exist and therefore we cannot guarantee that they are completely identical. The information contained in this document is, however, reviewed regularly and any necessary changes will be included in the next edition. We welcome suggestions for improvement. (c) Copyright by Siemens AG, A&D CD SE, 1998. All rights reserved. The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 3 Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers 1 Introduction 1.1 Contents of this manual This manual contains a comprehensive description of the connection to the communication system of circuit-breakers 3VF (communication-capable 25 - 800 A), 3WN6 (up to 3200 A), 3WS1 (up to 2500 A), and 3WN1 (up to 6300 A). A brief general introduction to PROFIBUS is provided, followed by sections including important instructions regarding ordering, configuring and start-up for each circuit-breaker type. The universally applicable PROFIBUS guidelines as specified by the PROFIBUS User Organization (PNO) are included in the Appendix and can be used for planning your overall PROFIBUS-capable system. Further detailed information on PROFIBUS and PROFIBUS system components can be found in the following catalogs: IK 10: "SIMATIC NET - Industrial Communication" Order number: E86060-K6710-A101-A7-7600 ST 70: "SIMATIC - Components for Totally Integrated Automation" Order number: E86060-K4670-A111-A3-7600 ST PI: "PROFIBUS & AS-Interface - Fieldbus Components" Order number: E86060-K4660-A101-A2-7600 1.2 Explanation of terms and advantages of "communication" Ever increasing levels of automation mean a higher demand for information regarding the state of systems and their components (e.g. evaluation of measured values and diagnostic data). In addition, it is also important that field devices can be controlled directly from control rooms, thus minimizing the personnel costs required for intervention in automation processes. The installation of a bus system allows for a simple data exchange between field devices (e.g. 3WN6 circuit-breakers) and PLCs (e.g. SIMATIC S5/S7 PLCs). Whereas conventional wiring technology requires many multicore control cables connected in parallel to perform this communication task, a bus system generally only requires a single 2-core cable. This means that substantial savings can be made in the areas of wiring (shorter installation time), testing and control cable costs. In addition to controlling the field devices, measured values, signals and diagnostic data which can indicate faults/problems in the plant at an early stage can easily be transferred, thereby helping to reduce system down times (especially through preventive maintenance). The monitoring of current values can ensure that the system is utilized economically at all times (energy management). The communication-capable circuit-breakers 3VF (25 - 800 A), 3WN6 (up to 3200 A), 3WN1 (up to 6300 A), and 3WS1 (vacuum technology up to 2500 A) take full advantage of communication via a bus system. The bus system used is PROFIBUS-DP (EN 50170). It permits circuit-breakers to be controlled and monitored, or even remotely parameterized, depending on the type of overcurrent release fitted. Two high-performance software packages are available for the visualization and evaluation of transferred data (see page 35 for description): 1 * "Win3WN6" (for start-up, and for operation and monitoring of circuit-breaker 3WN6) * "SICAM LCC" (visualization of complete systems with circuit-breakers 3VF, 3WN6, 3WN1, 3WS1, and with SIMOCODE-DP motor protection and control device) 2 1 2 4 Shipping of Win3WN6 starts in 07/98. Shipping of SICAM LCC starts in 10/98. Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers 1.3 Explanation of terms "PROFIBUS" and "PROFIBUS-DP" PROFIBUS3 (PROcess FIeld BUS) is a standard (EN 50170), supplier-independent field bus system. Over 250 suppliers are already offering more than a total of 770 PROFIBUS products in their product ranges. There are in excess of 500,000 PROFIBUS nodes installed worldwide, and PROFIBUS users are supported worldwide by user organizations in 12 countries. PROFIBUS consists of a 2-core cable over which signals (bits) are transferred between PLCs and field devices in a standardized format (protocol). Up to 125 field devices can be connected to a single PROFIBUS network. Repeaters can be used to connect bus segments making it possible to span distances greater than 9 km using copper cables and distances up to 100 km using fiber optic cables. The length of the individual bus segments depends on the baud rate and whether or not there are slaves present (see Table 1). This means that different numbers of repeaters will be used depending on the type of network. Data rate (Kbit/s) 9.6 19.2 93.75 187.5 500 1500 12000 Segment length (m) with slaves 1200 1200 1200 1000 400 200 100 Segment length (m) without slaves 3300 2800 2000 1600 1200 400 - Table 1: Ranges of PROFIBUS network segments (2-core cable) In addition to standard linear bus networks, it is also possible to utilize fiber optic technology together with optical link modules (OLM ) to form redundant ring structures. There are at present two forms of PROFIBUS: PROFIBUS-DP (Decentralized Peripherals) and PROFIBUS-FMS (Field Message Specification). PROFIBUS-FMS allows for supplier-independent communication between PLCs. Communication via the FMS user interface puts functionality rather than reaction time into the foreground. Special user services are therefore available for the logically structured data exchange of even very large amounts of data. Very fast reaction times for a medium data volume are required for communication with field devices (e.g. 3WN6 circuit-breakers, SIMOCODE-DP). This can be achieved by PROFIBUS-DP. The typical configuration of a PROFIBUS-DP network is as a mono-master system, i.e. the slaves are addressed by a single master. The openness of PROFIBUS offers many connection possibilities: a special interface (DP/AS-i link), for example, allows the connection of Actuator-Sensor Interface (AS-i) network systems to PROFIBUS-DP networks. All major PLC suppliers offer PROFIBUS-DP masters. 3 Siemens originally referred to PROFIBUS as SINEC L2. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 5 Communication System Manual 3VF, 3WN, 3WS Circuit-Breakers 1.4 The open world of PROFIBUS-DP communication From master to field device, PROFIBUS-DP offers a full range of connection possibilities. A small selection of the products available from the Siemens world of communications is shown below in Figure 1. Needless to say, PROFIBUS-compatible non-Siemens devices which are in conformance with the PROFIBUS standard can also form part of this system. PROCESS FIELD BUS PROFIBUS-DP TELEPERM M, S IMATIC S5 und S IMATIC S7 COROS Master Drive AS -i Micro Master M M 3~ 3~ DP / AS-i ET200 U S5 95U-DP AS -i 3WN6 S IMOCODE-DP Link AS -i AS -i M 3~ Fig. 1: The open world of PROFIBUS-DP communication 6 Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual 3VF Circuit-Breakers 2 3VF circuit-breakers 2.1 Design and mode of operation 2.1.1 Communication via PROFIBUS-DP 3VF circuit-breakers can communicate via PROFIBUS-DP by means of SIMOCODE-DP (Siemens Motor Protection And Control Device - Decentralized Peripherals, or product code 3UF5). This communication-capable branch is available for currents from 63 A to 800 A for circuit-breakers 3VF3 to 3VF7. The circuit-breaker assumes the tasks of overload and short-circuit protection for the plant section. SIMOCODE-DP measures the current in the feeder in the highest loaded phase and makes it available via the bus. The customer wires control functions such as opening/closing (ON/OFF) and monitoring of the switching state (whether the circuit-breaker is ON or OFF or whether it has tripped due to a fault) between SIMOCODE-DP and the circuit-breaker (see section entitled "Connecting 3VF to the communication system"). The motorized operating mechanism and internal accessories, such as alarm and auxiliary switches, must be taken into consideration when ordering the circuit-breakers. (See section entitled Selection and ordering data). SIMOCODE-DP (3UF5) acts as a control and measuring unit in conjunction with the 3VF circuit-breaker. The overload and short-circuit protection functions are not affected by the connection to SIMOCODE-DP or by a PROFIBUS-DP failure. SIMOCODE-DP measures the following operational data as standard and makes them available via PROFIBUS-DP: Maximum phase current as a % of the setting current in the highest loaded phase: (Prerequisite: Setting current Ie of SIMOCODE-DP corresponds to setting current or rated current Ir of the circuit-breaker. This value must be entered prior to start-up in the field "Setting current 1".) Operational state of circuit-breaker (ON/OFF/TRIPPED = trip due to overload or short-circuit). Event signals: I>In Signal at upper current limit, default setting of 120 %, can be parameterized. IIr) Load shedding 31) Release overtemperature Current phase imbalance (fixed value 50 %) OS1:7 OS1:6 OS1:5 OS1:4 OS1:3 OS1:2 OS1:1 OS1:0 OS2:7 OS2:6 OS2:5 OS2:4 OS2:3 OS2:2 OS2:1 X X X X X X X X X X X X X X X OS2:0 OS3:7 OS3:6 OS3:5 OS3:4 OS3:3 OS3:2 OS3:1 OS3:0 "g" signal for earth fault (earth fault alarm) OS4:7 OS4:6 OS4:5 OS4:4 OS4:3 OS4:2 OS4:1 OS 4:1 for releases E/F, J/K and P only OS4:0 30) 31) 44 If one bit of the warning signals is set, this activates a group warning signal (in the cyclic output data). The operating value for load shedding can be parameterized in message 1:107. Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual 3WN6 Circuit-Breakers T-Nr. RELEASE 1:5 N and P H and J/K D and E/F Message address 745, 1, 0 Processor status The input of octet strings OS1 to OS4 is not required for the message address in this case. OS1:7 OS1:6 OS1:5 OS1:4 OS1:3 OS1:2 OS1:1 OS1:0 OS2:7 OS2:6 OS2:5 OS2:4 OS2:3 OS2:2 OS2:1 OS2:0 OS3:7 OS3:6 OS3:5 OS3:4 OS3:3 OS3:2 OS3:1 OS3:0 Processor fault protection Version 1.0 (05/98) OS4:7 OS4:6 OS4:5 OS4:4 OS4:3 OS4:2 OS4:1 OS4:0 X X Copyright Siemens AG 1998. All rights reserved. X 45 Communication System Manual 3WN6 Circuit-Breakers T-Nr. RELEASE 1:8 N and P D and E/F Message address 748, 1, 0 The input of octet strings OS1 to OS4 is not required for the message address in this case. Fault messages 32) (Only with communication module with measurement functions (Z=F05)) Underfrequency Overfrequency Reversal of direction of power flow Overvoltage Voltage phase imbalance Undervoltage Current phase imbalance (Fine settings 5 - 50 %) H and J/K OS1:7 OS1:6 OS1:5 OS1:4 X X X OS1:3 OS1:2 OS1:1 OS1:0 X X X X OS2:7 OS2:6 OS2:5 OS2:4 OS2:3 OS2:2 OS2:1 OS2:0 OS3:7 OS3:6 OS3:5 OS3:4 OS3:3 OS3:2 OS3:1 OS3:0 OS4:7 OS4:6 OS4:5 OS4:4 OS4:3 OS4:2 OS4:1 OS4:0 32) 46 "Fault signals" can refer to fault "Tripped" signals (OS1:2 of "additional functions 1" (message number 1:121, page 50) = 1) or fault warning signals (OS1:2 of "additional functions 1" = 0). Fault "Tripped" signals: These are registered as a group signal in OS4:2 of message 1:2 (parameter code 742, 1, 0) - see group signal tripping via fault messages, page 43. Fault warning signals: These are registered directly in the group warning signal of the cyclic data. Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual T-Nr. Designation 3WN6 Circuit-Breakers Message address Value range Value range Value range Releases Releases N and P H and J/K Note: See footnote 9, page 28 for details of measuring accuracy of operational data. Releases D and E/F 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A 21 22 Actual phase current IL1 762, 1, 0, 22, 0 0 - 65532 A Actual phase current IL2 762, 2, 0, 22, 0 0 - 65532 A Actual phase current IL3 762, 3, 0, 22, 0 0 - 65532 A Actual max. phase current 762, 4, 0, 22, 0 0 - 65532 A Lmax Actual phase current IN 762, 6, 0, 22, 0 0 - 65532 A Actual earth fault current Ig 762, 7, 0, 22, 0 0 - 65532 A Message 17 is only available with releases E/F, J/K and P. 34) 766, 1, 0, 9, 3 0 - 4000 kW Active power (average) P Reactive power (average) Q 766, 2, 0, 10, 3 0 - 4000 kVar 23 Apparent power (average) S 24 Power factor cos 26 Actual frequency fact 35 31 32 33 41 Actual phase voltage UL1-L2 36) Actual phase voltage UL2-L3 36) Actual phase voltage UL3-L1 Phase current IMAX within 15 min Phase current IMIN within 15 min Actual phase voltage UL, MAX MAX phase voltage after 15 min MIN phase voltage after 15 min Frequency fMAX after 15 min Frequency fMIN after 15 min Actual active current Pmax after 15 min Active power demand Pc ) (low-order byte)37 Active power demand Pc (high-order byte) 1:x Operational data (read only) x= 11 12 13 14 16 17 42 44 45 46 47 48 49 50 51 34) 33) 34) 766, 3, 0, 10, 3 0 - 4000 kVA 766, 4, 0, 0, 0 767, 1, 0, 21, 0 767, 2, 0, 21, 0 767, 3, 0, 21, 0 773, 1, 0, 22, 0 -1000 - +1000 (0.001) 1500 - 50000 Hz (0.01) 0 - 1000 V 0 - 1000 V 0 - 1000 V 0 - 65532 A 773, 2, 0, 22, 0 0 - 65532 A 773, 4, 0, 21, 0 773, 5, 0, 21, 0 0 - 1000 V 0 - 1000 V 773, 6, 0, 21, 0 0 - 1000 V 773, 7, 0, 28, 0 773, 8, 0, 28, 0 773, 9, 0, 9, 3 15 - 500 Hz 15 - 500 Hz 0 - 4000 kW 773, 10, 0, 8, 75 0 - 999 kWh 773, 11, 0, 8, 76 0 - 65532 MWh 766, 6, 0, 28, 0 36) Messages 21 - 33 are only available for releases N and P in conjunction with the communication module with measuring functions (Z=F05). 0 - 65532 A 0 - 65532 A 0 - 65532 A 0 - 65532 A Messages 43 - 51 are only available for releases N and P in conjunction with the communication module with measuring functions (Z=F05). 33) The handheld operator panel refers to P as Pw, Q as Pb and S as Ps. The power factor is in the range -1 to +1. The transferred values (-1000 to +1000) must therefore be multiplied by 0.001. 35) The actual frequency is in the range 15 - 500 Hz. The transferred values (1500 to 50000) must therefore be multiplied by 0.01. 36) Or to neutral conductor N depending on external current transformer connection. 37) The active power demand (1:50, 1:51) can be reset to 0 with releases N and P by selecting menu item "Active power demand Pc" and pressing the Clear button on the release unit. This function is not available via the bus. 34) Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 47 Communication System Manual T-Nr. Designation Message address 3WN6 Circuit-Breakers Value range Value range Value range Releases Releases Releases Setting values/ N and P H and J/K D and E/F Protection parameters Note: Settable values/functions are highlighted in grey. The incremental settings for these values are given on the next page. 1:x x= 61 64 65 66 71 72 81 82 83 84 85 93 101 102 103 104 105 106 107 108 "a" release setting current Ir Time-lag class Tc (trip 38) 39) class) "z" release setting current Id "z" release delay td "g" release setting current Ig "g" release delay tg 782, 1, 0, 22, 0 40 - 100 % In (A) 40 - 100 % In (A) 0; 40 - 100 % In (A) 782, 4, 0, 0, 0 0; 20 - 300 (0.1 s) 200 - 40000 A 0; 20 - 300 (0.1 s) 50 % In - 12 In (A) 20 - 300 (0.1 s) 125 % Ir -12 Ir (A) 20; 80 - 400 ms 20; 80 - 400 ms 20; 80 - 400 ms 160 - 1200 A 20 % In-1200 A 20 % In - 60 % In (A) 782, 5, 0, 22, 0 782, 6, 0, 4, 130 783, 1, 0, 22, 0 783, 2, 0, 4, 100 - 500 ms 100 - 500 ms 100 - 500 ms 130 Messages 71 and 72 are only available with releases E/F, J/K and P. "N" release setting 785, 1, 0, 22, 0 20 % - 100 % In (A) 20 % - 100 % In (A) 20 % - 100 % In (A) current IN "n" release setting 785, 2, 0, 22, 0 150 % In0; 150 % In -12 In 0; 150 % In -12 In ) current Ii 50000/65000 A40 "g/N" release type Ig/N 785, 3, 0, 0, 0 0-5 0-1 0-1 In, ext External current 785, 4, 0, 22, 0 315 - 3200 A Message 84 for P release only transformer 785, 5, 0, 4, Release time or 0; 1 - 15 s 0; 1 - 15 s 0; 1 - 15 s ) 130 alarm tx 41 Current phase imbalance 790, 3, 0, 24, 0 0; 50 % 0; 50 % 0; 50 % (5 - 50 % with Z=F05) Voltage phase 792, 1, 0, 24, 0 0; 5 - 50 % imbalance Reversal of direction of 792, 2, 0, 9, 3 0; -2000 kW to Messages 101 - 106 are only available 42) power flow +2000 kW for releases Overfrequency f> 792, 3, 0, 28, 0 0; 15 - 500 Hz N and P in conjunction with the communication module with Underfrequency f< 792, 4, 0, 28, 0 0; 15 - 500 Hz measuring functions (Z=F05). Overvoltage U> 792, 5, 0, 21, 0 0; 100 - 1000 V Undervoltage U< 792, 6, 0, 21, 0 0; 100 - 1000 V Load shedding 792, 7, 0, 24, 0 0; 50 %-150 % 0; 50 %-150 % 0; 50 %-150 % In (A) In (A) In (A) Load input 792, 8, 0, 24, 0 0; 50 %-150 % 0; 50 %-150 % 0; 50 %-150 % In (A) In (A) In (A) 38) These time vaues are in the range 2 - 30 s. The transferred values (20 - 300) must therefore be multiplied by 0.1. The function is deactivated with setting value "0". This also applies to T-Nr. 1:93, 1:101 - 108. 40) Size I (<= 1600 A): 50 kA; Size II (> 1600 A): 60 kA. 41) tx is the time delay for the trip or warning signal for setting values with T-Nr. 1:93, 1:101 - 108. If tx = 0, the delay = 0 s. The setting values with T-Nr. 1:93, 1:101 - 108 can also be deactivated by setting the value as a parameter. With Z=F05, these setting values can be parameterized as either a trip or a warning, see T-Nr. 1:111, OS1:2. 42) Supply from below: >0; Supply from above: <0. 39) 48 Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual T-Nr. Designation 1:x Additional functions x= 111 112 Additional functions 1 Additional functions 2 Message address 812, 1, 0, ... 43) 820 ,1, 0, ... 41) T-Nr. Designation 1:x 3WN6 Circuit-Breakers Setting values/ Protection parameters Read and write (on = 1/off = 0); write depending on version of release unit Increments for parameterizable functions (highlighted in grey) All releases x= 61 "a" release setting current Ir Ampere values in accordance with Table 4 64 Time-lag class Tc (trip class) 65 66 "z" release setting current Id "z" release delay td Increment = 1 (20, 21, ...) As for T-Nr. 1:61 Increment = 1 71 72 "g" release setting current Ig "g" release delay tg As for T-Nr. 1:61 Increment = 1 81 82 83 84 "N" release setting current IN "n" release setting current Ii "g/N" release type Ig/N In, ext External current transformer 85 Release time or alarm tx Increment = 1 93 Current phase imbalance Increment = 1 (For N and P with Z=F05 only) 101 102 Voltage phase imbalance Reversal of direction of power flow Overfrequency f> Underfrequency f< Overvoltage U> Undervoltage U< Load shedding (Output OFF) Load input (Output ON) Increment = 1 ) (See footnote 44 ) 103 104 105 106 107 108 Example: In accordance with Table 4, increment for T-Nr. 1:61 for In = 630 A is:1 from 252 A to 500 A and 5 from 501 A to 630 A As for T-Nr. 1:61 As for T-Nr. 1:61 Increment = 1 In acc. with Table 4 In acc. with Table 4 In acc. with Table 4 In acc. with Table 4 In acc. with Table 4 As for T-Nr. 1:61 As for T-Nr. 1:61 3WN6 circuit-breaker - Overcurrent release increments for parameter settings: from to Increment >1 10 0.1 > 10 500 1 > 500 1000 5 > 1000 5000 10 > 5000 10000 50 > 10000 50000/65000 100 Table 4 43) 44) See pages 50 -51 for further details of exact addressing. The increment for the power flow direction parameterization value is 1 up to 500 kW. For 501 - 2000 kW, it is in accordance with Table 4 Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 49 Communication System Manual 3WN6 Circuit-Breakers T-Nr. RELEASE N and P H and J/K D and E/F Message address 812, 1, 0, (OS1), 0, 0, 0 1:111 Additional functions 1 Note: Message address 812, 1, 0 is sufficient for reading. 45) Optional trip (1) or alarm (0) OS1:7 OS1:6 OS1:5 OS1:4 OS1:3 OS1:2 X Only with communication module with measurement functions (Z=F05) 46) Reserved Earth fault trip (1) or alarm (0) OS1:1 OS1:0 X X X OS 1:0 for releases E/F, J/K and P only OS2:7 OS2:6 OS2:5 OS2:4 OS2:3 OS2:2 OS2:1 OS2:0 OS3:7 OS3:6 OS3:5 OS3:4 OS3:3 OS3:2 OS3:1 OS3:0 45) If bit OS1:2 is set (= optional trip), the "fault signals" (parameter identifier 748, 1 ,0) is registered in "group fault signal' of the main status word and a trip is therefore generated for all "fault signals". If bit OS1:2 = 0 (= alarm), "fault signals" do not generate a trip, they are merely registered in the "group warning signal" of the main status word. "Fault signals" can also be individually deactivated (by setting message numbers 1:101 to 1:106 to 0). 46) If bit OS1:0 is set, an earth fault is registered in the "group fault signal" and a circuit-breaker trip is generated if an earth fault occurs. If bit OS1:0 = 0 (= alarm), the occurrence of an earth fault is registered in the "group warning signal" of the main status word, and no trip is generated in this case. 50 Copyright Siemens AG 1998. All rights reserved. Version1.0 (05/98) Communication System Manual T-Nr. 1:112 3WN6 Circuit-Breakers RELEASE N and P H and J/K D and E/F Message address 820, 1, 0, 0, 0, 0, (OS4) Additional functions 2 Note: Message address 820, 1, 0 is sufficient for reading. OS1:7 OS1:6 OS1:5 OS1:4 OS1:3 OS1:2 OS1:1 OS1:0 OS2:7 OS2:6 OS2:5 OS2:4 OS2:3 OS2:2 OS2:1 OS2:0 OS3:7 OS3:6 OS3:5 OS3:4 OS3:3 OS3:2 OS3:1 OS3:0 Current phase failure sensitivity ON/OFF Thermal memory ON/OFF I2 tg characteristic ON/OFF I2 td characteristic ON/OFF Short-time grading control ON/OFF 47) OS4:7 OS4:6 OS4:5 OS4:4 X X X 47) OS4:3 X X X OS4:2 X X X OS4:1 OS4:0 OS 4:2 for releases E/F, J/K and P only X X X X X X The current phase failure sensitivity for releases D and E/F is activated when delay td (T-Nr. 66) is set to 20 ms for these releases. With all other settings, the function is inactive. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 51 Communication System Manual 3WN6 Circuit-Breakers 3.4.3 List of cyclical 3WN6 data traffic on PROFIBUS-DP N and P H and J/K D and E/F X X X X X X X X X RELEASE PLC output data to 3WN6 (cyclic) OCTET 9 Acknowledge "Tripped" signals via bus 48) BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 OCTET 10 Circuit-breaker OFF 49) Circuit-breaker ON 50) OCTETS 11 and 12 "a" release setting current Ir [A] BIT BIT BIT BIT BIT BIT BIT BIT 7 6 5 4 3 2 1 0 40 100 % In 48) Equivalent of "Clear" button on release unit. Function only available if circuit-breaker is fitted with shunt release F1 or F2. 50) Function only available if 3WN6 circuit-breaker is fitted with motorized operating mechanism and closing solenoid Y1. 49) 52 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (05/98) Communication System Manual 3WN6 Circuit-Breakers N and P H and J/K D and E/F X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X RELEASE PLC input data from 3WN6 (cyclic) OCTET 9 Ready to close BIT 15 Load shedding BIT 14 Reserved BIT 13 Phase number for main actual value BIT 12 Phase number for main actual value BIT 11 Group error signal 51) BIT 10 Group warning signal 49) BIT 9 Group fault signal 49) BIT 8 OCTET 10 BIT 7 "Tripped" signal not acknowledged52) BIT 6 Electrical closing lockout BIT 5 BIT 4 Storage spring charged BIT 3 BIT 2 Circuit-breaker OFF BIT 1 Circuit-breaker ON BIT 0 OCTETS 11 and 12 Current in highest loaded phase L1, L2 or L3 [A] 51) The "group fault signal" is set (= 1) of one bit of "processor status" (message 1:5, page 45) is set. Similarly, the "group warning signal" is set (= 1) of one bit of "warning signals" (message 1:3, Seite 44) is set and "group fault signal" is set if one bit of "Tripped signals" (message 1:2, page 43) is set. An additional option for releases N and P when used in conjunction with the communication module with measurement functions (Z=F05) is to apply the "fault signals" (message 1:8, Page 50) to either the "group warning signal" (for OS1:2 = 0) or the "group fault signal" (for OS1:2 = 1) by means of "additional functions 1" (message 1:121, Page 50). 52) Acknowledgement either by means of "Clear" button on the release unit or by means of bit 8 of the circuit-breaker output data. The acknowledgement generates a reset of the group fault signal and of all "Tripped" signals for which the trip cause is no longer present. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 53 Communication System Manual 3WN6 Circuit-Breakers 3.4.4 Examples of (acyclic) message requests: 1 and 2 Parameter identifier 3 4 Parameter subindex Byte (Octet) 5 (= OS1) 6 (= OS2) 7 (= OS3) 8 (= OS4) Parameter value (integer data value) Fig. 10: (Acyclic) message address Example 1: Message request: Write a parameterizable value The "z" release setting current is to be set to a value of 25000 A. The message address is therefore 782, 5, 0, 22, 0 in accordance with page 48. Bytes (= octets) 1 and 2 must also contain the request identifier for write and parameter number 782. The detailed structure of octets 1 and 2 can be seen in Fig. 11, page 54. Parameter identifier Byte (octet) 1 15 14 13 12 Request identifier Example 1: 0 0 1 1 11 - 10 - 0 Byte (octet) 2 Bit number 9 8 7 6 5 4 3 Parameter number 1 1 0 0 0 0 1 2 1 0 1 1 0 Fig. 11: Structure of parameter identifier (bytes 1 and 2) The request identifier for read is "1", for write "3": The request identifier must be entered in bits 15 12 of byte 1 as illustrated in Fig. 11, page 54, in this case a "1" in bits 13 and 12. Bits 14 and 15 both equal 0. The parameter number must then be entered in bits 0 - 10, in the above example the binary value "01100001110". Similarly the binary values "00000101" (= 5), "00000000" (= 0), "00010110" (= 22) and "00000000" (= 0) must be entered in bytes 3, 4, 5 and 6 respectively. Finally, the binary code for 25000 (the setting current), i.e. "0110000111101000", must be written in bytes 7 and 8. Example 2: Message request: Read a read-write value Message address 782, 5, 0, 22, 0, is also used to read the "z" release setting current. The same values as in example 1 are written in bytes 1 to 6 here (with the exception of the request identifier). Because this is a read request, the request identifier = 1 and bits 15 to 12 contain the binary value "1" (0001). No entries are necessary in bytes 7 and 8. These bytes will be used to store the read value of the "z" release setting current. Example 3: Message request: Read a read-only value The procedure for reading read-only values (e.g. operational data) is the same as for read-write values, i.e. the request identifier and the listed message address are written to bytes 1, 2, ... of the PLC I/O area of 3WN6. If, for example, the circuit-breaker state (T-Nr. 1:1) is to be read, then the request identifier must be set to 1 (byte 1), the value "741" must be entered in bytes 1 and 2, the value "1" in byte 3 and the value "0" in byte 4. These values must be entered in binary code. The read value for circuit-breaker state is stored in bytes 5, 6, 7 and 8. Important notice: Only the cyclic data from the 3WN6 circuit-breaker (see pages 52 ff.) are regularly updated in the PLC I/O area. Acyclic data are read on request only. If, for example, byte (octet) 9 of the I/O area contains a "group fault signal" (bit 8 = 1), then the "Tripped signals" (and possibly the "fault signals" in the case of releases N and P with Z=F05) will need to be read for a more detailed fault analysis. 54 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (05/98) Communication System Manual 3WN6 Circuit-Breakers 3.4.5 Time response of data traffic The time response of 3WN6 data traffic via PROFIBUS-DP is outlined in detail on the following pages with reference to the different data which are transferred (acyclic, cyclic, circuit-breaker key data, circuit-breaker functions ...). Please note that the PROFIBUS-DP cycle times which are implicit in the specified time values generally depend on the number of slaves, i.e. values can vary. This simple rule of thumb generally applies: To read approx. 0.5 seconds, to write approx. 1 second, to write and check approx. 2 seconds. The various items of data present in 3WN6 are updated at different intervals depending on their importance. Time response of acyclic data traffic: Message group 0 T-Nr. Designation 0:x Circuit-breaker key data x= 1 2 Test unit + delivery date Identifier number 4 5 11 12 13 14 15 16 17 Rated current of circuitbreaker Function test of release Circuit-breaker size Circuit-breaker type No. of poles Version of release unit (in ASCII code) Revision level of communication Communication module version Revision level of release unit Version 1.0 (05/98) Message address Time response of communication (Duration of read/write operations and update rate for values in 3WN6) 500, 1, 0, 0, 0 500, 2, 0, 0, 0 The data in messages 0:1 to 0:16 are read-only. 500, 4, 0, 22, 0 The PLC takes approx. 530 ms to read these values out of 3WN6. 500, 5, 0, 0, 0 The circuit-breaker key data are updated within the 3WN6 circuit-breaker approx. every 60 s. 502, 1, 0, 0, 0 Note: The update rate defines the maximum "age" of 502, 2, 0, 0, 0 any value read from 3WN6. 502, 3, 0, 0, 0 502, 4, 0, 0, 0 502, 5, 0, 0, 0 502, 6, 0, 0, 0 Copyright Siemens AG 1998. All rights reserved. 55 Communication System Manual Message group 1 T-Nr. Designation 3WN6 Circuit-Breakers Message address Time response of communication (Duration of read/write operations and update rate for values in 3WN6) Switching actions 721, ... The switching actions are write-only. The maximum time required for the PLC to write them to 3WN6 and for the switching command to be executed is 600 ms. 1 2 3 Circuit-breaker state "Tripped" signals Warning signals 741, ... 742, ... 743, ... The data in messages 1:1 to 1:5 are read-only. It takes approx. 530 ms for the PLC to read these values out of 3WN6. The values are updated within the circuit-breaker approx. every 700 ms. 5 Processor status 745, ... 8 Fault signals (For comm. module with measurement functions only: Z=F05) 748, ... 1:x Circuit-breaker functions (See pages 41 - 51 for details) x= 0 56 As with messages 1:1 to 1:5, however the measured values in the circuit-breaker are updated every 1000 ms. 11 - 51 Operational data 762 - 773 As with messages 1:1 to 1:5. 61 - 93 Setting values/ 107,108 Protection parameters (Z=F01 or Z=F05) 782 - 790 The data in messages 1:61 to 1:93, 107 and 108 are (configurable as) read-write. It takes approx. 530 ms to read these values and from approx. 500 to a maximum of 1200 ms to write them. After a write operation, the written value can be called up after 200 ms (i.e. max. time for write + check operations: 1200 + 200 + 510 = 1910 ms). Values which have just been read are updated after approx. 700 ms. Otherwise values are updated at intervals of 5000 ms. 101 106 Setting values/ Protection parameters (Z=F05) 111 112 Additional functions (1 and 2) The data in messages 1:101 to 1:106 are (configurable as) read or read-write depending on the release type. It takes approx. 550 ms to read or write these values. The values in 3WN6 are updated regularly. 812, 820 The data in messages 1:111 and 1:112 are (configurable as) read or read-write depending on the release type. It takes approx. 530 ms for the PLC to read these values out of 3WN6 and from approx. 500 to a maximum of 1200 ms to write them. Values which have just been read are updated after approx. 700 ms. Otherwise values are updated at intervals of 5000 ms. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (05/98) Communication System Manual 3WN6 Circuit-Breakers Time response of cyclic data traffic: Time response of communication (Duration of read/write operations and update rate for values in 3WN6) RELEASE 3WN6 input data (cyclic) OCTET 9 Acknowledge "tripped" signals via bus BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 BIT 9 BIT 8 OCTET 10 BIT BIT BIT BIT BIT BIT BIT BIT 53) Circuit-breaker OFF 54) Circuit-breaker ON 7 6 5 4 3 2 1 0 Cyclical opening/closing of the circuit-breaker takes a max. of 500 ms. Note: Cyclical writing means writing in the cyclical area of the PLC I/O area of 3WN6 (cf. page 37). OCTETS 11 and 12 "a" release setting current Ir [A] 53 ) 54 ) 40 It takes from approx. 210 ms to a maximum of 100 % In 900 ms for the PLC to cyclically write the "a" release setting current. Note: Cyclical writing means writing in the cyclical area of the PLC I/O area of 3WN6 (cf. page 37). Function only available if 3WN6 circuit-breaker is fitted with motorized operating mechanism and closing solenoid Y1. Function only available if circuit-breaker is fitted with shunt release F1 or F2. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 57 Communication System Manual 3WN6 Circuit-Breakers Time response of communication (Duration of read/write operations and update rate for values in 3WN6) RELEASE 3WN6 output data (cyclic) OCTET 9 Ready to close Load shedding Reserved Phase number for main actual value Phase number for main actual value Group error signal 55) Group warning signal 53) Group fault signal 53) BIT 15 BIT 14 BIT 13 BIT 12 BIT 11 BIT 10 It takes approx. 150 ms to read cyclic data in the PLC I/O area of 3WN6. The cyclic data are updated within 3WN6 approx. every 700ms. BIT 9 BIT 8 OCTET 10 "Tripped" signal not acknowledged Electrical closing lockout Storage spring charged Circuit-breaker OFF Circuit-breaker ON BIT BIT BIT BIT BIT BIT BIT BIT 7 6 5 4 3 2 1 0 as above OCTETS 11 and 12 Current in highest loaded phase L1, L2 or L3 [A] 55) 58 as above The "group error signal" is set (= 1) of one bit of "processor status" (message 1:5, page 45) is set. Similarly, the "group warning signal" is set (= 1) of one bit of "warning signals" (message 1:3, Seite 44) is set and "group fault signal" is set if one bit of "Tripped signals" (message 1:2, page 43) is set. An additional option for releases N and P when used in conjunction with the communication module with measurement functions (Z=F05) is to apply the "fault signals" (message 1:8, Page 46) to either the "group warning signal" (for OS1:2 = 0) or the "group fault signal" (for OS1:2 = 1) by means of "additional functions 1" (message 1:121, Page 50). Copyright Siemens AG 1998. All rights reserved. Version 1.0 (05/98) Communication System Manual 3WN6 Circuit-Breakers 3.5 Description of software block required for utilizing communication functions with SIMATIC S5 and S7 3.5.1 CPU and DP master types IM308C CP5431 itself 941 942 u u 943 u u 944 u u 945 922 928 u u 928B u u 946/947 948 313 314 315 315-2DP 412 413 413-2DP 414 414-2DP 416 416-2DP u Tested Planned, but assessment not yet finalized. Not planned/technically impossible CP342-5DP CP443-5DP IM467 3.5.2 Displaying data in PROFIBUS-DP Any standard PROFIBUS-DP master can exchange data with the interface module. Even very "simple" master interfaces can be used thanks to the data structure. 3.5.2.1 Parameterization The interface module does not support any user-specific parameter data in the PROFIBUS-DP parameter message. 3.5.2.2 Configuration Two configurations can be used for operating the interface module, both with 12 bytes but in one case with data integrity over the entire length and in the other without data integrity. The configuration with data integrity must be used for this program as messages can otherwise be corrupted. Configuration without data integrity is only available for use by the cyclical data of the message. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 59 Communication System Manual 3WN6 Circuit-Breakers 3.5.2.3 Diagnostics Diagnostic data are high-priority data. The interface module generates external diagnostics whenever - the contact verifying the presence of circuit-breaker 3WN6 is not closed or - the connection to 3WN6 is faulted. Display of signals in external diagnostic byte (octet no. 8): Bit 7 0 Bit 6 0 Bit 5 0 Bit 4 0 Bit 3 0 Bit 2 Bit 1 Bit 0 | | | | 0: 1: | 0: 1: "Present" contact closed "Present" contact open Connection to 3WN6 OK Connection to 3WN6 faulted 3.5.2.4 Data An example program (software block) is provided for data transfer between the SIMATIC S5 CPU and the 3WN6 circuit-breaker. This program can be parameterized user-specifically. 3.5.2.4.1 Input data (from 3WN6 to PROFIBUS, see example below) The 6 words of input data are divided into the following data areas: Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8 Octet 9 Octet 10 Octet 11 Octet 12 Parameter identifier Profile control for communication-capable low-voltage devices on PROFIBUS-DP (kNS/DP) Parameter subindex Reserved Parameter value High-order byte of status word Low-order byte of status word High-order byte of main actual value Low-order byte of main actual value Various signals See below Current in highest loaded phase The data area from octet 1 to octet 8 is intended for acyclic request-driven data transfer. The cyclic data with fixed assignments which are transferred in every message cycle are defined in octets 9 to12. 60 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers General example: To read actual phase current L1. Enter the following codes in the output area (AW 0 - 6) of the DP/RS485 interface (3WN6): DW no. Value Meaning AW 0 AW 2 AW 4 AW 6 KF= +00762 KY= 001,000 KY= 022,000 KF= 00000 Actual phase current L1, parameter identifier Parameter subindex Integer data value, conversion factor Read value and then enter the request identifier to start the transfer of a value (A 0.4 = 1, in AW = 0). The following signals are available in the status word: Octet 9: High-order byte of status word Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 | | | | | | | | | | | | | | | Group fault signal | | | | | | Group warning signal | | | | | Group error signal | | | Phase number for main actual value | | | 0 1 phase 1 | | | 1 0 phase 2 1 1 phase 3 | | | | | Optional signal | Load shedding Ready to close Octet 10: Low-order byte of status word Bit 7 Bit 6 | | | | NC | | | | NC Bit 5 Bit 4 | | | | NC Version 1.0 (05/98) | | | | NC Bit 3 Bit 2 Bit 1 Bit 0 | | | | | | | Switch ON | | Switch OFF | Not used Storage spring charged Copyright Siemens AG 1998. All rights reserved. 61 Communication System Manual 3WN6 Circuit-Breakers 3.5.2.4.2 Output data (from PROFIBUS to 3WN6) The 6 words of input data are divided into the following data areas: Octet 1 Octet 2 Octet 3 Octet 4 Octet 5 Octet 6 Octet 7 Octet 8 Octet 9 Parameter identifier Profile control for communication-capable low-voltage devices on PROFIBUS-DP (kNS/DP) Parameter subindex Reserved Parameter value Octet 10 Octet 11 Octet 12 High-order byte of main control word Low-order byte of main control word High-order byte of main setpoint Low-order byte of main setpoint Direct control commands See below Setting current Ir The following functions are available in the main control word: Octet 9: High-order byte of main control word Bit 15 0 | Bit 14 0 | Bit 13 0 | Bit 12 0 | Bit 11 0 | Bit 10 0 | Bit 9 0 | Bit 8 | COM_CLEAR bit Octet 10: Low-order byte of main control word Bit 7 0 | | | Bit 6 0 | | | Bit 5 0 | | | Bit 4 0 | | | Bit 3 0 | | | Bit 2 Bit 1 Bit 0 0 | | | | | Switch 3WN6 ON | Switch 3WN6 OFF Not supported General example: Set the "z" release setting current to a value of 25 kA. Enter the following codes in the input area (AW 0 - 6) of the DP/RS 485 interface (3WN6): DW no. Value Meaning AW 0 AW 2 AW 4 AW 6 KF= +00782 KY= 005,000 KY= 022,000 KF= +25000 "z" release setting current, parameter identifier Parameter subindex Integer data value, conversion factor corresponds to 25 kA and then enter the request identifier for transferring a value (A 0.4 & A 0.5 = 1, in AW = 0). 62 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3 STEP 5 program The function and data blocks required for utilizing the full scope of communication are supplied on diskette. An example illustrates how these blocks are integrated in an existing S5 program and how they are adapted in line with local conditions. Attention: The following versions are required if the program is to function properly: * 3WN6 interface module: old hardware version (PROFIBUS outgoing circuit on base) 2, new hardware version (PROFIBUS outgoing circuit on top) 1 * Type file/GSD file: V1.1 3.5.3.1 Brief outline of software block tasks This program automates the message traffic from the PLC (via DP master) to the circuit-breaker (via interface module). A request can be entered in the list of read requests to be processed by setting only one bit. The requests in this list are processed consecutively and are inserted in the acyclic part of the message. The handling of message numbers and associated parameter subindices is no longer necessary. The software block takes care of all this. This also applies to the reading of circuit-breaker data, which are read in once by setting the relevant bits. The parameterization of new values in the circuit-breaker is performed by simply entering the new values in a specific position. The software block handles the complex management of message numbers etc. in all three tasks and the user now only needs to set bits to enable requests for read operations or to enter new values in order to perform write operations. 3.5.3.2 Preparing to use the software block The user must load the required function blocks in line with the PROFIBUS-DP master he is using, e.g. FB192 for IM 308-C (Attention: CPU-dependent block!) or the data handling blocks "SYNC", "SEND", "RECEIVE" and "CONTROL" for CP5431. Data integrity over the entire length must be guaranteed independently of the CPU and the DP master. No special access technology is required here when CP5431 is used. However, prior to calling FB10, DHB SEND must be called up followed by DHB RECEIVE, in order to the define the trigger points for data integrity. Synchronization must also be performed using DHB SYNC on start-up. 3.5.3.3 General information and adaptations The user can adapt the software as required. The software kernel comprises 6 function blocks (FBs): * * * * * * FB10 FB81 FB82 FB100 FB101 FB102 Name: ROOT3WN6 Name: REC Name: SEND Name: LESE WCC Name: SCHREIBEN Name: LESEN Request processing and calls for required FBs Reads response to transferred T-Nr. Writes parameter for transferred T-Nr. Defines new T-Nr. for cyclic reading of operational data Defines new T-Nr. for writing of operational data Defines new T-Nr. for reading circuit-breaker data Request processing (FB10) defines the type of the next request, e.g. whether operational data are to be read or written. FB10 then ensures that the next messages of this type are detected and transferred to the 3WN6 interface. Values which are read are stored in a data block and values to be written are fetched from a data block and transferred to the circuit-breaker. If neither writing (parameterization) nor reading of circuit-breaker key data (message group 0) is active, the data which are read out (in DBG1) are copied into DBSZ and DBAT, in order to permit "parameterization from below" (via the RS-232 interface on the 3WN6 release). Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 63 Communication System Manual 3WN6 Circuit-Breakers The FBs SEND and REC are assigned to data blocks when they are called. DB80 contains the message headers for message group 0 and DB81 contains the message headers for message group 1. These blocks are structured such that the basic data word (DW no.) can be calculated as follows for a message number (T-Nr.): DW no. = 2 x T-Nr. The parameter identifier is stored in the basic data word. The following data word contains the parameter subindex. The data to be sent and the data to be received (to/from 3WN6) are also stored in data blocks (in the example: DB230 and DB220). Block call structure of example: FB10 FB81 DB80 FB82 DB81 DB210 OB1 FB100 DB220 FB101 FB102 DB230 DB240 Contents and function of data blocks: DB80 DB header, assignment of parameter identifier for message group 0 DB81 DB header, assignment of parameter identifier for message group 1 DB210 (DBG0) Storage locations for read circuit-breaker data DB220 (DBG1) Storage locations for read operational data of circuit-breaker (actual values!) DB230 (DBSZ) Storage locations for operational data to be sent to the circuit-breaker DB240 (DBAT) Storage locations for T-Nr. enable, priority assignment and request coordination - old values which have already been written to the circuit-breaker 64 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.3.1 Adaptation to master module Adaptation to the DP master module is performed in the start-up OBs and in cycle OB1. If CP5431 is used as master, it must be synchronized on start-up. It also requires one cyclical trigger point for input and one for output in order to exchange data. The data handling blocks are responsible for these tasks and have been integrated in CP3WN6ST.S5D in exemplary fashion. Please ensure that the correct data handling blocks are used for the implemented CPU. Trigger point FBs FB50 and FB51, the FBs for start-up synchronization (FB52), and FB 53 for diagnostics must also be supplied with the correct call parameter in the example program, i.e. S5 = 115 (for S5 115) or 135 (for S5 135/155). This makes it possible for a single example program to run on all S5 CPUs. The slaves must be defined as cycle-synchronous in COM5431 for the DP update, in order to ensure data integrity. With IM308C as master, only the CPU-specific FB192 needs to be loaded. The following data handling blocks are required for the example program with the CP as master: 115: FB244, FB245, FB247, FB249 all CPU-dependent 135/155: FB120, FB121, FB123, FB125 all CPU-dependent Note: If CP5431 is used as DP master, access to the I/O modules is only possible after a hardware reset (voltage OFF). Otherwise a time-out/no acknowledgement signal is output. 3.5.3.3.2 Other adaptations The printed program listing is an example in which the settings can be adapted to suit individual requirements. Please read Description of examples for further information. Please note that only one send or receive request can ever be initiated at any one time for the same 3WN6 circuit-breaker. If several circuit-breakers are in use, FB10 must be called once for each circuit-breaker and supplied with the correct call parameters. The I/O addresses, DBs and timers must only ever be used once. The following address space is available for I/O addresses: IM308C: I/O 128 to 255 CP5431: I/O 0 to 255 in the I/O area with linear addressing in each case. It is necessary to keep within this area in order to ensure data integrity. 3.5.3.3.3 Diagnostics If diagnostics are required (e.g. for Win3WN6), an insertion must be made in the DBAT relative to the DP master as of DW200. In the case of IM308C, this is achieved by means of an FB192 call addressed to the slave. Both the DP address of the slave and the DBAT no. in which the diagnostic data are to be stored must be specified (see example IM308CST.S5D). The diagnostics for CP5431 vary depending on the CP. The CP is first scanned to check for the presence of diagnostic data (can be seen from FB53 in example CP3WN6ST.S5D). If such data are present, slave diagnostics are requested by means of a SEND request. The PROFIBUS slave address must be known, however. This must be entered in DR198 of DBAT. The diagnostic message can then be read out of the returned data in DW203 of DBAT. It is also possible to detect from DW200 whether the PROFIBUS connection to the interface module of the circuit-breaker is in order. A definitive statement can be made regarding the correct connection to 3WN6 based on an OR operation on the channel-specific diagnostics (DW203) and the "Station_Not_Existent" bit (PROFIBUS standard in station status 1 in DW200). If diagnostic messages are to be fetched from several 3WN6s, the S5 with CP5431 as master must ensure that only one diagnostic message is ever sent to a slave at a time. Diagnostic messages for another 3WN6 can only be requested when the diagnostic response has been received from the previous circuit-breaker. This can be achieved by means of a counting distributor, for example. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 65 Communication System Manual 3WN6 Circuit-Breakers 3.5.3.4 Data blocks (DBs) The send and/or receive data block and a message header data block must be configured by the user unless the DBs supplied with the example are to be used. The maximum used length of such a data block is 261 bytes, i.e. the data block must be configured up to and including data word 255. The length is not checked. The block-type structure is as follows (see also Program listing): Data word 0: Symbol for value to be processed acc. to profile (parameter identifier) - T-Nr. 0 Data word 1: Symbol as sub-item for value to be processed (parameter subindex) - T-Nr. 0 Data word 2: Symbol for value to be processed acc. to profile (parameter identifier) - T-Nr. 1 Data word 3: Symbol as sub-item for value to be processed (parameter subindex) - T-Nr. 1 Data word 4: Symbol for value to be processed acc. to profile (parameter identifier) - T-Nr. 2 Data word 5: Symbol as sub-item for value to be processed (parameter subindex) - T-Nr. 2 etc. The user himself is responsible for entering the correct values in the data block, as well as for creating a data block of the correct length. The user must configure the DB up to at least data word 2x+1 (where x = maximum occurring T-Nr.). 66 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.4.1 Position of cyclic part of message Because applications such as WinCC can only access SIMATIC S5 data blocks via FDL link, for example, the cyclic part of the message must be inserted in the DB. The cyclic input bytes are stored in DW96 and 97 of DBAT and the output bytes in DW98 and 99. These can be used to poll the cyclic messages and to switch the circuit-breaker on and off. The program resets the bits for switching on/off after 250 ms. 3.5.3.4.2 Enabling and priority assignment of acyclic requests for operational data to be read cyclically 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: KM = 00000000 00011110; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 11110100 10011110; KM = 11000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00100111 10100001; KM = 11000000 01101111; KM = 11110000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000001; KM = 10000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 00000000 00000000; KM = 11100001 10000000; KM = 01111100 00000100; KM = 00000111 11111000; KM = 00000000 00000000; Version 1.0 (05/98) Screen: Read request T-Nr. 0 to 15 Read: T-Nr. 16 to 31 T-Nr. 32 to 47 T-Nr. 48 to 63 T-Nr. 64 to 79 T-Nr. 80 to 95 T-Nr. 96 to 111 T-Nr. 112 to 127 Screen: Assignment to priority 1 T-Nr. 0 to 15 Read: T-Nr. 16 to 31 T-Nr. 32 to 47 T-Nr. 48 to 63 T-Nr. 64 to 79 T-Nr. 80 to 95 T-Nr. 96 to 111 T-Nr. 112 to 127 Screen: Assignment to priority 2 T-Nr. 0 to 15 Read: T-Nr. 16 to 31 T-Nr. 32 to 47 T-Nr. 48 to 63 T-Nr. 64 to 79 T-Nr. 80 to 95 T-Nr. 96 to 111 T-Nr. 112 to 127 Screen: Assignment to priority 3 T-Nr. 0 to 15 Read: T-Nr. 16 to 31 T-Nr. 32 to 47 T-Nr. 48 to 63 T-Nr. 64 to 79 T-Nr. 80 to 95 T-Nr. 96 to 111 T-Nr. 112 to 127 Copyright Siemens AG 1998. All rights reserved. 67 Communication System Manual 3WN6 Circuit-Breakers The lines are an extract from DB240 (DBAT, data block for request processing) designed to explain the enabling and priority assignment of read requests which are to be processed "cyclically". Messages are enabled from DW100 to DW107 by setting a "1". In the example given here, messages 11, 12, 13 and 14 are enabled in DW 100. The messages are classified according to priority in DW 108 to DW 131. Priorities have already been assigned but can be changed according to requirements. The message numbers increase from left to right within the DB, in the same way as for the enable. Priority assignment entails sending requests with a higher priority more frequently than messages with a lower priority. The enable and one priority assignment must be allocated in order to generate a valid message. In the example provided, this means that only requests 11 - 14 are enabled and these are assigned to priority 1 by default. This type of enabling permits the program to be adapted to a wide range of conditions, e.g. visualization with several windows which only ever display a small number of values. Only the required values need to be updated here, thus allowing for a considerable increase in performance. 3.5.3.4.3 Circuit-breaker parameterization (writing parameters) The data which the circuit-breaker is currently using as parameters are stored in DB240. The data to be transferred to the 3WN6 are stored in DB230. FB10 now checks on every call whether the data in DB230 and DB240 are consistent. If a discrepancy is detected, a bit for writing requests is set. The new values in DB230 are then transferred to 3WN6 and stored as old values in DB240. The request bit is reset. If a new value is to be parameterized, it must therefore be entered at the correct position in DB230. The position is calculated in the same way as for DB80 and DB81: DW no. = 2 x T-Nr.+1 Example: "z" release setting current, T-Nr. 65, tripping value 20 kA Enter 20000 in DW65*2+1 = DW131 of DB230 Special cases: The parameters for additional functions 111/112 must be entered as follows: 111: in DL222 of DBSZ 112: in DR225 of DBSZ The differences occur as these are the only parameterization messages to parameterize two words. All others parameterize only the second word. Attention: Because parameter Ir can be assigned using either the cyclic or the acyclic part of the message, only one of these options is supported in order to avoid parameter inconsistencies. The parameter for Ir can therefore only be transferred using the acyclic message and an entry in DW99 of DBAT (which would trigger cyclical parameterization) does not change the parameter in the circuitbreaker. 68 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.4.4 Reading circuit-breaker data Circuit-breaker key data are read by setting the relevant bits in DW0 and DW1 of DBAT (DB240 in this example). The data which are read out are stored in DB80. As the circuit-breaker data do not change during operation, a single call of the messages is sufficient, e.g. by setting the bits in the relevant OBs on start-up/restart. Example: Read all circuit-breaker data. ADB 240 LKM 01111100 00011111 TDW 0 LKM 10000100 00000000 TDW 1 All the bits in DW0 and DW1 can also be set. If a request does not exist, it is canceled after a watchdog time of 1 s. 3.5.3.5 Description of examples FB REC is called and parameters are passed to it in order to read 3WN6 data. FB SEND is used to write data to the 3WN6 interface module. Both blocks have a similar list of designators: T-DB An input word (MW206 in the example) containing the number of the data block in which the message headers are stored. Q-DB/Z-DB An input word (MW208 in the example) containing the number of the data block in which the parameter values are stored/are to be stored. Q-DW/Z-DW An input word (DW254 in the example) which can be used to specify an offset for the basic data word in the data block for parameters. STAT An input word for an auxiliary storage location which is needed in blocks FB SEND and FB REC. This auxiliary storage location contains the value 0 when the request has been processed, the value 2 during processing and any other value - the value 1 in the example - in order to indicate a new request. T-NR An input byte to specify a message number to be processed (reference to data word to be processed in T-DB and Q-DB/Z-DB - DW in T-DB = 2 x T-NR and following DW; DW in Q-DB/Z-DB = 2 x T-NR + value in Q-DW/Z-DW and following DW) (DL251 in the example). EW0 Input word (MW220 in the example) in which the first two byes of the response from 3WN6 are stored (parameter identifier). EW1 Input word (MW222 in the example) in which bytes three and four of the response from 3WN6 are stored (parameter subindex). EW2 Input word (MW224 in the example) in which bytes five and six of the response from 3WN6 are stored (size and conversion index for requested value). EW3 Input word (MW226 in the example) in which bytes seven and eight of the response from 3WN6 are stored (requested value). AW0 Output word (MW230 in the example) in which the first two byes to be sent to 3WN6 are stored (parameter identifier). AW1 Output word (MW232 in the example) in which bytes three and four to be sent to 3WN6 are stored (parameter subindex). AW2 Output word (MW234 in the example) in which bytes five and six to be sent to 3WN6 are stored (size and conversion index for value to be transferred). AW3 Output word (MW236 in the example) in which bytes seven and eight to be sent to 3WN6 are stored (value to be transferred). Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 69 Communication System Manual 3WN6 Circuit-Breakers FB SEND does not contains the designators EW2 and EW3. Four data blocks are supplied with the example. Blocks DB80 and DB81 contain message headers sorted according to message groups 0 and 1 and listed in the order of the message numbers. Message headers contain the parameter identifier and the parameter subindex. Data blocks DBG1 (DB220) and DBSZ (DB230) are used as data storage locations for the read and write requests to the circuit-breaker in the example. The size and conversion index are stored here, as is the value for a message number. The offset is set to 0. The data read from 3WN6 are stored in DB220 and the write data are stored in DB230. The slave data for this example are selected as follows: * Slave address 8 * Inputs in S5 at addresses P144 to P155 * Outputs in S5 at addresses P156 to P167 70 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6 Extract from program listing of supplied example 3.5.3.6.1 DB80 DB80 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: C:BS3WN6ST.S5D LAE=261 /514 3WN6 ASSIGNMENT TO MESSAGE GROUP 0 Sheet 1 KF = +00000; KY = 000,000; KF = +00500; 0:01 TEST UNIT+DELIVERY DATE KY = 001,000; KF = +00500; 0:02 IDENTIFIER NUMBER KY = 002,000; KF = +00500; 0:03 COMMUNICATION TYPE KY = 003,000; KF = +00500; 0:04 RATED CURRENT OF CIRCUIT-BREAKER KY = 004,022; KF = +00500; 0:05 FUNCTION TEST OF RELEASE KY = 005,000; KF = +00000; 0:06 KY = 000,000; KF = +00000; 0:07 KY = 000,000; KF = +00000; 0:08 KY = 000,000; KF = +00000; 0:09 KY = 000,000; KF = +00000; 0:10 KY = 000,000; KF = +00502; 0:11 CIRCUIT-BREAKER SIZE KY = 001,000; KF = +00502; 0:12 CIRCUIT-BREAKER TYPE KY = 002,000; KF = +00502; 0:13 NO. OF POLES KY = 003,000; KF = +00502; 0:14 VERSION OF RELEASE UNIT KY = 004,000; KF = +00502; 0:15 REVISION LEVEL OF COMMUNICATION KY = 005,000; KF = +00502; 0:16 COMMUNICATION MODULE VERSION KY = 006,000; KF = +00502; 0:17 REVISION LEVEL OF RELEASE UNIT KY = 007,000; KF = +00000; 0:18 KY = 000,000; KF = +00000; 0:19 KY = 000,000; KF = +00000; 0:20 KY = 000,000; KF = +00503; 0:21 COMMUNICATION ADDRESS KY = 001,000; 2*T-Nr. = parameter identifier 2*T-Nr.+1 = parameter subindex Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 71 Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.2 DB81 DB81 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: C:BS3WN6ST.S5D LAE=261 /504 3WN6 ASSIGNMENT TO MESSAGE GROUP 1 KF = +00721; KY = 001,000; KF = +00741; KY = 001,000; KF = +00742; KY = 001,000; KF = +00743; KY = 001,000; KF = +00000; KY = 000,000; KF = +00745; KY = 001,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00748; KY = 001,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00762; KY = 001,022; KF = +00762; KY = 002,022; KF = +00762; KY = 003,022; KF = +00762; KY = 004,022; KF = +00000; KY = 000,000; KF = +00762; KY = 006,022; KF = +00762; KY = 007,022; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00766; KY = 001,009; KF = +00766; KY = 002,001; KF = +00766; KY = 003,001; Sheet 1 1:000 SWITCHING ACTIONS 1:001 CIRCUIT-BREAKER STATE 1:002 CIRCUIT-BREAKER FAULTS 1:003 CIRCUIT-BREAKER WARNINGS 1:004 1:005 STATUS OF MEAS. MODULE 1:006 1:007 1:008 FAULT SIGNALS 1:009 1:010 1:011 ACTUAL PHASE CURRENT L1 1:012 ACTUAL PHASE CURRENT L2 1:013 ACTUAL PHASE CURRENT L3 1:014 MAX ACTUAL PHASE CURRENT 1:015 1:016 ACTUAL PHASE CURRENT N 1:017 ACTUAL EARTH FAULT CURRENT I 1:018 1:019 1:020 1:021 ACTIVE POWER [AVERAGE] 1:022 REACTIVE POWER [AVERAGE] 1:023 APPARENT POWER [AVERAGE] 2*T-Nr. = parameter identifier 2*T-Nr.+1 = parameter subindex 72 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.3 DBG0 (DB210) DB210 C:BS3WN6ST.S5D LAE=261 /90 3WN6 ASSIGNMENT TO MESSAGE GROUP 0 Sheet 1 0: KY = 000,000; 1: KF = +00000; 2: KY = 000,000; 0:01 TEST UNIT+DELIVERY DATE 3: KF = -00248; 4: KY = 000,000; 0:02 IDENTIFIER NUMBER 5: KF = +00247; 6: KY = 000,000; 0:03 COMMUNICATION TYPE 7: KF = +00000; 8: KY = 022,000; 0:04 RATED CURRENT OF CIRCUIT-BREAKER 9: KF = +00630; 10: KY = 000,000; 0:05 FUNCTION TEST OF RELEASE 11: KF = +00000; 12: KY = 000,000; 0:06 13: KF = +00000; 14: KY = 000,000; 0:07 15: KF = +00000; 16: KY = 000,000; 0:08 17: KF = +00000; 18: KY = 000,000; 0:09 19: KF = +00000; 20: KY = 000,000; 0:10 21: KF = +00000; 22: KY = 000,000; 0:11 CIRCUIT-BREAKER SIZE 23: KF = +00247; 24: KY = 000,000; 0:12 CIRCUIT-BREAKER TYPE 25: KF = -02049; 26: KY = 000,000; 0:13 NO. OF POLES 27: KF = -00248; 28: KY = 000,000; 0:14 REVISION LEVEL OF RELEASE UNIT 29: KF = +00068; 30: KY = 000,000; 0:15 REVISION LEVEL OF COMMUNICATION 31: KF = +05121; 32: KY = 000,000; 0:16 VERSION OF RELEASE UNIT 33: KF = +00017; 34: KY = 000,000; 0:17 35: KF = +00000; 36: KY = 000,000; 0:18 37: KF = +00000; 38: KY = 000,000; 0:19 39: KF = +00000; 40: KY = 000,000; 0:20 41: KF = +00000; 42: KY = 000,000; 0:21 COMMUNICATION ADDRESS 43: KF = +00052; The storage structure of the read results for message group 0 is already apparent here (circuit-breaker data). Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 73 Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.4 DBG1 (DB220) DB220 C:BS3WN6ST.S5D LAE=261 /504 3WN6 ACTUAL VALUES MESSAGE GROUP 1 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: KY = 000,000; KF = +00000; KY = 160,068; KF = +00001; KY = 000,001; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 000,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = -00001; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 009,003; KF = -01234; KY = 010,003; KF = -01408; Sheet 1 1:000 SWITCHING ACTIONS 1:001 CIRCUIT-BREAKER STATE 1:002 CIRCUIT-BREAKER FAULTS 1:003 CIRCUIT-BREAKER WARNINGS 1:004 1:005 STATUS OF MEAS. MODULE 1:006 1:007 1:008 1:009 1:010 1:011 ACTUAL PHASE CURRENT L1 1:012 ACTUAL PHASE CURRENT L2 1:013 ACTUAL PHASE CURRENT L3 1:014 MAX ACTUAL PHASE CURRENT 1:015 1:016 ACTUAL PHASE CURRENT N 1:017 ACTUAL EARTH FAULT CURRENT I 1:018 1:019 1:020 1:021 ACTIVE POWER [AVERAGE] 1:022 REACTIVE POWER [AVERAGE] The parameter subindex is stored in DW T-Nr.*2. The last value read in to this message is stored in DW T-Nr.*2+1. 74 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.5 DBSZ (DB230) DB230 C:BS3WN6ST.S5D LAE=261 /504 3WN6 ACTUAL VALUES MESSAGE GROUP 1 0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: KM = 00000000; KF = +00000; KY = 160,068; KF = +00001; KY = 000,001; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = +00000; KY = 000,000; KF = +00000; KY = 022,000; KF = +00000; KY = 022,000; KF = -00001; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 000,000; KF = +00000; KY = 009,003; KF = -01234; KY = 010,003; KF = -01408; Sheet 1 1:000 SWITCHING ACTIONS 1:001 CIRCUIT-BREAKER STATE 1:002 CIRCUIT-BREAKER FAULTS 1:003 CIRCUIT-BREAKER WARNINGS 1:004 1:005 STATUS OF MEAS. MODULE 1:006 1:007 1:008 1:009 1:010 1:011 ACTUAL PHASE CURRENT L1 1:012 ACTUAL PHASE CURRENT L2 1:013 ACTUAL PHASE CURRENT L3 1:014 MAX ACTUAL PHASE CURRENT 1:015 1:016 ACTUAL PHASE CURRENT N 1:017 ACTUAL EARTH FAULT CURRENT I 1:018 1:019 1:020 1:021 ACTIVE POWER [AVERAGE] 1:022 REACTIVE POWER [AVERAGE] The parameter subindex of the T-Nr. is stored in DW T-Nr.*2. The value which is to be parameterized or which has already been parameterized is stored in DW TNr.*2+1. This depends on the comparison between the value read out and the content of this DB. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 75 Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.6 DBAT (DB240) DB240 C:BS3WN6ST.S5D LAE=261 /28 3WN6-1 REQUEST COORDINATION Sheet 1 0: KM = 00000000 00000000; CPU : Initiate read requests group 0 1: KM = 00000000 00000000; T-Nr. 16 to 31 2: KH = 0000; Reserved 3: KF = +00000; Flag: Display no. 4: KM = 00000000 00000000; CPU : Check requests group 1 5: KM = 00000000 00000000; T-Nr. 16 to 31 6: KM = 00000000 00000000; T-Nr. 32 to 47 7: KM = 00000000 00000000; T-Nr. 48 to 63 8: KM = 00000000 00000000; T-Nr. 64 to 79 9: KM = 00000000 00000000; T-Nr. 80 to 95 10: KM = 00000000 00000000; T-Nr. 96 to 111 11: KM = 00000000 00000000; T-Nr. 112 to 127 12: KH = 0000; Reserved 13: KH = 0000; Reserved 14: KH = 0000; CPU : Write requests group 1 15: KM = 00000000 00000000; T-Nr. 48 to 63 16: KM = 00000000 00000000; T-Nr. 64 to 79 17: KM = 00000000 00000000; T-Nr. 80 to 95 18: KM = 00000000 00000000; T-Nr. 96 to 111 19: KM = 00000000 00000000; T-Nr. 112 to 127 20: KH = 0000; Reserved 21: KF = +00000; Flag: P 61 Write old value 22: KF = +00000; --23: KF = +00000; --24: KF = +00000; P 64 25: KF = +00000; P 65 26: KF = +00000; P 66 27: KF = +00000; --28: KF = +00000; --29: KF = +00000; --30: KF = +00000; --31: KF = +00000; P 71 32: KF = +00000; P 72 33: KF = +00000; --34: KF = +00000; --35: KF = +00000; --36: KF = +00000; --37: KF = +00000; --38: KF = +00000; --39: KF = +00000; --40: KF = +00000; --41: KF = +00000; P 81 42: KF = +00000; P 82 43: KF = +00000; P 83 . . The bits for setting the read identifier for requests from group 0 are stored in DW0 and 1. DW4 to 20 are internal flags for request processing. The old, already parameterized, values are stored as of DW21 and are used for comparing the old/new parameter values. The enables and priority assignments mentioned above are possible as of DW100. The cyclic input and output words of the message are inserted as of DW96. If a diagnostic block is called, the slave diagnostics can be stored as of DW200. 76 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers 3.5.3.6.7 FB10 call Name BASE BASA DBG0 DBG1 DBSZ DBAT TIM0 TIM1 TIM2 :SPA FB10 :ROOT3WN6 :KF +44 :KF +56 :KF +210 :KF +220 :KF +230 :KF +240 :KF +40 :KF +41 :KF +42 This is the call based on the parameters from the example. The meanings of the individual parameters are as follows: BASE Base address of inputs which has been parameterized in COM-PROFIBUS, for example. The following 12 bytes are then used by this interface module. BASA Base address of outputs which has been parameterized in COM-PROFIBUS, for example. The following 12 bytes are then used by this interface module. DBG0 Free data block number, DB210 in the example DBG1 Free data block number, DB220 in the example DBSZ Free data block number, DB230 in the example DBAT Free data block number, DB240 in the example TIM0 Two timers are used in the program. TIM1 The timers can be specified externally so that the block can be used universally. TIM2 See above 3.5.3.7 Procedure for creating your own project 1. The data blocks must contain exactly the same structure and contents as in the example provided. We therefore recommend that you copy them out of this project. Otherwise problems may occur. 2. The following blocks must be copied into the project: FB10, FB81, FB82, FB100, FB101, FB102 3. FB10 and its parameters must be called from the cyclic program (e.g. OB1). 4. An FB10 call must be assigned to each circuit-breaker. The parameters (DBs, timer, I/O area) must not overlap. 5. Adaptations to the DP master may be necessary, e.g. CP5431 and diagnostics. Note: Only flags over the 200 area (scratch flag area) are used in software block FB10. These are reinitialized on every call and can therefore also be used throughout the entire program provided they are always reinitialized. This means that the entire flag area can also be used by the user program. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 77 Communication System Manual 3WN6 Circuit-Breakers 3.5.3.8 Description of visualization with software block We shall demonstrate the use of the software block with reference to an example. Actual phase currents L1, L2 and L3 are to be displayed in a visualization window (e.g. WinCC). The actual state of the circuit-breaker should also be displayed. It should also be possible to display and set new parameters for the "a" release in this window (T-Nr. 61). 3WN6 visualization 315 Phase current L1 319 Phase current L2 325 Phase current L3 "a" release 980 SET Circuit-breaker ON Circuit-breaker OFF Load shedding Ready to close Switch circuit-breaker ON ON Storage spring charged Switch circuit-breaker OFF OFF These 3 requests must be entered in the list of cyclic messages for the actual phase current to be displayed in the boxes. This is achieved by setting the bits in DW100 of DBAT (only enable messages 11 - 13), see 3.5.3.4.2. The actual currents can then be copied into the window from data words DW23, 25 and 27 of DBG1. The circuit-breaker states are transferred with every message in the cyclic part and can be obtained from data words DW96 and 97 of DBAT (DW96 corresponds to octets 9 and 10, DW97 to octets 11 and 12). The ON and OFF buttons can be used to set 3WN6 to the required state. Bit 1 (for OFF) or bit 0 (for ON) of octet 10 must be set for this purpose. The bit is automatically reset. If octet 10 cannot be reached directly for visualization, these bits can also be set in DW98 of DBAT. They are written out at the end of the cycle. A value is to be parameterized in accordance with message 1:61. If the actual parameterized value is to appear in the box, the corresponding bit must be set in DW103 of DBAT (as was the case with the current values). This value is then updated cyclically. The value in the box must be copied from DW123 of DBG1. To parameterize a new value, enter the value in the box and press the SET button. The visualization software then copies this value to the correct location of DBSZ, i.e. to DW123 (= TNr. *2 +1). The block then detects this new value and parameterizes it in the circuit-breaker. When the procedure is complete, the actual parameterized value is again displayed in the box until such time as 3WN6 has verified and returned the new value. Note: Win3WN6 and SICAM LCC are available (see page 35) for standard visualization of 3WN6 circuit-breaker information. 78 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (02/98) Communication System Manual 3WN6 Circuit-Breakers There is also another way of changing parameters in the 3WN6 circuit-breaker, i.e. by connecting suitable devices to the serial interface at the front of the display unit. It is important that the bits for cyclic reading of the displayed values are set in order that the S5 software and the visualization can detect these changes (already configured in this example). This guarantees data consistency between the circuit-breaker and the S5 data management. Changes should only be made via the serial interface when the corresponding read request bit (as of DW100 in DBAT) is set. If several windows are used for displaying the circuit-breaker, only the actually displayed values need to be updated cyclically. Otherwise the performance is compromised. 3.5.4 STEP 7 program The kernel of the software block is the same as for S5. However, some changes are required for S7 due to the conversion. 1. The data words in the data blocks of S5 must be multiplied by 2 for S7. 2. The initial I/O addresses do not need to be supplied for the FC10 call. It is necessary to differentiate between the CPU and the CP as DP master, in order to guarantee data integrity in S7. In the case of a CPU as master, CALL SFC14 must be performed prior to CALL FC 10. This copies the valid input data to the flag area (12 bytes). This must be followed by CALL SFC15, which copies the flag data (12 bytes) to the output area (see S7 example). In the case of a CP as master, both calls are replaced by CALL "SEND" and CALL "RECEIVE", which have the same effect. Version 1.0 (05/98) Copyright Siemens AG 1998. All rights reserved. 79 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4 3WN1 and 3WS1 circuit-breakers 4.1 Mode of operation and design 4.1.1 General mode of operation Fitting circuit-breakers 3WN1 and 3WS1 with a communication-capable overcurrent release version AZN (type 5) or AZNG (type 8) makes them capable of communicating on PROFIBUS-DP. The connection of the 3WN1 and 3WS1 circuit-breakers to PROFIBUS-DP is implemented by means of the DP/3WN1, 3WS1 interface in conjunction with a digital I/O module (e.g. ET 200) which has been customized to suit the application. The information available on the overcurrent release is transferred to the bus via the interface module and the circuit-breaker information via the I/O module. The I/O module can also be used to control the circuitbreaker. 4.1.2 Design of the communication-capable 3WN1/3WS1 PROFIBUS system Fig. 12, page 80 illustrates a general system design in which 3WN1/3WS1 circuit-breakers are connected to PROFIBUS-DP: Fig. 12: Example design PROFIBUS-DP gateway DP/3WN1, 3WS1 ET 200 base dig I/O 3WN1 3WS1 parallel signals Note ! It is also possible to connect the circuit-breaker to the communication system using only the DP/3WN1, 3WS1 interface module. The following information can be transferred from the circuit-breaker in this case: - Highest loaded phase - All three phase currents - Rated circuit-breaker current - Phase imbalance - Processor fault - Overload signal - Temperature alarm The following additional information can be transferred to and from the circuit-breaker with the help of ET 200: - Circuit-breaker state - ON/OFF commands - Ready to close 80 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.1.3 Hardware and software requirements The following hardware and software items are required in order to communicate with 3WN1/3WS1 circuitbreakers via PROFIBUS-DP: Hardware: * Circuit-breaker Fixed-mounted Fixed-mounted Draw-out Draw-out Version 5 8 5 8 MLFB 3WN1xxx-xxRxx-xxxx - Z = F01 * 3WN1xxx-xxVxx-xxxx - Z = F01 * 3WN1xxx-xxRxx-xxxx - Z = F01 * 3WN1xxx-xxVxx-xxxx - Z = F01 * * Circuit-breaker incl. communication-capable overcurrent release and connecting cable * Overcurrent release version 5 : 3WX31415JC12 or (MLFB for ordering) * Overcurrent release version 8 : 3WX31416JE12 * DP/3WN1, 3WS1 interface module : 3RK1002-0BB00-0AA0 (MLFB for ordering) (including circuit-breaker connecting cable) (ET 200 U used in the example: Power supply ET 200 U Bus module Standard DIN rail Digital inputs Digital outputs : 6ES5 931-8MD11 : 6ES5 318-8MB12 : 6ES5 700-8MA11 : 6ES5 710-8MA11 : 6ES5 431-8MA11 : 6ES5 450-8MD11) Software: * 3.5" diskette with type/GSD file for the software connection of 3WN1/3WS1 to PROFIBUS-DP (bus configuration). This diskette is supplied with the interface. * Software for configuring the PROFIBUS-DP bus: "COM-PROFIBUS" (for SIMATIC S5 as bus master) Order number: 6ES5 895-6SE12 (Individual license, Catalog ST50 1997) Manual order number: 6ES5 998-3ES12 (Catalog ST50 1997) 4.2 Functionality and bus connection The following circuit-breaker output data can be read from 3WN1/3WS1 via PROFIBUS-DP: Circuit-breaker key data (e.g. circuit-breaker size) Operational states (e.g. switching state, "Tripped" signals) Operational data (e.g. actual phase current IL1) ... and input data can be written to the circuit-breaker * Execute switching actions (switch circuit-breaker ON or OFF) Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 81 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.3 Procedure for connection to communication system 3WN1/3WS1 circuit-breakers are connected to PROFIBUS-DP in 8 steps:56 Step 1: Step 2: Step 3: Step 4: Step 5: Step 6: Step 7: Step 8: Check that all the system components are fitted Check the system requirements Connect the I/O module Connect 3RK1002 interface module to PROFIBUS-DP Connect 3RK1002 interface module to 3WN1/3WS1 Connect 3RK1002 interface module to voltage supply Bus configuration Set bus address on 3RK1002 interface module Step 1: Check that all the system components are fitted Check that all the following system components are fitted before connecting 3WN1/3WS1 to PROFIBUS-DP: 56) 82 * Communication-capable 3WN1/3WS1 circuit-breaker * 3RK1002 interface module and connecting cable from 3RK1002 interface module to circuitbreaker (supplied with 3RK1002) * Connector (6ES7xxx) including terminating resistor for connecting interface module to PROFIBUS-DP * 24 V DC voltage supply (DIN 19240) * Diskette with type or GSD file (supplied with 3RK1002) * I/O module (e.g. ET 200 U) * Programming device PG ... (for SIMATIC S5/S7, or other appropriate hardware) * COM ET 200 software/COM-PROFIBUS (for SIMATIC S5, or other appropriate software) This procedure must be performed for each individual 3WN1 circuit-breaker. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual Step 2: 3WN1, 3WS1 Circuit-Breakers Check the system requirements The second step involves checking the following three requirements for connecting 3WN1/3WS1 to PROFIBUS-DP: * The communication-capable 3WN1/3WS1 circuit-breaker must be installed and wired in accordance with the user guide (included in scope of supply of circuit-breaker). Note ! Circuit-breaker position A draw-out circuit-breaker must be in the test position for testing and in the connected position for normal operation. When wiring, please ensure that the jumper arrangements on the auxiliary connectors are correct (cf. Fig. 15, page 91 and Fig. 15, page 92 in the 3WN1/3WS1 user guide) * The PROFIBUS-DP master must be present and operational. * The 3RK1002 interface module must be correctly installed and connected (section 4.5.2, page 90). * The compact housing of the 3RK1002 interface module is 70 mm wide and can simply be snapped onto a 35 mm DIN rail. The devices can be mounted side by side. Note ! Installation procedure The interface module must not be mounted directly above the arcing space of the circuit-breaker, unless suitable covers have been fitted. * The earth connection of the interface module (shield signal for electronic circuit) is made using a flexible earth wire (1.5 mm2) and an earth terminal (order no. 8WA1001-1PF00, for example) which is mounted on the DIN rail immediately next to the interface module. * The 9-pin SUB-D socket on the 3WN1/3WS1 circuit-breaker which is used for the connecting cable between the circuit-breaker and the interface module must be earthed using a flexible 2 earth wire (2.5 mm ). -The standard length of connecting cable 3WN1/3WS1-3RK1002 between the 3WN1/3WS1 circuitbreaker and the 3RK1002 interface module is 3 m. (--> see section 4.5.2.2.5, page 94) Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 83 Communication System Manual 3WN1, 3WS1 Circuit-Breakers Fig. 13: Wiring example in accordance with the data areas described in Step 7 Profibus DP Profibus DP DC 24V 0V 3RK1002 ET 200 U 1 TTY 6ES5 431-8MA11 2 E n+0 E n+1 4 6ES5 450-8MD11 E n+2 3 3 6 L1 A n+1 A n+0 1 N 5 230 V~ 2 L1 N X6.9 X6.4 X1.7 X1.8 X2.5 X2.6 X2.9 X2.10 X3.1 X3.2 X3.6 X3.9 X1.9 X1.10 X3.3 X3.4 1 -S9 2 -Y1 -S6 -S8 1 spring charge status -S5 2 -S7 -F1 -S23 -K1 -S21 -S21 switching status ready to close -S8 Shunt release for OFF-command M Overcurrent release 3WN1 / 3WS1 Closing solenoid for ON-command Type 5 Type 8 circuit-breaker 3WN1 / 3WS1 X6.10 Step 3: Connect the I/O module 57 Wire the required input and output modules for the digital bus inputs and outputs. The output signals of the modules must be configured in accordance with the levels of the circuit-breaker actuators. Fig. 13 illustrates this connection with reference to a SIMATIC ET 200 U with an input signal level of 24 V DC and an output signal of 230 V AC. 57) 84 This assumes that conventional copper conductors are used for PROFIBUS-DP. If fiber optic conductors are used, converters from fiber optic to copper conductors must be fitted. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual Step 4: 3WN1, 3WS1 Circuit-Breakers Connect 3RK1002 interface module to PROFIBUS-DP 58 Now you can wire the appropriate 6ES7... connector (up to 12 Mbaud) to the PROFIBUS-DP cable based on the baud rate required on the bus59 (cf. connector user guide). Then plug the wired connector into the "PROFIBUS-DP" socket on the interface module. (--> see also section 4.5.2.2.3, page 93) Step 5: Connect 3RK1002 interface module to 3WN1/3WS1 circuitbreaker Connection of 3WN1/3WS1 <--> 3RK1002 connecting cable: This cable is supplied with the interface and is plugged into the 3WN1, 3WS1/3RK1002 adapter (9-pin SUB-D socket), which is fitted on the circuit-breaker at the factory, and into the "3WN1, 3WS1" (9-pin SUB-D) socket on the front of the interface module. Note ! Installation procedure All communication-capable circuit-breakers (fixed-mounted) and all communication-capable guide frames (for draw-out circuit-breakers) are fitted with a "3WN1, 3WS1/3RK1002" adapter at the factory. This 3WN1, 3WS1 adapter can also be ordered as a spare part using the following order numbers: * Adapter "3WN1/3WS1/3RK1002" (0.4 m) for 3WN1/3WS1 fixed-mounted circuit-breakers, comprising one SUB-D socket and free cable ends, and including mounting materials. Order number: 3WX3145-3JA00 (--> see also section 4.5.2.2.2, page 92) Step 6: Connect 3RK1002 interface module to voltage supply Connect the 24 V DC voltage supply (DIN 19240) to the interface module: The interface module is fitted with a 4-pole screw terminal to facilitate the through connection of the 24 V supply. (--> see also section 4.5.2.2.4, page 94) 58) 59) This assumes that conventional copper conductors are used for PROFIBUS-DP. If fiber optic conductors are used, converters from fiber optic to copper conductors must be fitted. The maximum possible baud rate corresponds to the maximum baud rate of the slowest field device. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 85 Communication System Manual 3WN1, 3WS1 Circuit-Breakers Step 7: Bus configuration If SIMATIC S5 is the bus master, the bus can be configured quickly and easily using either a PC or a SIMATIC programming device (PG) in conjunction with the COM ET 200 or COM-PROFIBUS programs60. In the case of other bus masters, the appropriate devices and/or supplier-specific tools must be used. The object of bus configuration is to define the 3WN1/3WS1 device data, the 3WN1/3WS1 bus address and the 3WN1/3WS1 data area (I/O area) in the bus master. The 3WN1/3WS1 device data can be read into the master in the form of type or GSD files. Bus data areas Table 11: Data area of 3RK1002 interface module I/O Octet area Bit no. 7 6 5 4 3 2 1 0 0 1 1 2 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 1 1 60) 86 Description 0 1 0 1 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 Maximum phase current in phase L1 1 input byte 0 1 Maximum phase current in phase L2 1 0 Maximum phase current in phase L3 0 0 Rated circuit-breaker current 1 input Test byte 0 1 Rated circuit-breaker current 315 A 1 0 Rated circuit-breaker current 400 A 1 1 Rated circuit-breaker current 500 A 0 0 Rated circuit-breaker current 630 A 0 1 Rated circuit-breaker current 800 A 1 0 Rated circuit-breaker current 1000 A 1 1 Rated circuit-breaker current 1250 A 0 0 Rated circuit-breaker current 1600 A 0 1 Rated circuit-breaker current 2000 A 1 0 Rated circuit-breaker current 2500 A 1 1 Rated circuit-breaker current 3150 A 0 0 Rated circuit-breaker current 4000 A 0 1 Rated circuit-breaker current 5000 A 1 0 Rated circuit-breaker current 6000 A 1 1 Rated circuit-breaker current 6300 A Actually displayed phase L1 Actually displayed phase L2 Actually displayed phase L3 Actually displayed phase Lmax cf. "ET 200 Distributed I/Os" manual, order number 6ES5 998-3ES12. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 2 3 3 4 5 6 7 8 9 5 7 Version 1.0 (02/98) 3WN1, 3WS1 Circuit-Breakers 0 0 0 0 0 0 0 1 Button pressed on display 0 0 0 0 0 0 1 0 "a" release 0 0 0 0 0 1 0 0 "n/z" release 0 0 0 0 1 0 0 0 "g" release 0 0 0 1 0 0 0 0 Phase imbalance 0 0 1 0 0 0 0 0 Watchdog (microprocessor fault) 0 1 0 0 0 0 0 0 Overload 1 0 0 0 0 0 0 0 Temperature alarm Phase 1 current 1 input byte 1 input word Phase 2 current 1 input word Phase 3 current 1 input word Copyright Siemens AG 1998. All rights reserved. 87 Communication System Manual 3WN1, 3WS1 Circuit-Breakers Table 12: Data area of ET 200 U I/O Octet area Bit no. Description 7 6 5 4 3 2 1 0 9 1 10 2 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Switch position ON Ready to close Storage spring charged Switch ON Switch OFF 1 input byte 1 output byte The digital input and output lines and data areas of a communication-capable I/O module must also be configured. Step 8: Set bus address on 3RK1002 interface module The bus address defined for 3WN in Step 7 can be set on the front panel of the 3RK1002 interface module by means of 2 rotary switches (range 00 - 99). (--> section 4.5.3.1.1, page 101) The rotary switch on the left (x10) sets the tens and the rotary switch on the right (x1) sets the units for the address. The baud rate cannot be set on the interface. It is automatically adjusted in line with the baud rate of the bus master (e.g. SIMATIC S5).61 High-performance software is available for the visualization and evaluation of the data transferred from 3VF (see page 35 ff. for description): "SICAM LCC" for the visualization of complete systems implementing circuit-breakers 3VF, 3WN6, 3WN1, 62 3WS1, and a SIMOCODE-DP motor protection and control device. An additional software block is required for 3WN1/WS1 visualization using SICAM LCC and SIMATIC. It makes the data on PROFIBUS available to the PC via an FDL link. Once you have completed Step 8, the 3WN1/3WS1 circuit-breaker is connected to the PROFIBUS-DP communication system. No further steps are required. 61 62 88 The maximum possible baud rate corresponds to the maximum baud rate of the slowest field device. Shipping of SICAM LCC starts in 10/98. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.4 Special cases * The current values transferred by the circuit-breaker which are below the activation limit are generated in the transformer electronics and must not be evaluated. * The trip reasons are stored in the communication processor and are transferred at regular intervals after a trip. They are not deleted until the circuit-breaker is switched on again. * The trip reasons are displayed on the release within a period of 20 ms. * The release updates the current values of the transferred phases every 50 ms. 4.5 DP/3WN1, 3WS1 and DP/3WN6 interface modules This section contains a description, installation guidelines, operating instructions and technical data for the interface modules DP/3WN1, 3WS1 (for 3WN1 or 3WS1 circuitbreakers) and DP/3WN6 (for 3WN6 circuit-breakers). Only the DP/3WN1 interface modules is illustrated however. All the information also applies to the DP/3WN6 interface module with the exception of the device names and the order numbers. (Note: the "PROFIBUS-DP" and "3WN6" connectors on the DP/3WN6 interface module are swapped on products shipped before July 1998, i.e. the PROFIBUS interface is below and the 3WN6 interface is on top. We shall make special reference to any other differences.) 4.5.1 Device description 4.5.1.1 Display/operating elements and interfaces Fig. 14: Display/operating elements and interfaces DP /3WN1,3WS1 0 1 Device 8 PROFIBUS-DP Interface 2 3 Address 9 0 1 8 7 4 6 5 4 3RK1002-0BB00-0AA0 9 0 1 2 8 3 7 x10 2 3 6 5 4 x1 1 2 3 4 5 6 5 G/jj.mm.dd 3WN1,3WS1 6 24V 0V 10 7 Version 1.0 (02/98) 9 Copyright Siemens AG 1998. All rights reserved. 89 Communication System Manual Device status LED: * Interface status LED: ... S 3WN1, 3WS1 Circuit-Breakers a a a a a a green red off green yellow off red Device OK Device defective Device switched off Both communication interfaces OK Communication interface 1 not clear (PROFIBUS-DP) Communication interface 2 not clear (3WN1/3WS1) Communication interfaces both not clear not configured Address switch for PROFIBUS-DP (addresses 0 ... 99) not configured Inscription plates Earth terminal for cable screens Power supply terminals Communication interface 1: a PROFIBUS-DP (9-pin SUB-D socket) Communication interface 2: a 3WN1, 3WS1 (9-pin SUB-D socket) not configured 4.5.2 Installation guidelines 4.5.2.1 Installing the interface module The interface module is designed for installation in a switchgear cubicle (IP20) and can therefore only be mounted on a standard DIN rail (deep rail in acc. with EN50022) Installation * Lower the module onto the DIN rail from above. * Then swivel it downwards until the slide mechanism on the module snaps onto the rail. * You may install other modules on the rail to the left and right of the interface module. * Clearance of at least 5 cm must be provided above and below the module to allow for heat dissipation. * Connect the standard DIN rail to the equipotential bonding strip of the switchgear cubicle. The 2 connecting wire must have a cross-section of at least 10 mm . * Install an earth terminal immediately next to the interface module so that the flexible wire (1.5 mm2) used for screen bonding can be as short as possible. Deinstallation * First disconnect the power supply and signal cables. * Then use a screwdriver to press the slide mechanism on the module downwards. * Now swivel the module off the DIN rail. 90 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers Fig. 15: Installing/Deinstalling the device Mounting Rail Earth terminal Slide mechanism Interface module . Vertical installation The standard DIN rail can also be installed in the vertical position, in which case the interface module must be rotated by 90 for installation. The heat dissipation by convection is not as effective in this case, so the maximum permissible temperature is restricted to a max. of 40C. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 91 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.2.2 Wiring 4.5.2.2.1 Terminal connections The following terminal connections are possible when wiring the interface module: * Standard screw terminal (earth terminal) * Plug-type terminals (voltage supply terminals) * 9-pin SUB-D connectors (PROFIBUS-DP and 3WN1/3WS1 connection) a) One conductor can be connected at each terminal with standard screw terminals. We recommend that you use a 3.5 mm screwdriver for tightening the screws. Permissible conductor cross-section: - Flexible conductor with end sleeve: - Solid conductor: Tightening torque: 1 x 0.25 ... 1.5 mm2 1 x 0.25 ... 1.5 mm2 0.5 ... 0.8 Nm b) Plug-type terminals are a combination of standard screw terminals and plug-in connections. The plug-in connection part is polarized and cannot be plugged in the wrong way. c) The 9-pin SUB-D connectors are secured with 2 x 4-40 UNC threads. We recommend that you use a 3.5 mm screwdriver for tightening the screws. Tightening torque: 0.2 ... 0.4 Nm 4.5.2.2.2 3WN1, 3WS1 communication interface This interface takes the form of 9-pin SUB-D connectors on the interface module and the 3WN1/3WS1 circuit-breaker. * Insert the plug on the supplied connecting cable into the 9-pin SUB-D socket labeled "3WN1, 3WS1". * Insert the other plug on the connecting cable into the 9-pin SUB-D socket on the circuit-breaker. * Tighten the retaining screws on the connectors using a screwdriver. Fig. 16: "3WN1, 3WS1" communication interface Driver [+] 9 Receiver [-] 8 5 Receiver [+] 4 20 mA-Receiver 3 20 mA-Driver 2 GND 1 Driver [-] 7 6 0 92 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.2.2.3 PROFIBUS-DP communication interface Bus with copper cables This interface takes the form of a 9-pin SUB-D connector on the front panel of the interface module housing. * Insert the PROFIBUS connector (6ES5... or 6ES7972-...) into the SUB-D socket labeled "PROFIBUS-DP". Please note that the "6ES5..." connectors are only suitable for baud rates up to a maximum of 1.5 Mbit/s. * Tighten the retaining screws on the connector using a screwdriver. * If the interface module is at the end or at the start of the PROFIBUS line, you must activate the integrated terminating resistor in the connector. To do this, slide the switch on the rear of the connector into the position labeled "on". * If the interface module is at the end or at the start of the PROFIBUS line, slide the switch into the position labeled "off". Fig. 17: "PROFIBUS-DP" communication interface on on off GND off A (inverted signal) 5V DC B (non-inverted signal) Shield Bus with fiber optic cables The PROFIBUS-DP interface can also be used for connecting fiber optic conductors with the help of an OLP (optical link plug), i.e. the interface supplies the current (max. 80 mA) required by the OLP. * The OLP order number is: 6GK1502-1AA00 * Plug the OLP into the interface labeled "PROFIBUS-DP". * Tighten the retaining screw on the OLP using a screwdriver. * Plug both fiber optic terminals into the designated sockets on the OLP. * Set the required baud rate on the OLP as specified in the OLP description. * There is no need for a terminating resistor in the case of fiber optic cables. Note ! Limited range of baud rates with OLP Not all the baud rates available to the interface module can be selected in conjunction with an OLP. Only baud rates 93.75, 187.5, 500 and 1500 Kbit/s are possible. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 93 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.2.2.4 Power supply The device is connected to the 24 V DC power supply by means of a 4-pole plug-type screw terminal. The 24 V DC voltage of the power supply unit may fluctuate between 20.4 V and 28.8 V as specified in DIN 19240. The 4-pole plug-type screw terminal makes a through connection of the 24 V supply to another device possible. Please note, however, that the supply voltage is looped through the device, i.e. the supply voltage to the other device is also interrupted when the screw terminal is disconnected. * Connect the supply voltage to the designated 4-pole plug-type screw terminal on the front panel of the device. Fig. 18: Power supply terminal 4.5.2.2.5 Screen bonding The interface module is fitted with two contact points for screen bonding. These are two electrically isolated screens in the device which must be connected to the equipotential bonding strip outside the module. This precaution ensures a greater immunity to interference as the "cable screen current", which can be anything up to a few amperes due to differences of potential of two slaves, is not discharged via the device. The first screen bonding point (= screen for internal filter connections) is located on the base of the interface module and is automatically connected when the module is mounted on the DIN rail. Note ! High levels of stress If the device is subject to high levels of mechanical or chemical stress, we recommend that a tinned DIN rail be used in order to ensure a good contact to the screen bonding. Order number: 6ES5 710-8MA11 ---> Length of 483 mm for 19" cubicles 6ES5 710-8MA21 ---> Length of 530 mm for 600 mm cubicles 6ES5 710-8MA31 ---> Length of 830 mm for 830 mm cubicles 6ES5 710-8MA41 ---> Length of 2 m 94 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers Fig. 19: Screen contacting on DIN rail The second screen bonding contact point (= cable screens) is located on the front panel of the module in the form of a screw terminal. This screw terminal is used to earth the cable screens of the bus cables. * Fit an earth terminal (order no. 8WA1001-1PF00, for example) on the DIN rail immediately next to the module. The earth terminal automatically makes an electrical connection to the DIN rail. * Connect the screen bonding terminal with the earth terminal using a flexible wire (as short as possible) 2 with a cross-section of 1.5 mm . * Connect the DIN rail with the equipotential bonding strip using as low a resistance as possible. Use a 2 flexible earth wire with a cross-section of at least 10 mm . (--> section 4.5.2.3.2, page 98) Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 95 Communication System Manual 3WN1, 3WS1 Circuit-Breakers Fig. 20: Fully installed interface module Earthing clamp on off Earth terminal Equipotential bonding strip (wire crosssection > 10 mm2 ) PROFIBUS - cable Flexible wire (wire cross-section= 1,5 mm) "Connecting cable" to 3WN1 / 3WS1 4.5.2.3 Wiring arrangements, screening and measures to counteract interference voltage This section describes the wiring arrangements for bus, signal and power supply cables in order to ensure that your system is installed in compliance with EMC guidelines. 96 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.2.3.1 General information on wiring arrangements a) In cubicles and not in cubicles It is useful to classify cables into the following cable groups and to install these groups separately in order to comply with EMC guidelines. Group A: * Screened bus and data cables (e.g. for PROFIBUS-DP, 3WN1, printers etc.) * Screened analog cables * Unscreened cables for DC voltages 60 V * Unscreened cables for AC voltages 25 V * Coaxial monitor cables Group B: * Unscreened cables for DC voltages 60 V and 400 V * Unscreened cables for AC voltages 24 V and 400 V Group C: * Unscreened cables for DC voltages > 400 V Group D: * SINEC H1 (Ethernet) cables You can use the table below to look up the conditions required for installing cables based on different group combinations. Table 13: Cable installation regulations for combinations of cable groups Group A Group B Group C Group D * Group A Group B Group C Group D * * * * Cables can be installed in the same bundles or cable ducts. Cables must be installed in separate bundles or cable ducts (no minimum clearance). Cables in cubicles must be installed in separate bundles or cable ducts. Cables not in cubicles but inside buildings must be installed in separate cable raceways with a minimum clearance of 10 cm. Cables must be installed in separate bundles or cable ducts with a minimum clearance of 50 cm. b) Outdoors Install cables which are not inside buildings on metal cable trays if possible. Make an electrical connection between the joints of the cable trays and earth the cable trays. Observe the usual lightning protection and earthing measures when installing cables outside buildings. General guidelines: * Lightning protection: If cables and wires required for the interface are to be installed outside buildings, measures must be implemented for internal and external lightning protection. Install cables outside buildings in either - metal conduits earthed at both ends or - concrete cable ducts with continuous reinforcement. Protect the signal cables from overvoltage by means of - varistors or - surge arresters filled with inert gases. Install these protective elements at the point where the cable enters the building. * Equipotential bonding: Ensure that there is sufficient equipotential bonding for the connected devices. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 97 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.2.3.2 Equipotential bonding Differences of potential can occur between separate system sections in the case of * PLCs and I/O modules connected via non-isolated links or * Cable screens contacted at both ends and earthed on different plant sections. Differences of potential can occur due to different power supply inputs, for example. These differences must be reduced by means of equipotential bonding conductors, in order to ensure the continuing operation of all the electronic components in the system. Please note the following items with regard to equipotential bonding: * The lower the impedance of the equipotential bonding conductor, the more effective the equipotential bonding. * If screened signal cables which are connected to the protective earth conductor at both ends are to be installed between the affected system sections, the impedance of the additionally installed equipotential bonding conductor must not be greater than 10 % of the screen impedance. * The cross-section of the equipotential bonding conductor must be large enough for the maximum compensating current. The following cross-sections have proved useful in practice: - 16 mm2 Cu for equipotential bonding conductors up to 200 m in length - 25 mm2 Cu for equipotential bonding conductors over 200 m in length * Use equipotential bonding conductors made of copper or galvanized steel. Make a large-area connection between them and the protective earth conductor and protect the equipotential bonding conductors from corrosion. The equipotential bonding conductor should be installed such that the areas enclosed between the equipotential bonding conductor and the signal cables are as small as possible. * 4.5.2.3.3 Cable screening Screening is a measure designed to reduce magnetic, electrical or electromagnetic interference fields. Interference currents on cable screens are discharged to earth via the conducting screen bus which is connected to the housing. A low-impedance connection to the protective earth conductor is especially important to ensure that these interference currents do not themselves become a source of interference. Only use cables with a braided screen if possible. The coverage density should be more than 80 %. Avoid cables with foil screens as the foil can very easily be damaged by tension and compression loads when fixing, the result being a reduction in the effectiveness of the screen. You should generally always connect cable screens at both ends. Only then is it possible to achieve good interference suppression in the higher frequency range. The screen should only be connected at one end in exceptional cases. This only attenuates lower frequencies, however. A single-ended screen connection can be an advantage in cases where * it is not possible to install an equipotential bonding conductor. * analog signals (a number of mV or mA) are transmitted. * foil screens (static screens) are used. Always use metal or metal-plated connectors in the case of serial link data cables. Fix the screen of the data cable to the connector casing. Do not connect the screen to PIN 1 of the connector! 98 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual Note ! 3WN1, 3WS1 Circuit-Breakers Differences of potential If there are differences of potential between the earthing points, compensating current can flow across the screen connected at both ends. Install an additional equipotential bonding conductor in this case. Please note the following items with regard to the screen: * * Use metal cable clamps for fixing the braided screens. There must be a good, large-area contact between the clamps and the screen. Connect the screen to a screen bus immediately after the cable enters the cubicle. Run the screen through as far as the module but do not connect it again! Fig. 21: Possible cable screen connections Screened data cables and unscreened power supply cables (< 60 V DC) are run through to the interface module and connected. All the cable screens must be earthed at both ends in order to comply with EMC limits. * * * The PROFIBUS-DP cable screen must be connected to the equipotential bonding strip as it enters the switchgear cubicle. The supplied screened 3WN1 connecting cable must be earthed on the shield terminal of the interface module using a flexible wire (as short as possible) with a cross-section of 1.5 mm2. The other end of the screen on the 3WN1 connecting cable must be earthed on the SUB-D connector of the circuit-breaker using a flexible wire (as short as possible) with a crosssection 2.5 mm2. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 99 Communication System Manual 3WN1, 3WS1 Circuit-Breakers Fig. 22: Connecting the interface module to the 3WN1/3WS1 circuit-breaker Earthing clamp DP / 3WN1,3WS1 SIEMENS Device Interface PROFIBUS-DP Address 1 0 9 2 3 4 3RK1002-0BB000AA0 5 x10 6 1 8 2 7 3 0 9 8 7 4 5 6 x1 12 3 4 5 6 on off G / 19.04.96 Earth terminal (Position at entry to cubicle if possible and connect to earth!) 3WN1,3WS1 24V 0V Flexible wire to eqipotential bonding strip of switchgear cubicle (wire cross-selection >10mm) Flexible wire (wire cross-section =1,5 mm) PROFIBUS - cable Connecting cable" to 3WN/3WS1 SIEMENS SIEMENS 3WN1 A Phase 0 I M Alarm I rg ZSS I td Memory 0,9 0,8 0,7 0,6 Ir 0,5 0,08 0,07 0,06 0,05 0,04 17 10 Tc 30 10 12 2 4 td 220 500 10 30 50 6 400 300 150 80 16 8 6 Ig 0,7 0,6 tg 400 Test X12 100 2 3,5 Id 8 Ii 12 uP Ausgel. Tripped 0,4 0,09 0,1 0,01 0,02 0,03 Ausgel. Tripped 2 4 2 4 Ausgel. Tripped 100 250 Signal Reset Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.3 Operation When you have installed and wired the interface module in accordance with the installation guidelines, you still have to set the PROFIBUS address before start-up. It is not necessary to set the baud rate as the interface module automatically synchronizes with the baud rate of the master in the range 9.6 Kbit/s to 12 Mbit/s. You can check that the interface modules is working properly by checking the display elements on start-up. 4.5.3.1 Operating elements 4.5.3.1.1 Setting the address The two rotary switches on the front panel of the interface module are used to set the PROFIBUS address in the range 00 ... 99. * Use the rotary switch on the left labeled "x10" to set the tens for the address. * Use the rotary switch on the right labeled "x1" to set the units. Fig. 23: Setting the PROFIBUS-DP address DP / 3WN 1,3WS 1 SIEMENS De vice Interface PROFIBUS-DP Address Address 0 1 9 2 0 5 x 10 6 9 9 8 7 3 4 3RK1002-0BB00-0AA0 1 8 2 3 7 4 5 6 x1 12 3 4 5 6 3WN1,3WS1 24V 1 9 2 8 7 3 7 6 G / 19.04.96 0 8 5 x 10 4 0 1 2 3 6 5 4 x1 0V Note ! Version 1.0 (02/98) Transfer of PROFIBUS address If you set or change the address after switching on the device, you must restart the device as the PROFIBUS address is only read in and transferred once, i.e. immediately after the device is switched on. Copyright Siemens AG 1998. All rights reserved. 101 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.3.2 Display elements You can obtain information about the status of the device and the interfaces by checking the LEDs. * Check the LED labeled "Device" for information about the device status. * Check the LED labeled "Interface" for information about the status of the communication interfaces. Device Interface 102 If the "Device" LED is ... , then ... green off red the interface module is ready for operation. no supply voltage is present. the interface module is defective and the status indicated by the "Interface" LED is not valid. If the "Interface" LED is ... , then ... green yellow off red interfaces 1 and 2 are ready for operation. interface 1 is not clear (= PROFIBUS-DP). interface 2 is not clear (= 3WN1/3WS1). interfaces 1 and 2 are both not clear. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.4 Technical data 4.5.4.1 Device data The following table contains the technical data of the interface module. Table 14: Technical data of interface module No. Parameter 1 2 Place of installation Degree of protection 3 Protection class 4 5 Cooling Endurance 6 7 Housing dimensions Weight 8 Operating temperature 9 11 Storage/transport temperature Atmospheric pressure during operation during transport Site altitude 12 Relative humidity 13 Pollutant concentration 10 Data Switchgear cubicle IP 20 3 Convection 10 years 95 mm x 70 mm x 86 mm 0.3 kg 0 C ... + 60 C 0 C ... + 40 C Particles/dirt Mounted on DIN rail Protection against ingress of solid foreign bodies and water to IEC 529 (DIN 40050) IEC 536 (VDE 0106-1) SELV supply No additional cooling necessary HxWxD Horizontal installation (preferred) Vertical installation - 40 C ... + 70C 795 hPa ... 1080 hPa 660 hPa ... 1080 hPa 2000 m 4000 m 5 % ... 95 % SO2 < 0.5 ppm; relative humidity < 60 % H2S < 0,1 ppm; relative humidity < 60 % 14 Description No restrictions Restrictions: - ambient temperature 40 C SN 31205 (IEC 68-2-30) No condensation SN 31205 (IEC 68-2-60) (= utilization category: 3C3/1C2) No condensation Sand and dust must not be permitted to enter the device! 15 External supply voltage 20.4 V DC ... 28.8 V DC Standard power supply unit to DIN 19240 typ. 150 mA, max. 180 mA 16 Current input at 24 V DC 17 18 19 20 Supply on PROFIBUS interface Reverse voltage protection Short-circuit protection Overload protection 21 Undervoltage detection 14 V DC 22 Voltage failure back-up 20 ms 5 V DC/max. 80 mA Yes Yes 0.5 A multifuse Suitable for connection of OLP (optical link plug) But device is not functional! Self-healing fuse Reset by power OFF min. 50 ms until RESET However undervoltage detection is triggered first at Ue < 14V. Device fully functional. 23 Insulation voltage Version 1.0 (02/98) 500 V DC IEC 1131-2 Copyright Siemens AG 1998. All rights reserved. 103 Communication System Manual 3WN1, 3WS1 Circuit-Breakers The interface module has been tested in accordance with the tests, standards and specifications outlined in the following table. Table 15 Tests, standards and specifications No. 1 Parameter Data * 5 Hz f 26 Hz, amplitude = 0.75 mm Vibration test * 26 Hz f 500 Hz, acceleration = 20 m/s2 a Frequency sweep: 1 octave/min a 10 freq. sweeps each in x, y, z * Shock form = half sinusoidal * Acceleration = 15 g (150 m/s2) * Duration of shock = 11 ms a 3 shocks in +/- direction in x, y, z 2 Shock test 3 4 Drop test Bending and draw-out test 5 Climatic test: - Cold - Dry heat - Change of temp. - Damp heat 1m high SN 31205 (IEC 68-2-6-Fc sinusoidal) (= utilization category: 3M6/1M4) SN 31205 (IEC 68-2-27-Ea) (= utilization category: 3M6/1M4) SN 18013 IEC 947-1 (screw connections) * Screw size: M3 --> tightening torque: 0.5 ... 0.8 Nm * Wire cross-section: 0.75/1.5/2.5 mm2 AWG: 18/16/14 * Wire type : rigid, flexible * 0 C/16 h * 60 C/16 h * -25 C ... 55 C, 1 C/min, 2 cycles * 55 C, 90 ... 95 %, 12+12h, 2 cycles SN 31205 (IEC 68-2- 1-Ad, IEC 68-2- 2-Bd, IEC 68-2-14-Nb, IEC 68-2-30-Db) (= utilization category: 3K6/1K6) 6 Pollutant concentration (IEC 68-2-60) * SO2 < 0.5 ppm; rel. humidity < 60 % SN 31205 * H2S < 0.1 ppm; rel. humidity < 60 % (= utilization category: 3C3/1C2) No condensation 7 ESD 8 9 Electromagnetic fields Burst 10 Emitted interference 8 kV discharge in air 6 kV contact discharge 10 V/m 2 kV/5 kHz supply voltage 2 kV/5 kHz data cables Limit class A 11 Approvals 12 Standards, specifications 13 Siemens standards IEC 1000-4-2 Severity 3 IEC 1000-4-3 Severity 3 IEC 1000-4-4 Severity 3 EN 55011 * UL * CSA Underwriters Laboratories Canadian Standards * CE mark * PROFIBUS certification Association Certificate of conformity from PROFIBUS user organization * DIN 40050; IEC 529 * VDE 0106, protection class 3 IP degrees of protection Shock protection, protective * VDE 0160, where applicable * VDE 0110 - insulator group IIIa, IIIb - pollution severity 3 * IEC 68 * IEC 721-3-1/-3 * IEC 1131-2 * IEC 1000-4-2/-3/ -4/ -5/ -6 * EN 55011, DIN VDE 0875-11 * EN 50022 * EN 61131-2 * UL 508 * CSA 22.2-14 104 Description * SN 18013 * SN 18012 * SN 36350 * SN 31205 Copyright Siemens AG 1998. All rights reserved. separation Power installations Insulation coordination Env. conditions: Meas. methods Env. conditions: Definitions PLC interface standard EMC requirements EMC emissions Standard DIN rail PLC I/O modules UL for indust. control systems CSA for industrial equipment Packaging and drop test Labeling of packaged items Recycling guidelines Environmental conditions Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.4.2 Interface data The following table contains a list of technical data for the interfaces on the device. The data have been obtained from the relevant standards. Table 16: Technical data of the interface on the interface module Interface name No. Physical interface 1 2 Standard Transmission type 3 4 Transmission mode Number of slaves: - Transmitters - Receivers Cable length: 5 - Maximum - Dependent on baud rate 6 7 Bus topology Data rate: - Maximum - Standard values 8 9 10 11 Transmitter load - Max. voltage - Signal without load - Signal with load Receiver: - Input resistance - Max. input signal - Sensitivity SPACE mode: - Voltage level - Logic level MARK mode: - Voltage level - Logic level Version 1.0 (02/98) PROFIBUS-DP 3WN1, 3WS1 RS485 TTY EIA standard Symmetrical Asynchronous Serial Half-duplex DIN 66258 Asymmetrical Asynchronous Serial Full-duplex Difference signal Current loop Master/slave Active/passive 32 32 1 1 1200 m 1000 m 93.75 Kbaud a 1200 m 187.5 Kbaud a 1000 m 500 Kbaud a 400 m 1.5 Mbaud a 200 m >1.5 Mbaud a 100 m No Line Point-to-point 12 Mbit/s 9.6 Kbit/s 9.6 Kbit/s 19.2 Kbit/s 93.75 Kbit/s 187.5 Kbit/s 500 Kbit/s 1.5 Mbit/s 3 Mbit/s 6 Mbit/s 12 Mbit/s 110 bit/s 1.2 Kbit/s 2.4 Kbit/s 9.6 Kbit/s 54 - 7 V ... 12 V 5V 1.5 V 24 V 12 V/0 mA approx. 3 V/22 mA 12 k - 7 V ... 12 V 0.2 V 22 mA -0.2 ... +0.2 V 0 0 mA 0 +1.5 ... +5 V 1 20 mA 1 Copyright Siemens AG 1998. All rights reserved. 105 Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.5 Connecting cables between interface modules and 3WN1/3WS1 The pin assignments of the TTY interface on the 3WN1/3WS1 circuit-breakers have been designed such that a 9-pole 1:1 connecting cable can be used. The 3WN1/3WS1 circuit-breakers use the TTY interface in only one direction, i.e. the circuit-breakers can only transmit, not receive. Fig. 24: Connecting cable between interface module and circuit-breaker Interface module (active / 3WN1, 3WS1 (passive) passive) Cable screen (passive) Driver [ - ] GND 20mA-Driv. 20mA-Rec. Receiver [ + ] Receiv. [ - ] Driver [ + ] 1 2 2 3 4 3 4 5 5 6 6 7 7 8 8 9 9 TTY-Interface Standard-connecting cable - 9-pin SUB-D socket - 2 x 9-pin SUB-D plugs - Screen 9-pole cable - Core cross section>= 0,14 mm Note ! 106 1 Driver [ - ] Receiv.[ + ] Driver [ + ] Receiv.[ - ] TTY-Interface - 9-pin SUB-D socket - Circuit Breaker can only send data, i.e. the lines "Receiver (+)" and "Receiver (-)" are not configured ! TTY interface of circuit-breaker The 3WN1/3WS1 circuit-breakers are fitted with a unidirectional interface. The circuit-breakers can only send data, they cannot receive. For this reason, the "Receiver (+)" and "Receiver (-)" lines, which are required for receiving data, are not configured in the TTY interface of the circuit-breakers. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.6 Displaying data in PROFIBUS-DP Any standard PROFIBUS-DP master can exchange data with the interface module. Even very "simple" master interfaces can be used thanks to the data structure. Standard PROFIBUS-DP masters and slaves transmit and process four different types of message: * * * * Parameterization message Configuration message Diagnostic message Data message The general mode of operation of the communication link is described in the following: * After the master has determined which slaves are present on the bus, it sends first a parameterization message and then a configuration message to each slave. After the slave (interface module) has received the parameterization and configuration messages, master and slave can start the data exchange cycle (= normal operating state). * If diagnostic data or faults occur in the DP slave (interface module), e.g. "3WN1/3WS1 communication interface not clear", the slave (interface module) transmits a high-priority message instead of a low-priority message. The master recognizes this and requests the diagnostic data from the slave for the purposes of a more detailed analysis. Note ! Type or GSD files All the data (see Parameterization, Configuration) required by the interface module for normal operation are available in the form of a type or GSD file, which you will find on the supplied diskette. No further data need to be entered by the user. The following section describes the four message types in detail. 4.5.6.1 Parameterization The master identifies itself to the slave by means of the parameterization message and defines the mode in which the slave (interface module) is to operate. The following parameterization options are available as standard: * Slave operation with/without watchdog (response monitoring). This is necessary for safety reasons as it makes it possible to detect whether a master is still active. * Definition of TSDR (the minimum delay time which must elapse before a slave can respond) * Operation of slave in Freeze/Sync mode (e.g. for actuators, counters) * Enabling/disabling of DP slave for other masters. * Issuing of a group assignment for "global control" messages. Each bit signifies a group. * Master address for unique identification * User-specific parameters (e.g. response to CLEAR master status) Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 107 Communication System Manual 3WN1, 3WS1 Circuit-Breakers The parameterization message from the master to the interface module is structured as follows: Table 17: Parameterization message SD 68H LE x LEr x Octet SD x DA 8x Bit no. SA 8x FC x DSAP 61/3D SSAP 62/3E DU.. x .. FCS x Description ED 16H Designation 7 6 5 4 3 2 1 0 1 x x x Response monitoring active 1 WD_On = 0 Freeze_req Sync_req Unlock Lock Operate slave in Freeze mode. 1 Operate slave in Sync mode. 1 x x 0 0 Min. TSDR and slave-specific parameters can be overwritten. DP slave is enabled for other masters. 0 1 1 0 DP slave is disabled for other masters. All parameters are transferred. DP slave is enabled for other masters. 1 1 Time base for watchdog time * 2 3 4 5 6 7 8 Reserved WD_Fact_1 WD_Fact_2 min_TSDR (TWS (s) = 10ms*WD_Fact_1 * WD_Fact_2) Time in Tbit which must elapse before the slave responds. ** High ID number 0 0 0 0 0 Parameterization byte for PROFIBUS controller SPC3 Vendor_ID_high Vendor_ID_low Group_Ident User_Prm_data *** 0 0 0 0 This bit disables start bit monitoring in the receiver. Dis_Startbit This bit disables stop bit monitoring in the receiver. Dis_Stopbit Time base for watchdog = 10 ms WD_Base Low ID number 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 Time base for watchdog = 1 ms * The time base for the watchdog time is specified as 10 ms in octets 2 and 3. Nothing lower than the digit "2" should ever be entered in one octet and nothing lower than the digit "1" in the other, in order to ensure that the watchdog time does not elapse too quickly. A time base of 1 ms is specified in the user parameters of some ASICs due to the 12 Mbaud technology. ** 11 Tbits minimum are specified as standard. This value must be less than the maximum TSDR. *** The structure of the parameterization message is partly specified as is the case with ASICs LSPM2/SPM2. The SPC3 evaluates the first 7 (without user_prm_data) or the first 8 (with user_prm_data) data bytes. The first seven bytes are defined in accordance with the standard. The eighth byte is used for SPC3-specific properties and the other bytes are available for the application. Response from slave The slave responds to a parameterization message with "E5H" (short acknowledge). The slave does not report parameterization errors until later when it receives a diagnostic request from the master. 108 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers 4.5.6.2 Configuration When parameterization is complete, the master sends a configuration message to the slave. The configuration message causes the slave to check the transmitted configuration with reference to the stored configuration. You can describe up to 16 bytes or words in one octet of the data unit (DU). You can group inputs and outputs with the same format in one octet. Otherwise you must use a separate octet for each individual byte/word. The configuration message from the master to the interface module is structured as follows: Table 18: Configuration message SD LE LEr SD DA SA FC 68H x x x 8x 8x x Octet Bit no. DSA P 62/3 E SSA P 62/3 E Description DU FCS ED x .. x 16H Designation 7 6 5 4 3 2 1 0 1 x x x x Length of data 0 0 0 0 1 byte/word 1 1 1 1 16 bytes/words Configuration byte 1* to x 0 0 1 1 x 0 1 0 1 0 1 Input/output Specific identifier format Input Output Input/output Byte Word Integrity within byte/word Integrity over entire length x x x x Length of data 0 1 1 Fixed value of 12 H 0 0 0 0 1 byte/word 1 1 1 1 16 bytes/words Configuration byte 2 ** to x 0 0 1 1 0 1 0 1 x 0 1 0 1 Input/output Specific identifier format Input Output Fixed value of 52 H Input/output Byte Word Integrity within byte/word Integrity over entire length * Interface module DP/3WN1, 3WS1 only accepts one configuration byte 1 with the value 12 H !!! ** Interface module DP/3WN1, 3WS1 only accepts one configuration byte 2 with the value 52 H !!! Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 109 Communication System Manual Note ! 3WN1, 3WS1 Circuit-Breakers Class 2 master If the actual configuration is not known to the class 2 master, it can first read the slave configuration using "Get_Cfg" and then send it to the slave to be checked. This service program is especially useful for modular systems. Response from slave The slave responds to a configuration message with "E5H" (short acknowledge). If the slave detects discrepancies as compared with the entries in the GSD file, it report the configuration errors later when it receives a diagnostic request from the master. It is not ready for user data traffic in this case. 4.5.6.3 Diagnostics Diagnostic data are high-priority data. The DP/3WN1, 3WS1 interface module generates external diagnostics if the connection to the external device (3WN1/3WS1 circuit-breaker) is faulted. The diagnostic information of a DP slave includes standard diagnostic information (6 bytes) and possibly user-specific diagnostic information. The diagnostic request message from the master is structured as follows: SD LE LEr SD DA SA FC 68H x x 68H 8x 8x x DSA P 60/3 C SSA P 62/3 E FCS ED x 16H The diagnostic response message from the interface is structured as follows: 110 Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98) Communication System Manual 3WN1, 3WS1 Circuit-Breakers Table 19: Diagnostic message SD LE LEr SD DA SA FC 68H x x 68H 8x 8x x Octet Bit no. DSA SSA P P 62/3E 60/3 C DU.. FCS ED x .. x 16H Description Designation 7 6 5 4 3 2 1 0 1 1 1 1 Requested function not supported in slave. 1 1 1 1 1 1 1 1 x 1 3 x 1 1 1 1 1 1 1 1 1 x x x x x x 1 1 1 1 1 1 1 1 1 Diag.station_not_ready Diag.cfg_Fault Diag.ext_Fault Diag.not supported Invalid slave response Diag.invalid_slave_response (sets slave to fixed value = 0) Incorrect parameterization Diag.prm_fault (e.g. ID number) Slave has been parameterized by another master Diag.master_lock (set by master) Slave must be reparameterized. Diag.Prm_req Static diagnostics active (--> "diagnostic bits" byte) Fixed value of 1 Watchdog is active. Received Freeze command. Received Sync command. Diag.Stat_diag Diag.WD_ON Diag.freeze_mode Diag.sync_mode Reserved Diagnostics deactivated (set by master) Diag.deactivated Reserved An external diagnostics overflow has occurred. Master address after parameterization 4 Diag.ext_overflow Diag.master_add without parameterization ! Ident_1 Ident_2 ID number: High byte 5 6 7 8 Configuration files are not identical Slave has external diagnostic data * 1 2 Diagnostic station (slave) does not exist (set by master) Slave is not ready for data exchange ID number: Low byte 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 External diagnostics: length of header ** Interface to 3WN1/3WS1 OK User-specific Interface to 3WN1/3WS1 not clear * The "Diag.ext_fault" bit (bit 3 in octet 1) is always set in the event of external diagnostics. Octets 7 and 8 are normally only transferred when this bit is set. ** Octets 7 and 8 are always transferred in the case of the DP/3WN1, 3WS1 interface, even if the "Diag.ext_fault" bit (bit 3 in octet 1) has not been set, i.e. if no external diagnostics are active. Note: Octet 8 is different in interfaces DP/3WN6 and DP/3WN1, 3WS1. See page 60 for details. 4.6 Displaying the data in the 3WN1/3WS1 circuit-breaker After the interface module has been parameterized and configured by the master, the two stations can start the data exchange cycle (= normal operating state). If diagnostic data or faults occur in the interface module, the master is informed about the presence of this signal by means of a high-priority data message. Version 1.0 (02/98) Copyright Siemens AG 1998. All rights reserved. 111 Communication System Manual 3WN1, 3WS1 Circuit-Breakers The interface module sends the following data to the master module: Table 20: Data message SD 68H Octet LE x LEr x SD x DA x Bit no. SA x FC x DSAP x SSAP x DU x .. FCS x ED 16H Description 7 6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 9 112 0 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Maximum phase current in phase L1 Maximum phase current in phase L2 Maximum phase current in phase L3 0 0 Rated circuit-breaker current Test 0 0 Rated circuit-breaker current 315 A 0 0 Rated circuit-breaker current 400 A 0 0 Rated circuit-breaker current 500 A 0 1 Rated circuit-breaker current 630 A 0 1 Rated circuit-breaker current 800 A 0 1 Rated circuit-breaker current 1000 A 0 1 Rated circuit-breaker current 1250 A 1 0 Rated circuit-breaker current 1600 A 1 0 Rated circuit-breaker current 2000 A 1 0 Rated circuit-breaker current 2500 A 1 0 Rated circuit-breaker current 3150 A 1 1 Rated circuit-breaker current 4000 A 1 1 Rated circuit-breaker current 5000 A 1 1 Rated circuit-breaker current 6000 A 1 1 Rated circuit-breaker current 6300 A 0 0 Actually displayed phase L1 0 1 Actually displayed phase L2 1 0 Actually displayed phase L3 1 1 Actually displayed phase Lmax 1 Button pressed on display 1 "a" release 1 "n/z" release 1 "g" release 1 Phase imbalance 1 Watchdog (microprocessor fault) 1 Overload 1 Temperature alarm Phase 1 current: high-order byte low-order byte Phase 2 current: high-order byte low-order byte Phase 3 current: high-order byte low-order byte Copyright Siemens AG 1998. All rights reserved. 1 input byte 1 input byte 1 input byte 1 input word 1 input word 1 input word Version 1.0 (08/98) Communication System Manual Appendix 5 Appendix 5.1 Reference to PROFIBUS installation guidelines Instruction Manual on Installation of PROFIBUS DP/FMS For further information on the installation and proper use of PROFIBUS-DP in general (Instruction Manual on Installation of PROFIBUS-DP), please contact: PROFIBUS Nutzerorganisation e.V. Haid-und-Neu-Strae 7 76131 Karlsruhe Tel: ++721/9658 590 Fax: ++721/9658 589 Version 1.0 (08/98) Copyright Siemens AG 1998. All rights reserved. 113 Communication System Manual Appendix 5.2 Glossary - 3RK1 interface module The 3RK1 interface module translates the PROFIBUS-DP data format to the circuit-breaker data format and vice-versa. There are two 3RK1 interface modules: 3RK1000 (also known as DP/3WN6) for 3WN6 circuit-breakers and 3RK1002 (also known as DP/3WN1, 3WS1) for 3WN1 and 3WS1 circuit-breakers. - AS-i: - Baud: - Bus configuration: - DP: - DP/3WN6: - Gateway: - GSD: - I/O area: - Octet: - PLC: - PROFIBUS node: - Reaction time: 114 Actuator-Sensor-interface. The AS-i is a supplier-independent networking system for simple, usually binary, actuators and sensors. It is possible to connect this interface to all the standard automation systems in the SIMATIC family using various master modules. For further information, please refer to Catalog ST PI 96: "PROFIBUS & AS-Interface - Fieldbus Components" (order no. E86060-K4660A101-A1) Unit of measurement for transmission rate. A rate of 1 baud means that 1 bit ("0" or "1") is transferred per second. Definition of 3WN6 device-specific data, the bus address of 3WN6 and the 3WN6 data area (I/O area) in the bus master Decentralized Peripherals. Name of the interface which translates the 3WN6 data profile to the PROFIBUS-DP profile and vice versa. The DP/3WN6 interface was previously also known as the "DP/RS485" or "kNS/DP" interface. A gateway is used to translate data formats of one system (e.g. PROFIBUS protocol) to data formats of another system (e.g. 3WN6 data profile) The term "interface" or "interface module" is used in this documentation instead of the term "gateway". Device data file This refers to the storage area of the bus master (e.g. SIMATIC S5 PLC) which is reserved for communication between the circuitbreaker and the bus master when the 3WN6 circuit-breaker is connected to PROFIBUS-DP. The size of the memory area reserved for 3WN6 is 12 bytes (octets). The term "octet" is a synonym of the term "byte" and stands for 8 binary data units (bits). Programmable Logic Controller A field device which is connected to PROFIBUS The total time required for the processing and execution of a command from the bus master. Please refer to Appendix A.5 for the 3WN6 reaction times on the bus. Copyright Siemens AG 1998. All rights reserved. Version 1.0 (08/98)