Siemens SIMATIC S5-115U User Manual page 212

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

STEP 5 Operations
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).
Lost
information
Byte d
Byte c
Byte b
Byte a
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.
ACCUM 2
Byte d
Byte c
Byte d
Byte c
8-12
ACCUM 2
Byte d
Byte c
Byte b
Byte a
0
IB 7
Figure 8-2. Execution of the Load Operation
ACCUM 1
Byte b
Byte a
T QB 5
Byte b
Byte a
Figure 8-3. Transferring a Byte
ACCUM 1
Byte b
Byte a
L IB 7
0
IB 7
L IW 8
IB 8
IB 9
Information
Lost
in the PIQ
informationen
Previous value
Byte a
of QB 5
EWA 4NEB 811 6130-02b
S5-115U Manual
Informationen
from the PII
IB 7
IW 8

Advertisement

Table of Contents
loading

Table of Contents