Drive System Application

Similar documents
Application on Control Technology

STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP

Tracking the MOP setpoint to another setpoint source to bumplessly changeover the setpoint

Application about Drive Technology

Drive System Application

Application for Process Automation

Windows firewall settings for X-Tools Server Pro. CMS X-Tools / V / CPU PN/DP. Application description 6/2016

Drive System Application

Automatic Visualization of the Sample Blocks in WinCC Advanced

Checking of STEP 7 Programs for the Migration of S7-318 to S CPU318 Migration Check. Application description 01/2015

X-Tools Loading Profile Files (LPF)

Cover. WinAC Command. User documentation. V1.5 November Applikationen & Tools. Answers for industry.

Application for Process Automation

SIMOTION and HMI configuration

Generating the Parameters for the Modbus/TCP Communication

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040

Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040

Configuration Instruction

Setting up time synchronization of Process Historian and Information Server


Applications & Tools. Configuration of Direct Starters with the APL Channel Block FbSwtMMS in SIMATIC PCS 7 SIMATIC PCS 7 V8.0

Operating instructions parameter setting for M200D AS I standard starter

Applications & Tools. Communication between WinAC MP and a SIMATIC S7. Application for the PUT and GET Function Blocks of the S7 Communication

Drive System Application

Micro Application Example

Application for Communication

Topology Reporter Tool Description April 2012 Applications & Tools Answers for industry.


SINAMICS V: Speed Control of a V20 with S (TIA Portal) via MODBUS RTU, with HMI

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016

Configuration of an MRP Ring and a Topology with Two Projects

Library Description 08/2015. HMI Templates. TIA Portal WinCC V13.

Transmitting HMI data to an external monitor

Improving the performance of the Process Historian

Application for Process Automation

Networking a SINUMERIK 828D

Configuration Instruction

Moving a Process Historian/ Information Server from Workgroup A to Workgroup B

Display of SINAMICS Error Messages in Runtime Professional

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016

Micro Application Example

Applikationen & Tools. Network Address Translation (NAT) and Network Port Address Translation (NAPT) SCALANCE W. Application Description July 2009

SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address

SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible

Applications & Tools. Configuration of Frequency Converters with the APL Channel Block FbDrive in SIMATIC PCS 7 SIMATIC PCS 7 V8.0

Key Panel Library / TIA Portal

SIMATIC Visualization Architect (SiVArc) Getting Started

RAID systems within Industry

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Applications & Tools. SINAMICS S120: Control of the Safety Integrated Basic Functions via onboard terminals SINAMICS S120

User Login with RFID Card Reader

Applications & Tools. System Architectures With SIMATIC PCS 7/OPEN OS SIMATIC PCS 7. Application Description November Answers for industry.

I-Device Function in Standard PN Communication SIMATIC S7-CPU, CP, SIMOTION, SINUMERIK. Configuration Example 08/2015

Applications & Tools. Individual Access to Stored PDF- and HTML-Documents via Comfort Panel. WinCC Comfort V11. Application Description May 2012

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support

Integral calculation in PCS 7 with "Integral" FB or "TotalL" FB



Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Acyclic communication between S and V90PN via PROFINET. Application example 12/

Application for Communication

Applications & Tools. Block for STEP 7 V5.5 for monitoring 24 V DC load circuits using SITOP PSE200U Single Channel Message and S7-300/400 CPUs


Data Storage on Windows Server or NAS Hard Drives

Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address. SCALANCE S, SOFTNET Security Client

Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7

Block for SIMOTION SCOUT for Monitoring 24V-Branches

Display of SINAMICS Fault Messages in WinCC V7.4

Line Contactor Control using the ON/OFF1 Command for SINAMICS G120



Drive System Application

Applications & Tools. Line Contactor Control using the ON/OFF1 Command for SINAMICS G120. SINAMICS G120 with firmware V4.

Applications & Tools. Time-of-Day Synchronization between WinCC Runtime Professional and S7 Controllers. WinCC Runtime Professional

Applications & Tools. Display of Process Values in a 3D-Grid in WinCC Runtime. SIMATIC WinCC. Application Description August 2011

Applications & Tools. Security Configurations in LAN and WAN (DSL) with SCALANCE S61x Modules and the Softnet Security Client. Industrial Security

