PLCcheck

S5 AWL Command: T (Transfer)

S5 AWL instruction T (Transfer): Stores the content of ACCU1 to an operand. The counterpart to L (Load).

·2 min read
S5AWLTTransferTransferierenaccumulatorstore

Diesen Artikel auf Deutsch lesen

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 AWLS7 STLS7 SCL
T MW 30T 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.


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.