6
Fre Par B001 ON =0+ OFF=0 G_T=02:00s 1 B002 M M1 X X1 En P Par B003 Prio = 0 Quit = off Text1: ISO8859_1 Text2: disabled hi High X X2 Zykluszeit ermitteln Determining the cycle time Die vollständige Abarbeitung eines Schaltprogramms, also hauptsächlich das Einlesen der Eingänge, das Bearbeiten des Schaltprogramms und das anschließende Auslesen der Ausgänge, bezeichnet man als Programmzyklus. Die Zykluszeit ist die Zeit, die benötigt wird, um ein Schaltprogramm einmal komplett abzuarbeiten. Die Zeit, die für einen Programmzyklus benötigt wird, kann durch dieses Testprogramm ermittelt werden. Die Zykluszeit ist abhängig von der Programmgröße: Je Funktion < 0,1 ms Der Kehrwert von "fa" ist gleich der Zykluszeit der LOGO! mit dem aktuell im Speicher enthaltenen Schaltprogramm. Integrieren Sie also diesen Programmteil in Ihr bestehendes Schaltprogramm um dessen Zykluszeit zu ermitteln. Nähere Informationen finden Sie im Handbuch im Kapitel B "Zykluszeit ermitteln". The program cycle is the complete execution of the circuit program, that is, primarily the reading in of the inputs, the processing of the circuit program and the subsequent reading out of the outputs. The cycle time is the time required to execute a circuit program once in full. The time required for a program cycle can be determined using this test program. The cycle time depends of the program size: Per function: < 0.1 ms The reciprocal value of "fa" is equivalent to the LOGO! execution time of the current circuit program in its memory. So integrate this program part in your existing circuit program to determine its cycle time. Further information you can find in the manual in chapter B "Determining the cycle time". fa = ist die Summe der gemessenen Impulse je Zeiteinheit G_T fa = total of measured pulses per timebase G_T Deutsch: English: Ersteller: ADBEJO0 Geprüft: Beyer Erstellt/Geändert: 12.02.10 14:34/12.02.10 15:23 Projekt: Zykluszeit ermitteln Anlage: Determining the cycle time Datei: determining_the_cycle_time.lsc Kunde: SIEMENS AG Zeichen-Nr.: Seite: 1 / 2

Determining the Cycle Time

Embed Size (px)

DESCRIPTION

PLC program cycle time

Citation preview

Page 1: Determining the Cycle Time

Fre

Par

B001

ON =0+OFF=0G_T=02:00s

1B002

MM1

XX1

En

PPar

B003

Prio = 0Quit = offText1: ISO8859_1Text2: disabled

hiHigh

XX2

Zykluszeit ermittelnDetermining the cycle time

Die vollständige Abarbeitung eines Schaltprogramms, also hauptsächlich das Einlesen der Eingänge, das Bearbeiten des Schaltprogramms und das anschließende Auslesen der Ausgänge, bezeichnet man als Programmzyklus. Die Zykluszeit ist die Zeit, die benötigt wird, um ein Schaltprogramm einmal komplett abzuarbeiten.Die Zeit, die für einen Programmzyklus benötigt wird, kann durch dieses Testprogramm ermittelt werden. Die Zykluszeit ist abhängig von der Programmgröße: Je Funktion < 0,1 msDer Kehrwert von "fa" ist gleich der Zykluszeit der LOGO! mit dem aktuell im Speicher enthaltenen Schaltprogramm.Integrieren Sie also diesen Programmteil in Ihr bestehendes Schaltprogramm um dessen Zykluszeit zu ermitteln.

Nähere Informationen finden Sie im Handbuch im Kapitel B "Zykluszeit ermitteln".

The program cycle is the complete execution of the circuit program, that is, primarily thereading in of the inputs, the processing of the circuit program and the subsequent reading out of the outputs. The cycle time is the time required to execute a circuit program once in full.The time required for a program cycle can be determined using this test program. The cycle time depends of the program size: Per function: < 0.1 msThe reciprocal value of "fa" is equivalent to the LOGO! execution time of the current circuit program in its memory.So integrate this program part in your existing circuit program to determine its cycle time.

Further information you can find in the manual in chapter B "Determining the cycle time".

fa = ist die Summe der gemessenenImpulse je Zeiteinheit G_Tfa = total of measured pulses pertimebase G_T

Deutsch:

English:

Ersteller: ADBEJO0Geprüft: BeyerErstellt/Geändert: 12.02.10 14:34/12.02.10 15:23

Projekt: Zykluszeit ermittelnAnlage: Determining the cycle timeDatei: determining_the_cycle_time.lsc

Kunde: SIEMENS AGZeichen-Nr.:Seite: 1 / 2

Page 2: Determining the Cycle Time

SIEMENS AG- Example Program

Siemens AG Example Program without Liability

Warning: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.

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 observesafe 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.

Warnung und Haftungsausschluss

SIEMENS AG- Beispielprogramm

Warning and Disclaimer of Liability

Siemens AGProgrammbeispiel ohne Gewähr

Warnung:Steuerungen können bei unsicheren Betriebszuständen ausfallen und dadurch den unkontrollierten Betrieb der gesteuerten Geräte verursachen.Solchegefä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.

Haftungsausschluss: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.

Ersteller: ADBEJO0Geprüft: BeyerErstellt/Geändert: 12.02.10 14:34/12.02.10 15:23

Projekt: Zykluszeit ermittelnAnlage: Determining the cycle timeDatei: determining_the_cycle_time.lsc

Kunde: SIEMENS AGZeichen-Nr.:Seite: 2 / 2

Page 3: Determining the Cycle Time

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

3

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

Blocknum

mer(Typ)

Parameter

B001(Schwellwertschalter) :

ON =0+

OFF=0

G_T=02:00s

B003(Meldetext) :

Prio = 0

Quit = off

Text1: ISO8859_1

Text2: disabled

-->

Tickereinstellung

- Zeichen für Zeichen

- Line1: N

- Line2: N

- Line3: N

- Line4: N

Meldeziel

- Beide

Line1.5 Param: B001 - Frequenz

Page 4: Determining the Cycle Time

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

4

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

Anschluss

Beschriftung

I1I2I3I4I5I6I7I8I9I10

I11

I12

I13

I14

I15

I16

I17

I18

I19

I20

I21

I22

I23

I24

F1F2F3F4S1

S2

S3

Page 5: Determining the Cycle Time

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

5

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

Anschluss

Beschriftung

S4

S5

S6

S7

S8

AI1

AI2

AI3

AI4

AI5

AI6

AI7

AI8

Q1

Q2

Q3

Q4

Q5

Q6

Q7

Q8

Q9

Q10

Q11

Q12

Q13

Q14

Q15

Q16

AQ

1

AQ

2

X1

X2

X3

X4

Page 6: Determining the Cycle Time

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

6

Ersteller:

AD

BE

JO0

Geprüft:

Beyer

Erstellt/G

eändert:12.02.10 14:34/12.02.10 15:23

Projekt:

Zykluszeit ermitteln

Anlage:

Determ

ining the cycle time

Datei:

determining_the_cycle_tim

e.lsc

Kunde:

SIE

ME

NS

AG

Zeichen-Nr.:

Seite:

Anschluss

Beschriftung

X5

X6

X7

X8

X9

X10

X11

X12

X13

X14

X15

X16