Applications & Tools. Configuring Electronic Signatures in SIMATIC PCS 7. SIMATIC PCS 7 V8.0 SP1, SIMATIC Logon V 1.5. Application May 2014

Customizing of WinCC Controls. TIA Portal WinCC Runtime Professional. Application Description July Applications & Tools. Answers for industry.

X-Tools configuration to connect with OPC servers and clients

Safe and Fault Tolerant Controllers

Universal Parameter Server

Micro Application Example


Check List for Programming Styleguide for S7-1200/S7-1500


Cover sheet. Application Operations Diary. WinCC Flexible 2008 SP1. Application Description June Applications & Tools. Answers for industry.

Configuring the F-I-Device function with the SENDDP and RCVDP blocks.

SIMATIC PCS 7 Minimal Configuration


Configuration Instruction

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP

PNDriver V2.1 Quick Start Guide for IOT2040 SIMATIC IOT

Applications & Tools. Configuration Examples for SIMATIC S7-400H with PROFINET. SIMATIC S7-400H as of V6.0. Application Description January 2013

Applications & Tools. Remote Configurations in Water and Wastewater Technology SIMATIC PCS 7. Application Description May Answers for industry.

Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address

Applications & Tools. Configuration of SINAMICS and MICROMASTER Drives with Drive ES in PCS 7 SIMATIC PCS 7. Application Example February 2012

Setting up a secure VPN Connection between SCALANCE S and CP x43-1 Adv. Using a static IP Address. SCALANCE S, CP Advanced, CP Advanced


Transcription:

Drive System Application Application Description

Table of Contents Warranty, liability and support Note We do not accept any liability for the information contained in this document. Any claims against us - based on whatever legal reason - resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Examples shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act ( Produkthaftungsgesetz ), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract ( wesentliche Vertragspflichten ). However, claims arising from a breach of a condition which goes to the root of the contract shall be limited to the foreseeable damage which is intrinsic to the contract, unless caused by intent or gross negligence or based on mandatory liability for injury of life, body or health The above provisions does not imply a change in the burden of proof to your detriment. Copyright Copyright-2006 Siemens A&D. It is not permissible to transfer or copy these Application Examples or excerpts of them without first having prior authorization from Siemens A&D in writing. If you have any recommendations relating to this document then please send them to us at the following e-mail address: mailto:sdsupport.aud@siemens.com The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Application Examples do not represent customer-specific solutions. They are only intended to pro-vide support for typical applications. You are responsible in ensuring that the de-scribed products are correctly used. These Application Examples do not relieve you of the responsibility in safely and professionally using, installing, operating and servicing equipment. When using these Application Examples, you recognize that Siemens cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these Application Examples and other Siemens publications - e.g. Catalogs - then the contents of the other documents have priority. I DT MC RMC CS Seite 2/13

Table of Contents Introduction Objective of the application This application was generated in order to provide users with a user-friendly way of implementing a PROFIBUS monitoring function. The application monitors the system for Profibus failure. Using a MICROMASTER 440 or a drive equipped with CU24S DP and a PLC - in this case an S7 300 this applications shows how a Profibus communications error (failure) can be identified. Core contents of this application The following core points are discussed in this application: Parameterizing MICROMASTER 4 / Programming the PLC Limit of the scope This application does not provide any description of the SIMATIC STEP 7 engineering tool. I DT MC RMC CS Seite 3/13

Table of Contents Table of Contents Table of Contents... 4 1 Description... 5 2 Interconnections in the drive... 6 The necessary changes are as follows:... 9 3 Flowchart for S7... 11 3.1 Contents of OB1... 12 3.2 Contents of FC15... 13 3.2.1 Network 5:... 13 I DT MC RMC CS Seite 4/13

