You are on page 1of 50

Cover

PI Controller for Simple Applications Perfectly Regulating the Speed of Motors


with LOGO! and SINAMICS G110 Micro Automation Set 23y June 2009

Applikationen & Tools


Answers for industry.

Warranty, liability and support

Warranty, liability and support


Note

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 provide support for typical applications. You are responsible in ensuring that the described 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 we 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. 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 example 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. It is not permissible to transfer or copy these application examples or excerpts of them without first having prior authorization from Siemens Industry Sector in writing. For questions about this document please use the following e-mail address: online-support.automation@siemens.com

Foreword
Micro Automation Sets are fully functional and tested automation configurations based on A&D standard products for easy, fast and inexpensive implementation of automation tasks in small-scale automation. Each of these Micro Automatic Sets covers a frequently used subtask of a typical customer problem in the low-end range.

Micro Automation Set 23 V2.1, Item-ID: 23753479

Foreword

The sets help the customer to obtain answers with regard to required products and the question how they function when combined. However, depending on the system requirements, a variety of other components (e.g. other CPUs, power supplies, etc.) can be used to implement the functionality on which this set is based. Please refer to the respective SIEMENS A&D catalogs for these components. The Micro Automation Sets are also available by clicking the following link: http://support.automation.siemens.com/WW/view/en/35923253

Micro Automation Set 23 V2.1, Item-ID: 23753479

Error! No text of specified style in document.

Table of Contents 1 2 2.1 2.2 3 3.1 3.2 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 5 5.1 5.2 5.3 5.3.1 5.3.2 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 7 Application Area and Benefits....................................................................... 7 Setup.............................................................................................................. 10 Setup plan....................................................................................................... 10 Setup plan Simulating the controlled system............................................... 11 Hardware and Software Components ......................................................... 12 Hardware and software components .............................................................. 12 Additional hardware and software components Simulating the controlled system........................................................................................................ 14 Function Principle ........................................................................................ 15 Entering the pressure as measured variable and providing it as analog measured value.......................................................................................... 15 Adjusting the system pressure on a constant level......................................... 16 Controlling the asynchronous motor via the analog interface of LOGO! ........ 17 Monitoring storage tanks and reacting on dry running.................................... 17 Simulating the controlled system .................................................................... 19 Visualizing the simulated controlled system ................................................... 20 Scaling of analog values into physical values in the LOGO! .......................... 21 Use of 16 characters per line on LOGO! Display............................................ 22 Configuring the Startup Software ............................................................... 23 Preliminary remarks........................................................................................ 23 Downloading the startup code ........................................................................ 23 Configuring Components ................................................................................ 23 Configuring components Standard functionality .......................................... 24 Configuring the components Simulating the controlled system ................... 26 Live-Demo ..................................................................................................... 29 Overview of the Live-Demo ............................................................................ 30 Parameterizing the simulation of the controlled system.................................. 31 Operating the simulation of the controlled system .......................................... 33 Recording the simulation of the controlled system ......................................... 34 Simulating the filling level in the storage tank................................................. 35 Display values in LOGO! TD........................................................................... 36 Graphically display of values in LOGO! logic module ..................................... 37 Scenario 1: Viewing the control process via LOGO!Soft Comfort .................. 38 Scenario 2: Simulating the disturbance variable and recording the control process....................................................................................................... 40 Scenario 3: Simulating the dry run of the storage tank ................................... 42 Scenario 4: Editing by using the LOGO! TD operator panel ........................... 43 Scenario 5: Changing the language and switching the background lighting on/off via LOGO! TD .................................................................................. 44 Scenario 6: Changing the control parameters ................................................ 45 Technical Data .............................................................................................. 47

Micro Automation Set 23 V2.1, Item-ID: 23753479

Error! No text of specified style in document.

History ........................................................................................................... 50

Micro Automation Set 23 V2.1, Item-ID: 23753479

Application Area and Benefits Application Area and Benefits

Application Area and Benefits


To provide good comprehensibility, the features of the Micro Automation Set are explained using the example of an automation task. In an injection mold facility, the produced castings are cooled down to a certain end temperature by water cooling. Several consumers are simultaneously connected for cooling down the maximum of three castings. For optimizing the cooling capacity and for reducing failures, it should be ensured that a constant pressure is always available for the central supply, independent of the number of active consumers. The adjustment of the pump conveying current, and thus the pressure is to be adjusted continuously. It is to be ensured that the pump is only operated with sufficient supply of cooling water. The current pressure (actual value) as well as the pump operating hours are to be shown in a display. The required pressure of the consumers (setpoint value) must be editable.
Figure 1-1
Consumer

Automation task

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Pressure compensation vessel Filling level monitoring

Pressure measuring transducer

Storage tank (cooling water)

Pump

Micro Automation Set 23 V2.1, Item-ID: 23753479

Application Area and Benefits Application Area and Benefits

Automation solution Set 23 The Automation solution uses a LOGO! logic module with a connected SITRANS P pressure measuring transducer for recording the current pressure in cooling water circulation. A PI controller in the LOGO! logic module regulates the pressure by varying the motor speed depending on the currently measured pressure. As a consequence, the pressure of the cooling water facility is maintained at a consistent level, independent of the number of consumers. The cooling capacity is optimized, and failures are prevented by the too low pressure. The asynchronous motor is connected to a SINAMICS G110 frequency converter getting the setpoint speed as frequency setpoint value via the analog output of the LOGO! expansion module. The speed of the asynchronous motor is adjusted continuously via the SINAMICS G110. A SIRIUS wire electrode for monitoring the level is connected to a SIRIUS monitoring relay. This monitors whether the pump is supplied with liquid during its operation. The monitoring status of the SIRIUS monitoring module is passed on at a digital input of the LOGO! logic module.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The current pressure of the cooling water facility, the setpoint pressure and operating hours of the pump can be directly displayed on the integrated display of the LOGO! logic module. The setpoint pressure of the cooling water facility can be additionally edited.
Figure 1-2
L1 N

2 3 4 5 6

8 3
LOGO! AM2 AQ

1 6

LOGO! Power

LOGO! Logic module

SIRIUS monitoring relay

5 9

SINAMICS G110 LOGO! TD

Asynchronous motor

SITRANS P Pressure sensor

SIRIUS Probe for level monitoring

