PLCcheck

S5 Timer Types to S7 Equivalents: SI/SE/SD/SS/SA → TON/TOF/TP

Comparison table of all five S5 timer types (SI, SE, SD, SS, SA) with their S7 STL and IEC 61131-3 equivalents. Behavior differences and migration notes.

·5 min read
S5S7timerSISESDSSSATONTOFTPconversionIEC

Diesen Artikel auf Deutsch lesen

S5 Timer Types to S7 Equivalents: SI/SE/SD/SS/SA → TON/TOF/TP

Complete Comparison Table

S5 TimerName (EN)Name (DE)S7 STL FunctionIEC 61131-3Exact Match?
SIPulseImpulsS_PULSETP⚠️ Approximate — SI is cut short, TP runs full duration
SEExtended PulseVerlängerter ImpulsS_PEXTTP⚠️ Approximate — SE is retriggerable, TP is not
SDOn-DelayEinschaltverzögerungS_ODTTONExact match
SSRetentive On-DelaySpeichernde EinschaltverzögerungS_ODTS❌ No IEC equivalent (SS ≠ TONR)
SAOff-DelayAusschaltverzögerungS_OFFDTTOFExact match

Behavior Summary

SI (Pulse) → TP (approximate)

SE (Extended Pulse) → TP (approximate)

SD (On-Delay) → TON ✅

SS (Retentive On-Delay) → No IEC equivalent ❌

SA (Off-Delay) → TOF ✅

Migration Decision Tree

Which S5 timer? ──→ SD? ──→ Use TON (exact match)
                 ──→ SA? ──→ Use TOF (exact match)
                 ──→ SI? ──→ Does input go FALSE before timer expires?
                              ──→ Yes, and that matters ──→ Use S_PULSE
                              ──→ No / doesn't matter ──→ Use TP
                 ──→ SE? ──→ Is retrigger used?
                              ──→ Yes ──→ Use S_PEXT
                              ──→ No ──→ Use TP
                 ──→ SS? ──→ Use S_ODTS (or TON + SR in SCL)

S7 Code Examples

SD → TON (SCL):

TON_Instance(IN := StartCondition, PT := T#5s);
Output := TON_Instance.Q;

SA → TOF (SCL):

TOF_Instance(IN := RunSignal, PT := T#10s);
FanOutput := TOF_Instance.Q;  // Fan runs 10s after motor stops

For individual timer command details, see: SI | SE | SD | SS | SA


Part of the S5→S7 Timer Reference. Maintained by PLCcheck.ai.

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.