Siemens SIMATIC S5-115U User Manual page 262

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
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
=
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.
8-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 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
1
Timers and counters
S5-115U Manual
Meaning
Parameter
Type
1
T, C
EWA 4NEB 811 6130-02b
Data
Type

Advertisement

Table of Contents
loading

Table of Contents