Sie sind auf Seite 1von 10

Date:

Checked:

Creator:

     
 

3

2

1

ID

Data Transfer (Read: Local<-Remote; Write: Local->Remote)

Local Properties(Client) TSAP: 20.00 Remote Properties(Server) IP Address192.168.1.101 TSAP: 10.01

Connection2 (Client)

Local Properties(Server) TSAP: 02.00 Connect with an Operator Panel (OP) Accept all connection requests Remote Properties(Client) TSAP: 02.00

Connection1 (Server)

Default gateway

IP Address Subnet Mask:

Module Address

Write

Read

Read

Operate

1/20/15 4:53 PM/8/3/19 11:03 AM

 

LOGO!

 
   

255.255.255.0

192.168.0.6

 
 

1

1

2

Length (Bytes)

     
 

Siemens

MB2

VB10

VB11

Address (Local)

File:

Installation:

Project:

   

DB2.DBB0

DB1.DBB92

DB1.DBB24

Address (Remote)

23753479_Set23_RegReal_V24.lsc

   
 

Page:

Diagram No.:

Customer:

1 / 10

   

Connection3 (Client)

Local Properties(Client) TSAP: 21.00 Remote Properties(Server) IP Address192.168.0.1 TSAP: 03.00

Data Transfer (Read: Local<-Remote; Write: Local->Remote)

Operate

Address (Remote)

DB1.DBB94

DB1.DBB96

Date:

1/20/15 4:53 PM/8/3/19 11:03 AM

File:

23753479_Set23_RegReal_V24.lsc

Page:

2 / 10

11:03 AM File: 23753479_Set23_RegReal_V24.lsc Page: 2 / 10 Checked: Creator: LOGO! Siemens Installation: Project:

Checked:

Creator:

Page: 2 / 10 Checked: Creator: LOGO! Siemens Installation: Project: Diagram No.: Customer:

LOGO!

Page: 2 / 10 Checked: Creator: LOGO! Siemens Installation: Project: Diagram No.: Customer: ID 1

Siemens

Page: 2 / 10 Checked: Creator: LOGO! Siemens Installation: Project: Diagram No.: Customer: ID 1 2

Installation:

Project:

/ 10 Checked: Creator: LOGO! Siemens Installation: Project: Diagram No.: Customer: ID 1 2 Write Read
/ 10 Checked: Creator: LOGO! Siemens Installation: Project: Diagram No.: Customer: ID 1 2 Write Read

Diagram No.:

Customer:

LOGO! Siemens Installation: Project: Diagram No.: Customer: ID 1 2 Write Read 2 2 Length (Bytes)

ID
1
2

Write

Read

2

2

Length (Bytes)

Address (Local)

VB12

VB14

Installation: Project: Diagram No.: Customer: ID 1 2 Write Read 2 2 Length (Bytes) Address (Local)
Installation: Project: Diagram No.: Customer: ID 1 2 Write Read 2 2 Length (Bytes) Address (Local)

Date:

Checked:

Creator:

 

-

-

-

-

-

-

WIRING Connect all components like shown in the documentation.

alarm for pump running dry

Display of pressure setpoint and actual value, revolution setpoint of motor, running hours counter,

Pressure transmission with SITRANS P

-Filling level monitoring with SIRIUS sensor and monitoring srelais

 

For this program exists a related documentation formatted in PDF.

 

LOGO! Set 23:

Real application with LOGO! and SINAMICS V20

for small applications controlling revolutions of motors optimally regulatedPI-controller

VERDRAHTUNG Verdrahten Sie alle Komponenten, wie in der Dokumentation beschrieben.

Alarmierung bei Trockenlauf

Anzeige des Druck-Soll- und -Istwerts, Solldrehzahl des Motors, Betriebsstundenzähler,

Druckerfassung mitSITRANS P Druckmessumformer

-Füllstandsmessung mit SIRIUS Sonde und Überwachungsrelais

