1.
Description
1.3
Principle
of
operation
Central processing unit 6ES5900-OAA12
The CPU incorporates the following functional units:
-
Power supply
-
Processor with cycle time monitor
-
Memory for flag operations
-
Receptacle for EPROM submodule
Power supply
The 24 V DC power supply is provided by a non-stabilized power
supply.
The operating voltage of + 5 V required for internal signal processing is produced from the 24
V
supply.
Processor
The processor decodes the programmed statements and executes
the relevant operations (see STEP5 operation set for the S5-010
PC). The execution time for a statement corresponds to the period
of the system clocking and is approximately 20 ys. For 1
K
state-
ments, therefore, this gives a cycle time of 20 ms.
For cycle time monitoring, the program controller contains a 200 ms
timer which is continuously reset by the
"BE"/"BEC" (block end)
and AFO.O (interrupt) operations. If no resetting of the timer takes
place during a 200
rns period, the control system is in an undefined
state. The "Cycle fault" display lights up and the
link between pins
X3
and
X4
via the "Watchdog monitor" relay contact is interrupted.
To prevent the indefinite state of the control system from being
transferred to the machine being controlled it is advisable to run the
+24
V
supply for all output modules through a contactor driven by
the watchdog monitor relay (see Connection diagram, page 11).
This will ensure that all outputs assume the logic state
"0" during a
scan fault.
Memory for flag operations
A 1024 X 1 bit static RAM is used for flag operations. The memory
is subdivided into three areas (see Fig.
7).
Retentive flags:
These flags are addressed by the operations SF, RF,
=
F, etc. The
flag area has battery backup,
i.
e. the flags retain their signal
statuses in the event of power failure. The battery backup can be
disabled by a switch on the CPU (see "Service panel").
Non-retentive flags:
These flags are addressed by the operations SF, RF,
=
F, etc. In the
event of a power failure, this flag area is erased.
Output flags:
Output flags are addressed by output operations (SQ, RQ,
=
Q),
i.
e. they are set and reset in parallel with the outputs. When
scanning the outputs (AQ, ANQ, OQ, ONQ), only these flags are
examined; the actual outputs of output and timer modules cannot
be scanned. Output flags are erased in the event of power failure.
Output flag
000.0 cannot be used; flag FOO.O is only needed for
interrupt processing.
EPROM submodule 910
EPROMs mounted on a plug-in submodule are used to store the
STEP5 program. Submodules are available for
IK,
2K and
4K
statements.
The memory submodule is plugged into the appropriate receptacle
on the programming unit for programming. After programming, the
module is plugged into the receptacle provided for it on the CPU.
Online
~
i
Oif-
line
Processor
256
flags
1
;do.,te",e)
I
,
Fig. 6 Block diagram
of
the CPU
Memory
locatlon Address dec. I hex.
F1F
7
51
1 flags
(retentive)
256
flags
(non-retentive)
255
output flags
(non-retentive)
Q00.1
Fig. 7 Memory
organization,
address assignment