STEP 5 Operations
S5-115U Manual
Load Operation:
During loading, information is copied from a memory area, e.g., from the PII, into ACCUM 1.
The previous contents of ACCUM 1 are shifted to ACCUM 2.
The original contents of ACCUM 2 are lost.
Example:
Two consecutive bytes (IB 7 and IB 8) are loaded from the PII into the accumulator.
Loading does not change the PII (see Figure 8-2).
Figure 8-2. Execution of the Load Operation
Byte a
Byte c
L IW 8
L IB 7
Informationen
from the PII
Lost
information
0
IB 7
ACCUM 2
ACCUM 1
Byte b
Byte d
IB 7
Byte d
Byte c
Byte a
Byte b
IB 7
0
Byte b
Byte a
IB 8
IB 9
IW 8
Transfer Operation:
During transfer, information from ACCUM 1 is copied into the addressed memory area, e.g., into
the PIQ.
This transfer does not affect the contents of ACCUM 1.
When transfer to the digital output area occurs, the byte or word in question in the PIQ is
automatically updated.
Example:
Figure 8-3 shows how byte a, the low byte in ACCUM 1, is transferred to QB 5.
Figure 8-3. Transferring a Byte
T QB 5
Information
in the PIQ
Lost
informationen
ACCUM 2
ACCUM 1
Byte d
Byte c
Byte a
Byte d
Byte b
Byte c
Byte a
Byte a
Byte b
Previous value
of QB 5
8-12
EWA 4NEB 811 6130-02b
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...