Siemens SIMATIC S5-95F Manual page 240

Table of Contents

Advertisement

STEP 5 Operations
Timer and Counter Operations
Table 8-24 provides an overview of timer and counter operations. Examples follow the table.
Table 8-24. Overview of Timer and Counter Operations
Operation
Operand
FR
=
RD =
SP
=
SD =
SEC =
SSU =
SFD =
Formal operand
1
"SP" and "SD" 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
8-60
Enable a formal operand for a 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 specified 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
1
1
T, C
S5-95F
Data
Type
EWA 4NEB 812 6210-02

Advertisement

Table of Contents
loading

Table of Contents