SIEMENS Load and Transfer Operation
Load Operations :
Accumulator 1
Load Function
PII Bit Memory Timers &Counters L Stack
PIQ Status Word Address Registers
Data from DB. DB length & No. Constants & Pointers
Peripheral Inputs
SIMATIC S7-300
SIEMENS Load and Transfer Operation
Transfer Operations :
Accumulator 1
Transfer Function
PII Bit Memory L Stack
PIQ
Data Locations in Data Block.
Peripheral Outputs
Status Word
Address Registers
SIMATIC S7-300
SIEMENS Load and Transfer Operation
Accessing OF PII ( using Load Operation ) :
Reading Bit by Bit into the RLO ( A I 0.2 ) Lower Order Word Higher Order Word Higher Byte
00
PII
7 6 5 4 3 2 1 0
Byte 0 Byte10
Lower Byte Higher Byte
00 00
Lower Byte
L IB 10
L IW 16 10 00 00
15 0
Byte16 Byte17
L ID 20
Byte20 Byte21 Byte22 Byte23
31 16 15 0
SIMATIC S7-300
SIEMENS Load and Transfer Operation.
Transferring Acc 1 to PIQ ( using Transfer Operation ) :
Assignment of RLO ( = Q 0.2 ) Lower Order Word Higher Order Word Higher Byte
00
PIQ
7 6 5 4 3 2 1 0
Byte 0 Byte10
Lower Byte Higher Byte
00 00
Lower Byte
T QB 10
T QW 16 10 00 00
15 0
Byte16 Byte17
T QD 20
Byte20 Byte21 Byte22 Byte23
31 16 15 0
SIMATIC S7-300
SIEMENS Load and Transfer Operation.
Load and Transfer Operation :
DI
I 0.0 I 0.1 I 0.2 I 0.3 I 0.4 I 0.5 I 0.6 I 0.7 I 1.0 I 1.1 I 1.2 I 1.3 I 1.4 I 1.5 I 1.6 I 1.7
PII
L IW 0 T QW 0
PIQ
DQ
Q 0.0 Q 0.1 Q 0.2 Q 0.3 Q 0.4 Q 0.5 Q 0.6 Q 0.7 Q 1.0 Q 1.1 Q 1.2 Q 1.3 Q 1.4 Q 1.5 Q 1.6 Q 1.7
Accumulator 1
Previous Contents Of Accumulator 1
Accumulator 2
LOST
SIMATIC S7-300
SIEMENS Load and Transfer Operation.
The Load & Transfer functions are not dependent on RLO or the status bits When a byte is loaded, its contents are written right-justified into Acc 1.
The remaining bytes in Accumulators are padded with 0.
The Transfer function transfers the contents of Acc 1 to specified address.
The contents of Acc 1 remains unchanged.
The multiple load and transfers are possible. Example of Load : L IB0,. L QW4, L 45.7, L P#2, L PIW 288 etc.
Example of Transfer : T QB4,. T PQW304, T DBW 0, etc.
SIMATIC S7-300