Siemens SIMATIC S5-115U User Manual page 240

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
8.2.1
Load Operation
As with the basic load operations, the supplementary load operation copies information into the
accumulator. Table 8-10 explains the load operation. An example follows the table.
Operation
Operand
L
ID
RS
Example
In the event of a time-out, the
error address is stored in SD 103.
An important output module is
plugged in at start address 4. If the
time-out is triggered by this
address, the CPU is to go into the
"STOP" mode. Otherwise a signal
is to be given and program
scanning is to continue. You can
program this example in OB24.
8-40
Table 8-10. Load Operation
Load
A word from the system data is loaded into ACCUM 1 regardless of
the RLO.
Parameter
0 to 255
STL
L
RS 103
L
KH F004
<>
F
=
Q
BEC
STP
Meaning
Explanation
The contents of SD 103 and the
address of the important module
are loaded into the accumulators.
If the two values are not equal,
output Q 12.0 is set.
12.0
Program scanning continues in
OB1 (or in the block where the
call originated).
If the two values are equal, the
CPU goes into the "STOP" mode.
S5-115U Manual
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents