PLCcheck

S5 AWL Command: SI (Pulse Timer)

S5 AWL instruction SI (Zeit als Impuls): Starts a pulse timer. Output is TRUE for the set duration, but goes FALSE immediately if the input goes FALSE before the timer expires.

·3 min read
S5AWLSItimerpulseImpulsKTTP

Diesen Artikel auf Deutsch lesen

S5 AWL Command: SI (Pulse Timer)

SI starts a pulse timer. The timer output is TRUE for the programmed duration. If the start condition (VKE) goes FALSE before the timer expires, the output goes FALSE immediately — the pulse is cut short.

Syntax

L  KT xxx.y     // Load timer value (xxx = value, y = time base)
SI T n           // Start timer n as pulse

Time Bases

Time Base (y)ResolutionMax Duration
010 ms9.99 s
1100 ms99.9 s
21 s999 s
310 s9990 s

Example: KT 030.2 = 30 × 1s = 30 seconds

S7 Equivalent

S5 AWLS7 FunctionIEC 61131-3
SIS_PULSE (STL)TP (Pulse timer)

Important difference: The S5 SI timer is cut short when the input goes FALSE. The IEC TP timer runs for the full duration regardless of the input. For exact SI behavior in S7, use S_PULSE (S7-300/400 compatibility function), not TP.

Code Example

U   E 0.0          // Start condition
L   KT 050.1       // 50 × 100ms = 5 seconds
SI  T 1             // Start T1 as pulse timer

U   T 1             // Query timer status
=   A 4.0           // Output ON for max 5 seconds

Behavior: When E 0.0 goes TRUE, A 4.0 goes TRUE for 5 seconds. If E 0.0 goes FALSE after 3 seconds, A 4.0 goes FALSE after 3 seconds (not 5).

Timing Diagram

E 0.0:  ____/‾‾‾‾‾‾‾‾\____
T 1:    ____/‾‾‾‾‾\________    (cut short)
        |---5s max---|

Try our free tools: S5 Timer Calculator → | S5→S7 Address Converter →

Part of the S5 AWL Command Reference. Maintained by PLCcheck.ai.


Analyze Your S5 Code Automatically

PLCcheck Pro reads your complete S5 AWL program and explains every instruction — including this one — in plain language. Upload your code and get instant documentation, S7 equivalents, and migration guidance.

Upload S5 code for free analysis → | S5→S7 Migration Guide →

Related Articles

Analyze your PLC code with AI

PLCcheck Pro explains, documents, optimizes, and migrates PLC code — automatically.

Try PLCcheck Pro →
← Back to Blog

Not affiliated with Siemens AG. S5, S7, STEP 5, STEP 7, and TIA Portal are trademarks of Siemens AG.