Siemens SIMATIC S5 Manual page 158

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Operations
Timer and counter operations
Table 3-24 provides an overview of timer and counter operations. Examples follow the table.
Table 3-24. Overview of Timer and Counter Operations
Operation
Operand
FR
=
RD
=
SP
=
SR
=
SEC =
SSU =
SFD =
Formal operand
1 "SP" and "SR" do not apply to counters.
Specifying times and counts
As with the basic operations, you can specify a time or count as a formal operand. In this case, you
must distinguish as follows whether the value is located in an operand word or is specified as a
constant.
Operand words can be of parameter type "I" or "Q" and of data type "W".
Use the "L=" operation to load them into the accumulator.
Constants can be of parameter type "D" and of data type "KT" or "KC".
Use "LW=" to load these formal operands into the accumulator.
3-62
Enable a formal operand for cold restart. (For a description, see
"FT or "FC", according to the formal operand.)
Reset a formal operand (digital).
Start a pulse timer specified as a formal operand using the value
stored in the accumulator.
Start an on-delay timer as a formal operand using the value stored
in the accumulator.
Start an extended pulse timer specified as a formal operand using
the value stored in the accumulator or set a counter specified as a
formal operand using the count specified in the accumulator.
Start a stored on-delay timer specified as a formal operand using
the value stored in the accumulator or start the count up of a
counter specified as a formal operand.
Start an off-delay timer specified as a formal operand using the
value stored in the accumulator or start the count down of a
counter specified as a formal operand.
Actual operands permitted
Timers and counters
Meaning
Parameter
Type
T, C
1
1
S5-115F Manual
Data
Type
EWA 4NEB 811 6149-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents