PLCcheck

S5 AWL Command: SD (On-Delay Timer)

S5 AWL instruction SD (On-Delay): Output goes TRUE only after the input has been TRUE for the full timer duration. Resets if input goes FALSE before timer expires.

·3 min read
S5AWLSDtimeron-delayTONEinschaltverzögerung

Diesen Artikel auf Deutsch lesen

S5 AWL Command: SD (On-Delay Timer)

SD starts an on-delay timer. The timer output goes TRUE only after the input (VKE) has been continuously TRUE for the full timer duration. If the input goes FALSE before the timer expires, the timer resets to zero — the output never becomes TRUE.

Syntax

L  KT xxx.y
SD T n

S7 Equivalent

S5 AWLS7 FunctionIEC 61131-3
SDS_ODTTON (On-Delay Timer) — 1:1 match

SD → TON is a direct, exact equivalent. This is the easiest S5 timer to migrate.

Timing Diagram

E 0.0:  ____/‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾\____
T 1:    ______________/‾‾‾‾‾‾‾\____
                |--5s--|

Code Example

U   E 0.0
L   KT 050.1       // 5 seconds
SD  T 3

U   T 3
=   A 4.0           // ON after 5 seconds of continuous input

Typical Use

The most common timer type. Used for: motor startup delays, debouncing inputs, safety time delays (e.g., "door must be closed for 3 seconds before machine starts"), process time monitoring.


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.