S5 AWL Command: T (Transfer)
S5 AWL instruction T (Transfer): Stores the content of ACCU1 to an operand. The counterpart to L (Load).
S5 AWL Command: T (Transfer)
The T instruction stores the content of accumulator 1 (ACCU1) to an operand. It is the counterpart to L (Load). ACCU1 is not changed by T — you can transfer the same value to multiple destinations.
Syntax
T <operand>
Valid operands: AB/AW/AD (Output), MB/MW/MD (Marker), DBB/DBW/DBD (Data block), PAW (Peripheral output)
S7 Equivalent
| S5 AWL | S7 STL | S7 SCL |
|---|---|---|
T MW 30 | T MW 30 (identical) | MW30 := result; (implicit) |
Code Example
L MW 10 // Load source
T MW 30 // Store to destination 1
T MW 40 // Store same value to destination 2 (ACCU1 unchanged)
Important: T Does Not Change ACCU1
After T MW 30, ACCU1 still contains the same value. You can transfer to multiple destinations without reloading.
Common Error
Transferring without loading first: T stores whatever is currently in ACCU1. If you forget the L instruction, you transfer a stale or unexpected value.
Related Commands
- L (Load) — Loads a value into ACCU1
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
Reading 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
migration-guideS5 to S7 Migration: The Complete Guide (2026)
Step-by-step guide for migrating Siemens S5 PLC programs to S7-1500. Covers AWL→SCL conversion, timer mapping, address translation, and hardware selection.
18 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.