S5-100U
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
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
Meaning
Operand
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-02b
8-61
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...