beautypg.com

Siemens S5-135U/155U User Manual

Page 161

background image

5-21

System Manual
C79000-G8576-C199-06

The mode switch has two settings:

In the RUN setting, the CPU 948 processes the user program when the green
RUN LED is lit.

The CPU 948 will go to a soft STOP when you switch over from RUN to
STOP. The red STOP LED will then light up.

You can initiate the Overall Reset, Reset and Restart functions with the
momentary-contact mode switch and the mode changeover switch:

Momentary-contact switch down
During an overall reset, the internal RAM is re-initialized, i.e. existing data
will be erased and the contents of the memory card, if present, will be copied
into the internal RAM.

Momentary-contact switch up
During a reset, all flags, timers, counters and the process image will be
erased. OB 20 will be invoked. Processing of the user program will start from
the beginning again.

Momentary-contact switch at midpoint
With a restart, processing of the user program will continue from the point of
interruption. The statuses of flags, timers, counters and the process image are
retained during stoppage of the CPU.

Mode Switch

RUN

STOP

Momentary-
Contact Mode
Switch

OVERALL RESET

Reset

Restart

CPUs, Memory Cards, Memory Submodules, Interface Submodules