LOGO! Manual
A5E00067781 01
210
C Determining the Cycle Time
The program cycle is the complete execution of the pro-
gram, primarily the reading in of the inputs, the processing
of the program and the subsequent reading out of the out-
puts. The cycle time is the time required to execute a pro-
gram once in full.
The time required for a program cycle can be determined
using a short test program. The test program is created in
LOGO! and produces a value during processing in parame-
terization mode from which the current cycle time can be
calculated.
Test program
1. Create the test program by linking an output or marker
to a threshold switch and by switching a clock pulse
generator at its input, which is switched on by a hi sig-
nal.
Hi
Par
Qx
T
B02
B01
Output Q
or
Memory
marker M
2. Parameterize the two blocks as shown below. A clock
pulse is generated in each program cycle based on the
cycle time of 0 seconds. The time interval of the thresh-
old switch is set to 2 seconds.
B02:T
T =00.00s+
B01:Par
SW =1000+
SW =0000
G_T=02.00s