S5-100U Introduction to STEP 5
Further Reduction in the Execution Time in Normal Mode
Logic operations executed in one input byte, output byte, or flag byte require only 2 µs per logic
operation. Program your control according to example 2.
A I 0.0 5
AN I 1.1 6
ON I 2.3 6
O I 3.5 6
= Q 4.2 8
A F 15.1 5
A F 16.3 6
AN F 17.7 6
= Q 4.5 8
Execution time 56 µs
STL
A I 0.0 5
AN I 0.1 2
ON I 0.3 2
O I 0.5 2
= Q 4.2 8
A F 15.1 5
A F 15.3 2
AN F 15.7 2
= Q 4.5 8
Execution time 36 µs
STL
Time/ µs Time/ µs
Approx. 6 µs/binary operation Approx. 4 µs/binary operation
Example 1: Example 2:
EWA 4NEB 812 6120-02
7-23