Sie sind auf Seite 1von 10

Module Address

IP Address 192.168.0.6
Subnet Mask: 255.255.255.0
Default gateway
Connection1 (Server)
Local Properties(Server)
TSAP: 02.00 Connect with an Operator Panel (OP)
Accept all connection requests
Remote Properties(Client)
TSAP: 02.00
Connection2 (Client)
Local Properties(Client)
TSAP: 20.00
Remote Properties(Server)
IP Address192.168.1.101
TSAP: 10.01
Data Transfer (Read: Local<-Remote; Write: Local->Remote)
ID Operate Length (Bytes) Address (Local) Address (Remote)
1 Read 2 VB11 DB1.DBB24
2 Read 1 VB10 DB1.DBB92
3 Write 1 MB2 DB2.DBB0
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: 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)
ID Operate Length (Bytes) Address (Local) Address (Remote)
1 Read 2 VB12 DB1.DBB94
2 Write 2 VB14 DB1.DBB96
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: 2 / 10
PI-Regler für einfache Anwendungen Drehzahlen von Motoren optimal regeln
Reale Anwendung mit LOGO! und SINAMICS V20
LOGO! Set 23: SIEMENS AG- Beispielprogramm
Warnung und Haftungsausschluss
DOKUMENTATION Siemens AG
Zu diesem Programm existiert eine entsprechende Dokumentation im PDF-Format. Programmbeispiel ohne Gewähr
ANGEWANDTE FUNKTIONEN: Warnung:
- PI-Regelung mit LOGO! Steuerungen können bei unsicheren Betriebszuständen ausfallen und dadurch den unkontrollierten Betrieb der gesteuerten Geräte verursachen.Solche
-Füllstandsmessung mit SIRIUS Sonde und Überwachungsrelais 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,
- Druckerfassung mitSITRANS P Druckmessumformer elektrische oder andere redundante Sicherheitseinrichtungen, die von Ihrem Automatisierungssystem unabhängig sind.
- Anzeige des Druck-Soll- und -Istwerts, Solldrehzahl des Motors, Betriebsstundenzähler,
Alarmierung bei Trockenlauf Haftungsausschluss:
Jeder Anwender ist für den sachgemäßen Betrieb seines LOGO-Systems selbst verantwortlich. Dieses Programm enthebt Sie nicht der Verpflichtung zu sicherem
VERDRAHTUNG Umgang bei Anwendung, Instalation, Betrieb und Wartung. Durch die Nutzung dieses von der Siemens AG erstellten Programm-Beispieles erkennen Sie an, daß
Verdrahten Sie alle Komponenten, wie in der Dokumentation beschrieben. die Siemens AG unter keinen Umständen für möglicherweise infolge der Nutzung auftretende Sach- und/oder Personenschäden haftbar gemacht werden kann.
PI-controller for small applications controlling revolutions of motors optimally regulated
Real application with LOGO! and SINAMICS V20
LOGO! Set 23:
SIEMENS AG- Example Program
Warning and Disclaimer of Liability
DOCUMENTATION Siemens AG
For this program exists a related documentation formatted in PDF. Example Program without Liability
APPLIED FUNCTIONS: Warning:
- PI-controller by LOGO! Unsafe operating conditions can cause controllers to fail, resulting in unchecked operation of controlled devices.
-Filling level monitoring with SIRIUS sensor and monitoring srelais Such hazardous events can cause death and/or serious injury and/or material damage.You must therefore provide an emergency stop
- Pressure transmission with SITRANS P function and electric or other redundant safety devices that are independent of your automation system.
- Display of pressure setpoint and actual value, revolution setpoint of motor, running hours counter,
alarm for pump running dry Disclaimer of Liability:
Users are solely responsible for the correct operation of their LOGO! systems. This program does not relieve you of the obligation to observe
WIRING safe practices during implementation, installation, operation, and maintenance. By using this example program created by Siemens AG,
Connect all components like shown in the documentation. 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.
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: 3 / 10
LOGO! Set 23
Analogue amplifier:
in: Revolution[V]
PI-Control Out: Revolution[V]
Scale for "B003" Illumination
B006 AM1
Ax
TD Softkey
A AM Flag for
Par F3
F3 B021 RS Relay illumination of Logo! Display
B008 M25 (LOGO! Display white backlight) Q2
F >1 Trg
Gain =1.35+ S
M Q
PI-Controller: Offset=0 R
Digital Input: Par RS
In: Pressure[V] Point =0
Enable PI-Controller if RS
- water supply OK Out: Revolution[V] Interface SINAMICS V20 Rem = off
I1 B001
A/M
R Analogue Output: AQ1
PV A Revolution[0..10V]
Analogue Input:
AI2 Par
AQ Flag for
Pressure[0..10V]
AI RS Relay illumination of Logo! TD
Enable B009 M26 (LOGO! TD white backlight) Q3
Rem = on B029 frequency Q4 Trg
Digital Output:
Gain =2.5+
Ax
A inververter
S
M Q
Enable Q R
Offset=0 Par if revolution [V] frequency inverter
Par RS
RS
SP=B15 is not zero
Mq=0 Rem = off
Gain=1.0+
KC=1.4 Offset=0 Language
Digital Input: TI=00:02m On=0 TD Softkey
Enable frequency inverter if Dir=+ Off=0 F2 Flag for
- water supply OK Point =0 Point=0 B030 RS Relay character set
F2 B020
B007 M27 (Message Character Set Flag)
I1 & F >1 Trg
S
M
I R
Par RS
B001/A/M Elapsed hour meter RS
Elabsed hours meter Dummy Rem = off
B017/En
B004 X4
R
B016/2 En X
Ral
Par Messages
Message Text Nr.1
Permanent enable function blocks
MI=1000h 0m+ Actual Pressure Message Text Nr.2
High
OT= 1h 0m B016 Revolution Bargraph on Logo! Display Message Text Nr.3
hi B003
Manage PI Setpoint by F1 and F4 Q->0=R+En I1
& En B005 Elapsed hours meter Dummy
P En
B002 X1
Par P En
TD Softkey Prio = 3 Par P X
M1
F4 Prio = 2 Par
Quit = off
F4 B010 Quit = off Prio = 1
B019 Text1: enabled
F & Text1: enabled Quit = off
>1 Keep Softkey pressed Text2: enabled
Text2: enabled Text1: enabled
B011 to activate timer
Text2: enabled
B012 generates impulses to
>1 Trg
increment/decrement
T Setpoint by pressend softkey
B013
En
Inv
Rem = off B014
Par
=1 Message Text Nr.4
02:00s+ increment/decrement
TD Softkey Alarm water supply
F1 Setpoint
Rem = off I1 B017 M29 (LOGO! Display red backlight)
B015 M1 En
F1 B018 00:05s+ R P
M
B010/1
F >1 00:05s Cnt
M Par
Dir Prio = 4
Par
Quit = off M31 (LOGO! TD red backlight)
Text0GBK M
Text1GBK
Rem = off
On=0+
Off=800
Start=0
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: 4 / 10
Value of active users
shows the actual number
of activated users
NAI1 AM2
AI AM
VW: 11
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: 5 / 10
Block Number (Type) Parameter

