The "Run" And "Stop" Modes; Memories - Siemens Simatic S5-101U Programming Instructions Manual

Table of Contents

Advertisement

The "Run" and "Stop" modes
"RUN" mode
p
-
I n t h e "RUN" mode, t h e program i s scanned
c y c l i c a l l y from c y c l e checkpoint t o
c y c l e checkpoint. The P C i s brought
i n t o t h e "RUN" mode by
-
s w i t c h i n g t h e mode s e l e c t o r t o "RUN1'
-
s e l e c t i n g t h e "PC RUN1' f u n c t i o n o f
t h e programner (mode s e l e c t o r i n "RUN"
p o s i t i o n )
-
and on recovery o f t h e power supply
i f t h e mode s e l e c t o r i s a t "RUN" and
was i n t h e "RUN" p o s i t i o n p r i o r t o
t h e power f a i l u r e .
Memories
The P C has an i n t e r n a l program memory,
the data of which can be supported f o r
three years by a backup b a t t e r y .
There are a l s o two d i f f e r e n t memory
submodules (see Fig. 4 ) .
"STOP" mode
I n t h e "STOP" mode, t h e program i s n o t
scanned and t h e outputs ( c o i l s ) are
disabled. While t h e P C i s i n t h e "STOP"
state, a l l t i m e r s and counters and t h e
process 1/0 image r e t a i n t h e values
o r s t a t e s t h e y had i n t h e l a s t scanning
c y c l e p r i o r t o t h e P C e n t e r i n g t h e "STOP"
state. I f t h e P C i s switched t o "RUN",
t h e t i m e r s and counters (0
...
7 ) a r e
reset. The n o n - r e t e n t i v e f l a g s and t h e
process 1/0 image are erased.
The PC i s brought i n t o t h e "STOP" mode
by
-
s w i t c h i n g t h e mode s e l e c t o r t o "STOP"
-
s e l e c t i n g t h e "PC STOP" f u n c t i o n on
t h e programmer
-
f a u l t s o r e r r o r s i n program scanning,
e.g.
time-out o r operations t h a t can
n o t be i n t e r p r e t e d by the PC.
The cause f o r t h e P C e n t e r i n g t h e ' S TOP"
s t a t e can be t r a c e d w i t h t h e a i d o f
t h e "DISPLAY ESTACK" f u n c t i o n o f t h e
programner (see Section 4.2 o f Operating
I n s t r u c t i o n s ) .
The memory submodules are used f o r p r o -
gram dumping o r f o r copying the program
should o n l y one memory submodule be
used f o r a number o f PCs.
On power-up o r when the P C i s switched
t o "RUN",
t h e contents of the memory
submodule a r e always copied i n t o t h e
i n t e r n a l memory and processed there.
Fig. 4: Differences between the EPROM and EEPROM submodules.
Memory submodu
l
e
Program
dump
Program
erasure
Program mod i
-
f i c a t i o n v i a
programmer
EPROM
PG 615 ( w i t h adapter 984-2UAll)
PG 670 ( w i t h adapter 984-OUAll)
PG 675
Only w i t h s p e c i a l U V lamp
(erasure time: 30 min)
On
1~
erasure o f e n t i r e
program p o s s i b l e
EEPROM
PG 615
PG 670 ( w i t h o u t 984
adapter)
PG 675
D i r e c t i n the P C w i t h
t h e above programmers
and t h e PG 605U p r o -
9
r amme r
Programmer f u n c t i o n :
PG
PC)
p o s s i b l e

Advertisement

Table of Contents
loading

Table of Contents