User Manual

LOGO!
Manual, 06/2014, A5E33039675
319
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 writing the
outputs. The cycle time is the time required to execute a circuit program once in full.
You can determine the time required for a program cycle using a short test program. Create
this test program in LOGO! to return a value from which you can calculate the cycle time.
Test program
To program this test program, follow these steps:
1. Create the test program by linking an output to a threshold trigger and connecting the
trigger input with an inverted flag.
2. Configure the threshold trigger as shown below. LOGO! generates a pulse in each
program cycle due to the inverted flag. The trigger interval is 2 seconds.
3. Now start the circuit program and switch LOGO! to parameter assignment mode. In this
mode, view the trigger parameters.
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