PI-Regelung mit LOGO!

ANGEWANDTE FUNKTIONEN:

Zu diesem Programm existiert eine entsprechende Dokumentation im PDF-Format.

 

LOGO! Set 23:

Reale Anwendung mit LOGO! und SINAMICS V20

PI-Regler für einfache Anwendungen

1/20/15 4:53 PM/8/3/19 11:03 AM

 

LOGO!

PI-controller by LOGO!

APPLIED FUNCTIONS:

DOCUMENTATION

DOKUMENTATION

 

Siemens

       
 

Users are solely responsible for the correct operation of their LOGO! systems. This program does not relieve you of the obligation to observe safe practices during implementation, installation, operation, and maintenance. By using this example program created by Siemens AG, you acknowledge that Siemens AG cannot under any circumstances be held liable for any possible personal injury or material damage resulting from the use of this program.

Disclaimer of Liability:

Unsafe operating conditions can cause controllers to fail, resulting in unchecked operation of controlled devices. Such hazardous events can cause death and/or serious injury and/or material damage.You must therefore provide an emergency stop function and electric or other redundant safety devices that are independent of your automation system.

Warning:

Siemens AG Example Program without Liability

Warning and Disclaimer of Liability

SIEMENS AG- Example Program

 

Jeder Anwender ist für den sachgemäßen Betrieb seines LOGO-Systems selbst verantwortlich. Dieses Programm enthebt Sie nicht der Verpflichtung zu sicherem Umgang bei Anwendung, Instalation, Betrieb und Wartung. Durch die Nutzung dieses von der Siemens AG erstellten Programm-Beispieles erkennen Sie an, daß die Siemens AG unter keinen Umständen für möglicherweise infolge der Nutzung auftretende Sach- und/oder Personenschäden haftbar gemacht werden kann.

Haftungsausschluss:

 

Steuerungen können bei unsicheren Betriebszuständen ausfallen und dadurch den unkontrollierten Betrieb der gesteuerten Geräte verursachen.Solche gefährliche Ereignisse können zu tödlichen und/oder schweren Verletzungen und/oder Sachschaden führen.Sorgen Sie daher für eine NOT-AUS-Funktion, elektrische oder andere redundante Sicherheitseinrichtungen, die von Ihrem Automatisierungssystem unabhängig sind.

Warnung:

Siemens AG Programmbeispiel ohne Gewähr

Warnung und Haftungsausschluss

SIEMENS AG- Beispielprogramm

File:

Installation:

Project:

Drehzahlen von Motoren optimal regeln

23753479_Set23_RegReal_V24.lsc

               

Page:

Diagram No.:

Customer:

   

3 / 10

     

LOGO! Set 23

Start=0

Off=800

On=0+

Rem = off

Messages

Illumination

Permanent enable function blocks

Language

M27 (Message Character Set Flag)

Message Text Nr.2 Bargraph on Logo! Display

M29 (LOGO! Display red backlight)

M31 (LOGO! TD red backlight)

Date:

1/20/15 4:53 PM/8/3/19 11:03 AM

File:

23753479_Set23_RegReal_V24.lsc

Page:

4 / 10

