Professional Documents
Culture Documents
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.
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
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
History ........................................................................................................... 50
Automation task
Pump
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
5 9
Asynchronous motor
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!
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
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
U1 V1 W1
Setup Setup
2.2
M I V M A+ B+
I8
Standard PC
2
1M
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.
11
3
3.1
Note
Products
Table 3-1
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 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
Qty. 1 1 1
12
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
6ES5 710-8MA11
Configuration software/tools
Table 3-3
Qty. 1 1
Note
13
3.2
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
Qty. 1
Note
Accessories
Table 3-5
Qty. 1
Note
Configuration software/tools
Table 3-6
Qty. 1 1
MLFB / Order Number 6ES7810-2CC03-0YX0 6ES7840-2CC01-0YX0 or Test version (60 days) http://siemens.de/s7200
Microsoft Excel
---
14
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
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.
0 0.17bar bar
0,80
1,6
0 V 1.06V
10
15
4.2
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
4.3
Table 4-3
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
* 10 s
4.07 s
4.4
Table 4-4
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.
17
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
Min
out:OVER out:UNDER
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
4.5
Table 4-5
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.
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
19
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
No. 1.
PI
Distance
Sensor
20
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
No. 1.
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
21
4.8
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
22
5
5.1
5.2
No. 1 2 3 4
Version Standard
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.
23
5.3.1
Table 5-2
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.
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
No. 4.
Comment
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
2.
The monitoring mode of the SIRIUS monitoring relay is to be set dry run. Turn the DIP switch to OVER.
OVER UNDER
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
25
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
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.
nx + P
0000 0000
5.3.2
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
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
2. 3.
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.
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.
No. 1.
rd
Comment
27
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.
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.
5.
28
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.
29
Live-Demo Live-Demo
6.1
Figure 6-1
Start
Information about the structure and the function of the OPC MS EXCEL Client and the LOGO! logic module
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)
30
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.
6.2
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc
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
32
Live-Demo Live-Demo
6.3
12
1 2 3 4 5 6 7 8 9
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
33
Live-Demo Live-Demo
6.4
1 2 3 4 5
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
Live-Demo Live-Demo
6.5
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.
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!
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
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
PI-Control SP: 290 mbar PW: 290 mbar Pump: 785 Umdr
F1 F2 F3 F4 ESC
OK
2.
LOGO! TD
3.
LOGO! TD
Th 15:53 2009-04-23
F1
F2
F3
F4
ESC
OK
36
Live-Demo Live-Demo
6.7
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
37
Live-Demo Live-Demo
6.8
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
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
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.
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
2.
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
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.
41
Live-Demo Live-Demo
6.10
Table 6-7
No. 1.
Comment
2.
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
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
Live-Demo Live-Demo
6.11
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.
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
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
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
Live-Demo Live-Demo
6.13
Table 6-10
No. 1. 2.
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.
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
46
7
Table 7-1
Technical Data
LOGO! 12/24 RC
Table 7-2
Criterion
Copyright Siemens AG 2009 All rights reserved Set23_DocTech_v2d1_en.doc
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
LOGO! AM2 AQ
Table 7-3
Technical data 24 V DC
36 x 90 x 55
47
Criterion Three-wire circuit auxiliary power Output signal Measuring range Highest admissible operating pressure
Additional note
Overall width
Criterion Cable connection Number of poles Length Max. operating temperature Max. operating pressure
Additional note
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
48
Asynchronous motor
Table 7-8
Criterion
Additional note
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
49
History History
History
Table 8-1 History
Modification Layout adjustment and adaption of the application for using LOGO! 0BA6
50