EasyManua.ls Logo

Siemens Simatic S5-101U - Forcing of Timers and Counters; Forcing with the Programmer

Siemens Simatic S5-101U
43 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.2.4
Forcing of timers and counters
Timers and counters can be forced
in both operating modes of the PC,
using
the
605U, 615 and OP
393
programmer on
l
y
.
Programming (from version
1
.l
onwards)
Data words
DW
0
to
DE
15 in data block
DB
1
are reserved for the preset values
for timers and counters.
In the user program, reference is made
to the associated data word when timers
and counters are started.
DWP
T
15
C
P
to
If
both timers counters are to
be forced, different numbers should
be used, e.g.
A
maximum of 16 timers/counters
in any combination can be forced.
The following program is required
in the PC:
Programming (from version 1.2 onwards)
Data words
DW
!l
to
DW
15 in data block
DB
1
are reserved for the preset values
for timers and counters.
In the user program, reference is made
to the associated data word when timers
and counters are started.
T
B-DW
0 to T 15-DW 15
C
0-DW 15 to
C
16-DW 31
16 timers and
16 counters can be forced.
-
The following program is required in
the
PC:
LKT is repl aced by
;
LDW
LD~
16
i
LKC is repl aced by
SC
1
LDW (16.. .31)
~DW
0
LIT is replaced
SIT
Q
by LDW
~MD
1
LKC is rep1 aced
S
C
1
by LDW
Make sure that there are meaningful
time values in the data words used when
changing from the "STOP" to the "RUN"
mode.
It
is advisable to force the timers/
counters (with the preset values) in
the "STOP" status of the PC.
Forcing with the programmer
The data word assigned to a timer
For further information,
p1 ease refer
or counter is loaded with the preset
to the Programning Instructions of the
value, using the "Direct signal status
605U programmer in the Section entitled
d ispl ay" function of the programmer.
"PROGRAM TEST-Forc ing of timers and
The data block for the preset value
counters."
can be selected on the programmer
(but
DB1 is mandatory for the S5-101U PC).

Table of Contents

Related product manuals