Siemens 6ED1050-1AA00-0BE8 User Manual

Page of 372
 
LOGO! 
Manual, 04/2011, A5E03556174-01 
349
 
Determining the cycle time 
B
 
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 a short test program. This 
test program is created in LOGO! and returns a value during its execution in parameter 
assignment mode from which the current cycle time is derived. 
Test program 
1.  Create the test program by linking an output to a threshold trigger and connecting the 
trigger input with an inverted flag. 
3DU
4[
%
0
0
0
%
2XWSXW4[RU
RWKHUIODJ0[
 
2.  Configure the threshold trigger as shown below. A pulse is generated in each program 
cycle due to the inverted flag. The trigger interval is set to 2 seconds. 
%
*B7 V
%
2II
2Q
3UHVV
 
3.  Now start the circuit program and switch LOGO! to parameter assignment mode. In this 
mode, view the trigger parameters. 
ID
%
2II
2Q
I
D
WRWDORIPHDVXUHGSXOVHVSHU
WLPHEDVH*B7
 
4.  The reciprocal value of f
a
 is equivalent to the LOGO! execution time of the current circuit 
program in its memory. 
 1/f
a
 = cycle time in s