10V] PI-Control Digital Input: Enable PI-Controller if - water supply OK I1 Analogue Input: AI2
10V]
PI-Control
Digital Input:
Enable PI-Controller if
- water supply OK
I1
Analogue Input:
AI2
Pressure[0
AI
Digital Input:
Enable frequency inverter if
- water supply OK
I1
I
B001/A/M
B017/En
B016/2
TD Softkey
M1
F4
F4
F
B019
B010
&
>1
TD Softkey
F1
F1
F
B018
>1

Checked:

Creator:

Interface SINAMICS V20 Analogue Output: Digital Output: frequency inverter Elapsed hour meter Elabsed hours meter
Interface SINAMICS V20
Analogue Output:
Digital Output:
frequency inverter
Elapsed hour meter
Elabsed hours meter
MI=1000h 0m+
Manage PI Setpoint by F1 and F4
Q->0=R+En
increment/decrement
Setpoint
Analogue amplifier: in: Revolution[V] Out: Revolution[V] Scale for "B003" B006 Ax A Par Gain =1.35+
Analogue amplifier:
in: Revolution[V]
Out: Revolution[V]
Scale for "B003"
B006
Ax
A
Par
Gain =1.35+
Offset=0
PI-Controller:
Point =0
In: Pressure[V]
Out: Revolution[V]
B001
A/M
R
A
PV
Revolution[0
Par
Enable
B029
Rem = on
Gain =2.5+
frequency
Ax
A
inververter
Enable
Offset=0
Par
if revolution [V]
SP=B15
is not zero
Mq=0
Gain=1.0+
KC=1.4
Offset=0
TI=00:02m
On=0
Dir=+
Off=0
Point =0
Point=0 B030
&
B004
R
En
Ral
Par
OT=
Keep Softkey pressed
to activate timer
B011
B012
>1
Trg
T
generates impulses to
increment/decrement
Setpoint by pressend softkey
B013
En
Inv
B014
Rem = off
Par
02:00s+
=1
Rem = off
B015
00:05s+
R
00:05s
Cnt
Dir
Par

LOGO!

10V] AM1 AM AQ1 AQ Q4 Q Dummy X4 X 1h 0m M1 M B010/1
10V]
AM1
AM
AQ1
AQ
Q4
Q
Dummy
X4
X
1h 0m
M1
M
B010/1

Siemens

Installation:

Project:

Diagram No.:

Customer:

TD Softkey

F3

High
hi

TD Softkey

F2

F2
F

F3
F

I1
I1
M25 (LOGO! Display white backlight) M26 (LOGO! TD white backlight)
M25 (LOGO! Display white backlight)
M26 (LOGO! TD white backlight)
RS Relay B021 B008 >1 Trg S R RS Par RS Rem = off RS
RS Relay
B021
B008
>1
Trg
S
R
RS
Par
RS
Rem = off
RS Relay
B009
Trg
S
R
RS
Par
RS
Rem = off
Flag for
RS Relay
B020
B007
>1
Trg
S
character set
M
R
RS
Par
RS
Rem = off
En
P
Message Text Nr.1
Actual Pressure
Revolution
B016
&
B003
B005
En
Par
P
Prio = 3
Quit = off
Text1: enabled
Text2: enabled
Par
Prio = 2
Quit = off
Text1: enabled
Text2: enabled
Message Text Nr.4
Alarm water supply
B017
I1
En
P
M
Par
Prio = 4
Quit = off
Text0GBK
M
Text1GBK
Flag for illumination of Logo! Display M Flag for illumination of Logo! TD M B002
Flag for
illumination of Logo! Display
M
Flag for
illumination of Logo! TD
M
B002
En
P
Par
Prio = 1
Quit = off
Text1: enabled
Text2: enabled

Dummy

Q2
Q

Q3
Q

X1
X

Checked:

Creator:

Date:

VW: 11

LOGO!

1/20/15 4:53 PM/8/3/19 11:03 AM

Siemens

Project:

File:

Installation:

23753479_Set23_RegReal_V24.lsc

Customer:

Page:

Diagram No.:

5 / 10

