EasyManua.ls Logo

Siemens S5-100U - Page 216

Siemens S5-100U
512 pages
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...
S5-100U STEP 5 Operations
Timer and Counter Operations
Table 8-25 provides an overview of timer and counter operations. Examples follow the table.
Table 8-25. Overview of Timer and Counter Operations
1
“SP” and “SD” do not apply to counters.
Actual operands permitted
Data
type
Parameter
type
Formal operand
Timers and counters
1
T, C
1
Operation MeaningOperand
FR =
RD =
SP =
SD =
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.
SEC = 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.
SSU = 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.
SFD =
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.
EWA 4NEB 812 6120-02
8-61

Table of Contents

Related product manuals