Micro Automation Set 23 V2.1, Item-ID: 23753479

Application Area and Benefits Application Area and Benefits

Application Areas The Micro Automation Set is particularly suitable for reasonable and comfortable speed control of motors. The speed of the asynchronous motor is changed continuously to react on disturbance variables in the system. The Micro Automation Set is particularly suitable for the following sectors and application cases: Benefits
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Water / waste water supply Oil and gas industry Bottling plants Building technologies Pump control Machine control: Air extraction systems, mixing machines

Favorable and continuous speed control Drive tasks of the SINAMICS G110 can be easily and directly connected to the sensor and control functions of the LOGO! Protection and monitoring functions via SINAMICS G110 Excellent energy efficiency due to a motor power adjusted to consumption Direct display of messages and device conditions with the integrated display of the LOGO! Simple parameter change of the control functions of LOGO! via the integrated operator functions of LOGO!

Micro Automation Set 23 V2.1, Item-ID: 23753479

Setup Setup

2
2.1

Setup
Setup plan
Figure 2-1
L1 N DC24V+ DC24VPE

Circuit breaker

NH-fuse set

I1

I8

6 1 2 3 4

Q1.1

Q1.2

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

+UO -UB +UB


8

Max Min M

Note

This setup plan shows the wiring of the necessary components to enable you to use the standard functions of the Micro Automation Set 23. Das Micro Automation Set 23 consists of a LOGO! logic module (2) with relay outputs and integrated time function. A SITRANS P pressure measuring transducer (7) is connected to an integrated analog input of the LOGO! logic module. To display messages a LOGO! TD (9) is connected to the LOGO! logic module. The LOGO! AM2 AQ (3) is used as an expansion module with two analog outputs. An analog output is connected to the SINAMICS G110 frequency converter (5). The SIRIUS monitoring relay (4) is connected to a digital input of the LOGO! logic module, and the three-pole wire electrode (8) is connected to the SIRIUS monitoring relay. The asynchronous motor (6) is connected to the SINMAICS G110 frequency converter. The 24V energy supply of the devices is provided by a LOGO! Power 1.3A (1).

1 2 3 4 5 6 7 8 9 10

U V W

10

Micro Automation Set 23 V2.1, Item-ID: 23753479

U1 V1 W1

Setup Setup

2.2

Setup plan Simulating the controlled system


Figure 2-2
DC24V+ DC24VPE

M I V M A+ B+

I8

Standard PC
2

1M

I0.0 Q1.2 V1+

STEP 7-Micro/WIN PC Access MS Excel

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The setup plan shows the wiring of the components when using the simulation of the controlled system. The wiring is made in addition to the wiring described in Chapter 2.2. The SITRANS P pressure measuring transducer has to be removed. The functionalities of the simulation are described in Chapter 4.5. You require a S7-200 CPU 224 XP (1) for simulating the controlled system of the Micro Automation Set. Via a USB-PPI cable, a standard PC (2) with the Port 0 of the S7-200 controller.

Micro Automation Set 23 V2.1, Item-ID: 23753479

11

Hardware and Software Components Hardware and Software Components

3
3.1
Note

Hardware and Software Components


Hardware and software components
By using this component you can employ the Micro Automation Set 23 with the standard functionalities. The cooling water facility simulated here is designed for a 1.1 kW asynchronous motor with an appropriate SINAMICS G110 frequency converter. As an alternative you can use a cheaper and easier variant which is consequently more suitable for a test setup.

Products
Table 3-1

Component LOGO! Power 24V/1,3A


Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Qty. 1 1 1 1 1 1

MLFB / Order Number 6EP1331-1SH02 6ED1052-1MD00-0BA6 6ED1055-1MM00-0BA0 6ED1055-4MH00-0BA0 3UG3501-1AL20 7MF1564-3BB10-1AA1 3UG3207-3A DC

Note

LOGO! 12/24RC LOGO! AM2 AQ LOGO! TD SIRIUS (level) monitoring relay SITRANS P pressure measuring transducer Wire electrode for level monitoring Standard: SINAMICS G110 frequency converter Alternatively: SINAMICS G110 frequency converter Standard: Asynchronous motor Alternatively: Asynchronous motor

0-10V or 4-20mA Incl. cable

0 to 1.6 bar three-pole Analog with EMV- Filter Analog with EMV-Filter

6SL3211-0AB21-5AA1

6SL3211-0AB13-7BA1

1 1

1LA7083-2AA10 1LA7060-4AB10

Accessories
Table 3-2

Component Miniature circuit-breaker NH-fuse set Alternatively:

Qty. 1 1 1

MLFB / Order Number 5SX2116-6 3NA3810 + 3NH3030 3NA3803

Note 1 pol. B, 16A 25A + socket 10A

12

Micro Automation Set 23 V2.1, Item-ID: 23753479

Hardware and Software Components Hardware and Software Components

Component NH-fuse set Top hat rail installation kit G110 Basic Operator Panel Feed-through terminal, beige PE feed-through terminal Bridge Standard DIN rail 35mm

Qty. 1 1

MLFB / Order Number + 3NH3030 6SL3261-1BA00-0AA0 6SL3255-0AA00-4BA0 8WA1011-1DF11 8WA1011-1PF00 8WA1822-7VF01

Note + socket for G110 2.5 mm to 24A>800V 2.5 mm 483 mm

6ES5 710-8MA11

Configuration software/tools
Table 3-3

Component LOGO!Soft Comfort V6.0 LOGO! PC cable


Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Qty. 1 1

MLFB / Order Number 6ED1058-0BA02-0YA0 6ED1057-1AA00-0BA0 COM

Note

Micro Automation Set 23 V2.1, Item-ID: 23753479

13

Hardware and Software Components Hardware and Software Components

3.2

Additional hardware and software components Simulating the controlled system


Note

By using this component you can employ the Micro Automation Set 23 with an extended functionality. The components mentioned here are required in addition to the hardware and software described in Chapter 3.1. If the 1.1 kW asynchronous motor mentioned in Chapter 3.1 is not used, the parameters of the controlled system are to be adjusted according to the technical data of the alternatively used asynchronous motor.

Products
Table 3-4

Component S7-200 CPU 224 XP


Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Qty. 1

MLFB / Order Number 6ES7 214-2AD23-0XB0 DC

Note

Accessories
Table 3-5

Component PC/PPI cable

Qty. 1

MLFB / Order Number 6ES7 901-3DB30-0XA0 USB

Note

Configuration software/tools
Table 3-6

Component SIMATIC STEP 7Micro/WIN PC Access by using SP3 (OPC Server)

Qty. 1 1

MLFB / Order Number 6ES7810-2CC03-0YX0 6ES7840-2CC01-0YX0 or Test version (60 days) http://siemens.de/s7200

Note Service Pack 7

Microsoft Excel

---

14

Micro Automation Set 23 V2.1, Item-ID: 23753479

Function Principle Function Principle

4
4.1
Table 4-1

Function Principle
Entering the pressure as measured variable and providing it as analog measured value
Function Comment

No. 1. 2.

The measured variable of this cooling water circulation is the pressure. A pressure measuring transducer is used for measuring this variable.
The SITRANS P pressure measuring transducer is used for converting a physical pressure into a electrical signal. An expansion measuring strip attached to a ceramic diaphragm, is in the stainless steel casing.
Stainless steel casing

DMS

Diaphragm

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

3.

If the operating pressure p is applied to the ceramic diaphragm, the DMS will be stretched or extended. The resulting higher or lower resistance causes a voltage drop, which is fed to the repeater and converted to an output voltage of DC 0 to 10V. (The output pressure is linear proportional to the input pressure) Via the integrated analog input at the LOGO! logic module, the measurement voltage (0 to 10 V) of the pressure measuring transducer is continuously picked up. You can calculate the current pressure via the scaling of the pressure measuring range 0 to 1.6 bar and the voltage range 0 to 10 V. (The conversion pV is used as illustration. In the LOGO! logic module, the measuring signal is used in V)
Measuring signal

U
const.

U
Repeater Transformer

UO

Measuring signal

4.

1.06 V = 0.17 bar

0 0.17bar bar

0,80

1,6

0 V 1.06V

10

Micro Automation Set 23 V2.1, Item-ID: 23753479

15

Function Principle Function Principle

4.2

Adjusting the system pressure on a constant level


Figure 4-1

Consumer 1,2 u 3

P setpoint

Qc

+ -

PI PI

n setp

Distance

QP

Sensor

P actual

Table 4-2

No. 5. 6.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Function

Comment

To provide the consumers of the cooling water system with the same pressure even in case of variable load, a PI controller is employed. The measured actual pressure value (PActual) will be compared to the Setpoint value (PSetpoint) stored in the LOGO! logic module. The PI controller compensates for the difference P by calculating a setpoint speed. The difference P is compensated by increasing or reducing the motor speed nSetpoint and thus the conveying current QP. If the speed of the motor nSetpoint is increased, more cooling water QP will be conveyed and the pressure PAcutal in the system will rise. If the speed of the motor nSetpoint is reduced, less cooling water QP will be conveyed and the pressure PAcutal in the system will go down.
Consumer 2 and 3 active
P setpoint n setpoint

0.29 bar

P Ist

+ -

2010 min-1

PI PI

0.17 bar

7.

n setpoint

2010 min-1

QP

Distance Distance

9 m/h

8.

The difference P is caused by the variable load (consumer current QC) of consumers 1, 2 and 3. If more consumers are connected, the consumer current QC will increase and the pressure PActual in the system will go down. If consumers are disconnected, the consumer current QC will go down and the pressure PActual in the system will increase.

Qc

- 8.0m^3/h

QP

9.0m/h

Distance Distance

Sensor Sensor

16

Micro Automation Set 23 V2.1, Item-ID: 23753479

Function Principle Function Principle

4.3
Table 4-3

Controlling the asynchronous motor via the analog interface of LOGO!


Function The setting (0 to 10 V) for the motor speed nSetpoint is continuously transferred by the LOGO! expansion module AM2 AQ to the SINAMICS G110 and there it is scaled to a frequency setpoint value (0 to 50 Hz). The lower and upper limit of the frequency setpoint value depends on the minimum and maximum motor frequency parameterized in the SINAMICS G110 (P1080=min and P1082=max). Comment

No. 9.

6.67 V = 33.35 Hz

0 V

Setting 5 6.67V

10

0 Hz

25 33.35 Hz

50

10.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The asynchronous motor connected to the SINAMICS G110 accelerates or delays the frequency setpoint value stated by the frequency converter. (nSetpoint nActual) The period between acceleration and delay of the frequency setpoint value nSetpoint to the actual motor speed nActual depends on the startup time and ramp-down time parameterized in the SINAMICS G110 (P1122=Startup time and P1121=Ramp down time)

Hz
50

33,35

25
13,00

n in t=

(nsetpl nact)
P1082

*P1121

nsetpoint

nactual

Example at P1082 = 50Hz and P1122 =10s

(33.35 Hz 13.00 Hz) 50 Hz

* 10 s

4.07 s

4.4
Table 4-4

Monitoring storage tanks and reacting on dry running


Function Comment

No. 11. 12.

To prevent the pump of this cooling water system from running dry, a three-pole wire electrode for monitoring the level of the storage tank will be employed. For the reference point (M), the minimum filling level (Min) and the maximum filling level an electrode is employed respectively.
Max Min M

13.

The three-pole wire electrode will be connected to the SIRIUS monitoring relay.

Micro Automation Set 23 V2.1, Item-ID: 23753479

17

Function Principle Function Principle

No. 14.

Function The function principle of the SIRIUS monitoring relay is based on measuring the electrical resistance of the liquid between two immersion probes (Min, Max) and a reference terminator (M). If the measured value is lower than the sensitivity set on front, the output relay will change its switching state. The monitoring relay is used in the operating mode Dry-running protection. The output relay (Timing diagram out:OVER) will change its switching state, as soon as the liquid level reaches Max, while Min is submerged. As soon as Min is no longer in contact with liquid, it will return to its original switching state.

Comment

L1/N Filling Level Max

Min

out:OVER out:UNDER

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The monitoring relay has two operating modes selectable via two switches at the device: Dry-running protection, switch position OVER Overflow protection, switch position UNDER
Dry run

15.

The SIRIUS monitoring relay is wired to a digital input of the LOGO! logic module. If a dry run is established, the release of the G110 frequency inverter will be stopped.

Note

You can connect other resistance sensors in the range of 5 to 100 kOhm, e.g. photo resistor, temperature sensors, position encoder on resistance basis etc. to the Min. and Max. terminals of the SIRIUS monitoring relay. Thus, the monitoring relay is not only suitable for monitoring the level of liquids.

18

Micro Automation Set 23 V2.1, Item-ID: 23753479

Function Principle Function Principle

4.5
Table 4-5

Simulating the controlled system


Function Comment

No. 16.

You can simulate the controlled system of this cooling water application by using the S7-200 controller (see Chapter 3.2). Thus the application can be tested without a complex setup under almost real conditions. The S7-200 controller is continuously calculating the actual pressure value PActual and transfers it to the LOGO! logic module with the integrated analog voltage output. The current signal of the SITRANS pressure measuring transducer is simulated by the analog output of the S7-200 controller.
P actual

17.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

18.

The LOGO! logic module is continuously transferring the setpoint motor speed nSetpoint via the analog output of the LOGO! module AM2 AQ to the S7-200 controller.

n setpoint

19.

The distance to be controlled by the LOGO! logic module, is implemented in the S7200 controller as follows.
LOGO! S7-200 Controller

Consumer 1,2,3
3

Q A

PI

nSet

nact
t

Q n

QP

- Q C + QA

H Q

HA P
H

Pact

20.

(1) A PT1 element in the S7-200 controller simulates the delay of the speed setpoint nSetpoint to the actual motor speed nActual.

nSet
t

nact

Micro Automation Set 23 V2.1, Item-ID: 23753479

19

Function Principle Function Principle

No. 21.

Function (2) The conveyor current of pump QP is calculated on the basis of the current motor speed nActual, the quality of the used pump and the asynchronous motor.

Comment

nact
-

Q n

QP

22.

(3) The consumed consumer current QC is calculated depending on the number of consumers.

Consumer 1,2,3

Q
1 2 3

- Q C +
23.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

(4) The difference the conveying current of the pump and the consumer current results in a conveying current QA being proportional to the pressure drop. According to the curve on the right the delivery head is HA ~ QA. (5) The actual pressure value PActual is calculated from the delivery head HA.

HA
Q

QA

24.

HA P
H

Pact

4.6
Table 4-6

Visualizing the simulated controlled system


Function The simulation of all system parameters of the cooling water system is made via the S7-200 controller. Via the PC-Access OPC server and MS Excel as OPC client, all system parameters of this simulation can be displayed and processed. Comment
MS Excel (OPC Client) PC Access (OPC Server)

No. 1.

MS Exce l (OPC Client) MS Exce l (OPC Client)

PI

Distance

Sensor

20

Micro Automation Set 23 V2.1, Item-ID: 23753479

Function Principle Function Principle

No. 2.

Function It is possible to log the process data of the simulated controlled system via the MS Excel OPC client. The process data will be buffered in the S7-200 controller and transferred to the OPC client subject to recall. By using the MS Excel standard means, you can create a layout (diagram).

Comment The following values are logged: Actual speed Number of consumers Actual pressure Setpoint pressure

4.7
Table 4-7

Scaling of analog values into physical values in the LOGO!


Function To allow displaying real physical values by LOGO! like pressure, temperature, revolutions per minute, incoming and outgoing analog values can be converted by the analog blocks scaled. Comment

No. 1.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

2.

The entering sensor signal needs to be converted to the real physical unit. Decimal places in the physical size can be taken into account. E.g.: An analogue input signal of 0 to 10V refers to a physically pressure of 0 to 1.60 bar Required property setting of the PI closed-loop block: Minimum (1): 0 Maximum (2): 160 Number of decimal places for displaying the message (3): 2 The parameter Gain (4) is being calculated automatically.

1 2

Micro Automation Set 23 V2.1, Item-ID: 23753479

21

Function Principle Function Principle

4.8

Use of 16 characters per line on LOGO! Display


LOGO! Soft Comfort V6.0 offers the possibility to use different fonts for the text message notification to use. By default, 12 characters per line in the display is used. If the character set for the alarm text display is switched to "Chinese", up to 16 characters per line can be used in the display.

Table 4-8

No. 1.

Function To use 16 characters per line in the LOGO! Display select the Chinese character set GBK in the menu File Message text Settings

Comment

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

22

Micro Automation Set 23 V2.1, Item-ID: 23753479

Configuring the Startup Software Configuring the Startup Software

5
5.1

Configuring the Startup Software


Preliminary remarks
For the startup we offer you software examples with test code and test parameters as download. The software examples support you during the first steps and tests with your Micro Automation Sets. They enable quick testing of hardware and software interfaces between the products described in the Micro Automation Sets. The software examples are always assigned to the components used in the set and show their basic interaction. However, they are not real applications in the sense of technological problem solving with definable properties.

5.2

Downloading the startup code


The software examples are available on the HTML page from which you downloaded this document.
Table 5-1

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

No. 1 2 3 4

Version Standard

File name Set23_LOGO!_V2d3_0BA6_en.lsc Set23_S7-200_V2d3_en.mwp

Contents LOGO!Soft Comfort STEP 7-Micro/WIN MS Excel PC-Access

Simulation Set23_ExcelOPC_V2d3_en.xls Set23_PC-access_V2d3_en.pca

5.3
Note

Configuring Components
It is assumed here that the necessary software has been installed on your computer and that you are familiar with handling the software.

Warning

Please carefully read all safety and warning notices given in these operating instructions, and all warning labels attached to the device before installing and commissioning the SINAMICS G110. Please maintain warning labels in a legible condition and do not remove them from the device.

Micro Automation Set 23 V2.1, Item-ID: 23753479

23

Configuring the Startup Software Configuring the Startup Software

5.3.1
Table 5-2

Configuring components Standard functionality

Installing and wiring hardware


No. 1. 2. Action Mount the components of Chapter 3.1 to the top hat rail. Connect the LOGO! expansion module to the LOGO! logic module and let the clip snap in (see comment). Comment

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

3. 4.

Connect the LOGO! TD with the supplied cable to the LOGO! Logic module Attach the G110 Basic Operator Panel (BOP) to the SINAMICS G110 frequency converter. Wire all components together. Do not switch on the power supply. Switch on the power supply for LOGO! Power. Do not activate the power supply of the SINAMICS G110 frequency converter yet. See Chapter 2.1

5. 6.

Configuring the LOGO! logic module


Table 5-3

No. 1.

Action Connect your PC to the COM 1 with the LOGO! logic module via the LOGO! PC cable.

Comment
LOGO! PC cable

Configuration PC

2. 3.

Open the 1st file *.lsc of Table 5-1 with LOGO!Soft Comfort. Download the project via the Tools\Transfer\PC -> LOGO! into the LOGO! logic module.

24

Micro Automation Set 23 V2.1, Item-ID: 23753479

Configuring the Startup Software Configuring the Startup Software

No. 4.

Action Set the LOGO! logic module to the RUN mode.

Comment

Configuring the SIRIUS monitoring relay


Table 5-4

No. 1.

Action The SIRIUS monitoring relay is to be set to the desired sensitivity. By using the potentiometer (setting wheel) you set the specific resistance of the liquid to be monitored. Set the sensitivity to 5 kOhm.
Product Butter milk Fruit juice Vegetable juice Milk Soup Beer Coffee Ink Salt water Wine

Comment
kOhm Product kOhm Natural water 5 1 Waste water 5 1 Starch solution 5 1 Oil 10 1 Condensation 18 2,2 Lather 18 2,2 Jams 45 2,2 Jelly 45 2,2 Sugar solution 90 2,2 Whisky 220 2,2 Distilled water 450

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

2.

The monitoring mode of the SIRIUS monitoring relay is to be set dry run. Turn the DIP switch to OVER.

OVER UNDER

Parameterizing SINAMICS G110


Table 5-5

No. 1. 2.

Action

Value

Value Alternative

Comment

Activate the voltage supply for the SINAMICS G110. Press the Parameter key of the SINAMICS G110 BOP to come to the parameterization mode. When using the arrow keys you come to the parameters described in the following. The values to be entered into the columns Value Standard and Value Alternative refer to the asynchronous motors of Chapter 3.1. Start the fast commissioning. Set the country settings to Europe. Set the rated motor voltage to 230V. 1 1x
P

0000 0000

3. 4. 5.

P P 0010 0010 +

P P P

0 230

P 0100 P 0100 + P 0304 P 0304 +

Micro Automation Set 23 V2.1, Item-ID: 23753479

25

Configuring the Startup Software Configuring the Startup Software

No. 6. 7. 8. 9.

Action Set the rated motor current to 4.33 or 0.73 A. Set the rated motor output to 1.15 or 0.12 kW. Set the rated motor frequency to 50Hz.

Value

Value Alternative

Comment
P 0305 P 0305 + P 0307 P 0307 + P 0310 P 0310 +
P P P P P

4.33 1.15 50 2837 2 2 0 50 3 3 1

0.73 0.12

Set the nominal motor speed to 2837 or 1350 min-1. 10. Select the terminal strip as command source of the SINAMICS G110. 11. Select the analog input as source for the frequency setpoint value of the SINAMICS G110 . 12. Set the minimum frequency to 0Hz.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

1350

P 0311 P 0311 + P 0700 P 0700 + P 1000 P 1000 + P 1080 P 1080 + P 1082 P 1082 + P 1120 P 1120 + P 1121 P 1121 + P 3900 P 3900 +

P P P

13. Set the maximum frequency to 50Hz. 14. Set the startup time from the minimum to the maximum speed of the asynchronous motor to 3s. 15. Set the startup time from the maximum to the minimum speed of the asynchronous motor to 3s. 16. Exit the fast commissioning.

17. Exit the parameterization mode by pressing the

parameter key while having activated the operating mode (r0000).

nx + P

0000 0000

5.3.2

Configuring the components Simulating the controlled system

Installing and wiring hardware


Table 5-6

No. 1. 2.

Action Mount the components of Chapter 3.2 to the top hat rail. Wire all components together. Do not switch on the power supply. Switch on the power supply for LOGO! Power.

Comment

See Chapter 2.2 The SITRANS P pressure measuring transducer has to be removed.

3.

26

Micro Automation Set 23 V2.1, Item-ID: 23753479

Configuring the Startup Software Configuring the Startup Software

Configuring the S7-200 controller


Table 5-7

No. 1.

Action Connect the PC to a USB Port with the S7-200 controller to the Port 0 by using the USB-PC/PPI cable.

Comment

Configuration PC PC/PPI cabel

2. 3.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Open the 2nd file *.mwp of the Table 5-1 with STEP 7-Micro/WIN. Carry out the following settings in the PG/PC Interface under Start/Settings/Control Panel. Access point of the application Micro/WIN PC/PPI cable(PPI) Transmission rate: 187.5 Kbit/s Local connection: USB Transfer the project to the S/-200 controller via File/Load to CPU. Set the S7-200 controller to the RUN mode.

4.

5.

Configuring the OPC Server PC-Access


Table 5-8

No. 1. 2.

Action Open the 4th file *.pca of Table 5-1 with the PC-Access. Save the project under any name.

Comment

The OPC Server of the PC Access always uses the items of PCA file last saved. The process should only be done once.

Configuring the OPC Client MS Excel


Table 5-9

No. 1.
rd

Action Open the 3 file *.xls of Table 5-1 with MS Excel.

Comment

Micro Automation Set 23 V2.1, Item-ID: 23753479

27

Configuring the Startup Software Configuring the Startup Software

No. 2.

Action Add the OPC S7-200 Excel Add-In via Tools/Add-Ins. The *.xla file is in your PC-Access installation path.

Comment Default installation path: C:\Program Files\Siemens\S7-200 PC Access Add-In: Bin\OPCS7200ExcelAddin.xla

3.

Activate the tool bar for the OPC S7-200 Excel Add-In via View/Toolbars.

4.

Via Start Data Acquisition in the toolbar you can now start the OPC MS Excel Client. By means of a symbol in the info area of the task bar you can see whether the OPC Server is started.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

5.

28

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

Live-Demo
The features of the Micro Automation Set 23 were packed in an application example describing the cooling water system for an injection mold facility. The functionalities and features of program codes and hardware can be tested as follows if the components specified in Chapter 5.3 have been configured correctly.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Micro Automation Set 23 V2.1, Item-ID: 23753479

29

Live-Demo Live-Demo

6.1
Figure 6-1

Overview of the Live-Demo

Start

Information about the structure and the function of the OPC MS EXCEL Client and the LOGO! logic module

Parameterizing the simulation of the controlled system (Chapt. 6.2)

Operating the simulation of the controlled system (Chapt. 6.3)

Recording the simulation of the controlled system (Chapt. 6.4)

Simulating the filling level in the storage tank (Chapt. 6.5)

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Display values in LOGO!TD (Chapt. 6.6) Graphically display of values in LOGO! (Chapt. 6.7)

This throughput can be repeated as often as you like. Possible scenarios are listed in table 6-1.

Scenario 1: Viewing the control process via LOGO! Soft Comfort (Chapt. 6.8)

Scenario 2: Simulating the disturbance variable and recording the control process (Chapt. 6.9)

Scenario 3: Simulating the dry run of the storage tank (Chapt. 6.10) Scenario 4: Changing the setpoint via LOGO! TD operator panel (Chapt. 6.11) Scenario 5: Changing the language and switching the background lighting on/off via LOGO! TD (Chapt. 6.12)

Scenario 6: Changing the control parameters (Chapt. 6.13) End

30

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

Table 6-1

Scenario 1. 2. 3. 4. 5.

Description Scenario 1: Viewing the control process via LOGO!Soft Comfort Scenario 2: Simulating the disturbance variable and recording the control process Scenario 3: Simulating the dry run of the storage tank Scenario 4: Editing by using the LOGO! TD operator panel Scenario 5: Changing the language and switching the background lighting on/off via LOGO! TD

Chapter 6.8 6.9 6.10 6.11 Error! Referen ce source not found. 6.13

6.

Scenario 6: Changing the control parameters

6.2
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Parameterizing the simulation of the controlled system


OPC MS Excel Client Page 2 Figure 6-2

1 2

3 4

6 7 8 9

10 11

The default values are aligned to the SINAMICS G110 frequency converter and the asynchronous motor Standard of Chapter 3.2. A change of the default values requires a change of the hardware or the parameters of the fictive cooling water. To change the parameters, enter the desired value in the yellow input fields of the Fix parameters operating image with an active OPC connection and confirm with Write to PLC.
Micro Automation Set 23 V2.1, Item-ID: 23753479

31

Live-Demo Live-Demo

(1) The height between the surface of the liquid level at the inlet side and the number of the consumers to be provided (2) Highest admissible pressure in the cooling water system (3) Conveying current of the pump in case of nominal speed of the asynchronous motor (4) Delivery head of the pump in case of nominal speed of the asynchronous motor (5) Nominal speed of the asynchronous motor

(6) Maximum speed of the asynchronous motor (G110 parameter P1080) (7) Minimum speed of the asynchronous motor (G110 parameter P1082) (8) Duration of the acceleration of min. speed to max. speed (G110 parameter P1120)
(9) Duration of the delay of max. speed to min. speed (G110 parameter P1121) (10) Highest admissible pressure of the pressure measuring transducer (11) Lowest admissible pressure of the pressure measuring transducer

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

32

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

6.3

Operating the simulation of the controlled system


OPC MS Excel Client Page 1 Figure 6-3

12

1 2 3 4 5 6 7 8 9

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

10

11

In the Simulation operating image, the controlled system is displayed in the S7-200 controller and the process values are visualized. By means of the cooling water consumption, which is determined via the editable number of consumers, you can interfere in the control process.
(1) Setpoint speed of the asynchronous motor (2) Actual speed of the asynchronous motor (the delay is taken into account) (3) Conveying current of the pump (4) Consumers (1, 2 or 3), input by user (5) Consumer current caused by the number of consumers (6) Conveying current in the cooling water system less the required current (7) Delivery head

(8) Setpoint pressure in the cooling water system. When changing the LOGO! logic module
the setpoint value is to be changed as well. The default value in the LOGO! logic module is 1.81V. (corresponds to 0.29 bar) (9) Actual pressure in the cooling water system (10) Diagram for illustrating the difference between setpoint speed and actual speed (11) Diagram for illustrating the difference between setpoint pressure and actual pressure (12) Controlled system in the S7-200 control

Micro Automation Set 23 V2.1, Item-ID: 23753479

33

Live-Demo Live-Demo

6.4

Recording the simulation of the controlled system


OPC MS Excel Client Page 3 Figure 6-4

1 2 3 4 5

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

In the Data Logging/Graph operating image, you can log the behavior of the controlled system in the S7-200 controller via a settable period of time. You can generate and display a maximum of 249 data records.
(1) Interval in milliseconds in which the process data are saved. (2) In the ring buffer, old process data are overwritten by new process data Lend = 1. Process data are written until the buffer is filled Lend = 0. (3) The recording of the process data is restarted after an increase or decrease of the consumers Ltrig = 1. The process data are continuously recorded Ltrig =0. (4) Buffer size of the process data (10 to 249 data records). (5) Data record last filled with writing.

(6) All logged process data are retrieved from the buffer of the S7-200 control. The process
data are stored in the Data Source for Data Logging/Graph operating image. The following process data are logged: a. b. c. d. Actual speed, Number of consumers, Actual pressure and Setpoint pressure.

(7) The logged process values are displayed in the diagram in a visualized form. If

necessary, the data source of the diagram is to be set via Right Click/Data Source/Series. The process values are displayed in percent to ensure a better overview.

34

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

6.5

Simulating the filling level in the storage tank


In this cooling water system the pump will be blocked as soon as a low filling level of the storage tank is established. Due to the default settings this tank is empty Thus the pump will be blocked. The following steps are to be carried out for simulating a sufficient filling level of the storage tank or a dry run.

Table 6-2

No. 1.

Action All electrodes of the probe for level monitoring should get contact with the water. For example a glass of water can be used as storage tank.

Comment

Max Min M

2.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The SIRIUS monitoring relay controls the relay output. The yellow LED is on. The connected LOGO! logic module controls the output for releasing the SINAMICS G110 and Starts simultaneously the operating hours counter.

Filling level OK!

The simulation in the S7-200 controller will not be started without the release of the SINAMICS G110 frequency converter. 3. To simulate the dry run, the electrode (Max) and the electrode (Min) of the probe for level monitoring may not be in contact with water.
Max Min M

4.

The SIRIUS monitoring relay deactivates the relay output. The yellow LED goes out. The connected LOGO! logic module deactivates the output for activating the SINAMICS G110 The operating hours counter is stopped. The pressure in the system reduces when consumers are active

Dry run!

Micro Automation Set 23 V2.1, Item-ID: 23753479

35

Live-Demo Live-Demo

No. 5.

Action The message Water supply interrupted appears on the display of the LOGO! logic module and LOGO! TD.
s
Water supply interrupted
LOGO! 12/24RC

Comment

ESC

OK

6.6

Display values in LOGO! TD


Some process data of the PI controller are output via the LOGO! TD.

Table 6-3

No. 1.

Action Setpoint pressure, current actual pressure of the cooling water system, and setpoint speed of the asynchronous motor are output in the default message text of the LOGO! TD. The values are given as the physical variables bar and revolutions per minute. Further message texts can be selected by means of the cursor keys Up and Down. In the second message text of the LOGO! TD the operating hours counter is displayed. The value Lapsed time indicates how many hours the asynchronous motor has already been in operation. The output box Remaining time displays the hours until the next maintenance of the asynchronous motor. The third message text of the LOGO! TDs outputs the current date and time.
s

Comment

LOGO! TD

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

PI-Control SP: 290 mbar PW: 290 mbar Pump: 785 Umdr
F1 F2 F3 F4 ESC

OK

2.

LOGO! TD

Lapsed time 1h34m Remaining time 998h26m


F1 F2 F3 F4 ESC OK

3.

LOGO! TD
Th 15:53 2009-04-23

F1

F2

F3

F4

ESC

OK

36

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

6.7

Graphically display of values in LOGO! logic module


The process values are graphically displayed as bars via the display integrated in the LOGO! logic module.

Table 6-4

No, 1.

Action Bar representation of the process values in the LOGO! logic module display
s PI-Control SP: PV: Pump:
LOGO! 12/24RC

Comment

ESC

OK

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Micro Automation Set 23 V2.1, Item-ID: 23753479

37

Live-Demo Live-Demo

6.8

Scenario 1: Viewing the control process via LOGO!Soft Comfort


LOGO!Soft Comfort V6.0 enables representing the control process of the PI controller in a curve and to view it live..

Table 6-5

No, 1. 2.

Action Open the LOGO!Soft Comfort project (1st file *.lsc from Table 5-1) Click on the Online Test function

Comment

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

3.

Click on the PI controller once and then click on the icon with glasses.

4.

Click on the icon with glasses at the bottom of the screen. The Trend View of LOGO!Soft Comfort opens.

38

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

No, 5.

Action Click on Display PV to expand the view. The upper trend named AQ displays the setpoint speed (nActual). The bottom trend named PV displays the current pressure (PActual)..

Comment

Note
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

When receiving the following message, the LOGO! project must be transferred again to be able to execute the online text.

You should therefore avoid changing parameters directly in the LOGO! logic module.

Micro Automation Set 23 V2.1, Item-ID: 23753479

39

Live-Demo Live-Demo

6.9
Table 6-6

Scenario 2: Simulating the disturbance variable and recording the control process
Action OPC MS Excel Client Page 3 Make sure that the following parameters are set for the recording in the S7-200 control: Comment

No. 1.

1 2 3 4
0

Lt: 500ms (1) Lend: 0 (2) Ltrig: 1 (3) Lmaxrec: 30 (4)

2.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

OPC MS Excel Client Page 1 Increase the number of those consumers connected to the cooling water system to 3 (output value 1 or 2). Input: Enter 3 (1) Button: Write the value in S7-200 (2) Issued: Current value in S7-200 (3) In the first moment, the current pressure(PActual) will drop.

3.

PSetpoint PActual

4.

The PI controller of the LOGO! logic module will compensate the disturbance variable (consumers) and increase the setpoint speed (nSetpoint). The actual speed (nActual) will be adjusted to the setpoint value.
nSetpoint nActual

5.

After approx. 10 seconds, the actual pressure will be adjusted to the setpoint value.
PSetpoint PActual

6.

OPC MS Excel Client Page 3 If sufficient data records are generated, the recorded data can be transferred from S7-200 controller to MS Excel. Maximum data records (Lmaxrec) = currently recorded data records (Lactrec) (1) Starting the data transfer S7-200 MS Excel (2)

40

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

No. 7.

Action Now the layout in MS Excel represents the control process since the last change of the disturbance variable (consumers).

Comment

8.

Compare the graphic representation in MS Excel using the Trend View in LOGO! Soft Comfort.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Micro Automation Set 23 V2.1, Item-ID: 23753479

41

Live-Demo Live-Demo

6.10
Table 6-7

Scenario 3: Simulating the dry run of the storage tank


Action To simulate the dry run of the storage tank, the electrodes of the probe are to be taken out of the water for monitoring the level.
Max Min M

No. 1.

Comment

2.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

The SIRIUS monitoring relay deactivates the relay output. The yellow LED goes out. The connected LOGO! logic module deactivates the output for releasing the SINAMICS G110 and simultaneously stops the operating hours counter A message is output on the LOGO! TD and LOGO! Display

Low filling level!

s
Water supply interrupted
LOGO! 12/24RC
ESC OK

The simulation in the S7-200 controller will not be stopped without the release of the SINAMICS G110 frequency converter. 3. Monitor the pressure reduction via the Trend View of LOGO! Soft Comfort.

42

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

6.11

Scenario 4: Editing by using the LOGO! TD operator panel


If the system parameters of the cooling water system are to be changed, the setpoint value stored in the LOGO! logic module must be changed.

Table 6-8

No, 1.

Action Press the F4 button of the LOGO! TD to increase the setpoint value by 1. Keep the F4 button pressed to increase the setpoint value continuously.
s

Comment

LOGO! TD

PI-Control SP: 290 mbar PV: 290 mbar Pump: 785 Rev
F1 F2 F3 F4 ESC OK

2.
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Press the F1 button of the LOGO! TD to reduce the setpoint value by 1. Keep the F1 button pressed to reduce the setpoint value continuously.

LOGO! TD

PI-Control SP: 290 mbar PV: 290 mbar Pump: 785 Rev
F1 F2 F3 F4 ESC OK

3.

The setpoint value for the PI controller in the LOGO! logic module has now been changed. Parallel, the new setpoint pressure for simulating the controlled system must be transferred to the S7-200 controller.

See chapter Error! Reference source not found. Point 8.

Note

The FAQ How can I increment/decrement a setpoint value using the function keys of LOGO! TD? provides a better understanding of changing the setpoint via function keys http://support.automation.siemens.com/WW/view/en/34914500

Micro Automation Set 23 V2.1, Item-ID: 23753479

43

Live-Demo Live-Demo

6.12

Scenario 5: Changing the language and switching the background lighting on/off via LOGO! TD
The function keys of the LOGO! TD further enable switching the language between English and German as well as switching the background lighting of the LOGO! TD and the integrated display of LOGO! logic module on and off.

Table 6-9

No, 1.

Action Press the F2 button of the LOGO! TD to switch between the languages German and English.
s

Comment

LOGO! TD

PI-Control SP: 290 mbar PV: 290 mbar Pump: 785 Rev
F1 F2 F3 F4 ESC OK

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

2.

Press the F3 button to alternately switch the background lighting of the LOGO! TD and the integrated display of the LOGO! logic module on and off.

LOGO! TD

PI-Control SP: 290 mbar PV: 290 mbar Pump: 785 Rev
F1 F2 F3 F4 ESC OK

44

Micro Automation Set 23 V2.1, Item-ID: 23753479

Live-Demo Live-Demo

6.13

Scenario 6: Changing the control parameters


To optimize the control process, the following parameters can be adjusted. P-part of the PI controller (Default: 2) I-part of the PI controller (Default: 1s) Setup / ramp-down time of the motor (Default: 3s)
Action Open the LOGO!Soft Comfort Project Set23_LOGO!_V2d0_en.lsc Double-click the PI controller. Comment

Table 6-10

No. 1. 2.

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

3.

Increase the P-part of the PIcontroller KC (1) to 10. Increase the I-part of the PI-controller TI (2) auf 30 s.

1 2

4.

Save the LOGO!Soft Comfort Project and proceed as in Chapter 5.3.1 Configuring LOGO! logic module to transfer the changed project. Change the acceleration and ramp-down time of the asynchronous motor in SIAMICS G110 and in the S7-200 controller for simulating the controlled system from 3 to 2 seconds respectively. SINAMICS G110: Please see Chapter 3.2.1 Parameterizing SINAMICS G110 Table 5-5 No. 14 and 15. Controlled system simulation: Please see Chapter 6.2 No. 8 and 9.

5.

Micro Automation Set 23 V2.1, Item-ID: 23753479

45

Live-Demo Live-Demo

No. 6.

Action If the disturbance variable of the controlled system simulation is changed (please see Chapter 6.8, Scenario 1), you can observe that The actual pressure PActual is faster coming claser to the setpoint pressure PSetpoint.. The correction is less precise. The correction tends to overshoot.

Comment

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

46

Micro Automation Set 23 V2.1, Item-ID: 23753479

Technical Data Technical Data

7
Table 7-1

Technical Data

LOGO! Power 24V 1.3


Criterion Supply voltage Output voltage Output current Dimensions (W x H x D) in mm Technical data 85 to 264 V AC DC 24 V (setting range DC 22.2 to 26.4 V) 1.3 54 x 90 x 55 Additional note

LOGO! 12/24 RC
Table 7-2

Criterion
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Technical data 10.8 V to 28.8 V DC 8

Additional note I5, I6: High-speed counters I7, I8: Can also be used as analog input (0-10V) (I7 = AI1, I8 = AI2) No short-circuit protection, external fuse necessary

Supply voltage Digital inputs

Digital outputs Clock Dimensions (W x H x D) in mm

4 relays Available (date / time) 72 x 90 x 55

LOGO! AM2 AQ
Table 7-3

Criterion Supply voltage Analog outputs Dimensions (W x H x D) in mm 2

Technical data 24 V DC

Additional note 0 to 10 V or 4-20 mA

36 x 90 x 55

Micro Automation Set 23 V2.1, Item-ID: 23753479

47

Technical Data Technical Data

SITRANS P pressure measuring transducer


Table 7-4

Criterion Three-wire circuit auxiliary power Output signal Measuring range Highest admissible operating pressure

Technical data DC 15 to 36 V 0 to 10 V 0 to 1.6 bar 5 bar

Additional note

SIRIUS Monitoring relay


Table 7-5

Criterion Supply voltage Sensitivity


Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Technical data AC 230 V 5 to 100 kOhm 22.5 mm

Additional note Adjustable

Overall width

SIRIUS wire electrode for level monitoring


Table 7-6

Criterion Cable connection Number of poles Length Max. operating temperature Max. operating pressure

Technical data 3 x 0.5mm, 2 m Two-pole 500 mm 90 C 10 bar

Additional note

SINAMICS G110 frequency converter


Table 7-7

Criterion 0AB13 Mains voltage Network frequency Rated current Rated power Input / output

Technical data 0AB21 AC 200 to 240 V 10% 47 to 63 Hz 7.80 A 8. 1.50 kW 10. 0 AO, 1 AI, 3DI, 0PTC-I, 1 RO

Additional note

AC 200 to 240 V 10% 47 to 63 Hz 2.30 A 7. 0.37 kW 9. 0 AO, 1 AI, 3DI, 0PTC-I, 1 RO

48

Micro Automation Set 23 V2.1, Item-ID: 23753479

Technical Data Technical Data

Asynchronous motor
Table 7-8

Criterion

Technical data 1LA7060 1LA7083 1.1 kW 2845 r/min. 2.40 A 3.7 Nm

Additional note

Rated power Rated speed Rated current at 230V Rated torque

0.12 kW 1350 1/min 0.42 A 0,85

LOGO!Soft Comfort V6.0


Table 7-9

Criterion Program representation Simulation Online test Languages Required operating system

Technical data Function block diagram, ladder diagram Yes Yes Six languages (G,E,F,S,I,P) WIN98SE/ NT4.0/ME/2000/XP,MAC OS X,LINUX Runnable on any Linux distributions, on which Java 2 SDK Version 1.3.1 runs Without hardware With connected hardware

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

Micro Automation Set 23 V2.1, Item-ID: 23753479

49

History History

History
Table 8-1 History

Version V2.0 V2.1

Date 10/25/2006 04/24/2009 First edition

Modification Layout adjustment and adaption of the application for using LOGO! 0BA6

Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc

50

Micro Automation Set 23 V2.1, Item-ID: 23753479

You might also like