Value of active users shows the actual number of activated users NAI1 AM2 AM AI
Value of active users
shows the actual number
of activated users
NAI1
AM2
AM
AI
Block Number (Type) Parameter AI2(Analog input) : Analogue Input: Pressure[0 10V] AQ1(Analog output) : Analogue
Block Number (Type)
Parameter
AI2(Analog input) :
Analogue Input:
Pressure[0 10V]
AQ1(Analog output) :
Analogue Output:
Revolution[0 10V]
B001(PI controller) :
PI-Controller:
Rem = on
Gain =2.5+
In: Pressure[V]
Offset=0
Out: Revolution[V]
SP=B15
Mq=0
KC=1.4
TI=00:02m
Dir=+
Point =0
B002(Message texts) :
Message Text Nr.3
Elapsed hours meter
Prio = 1
Quit = off
Text1: enabled
Text2: enabled
-->
Ticker setting
0:LightOFF
L
a
p
s
e d
t
i
m e
L
a p
s
e d
Q3
- LBL
1:Light ON
- Line1: Y
B004 - OT - hour
- Line2: N
1:0 Hours
- Line3: N
- Line4: N
R
e m a
i
n
i
n g
t
i
m e
Message Destination
-
LOGO! TD
B004 - MN - h
999:0 Hou
Line1.25 IOStatus: Q3;Off="LightOFF";On="Light ON"
Line2.8 B004-OT_h:m
Line4.9 B004-MN_h:m
-->
Ticker setting
A
b
g
e
l
a u
f
e n
e
Z
e
i
t
- CBC
- Line1: N
B004 - OT - hour
- Line2: N
1:0 Hours
- Line3: N
- Line4: N
R
e
s
t
z
e
i
t
Message Destination
-
LOGO! TD
B004 - MN - h
999:0 Hou
Line2.8 B004-OT_h:m
Line4.9 B004-MN_h:m
Creator:
LOGO!
Project:
Customer:
Checked:
Siemens
Installation:
Diagram No.:
Date:
1/20/15 4:53 PM/8/3/19 11:03 AM
File:
23753479_Set23_RegReal_V24.lsc Page:
6 / 10
Block Number (Type) Parameter B003(Message texts) : Message Text Nr.1 Actual Pressure Revolution Prio =
Block Number (Type)
Parameter
B003(Message texts) :
Message Text Nr.1
Actual Pressure
Revolution
Prio = 3
Quit = off
Text1: enabled
Text2: enabled
-->
Ticker setting
P
I
-
C o
n
t
r
o
l
- LBL
- Line1: N
B015 -
- Line2: N
S
P
:
b
m
a
r
0
- Line3: N
- Line4: N
B001 - PV,
P
V
:
m
b
a
r
Message Destination
0
-
LOGO! TD
B006 - Ax,
P
u m p
R
e v
0
Line2.6 B015-Cnt
Line3.6 B001-PV
Line4.6 B006-Ax
-->
Ticker setting
P
I
-
R
e g
e
l
u
n g
- LBL
- Line1: N
B015 -
- Line2: N
S
W :
m
b
a
r
0
- Line3: N
- Line4: N
B001 - PV,
I
W :
m
b
a
r
Message Destination
0
-
LOGO! TD
B006 - Ax,
P
u m p
e
U
m d
r
0
Line2.6 B015-Cnt
Line3.6 B001-PV
Line4.6 B006-Ax
B004(Hours Counter) :
MI=1000h 0m+
Elabsed hours meter
OT=
1h 0m
Q->0=R+En
Creator:
LOGO!
Project:
Customer:
Checked:
Siemens
Installation:
Diagram No.:
Date:
1/20/15 4:53 PM/8/3/19 11:03 AM
File:
23753479_Set23_RegReal_V24.lsc Page:
7 / 10
Block Number (Type) Parameter B005(Message texts) : Message Text Nr.2 Bargraph on Logo! Display Prio
Block Number (Type)
Parameter
B005(Message texts) :
Message Text Nr.2
Bargraph on Logo! Display
Prio = 2
Quit = off
Text1: enabled
Text2: enabled
-->
Ticker setting
P
I
-
C
o n
t
r
o
l
- LBL
- Line1: N
B015 - Counter
- Line2: N
S
P
:
Bar: 0
- Line3: N
- Line4: N
B001 - PV, amplified
P
V
:
Message Destination
Bar:
0
-
LOGO! Display
B006 - Ax, amplified
P
u m p
:
Bar:
0
Line2.7 Bar: B015-Cnt;Max=1600;Min=0;Dir=Hor;Len=10
Line3.7 Bar: B001-PV;Max=1600;Min=0;Dir=Hor;Len=10
Line4.7 Bar: B006-Ax;Max=2845;Min=0;Dir=Hor;Len=10
-->
Ticker setting
P
I
-
R e
g e
l
u
n g
- LBL
- Line1: N
B015 - Counter
- Line2: N
S
W :
Bar: 0
- Line3: N
- Line4: N
B001 - PV, amplified
I
W :
Message Destination
Bar:
0
-
LOGO! Display
B006 - Ax, amplified
P
u m p e
:
Bar:
0
Line2.7 Bar: B015-Cnt;Max=2500;Min=0;Dir=Hor;Len=10
Line3.7 Bar: B001-PV;Max=2500;Min=0;Dir=Hor;Len=10
Line4.7 Bar: B006-Ax;Max=1350;Min=0;Dir=Hor;Len=10
B006(Analog Amplifier) :
Gain =1.35+
Analogue amplifier:
Offset=0
in: Revolution[V]
Out: Revolution[V]
Scale for "B003"
Point =0
B007(Pulse Relay) :
RS
Rem = off
B008(Pulse Relay) :
RS
Rem = off
B009(Pulse Relay) :
RS
Rem = off
B012(On-Delay) :
Rem = off
02:00s+
B013(Asynchronous Pulse Generator) :
Rem = off
00:05s+
00:05s
Creator:
LOGO!
Project:
Customer:
Checked:
Siemens
Installation:
Diagram No.:
Date:
1/20/15 4:53 PM/8/3/19 11:03 AM
File:
23753479_Set23_RegReal_V24.lsc Page:
8 / 10
Block Number (Type) Parameter B015(Up/Down counter) : Rem = off On=0+ Off=800 Start=0 B017(Message texts)
Block Number (Type)
Parameter
B015(Up/Down counter) :
Rem = off
On=0+
Off=800
Start=0
B017(Message texts) :
Message Text Nr.4
Alarm water supply
Prio = 4
Quit = off
Text1: enabled
Text2: enabled
-->
Ticker setting
- CBC
- Line1: N
- Line2: N
W a
t
e
r
s
u p
p
l
y
- Line3: N
- Line4: N
i
n
t
e
r
r
u p
t
e
d
Message Destination
-
Both
-->
Ticker setting
- CBC
- Line1: N
- Line2: N
W a
s
s
e
r
z
u
f
u h
r
- Line3: N
- Line4: N
u
n
t
e
r
b
r
o c
h e
n
Message Destination
-
Both
B029(Analog threshold trigger) :
Gain=1.0+
Enable
frequency
inververter
if revolution [V]
is not zero
Offset=0
On=0
Off=0
Point=0
I1(Input) :
Digital Input:
Enable frequency inverter if
- water supply OK
NAI1(Network analog input) :
VW11
shows the actual number
of activated users
Q4(Output) :
Digital Output:
Enable
frequency inverter
X1(Open connector) :
Dummy
X4(Open connector) :
Dummy
Creator:
LOGO!
Project:
Customer:
Checked:
Siemens
Installation:
Diagram No.:
Date:
1/20/15 4:53 PM/8/3/19 11:03 AM
File:
23753479_Set23_RegReal_V24.lsc Page:
9 / 10
Connection Label I1 NAI1 F1 F2 F3 F4 AI2 Q2 Q3 Q4 AQ1 X1 X4
Connection
Label
I1
NAI1
F1
F2
F3
F4
AI2
Q2
Q3
Q4
AQ1
X1
X4
Creator:
LOGO!
Project:
Customer:
Checked:
Siemens
Installation:
Diagram No.:
Date:
1/20/15 4:53 PM/8/3/19 11:03 AM
File:
23753479_Set23_RegReal_V24.lsc Page:
10 / 10