PLCcheck

S5 AWL Command Lookup

Search any S5 AWL instruction — get the S7 equivalent, SCL code, and migration notes instantly.

50 commands

FAQ

How many S5 AWL commands exist?

The SIMATIC S5 AWL (Anweisungsliste / Statement List) instruction set contains approximately 50 core commands covering bit logic (U, O, S, R, =), load/transfer (L, T), timers (SI, SE, SD, SS, SA), counters (ZV, ZR), arithmetic (+F, -F, +G), comparisons (!=F, ><F, >F, <F), jumps (SPA, SPB), block calls (BE, BEA, BEB), edge detection (FP, FN), and accumulator operations (TAK, ENT). Additional variants exist for indirect addressing and system-specific operations.

What is the difference between S5 AWL and S7 STL?

S5 AWL and S7 STL are both statement list programming languages for Siemens PLCs, but they use different mnemonics and addressing schemes. For example: S5 uses U (UND) while S7 uses A (AND) for English mnemonics. S5 uses word-addressing for data blocks (DW) while S7 uses byte-addressing (DBW). S5 timers use BCD-encoded KT values, while S7 IEC timers use the TIME data type (T#). The S7-1500 runs AWL/STL only in emulation mode — SCL (Structured Text) is the recommended language.

Which S5 commands have no direct S7 equivalent?

Several S5 commands have no direct S7-1500 equivalent: DO FW/DO DW (indirect addressing via flag/data word) must be rewritten using pointer addressing with AR1/AR2. ENT (accumulator stack shift) has no equivalent because the S7-1500 has only 2 accumulators instead of 4. S5 special function blocks like FB250/FB251 (analog I/O) are replaced by built-in S7 functions. DX blocks (extended data blocks) have no equivalent — use regular DBs. OB21/OB22 startup blocks map to OB100/OB102 in S7.

Need to convert an entire S5 program?

PLCcheck Pro reads your complete S5 code and generates full documentation with S7 equivalents for every instruction.

Analyze Full S5 Program →

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