Académique Documents
Professionnel Documents
Culture Documents
Note
Configuration Example X8
V1.0, ID number: 37604154
1 Automation Task
Table of Contents
1
1.1
1.2
1.3
Automation Task............................................................................................. 4
Application automation task.............................................................................. 4
Control components.......................................................................................... 4
Component list.................................................................................................. 5
2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
3
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.2
3.3
3.4
3.5
3.6
3.7
Configuration ................................................................................................ 16
Installing and wiring the hardware .................................................................. 16
Connect S7-1200 with PG/PC ........................................................................ 17
Load project in the S7-1200 CPU1214C ........................................................ 18
Load project into the SIMATIC Panel KTP600 ............................................... 19
Connect SIMATIC Panel KTP600 and S7-1200 CPU 1214C ......................... 20
Close off RS 485 bus with terminating resistors ............................................. 20
Parameterization of frequency converters ...................................................... 20
Enabling the pumps ........................................................................................ 25
Change language settings .............................................................................. 26
Moving pump P1 manually ............................................................................. 26
Move pump P1 to P4 automatically on demand ............................................. 28
Procedure with balancing of operating hours ................................................. 30
Procedure for excluding pump P3 due to servicing ........................................ 31
4
4.1
4.2
Code Elements.............................................................................................. 34
Preliminary remarks........................................................................................ 34
Download........................................................................................................ 34
History ........................................................................................................... 35
Configuration Example X8
V1.0, ID number: 37604154
1 Automation Task
Automation Task
1.1
Figure 1-1
Service
Pump 1
Pump 2
Pump 3
Pump 4
Consumer
Water reservoir
1.2
Control components
Four asynchronous motors are each connected via the communication
module CM1241 (RS485) with the frequency converter SINAMICS G110
and are to be controlled by a S7-1200 controller (CPU1214C).
Communication between control and frequency converter will be performed
by USS protocol.
Operation and visualization takes place via a KTP600 touch panel which is
connected via an Ethernet connection to the S7-1200 controller.
Configuration Example X8
V1.0, ID number: 37604154
1 Automation Task
STEP7 Basic v10.5 is used as configuration tool for the control program
and the HMI.
Figure 1-2
3
Ethernet
5
J
O
G
F
M
P H6
J
O
G
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
1.3
F
M
P H6
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
5
1
J
O
G
F
M
P H6
J
O
G
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
1
F
M
P H6
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
Component list
Products
Table 1-1
Component
No.
S7-1200 CPU1214C
6ES7 214-1AE30-0XB0
RS485 communication
module CM1241
6ES7 241-1CH30-0XB0
6EP1 332-1SH71
6SL3211-0AB11-2UB1
BOP
min. 1
6SL3255-0AA00-4BA1
1LA7060-4AB10
6ES7 274-1XH30-0XA0
6AV6 647-0AD11-3AX0
Configuration Example X8
V1.0, ID number: 37604154
Note
DC/DC/DC
Optional
1 Automation Task
Accessory
Table 1-2
Component
No.
Note
PROFIBUS cable:
Length [m]
PB FC Standard
Bus line 2-wire
Shielded
6XV1830-0EH10
6ES7972-0BB12-0XA0
6SL3261-1BA00-0AA0
Optional
6SE6400-2FL01-0AB0
Optional
Commutation inductor
6SE6400-3CC00-4AB3
Optional
Note
6XV1870-3QH20
Programming package
Table 1-3
Component
STEP 7 Basic V10.5
No.
1
Note
6ES7 822-0AA0-0YA0
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Automation Solution
2.1
Connection diagram
Switch
Fuse
230VAC Fuse
KTP600
Inductor
(optional)
Inductor
(optional)
Inductor
(optional)
Inductor
(optional)
Filter
(optional)
Filter
(optional)
Filter
(optional)
Filter
(optional)
Note
Drive 2
Drive 3
Drive 4
PROFIBUS
cable
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Attention
Use shielded lines for motor connections, earth the shielding both on the
converter and the motor side using cable clamps.
2.2
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Figure 2-3
B
A
B
A
J
O
G
F
M
P H6
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
1
J
O
G
F
M
P H6
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
1
J
O
G
F
M
P H6
O
N
z0
H5
B
z0
1234567891
U
O
0
S
F
F
1
J
O
G
F
M
P H6
O
N
z0
H5
0
zB
1234567891
U
O
0
S
F
F
1
Pump 1
Pump 2
Pump 3
Pump 4
Address: 1
Address: 2
Address: 3
Address: 4
Figure 2-4
Switch to ON
2.3
USS protocol
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Note
The "USS_DRV" block exchanges data with the bus station by creating
request messages and evaluating answer messages. The instance data
block is used as storage. For each bus station an own "USS_DRV" block
has to be used.
Up to 16 called "USS_DRV" blocks share an instance data block. Up to
16 bus stations can be managed with a "USS_DRV" block.
Using the parameters on the left side of the "USS_DRV" block the switchon signal (RUN), for example, or the desired speed is sent to the assigned
bus station.
The status signals of the bus station are provided by block "USS_DRV" on
the right block side. The current speed of the bus station is indicated by the
parameter "Speed" (Figure 2-5).
10
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Figure 2-5
USS_DRV_DB
Reserved
1
Data Drive 1
State
2
3
4
5
Control
6
7
8
9
s
s
10
11
12
13
14
15
16
2.4
J
O
G
F
M 6
P
H
O
N
z0
H5
B
z0
1234567891
U
O
0
S
F
F
1
Address 1
Technological Features
As mapped out in Figure 2-6, the control program takes into consideration
that activated and cascaded pumps must have an identical flow rate. This
prevents the throttle check valves from reducing the water flow rate.
Figure 2-6
Throttle check valve
Consumer
Pump 4
Water reservoir
Configuration Example X8
V1.0, ID number: 37604154
11
2 Automation Solution
Delivery head H
Characteristic
1 Pump
Characteristic
2 Pumps
Characteristic
3 Pumps
Characteristic
4 Pumps
Btot.
Bthree
Btwo
System characteristic
Bindividual
Qindividual
Q2P parallel
Q3P parallel
Q4P parallel
100%
200%
300%
400%
Conveying current Q
2.5
12
If the demand increases to >100% and remains below 200%, the load is
distributed between pump P1 and P2. For a load of 200% both pumps
are used at 100% load each.
If the demand increases to >200% and remains below 300%, the load is
distributed between pump P1, P2 and P3. For a load of 300% all
3 pumps are used at 100% load each.
If the demand increases to >300% and remains below 400%, the load is
distributed between pump P1, P2, P3 and P4. For a load of 400% all
4 pumps are used at 100% load each.
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
Figure 2-8
400%
Setpoint
2/3
1
3/4
P1
1/2
0
2/3
2/3
2.6
15
20
P2
1
3/4
10
15
P3
1/2
10
1
3/4
P4
1/2
Note
10
1/2
0
2/3
1
3/4
The used algorithm assumes that all used pumps have the same
characteristics!
The control program records the operating hours of each pump. As soon as
a pump is running (even if only slowly) it is considered as switched on.
The speed of the pumps does not enter the calculation of the operating
hours. Only the effective runtimes are calculated.
Switch-on priorities of the frequency converters
If the demand increases to >100% and remains below 200%, the load is
distributed between pump P4 and P3. Pump P3 is selected as with
10 hours it has the lowest number of operating hours. For a load of
200% both pumps are used at 100% load each.
Configuration Example X8
V1.0, ID number: 37604154
13
2 Automation Solution
If the demand increases to >200% and remains below 300%, the load is
distributed between pump P4, P3 and P2. Pump P2 is selected as with
15 hours it has the lowest number of operating hours. For a load of
300% all 3 pumps are used at 100% load each.
If the demand increases to >300% and remains below 400%, the load is
distributed between pump P4, P3, P2 and P1. For a load of 400% all
4 pumps are used at 100% load each.
Figure 2-9
400%
Setpoint
2/3
1
3/4
1/2
20
2/3
25
15
15
20
25
P1
P2
1
3/4
P3
1/2
10
15
20
25
1
3/4
P4
1/2
2.7
20
1/2
10
2/3
20
1
3/4
15
2/3
20
10
15
20
25
Maintenance
The plant also offers the possibility of excluding individual pumps from the
process, e.g. during failure or if a pump needs to be serviced (as shown in
Figure 2-10).
As long as the requested water consumption is lower or equal 300%, and
an active pump is taken out of the group for servicing, its task is taken over
by a pump which is inactive at that time.
The control algorithm shall be explained using the following graphic.
14
If the demand increases to >100% and remains below 200%, the load is
distributed between pump P1 and P2. For a load of 200% both pumps
are used at 100% load each.
If the demand increases to >200% and remains below 300%, the load is
distributed between pump P1, P2 and P4. Since pump P3 is not
available due to maintenance works, the task is taken on by pump P4.
For a load of 300% all 3 pumps are used at 100% load each.
Configuration Example X8
V1.0, ID number: 37604154
2 Automation Solution
2/3
Setpoint
1
3/4
1/2
0
2/3
2/3
2/3
10
15
20
P1
1
3/4
1/2
P2
10
3/4
10
15
10
15
P3
1/2
1
3/4
P4
1/2
Configuration Example X8
V1.0, ID number: 37604154
15
3 Configuration
Configuration
3.1.1
Table 3-1
No.
Instruction
Note/picture
1.
Mount
the fuse
the PM 1207 power supply unit
the S7-1200 CPU 1214C
the CM1241
and the frequency converters
on a top hat rail.
2.
3.
4.
5.
6.
Note
For simulating the release of all frequency converters (status I0.0 to I0.3
= "1") we recommend using the simulator module (1214C - 14 E/A).
At this point it is assumed that the necessary software has been installed
on your computer and that you are familiar with handling the software.
Furthermore it is assumed, that STEP7 Basic V10.5 has been installed
on the standard Windows PC for operator control.
16
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
!
WARNING
3.1.2
Please carefully read all safety and warning notices given in the
operating instructions on the frequency converter and all warning
labels attached to the device before doing any installation and
commissioning procedures. Please maintain warning labels in a
legible condition and do not remove them from the device.
Table 3-2
No.
Function
1.
Connect your development system (PG/PC) to the S71200 CPU, using an Ethernet cable.
2.
3.
4.
5.
6.
Configuration Example X8
V1.0, ID number: 37604154
Remarks
17
3 Configuration
3.1.3
Table 3-3
No.
1.
Function
2.
3.
4.
5.
6.
7.
18
Remarks
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
3.1.4
Table 3-4
No.
Instruction
1.
2.
3.
4.
5.
6.
Remarks
Configuration Example X8
V1.0, ID number: 37604154
19
3 Configuration
3.1.5
Table 3-5
No.
Function
Remarks
1.
3.1.6
Table 3-6
No.
1.
Function
2.
Remarks
3.1.7
Step
Instruction
Remarks
1.
2.
20
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
3.
Instruction
Select parameter: P
Accept value: P
Remarks
Parameters
Value
P0010
30
P0970
P0010
P0100
P0304
230 V
P0307
0.12 kW
P0310
50 Hz
P0311
1350 r/min
P0700
Frequency setpoint
P1000
P1080
0.0 Hz
P1082
50.0 Hz
Startup ramp
P1120
10.0 s
Delay ramp
P1121
10.0 s
P3900
P0003
Reference frequency
P2000
50.0 Hz
P2010
Address (Slave)
P2011
P2012
P2013
Communication monitoring:
Value 0 without monitoring
P2014
P0971
These values are preset depending on the position of the DIP switch at the front of the
SINAMICS G110 (except for parameter value 2). Details on interaction of P0100 and position of
the DIP switch are given in the parameter list of SINAMICS G110. Parameter value and
position of the DIP switch must be related to parameter value 0 and 1!
Configuration Example X8
V1.0, ID number: 37604154
21
3 Configuration
Step
4.
5.
Instruction
Remarks
Parameters
Value
P0003
P0010
30
P0802
Step
Instruction
Remarks
1.
2.
Select parameter: P
Accept value: P
3.
4.
22
To adopt the settings of the second frequency converter and adjust the address
proceed as follows:
Function
Parameters
Value
P0003
P0010
30
P0803
P2011
P0971
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
Instruction
Remarks
1.
2.
Select parameter: P
Accept value: P
3.
4.
To adopt the settings of the third frequency converter and adjust the address
proceed as follows:
Function
Parameters
Value
P0003
P0010
30
P0803
P2011
P0971
Configuration Example X8
V1.0, ID number: 37604154
23
3 Configuration
Step
Instruction
Remarks
1.
2.
Select parameter: P
Accept value: P
3.
4.
Note
24
To adopt the settings of the fourth frequency converter and adjust the address
proceed as follows:
Function
Parameters
Value
P0003
P0010
30
P0803
P2011
P0971
Ensure that a blinking light is visible at the SINAMICS G110. If this is not the
case, it is in operation and a configuration is not possible.
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
3.2
Table 3-11
Step
Instruction
1.
2.
Configuration Example X8
V1.0, ID number: 37604154
Figure/short note
25
3 Configuration
3.3
Table 3-12
Step
Instruction
1.
2.
3.4
Figure/short note
Table 3-13
Step
1.
Instruction
2.
26
Figure/short note
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
3.
Instruction
Figure/short note
4.
5.
6.
7.
8.
Configuration Example X8
V1.0, ID number: 37604154
27
3 Configuration
3.5
Table 3-14
Step
1.
Instruction
2.
3.
4.
28
Figure/short note
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
5.
Instruction
6.
7.
8.
9.
Figure/short note
Configuration Example X8
V1.0, ID number: 37604154
29
3 Configuration
3.6
Table 3-15
Step
1.
Instruction
2.
3.
4.
30
Figure/short note
P1: 20
P2: 15
P3: 10
P4: 05
To do this you select the marked field,
enter the desired value and acknowledge
the input by pressing the Return key
20
15
10
P1
P2
P3
20
15
10
20
15
10
12
P4
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
5.
Instruction
6.
7.
Figure/short note
20
15
21
16
20
15
21
16
20
15
21
16
3.7
Table 3-16
Step
1.
Instruction
P1: 0
P2: 0
P3: 0
P4: 0
To do this you select the marked field,
enter the desired value and acknowledge
the input by pressing the Return key
Configuration Example X8
V1.0, ID number: 37604154
Figure/short note
P1
P2
P3
P4
31
3 Configuration
Step
2.
Instruction
3.
4.
5.
6.
Figure/short note
300,0
32
Configuration Example X8
V1.0, ID number: 37604154
3 Configuration
Step
7.
Instruction
Figure/short note
Configuration Example X8
V1.0, ID number: 37604154
33
4 Code Elements
Code Elements
4.1
Preliminary remarks
We offer you software examples with test code and test parameters as a
download. These software examples support you in the first steps and tests
with the configuration examples.
The software examples are always assigned to the components used in the
Configuration Example and show their basic interaction. However, they are
not real applications in the sense of technological problem solving with
definable properties.
4.2
Download
The software examples are available on the HTML page from which you
downloaded this document.
Table 4-1
File name
2009.06.05_CE_x8_V1d0.zip
34
Contents
STEP 7 Basic project for S7-1200
CPU1214C and KTP600
Configuration Example X8
V1.0, ID number: 37604154
5 History
History
Table 5-1
Version
20.05.2009
Modifications
First version
V1.0
Date
Configuration Example X8
V1.0, ID number: 37604154
35