Description 1 Description If there is a Profibus communications error (failure) or if the system is specifically powered-down (SIMATIC S7 and Profibus communications), then the drive inverter should be changed over to other command and setpoint sources. This then guarantees uninterrupted operation (e.g. for emergency operation). In order to solve this task, the possibilities of the 3 command data sets (CDS) of MICROMASTER 4 (430 & 440) / will be used. 3 different drive control types can be implemented with these command data sets (CDS). Command data set 1 [CDS-1] The drive inverter is controlled via Profibus. It receives its setpoints and on/off commands via the BUS (P0700[0] = 6, P1000[0] = 6). Command data set 2 [CDS-2] When Profibus communications fail or if the system is shutdown in a controlled fashion, then the drive inverter should operate with a local setpoint. In this case, with a fixed frequency, P0700[1] = 2, P1000[1] = 3. Command data set 1 [CDS-3] The drive inverter should be controlled from a control station or local operation. This means that it receives its setpoints as analog value. However, the various states should still be signaled back via Profibus (P0700[2] = 2, P1000[2] = 2). I DT MC RMC CS Seite 5/13

Interconnections in the drive 2 Interconnections in the drive The basic philosophy for monitoring communications is based on the fact that in addition to the 2 words that are transferred (control word 1 and the main setpoint) an additional word is sent to the drive. This word contains a comparison value (PZD 3). This value is processed in the MICROMASTER / SINAMICS and a bit that can be evaluated is generated as a result of the appropriate interconnection, shown in Fig. 2.1. Komparator 1 & Timer 1 The word that is received is compared with 0 in comparator 1 (P2885). If the word that has been received is greater, then the bit is set; if it is lower, then the bit is inactive. This bit is switched to timer 1 (P2849), which operates as switch-in delay element (0). When the bit is activated, timer 1 starts; if it is inactive, it is stopped and reset. The PLC sends a value of 200 for 30 seconds via Profibus (any value can be selected, in this particular example, 30 s was selected). This value is greater than 0. This means that the bit is active and the timer (e.g. 35 seconds) counts down. After the 30 s has expired, the PLC sends a value of -200 for one second. This resets the output bit of the comparator so that the timer is stopped and the bit is again set for the following 30 seconds. CDS 1 & CDS 2 If the Profibus connection develops an error condition (e.g. fails), or the PLC goes to STOP, the value of -200 is not sent, the comparator bit is not reset and after 35 seconds, the output bit of timer 1 becomes active. This bit can now be used in order to execute the appropriate actions (i.e. responses) when Profibus fails. The bit (the output of timer 1 P2852) is used as the command source to toggle (changeover) between the two first command data sets BDS1 [CDS1] and BDS 2 [CDS 2] (P0810 = remote / local control). This means that when the output bit of timer 1 is activated a changeover is made from remote to local operation. The drive inverter now receives a fixed frequency as the setpoint and it receives the commands from the terminal strip. CDS 3 Digital input 6 is used for the changeover to the third data set (P0706 = 99, P0811 = 722.5). The drive inverter setpoints are now received as analog value. Note After PROFIBUS fails Alarm A0703 is issued "No valid setpoints are received from Profibus". This alarm cannot be acknowledged; however this is not relevant for operation via the terminal strip. This alarm is no longer output after changing over from PROFIBUS to the terminal strip. I DT MC RMC CS Seite 6/13

Interconnections in the drive Timer 2 Timer 1 is activated with timer 2. Timer 2 operates as switch-in delay function and is set to 1.5 s. This means that if no signal is received from comparator 1 within 1.5 s, timer 2 is activated. After 35 s expires, the output of timer 1 is set, i.e. Profibus failure is detected. If PROFIBUS is now to be re-activated (e.g. CPU in RUN), then the system must wait 35s until timer 1 is reset (using ON, OFF and powering-up the CPU, this 35 s could be bypassed). Note: If timer 2 is not configured then this can mean that Profibus failure is not detected. Reason: If Profibus fails precisely at the instant at which value "-200" is sent and if timer 2 has not been configured (timer 2 is used to start timer 1) comparator 1 cannot be activated and in turn timer 1 cannot be activated >Profibus failure is not detected<. I DT MC RMC CS Seite 7/13

Interconnections in the drive Figure 2-1 The programming can be manually carried-out using the operator panel (BOP/AOP), or using the STARTER / DriveMonitor commissioning tool. I DT MC RMC CS Seite 8/13