AI2(Analog input) :
Analogue Input:
Pressure[0..10V]

AQ1(Analog output) :
Analogue Output:
Revolution[0..10V]

B001(PI controller) : Rem = on


PI-Controller: 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) : Prio = 1


Message Text Nr.3 Quit = off
Elapsed hours meter Text1: enabled
Text2: enabled

0:LightOFF --> Ticker setting


L a p s e d t i m e L a p s e d Q3 1:Light ON - LBL
- 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.lscPage: 6 / 10
Block Number (Type) Parameter

B003(Message texts) : Prio = 3


Message Text Nr.1 Quit = off
Actual Pressure Text1: enabled
Revolution Text2: enabled
--> Ticker setting
P I - C o n t r o l - LBL
- Line1: N
B015 - ... - Line2: N
S P : 0 mb a r
- Line3: N
- Line4: N
B001 - PV,...
P V : mb a r Message Destination
0
- LOGO! TD
B006 - Ax, ...
P u mp 0 R e v

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
SW : 0 mb a r
- Line3: N
- Line4: N
B001 - PV,...
I W : mb a r Message Destination
0
- LOGO! TD
B006 - Ax, ...
P u mp e 0 Umd r

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.lscPage: 7 / 10
Block Number (Type) Parameter

B005(Message texts) : Prio = 2


Message Text Nr.2 Quit = off
Bargraph on Logo! Display 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 um 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 um 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] Point =0
Out: Revolution[V]
Scale for "B003"

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.lscPage: 8 / 10
Block Number (Type) Parameter

B015(Up/Down counter) : Rem = off


On=0+
Off=800
Start=0

B017(Message texts) : Prio = 4


Message Text Nr.4 Quit = off
Alarm water supply 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 Offset=0
frequency On=0
inververter Off=0
if revolution [V] Point=0
is not zero

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.lscPage: 9 / 10
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.lscPage: 10 / 10