E-1
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
Execution Times for STL Instructions
Table E-1 lists the basic execution times of the STL instructions for the CPU 210. The
calculation of the basic execution time for an STL instruction shows the time required for
executing the logic, or function, of the instruction when power flow is present (where the
top-of-stack value is ON or 1).
For some instructions, the execution of that function is conditional upon the presence of
power flow: the CPU performs the function only when power flow is present to the instruction
(when the top-of-stack value is ON or 1).
The overhead for the CPU 210 is 140 s per scan. There is also an additional overhead that
is associated with the system clock: add 60 s for every 1 ms counted by the system clock.
Table E-1 Execution Times for the STL Instructions (in µs)
Instruction
Description On (µs) Off (µs)
= Output valid for Q, M 120 120
A And valid for I, M, SM 110 110
ALD And Load 60 60
AN And Not valid for I, M, SM 80 80
AW < = And Word if less than or equal 300 300
AW= And Word if equal 300 300
AW > = And Word if greater than or equal 300 300
CTUD Up/Down Counter 110 100
DECW Decrement Word 140 70
DISI Disable Interrupts 60 60
ED Edge Down (Negative Transition) 120 120
ENI Enable Interrupts 60 60
EU Edge Up (Positive Transition) 110 110
INCW Increment Word 140 70
INT Interrupt Routine
Add 110 µs if the interrupt routine uses any of the
following instructions:
S MOVW
S LDW<=, LDW>=, LDW=
S OW<=, ,OW>=, OW=
S AW<=, AW>=, AW=
30
Not applicable
JMP Jump to Label 70 70
LBL Label 0 0
E