Interconnections in the drive The necessary changes are as follows: Command source P0700[0] = 6 // Selects PROFIBUS as command source [CDS 1] P0700[1] = 2 // Selects terminals as the command source [CDS 2] P0700[2] = 2 // Selects terminals as the command source [CDS 3] setpoint source P1000[0] = 6 P1000[1] = 3 P1000[2] = 2 // Selects PROFIBUS as setpoint source [1 st CDS] // Selects a fixed frequency as setpoint source [2 nd CDS] // Selects an analog setpoint as setpoint source [3 rd CDS] Selecting a fixed frequency: P0704[1] = 0 or 99 Free blocks P2800 = 1 P1020[1] = 1 P1001[0] = fixed frequency [Hz] // Only required for with CU240S (this setting allows parameter P1020[1] to be enabled for fixed frequencies). // Free blocks are enabled P2801[3] = 1 // Activates OR 1 P2801[9] = 1 // Activates NOT 1 P2802[0] = 1 // Activates timer 1 P2802[1] = 1 // Activates timer 2 P2802[12] = 1 // Activates comparator 1 P2885[0] = 2050.2 // Sets word 3 (PZD3), received from the CB, as the first input of comparator 1 P2885[1] = 0 // Sets 0 as the second input of comparator 1 P2828 = r2886 // Sets the output of comparator 1 as the input for NOT 1 P2854 = r2829 // Sets the output of NOT 1 as the input for Timer 2 I DT MC RMC CS Seite 9/13

Interconnections in the drive P2855 = 1.5 P2856 = 0 P2816[0] = r2857 P2816[1] = r2886 // Sets the delay of timer 2 to 1.5 s // Selects the mode of timer 2 (0 switch-on delay) // Sets the output of timer 2 as the first input for OR1 // Sets the output of comparator 1 as the second input for OR1 P2849 = r2817 // Sets the output of OR 1 as the input for timer 1 P2850 = 35.0 P2851 = 0 // Sets the delay of timer 1 to 35 s // Selects the mode of timer 1 (0 switch-on delay) P0810 = 2852.0 // Selects the output of timer 1 as the command source to toggle between the two first command data sets CDS 1 and CDS 2 (remote/local control) P0706[0] = 99 P0811 = 722.5 P2040 = 0 // Selects BICO parameterization as the function of digital input 6 // Digital input 6 as the command source to change over to the third command data set - CDS 3 (local control) // Disable the PROFIBUS monitoring function I DT MC RMC CS Seite 10/13

Flowchart for S7 3 Flowchart for S7 Figure 3-1 The following program flowchart clearly shows the programmed Profibus monitoring in the PLC. Start T2 (1 s) T2 running? yes no Start T1 (30 s) T1 running? yes -200 MD100 no 200 MD100 MD100 MM4 (PZD3) BE I DT MC RMC CS Seite 11/13

Flowchart for S7 This program flowchart is implemented in the attached S7 project. The control word 1 and the main setpoint are sent to the drive in the OB1. Function FC 15 is called shown in the flowchart above. 3.1 Contents of OB1 Network 1: L 1150 T PQW 264 // Sends control word 1 to the drive (047E hex = 1150 dec) L 1151 T PQW 264 // Sends control word 1 to the drive (047F hex = 1150 dec, edge of Bit 0: 0 1) L 4096 // Main setpoint (4096 dec = 1000 hex 25% of the maximal frequency (P2000, default 50Hz), 16384 dec = 4000 hex 100% of the maximal frequency) T PQW 266 // Sends the main setpoint to the drive CALL FC 15 // Calls FC 15 I DT MC RMC CS Seite 12/13

Flowchart for S7 3.2 Contents of FC15 Network 1: L MD 100 T PQW 268 // Sends PZD 3 to the drive Network 2: AN Q 6.1 //Starts timer 2 (1 s) if the output bit of timer 1 is inactive. L S5T#1S SE T 2 Network 3: A T 2 // Output bit of timer 2 = Q 6.0 Network 4: AN Q 6.0 // Starts timer 1 (30 s) if the output bit of timer 2 is inactive. L S5T#30S SE T 1 3.2.1 Network 5: A T 1 // Output bit of timer 1 = Q 6.1 Network 6: AN Q 6.0 JC n001 L -200 T MD 100 // Sends a value of "-200" via Profibus BE n001: L 200 T MD 100 // Sends a value of "200" via Profibus BE I DT MC RMC CS Seite 13/13