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.
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) | Resolution | Max Duration |
|---|---|---|
| 0 | 10 ms | 9.99 s |
| 1 | 100 ms | 99.9 s |
| 2 | 1 s | 999 s |
| 3 | 10 s | 9990 s |
Example: KT 030.2 = 30 × 1s = 30 seconds
S7 Equivalent
| S5 AWL | S7 Function | IEC 61131-3 |
|---|---|---|
| SI | S_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---|
Related Timer Commands
- SE (Extended Pulse) — Pulse runs full duration regardless of input
- SD (On-Delay) — Output delayed after input
- SS (Retentive On-Delay) — Stored on-delay
- SA (Off-Delay) — Output extended after input goes FALSE
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
S5 Timer Conversion: KT Values to IEC Timers
Complete guide to converting Siemens S5 KT timer values to S7 IEC timers (TON, TOF, TP). Includes BCD format explanation, conversion table with 20+ examples, and behavior differences between S5 and IEC timers.
12 min read
plc-documentationReading and Understanding S5 AWL Code: A Practical Guide
Learn to read Siemens S5 AWL (Instruction List) code from scratch. Covers the accumulator model, bit logic, load/transfer, timers, counters, jumps, and data blocks with real code examples and line-by-line explanations.
16 min read
migration-guideThe Siemens S5/S7 Converter Tool: What It Does and What It Doesn't
Honest assessment of the Siemens STEP 7 S5→S7 conversion tool. What it converts automatically, what it cannot handle, common errors, and how to deal with the remaining 20–40% that requires manual work.
12 min read
Analyze your PLC code with AI
PLCcheck Pro explains, documents, optimizes, and migrates PLC code — automatically.
Try PLCcheck Pro →Not affiliated with Siemens AG. S5, S7, STEP 5, STEP 7, and TIA Portal are trademarks of Siemens AG.