Value Range For Setpoints And Counter Values; Loading The Setpoints - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Standard Function Counter
4.4

Value Range for Setpoints and Counter Values

The value range depends on the selected function mode. The following table gives you an overview
of the formats used:
Function Mode
Normal counter function (NCF)
Periodic counter function
(PCF)
Cascade function (CAF)
*
The current setpoint is transferred as soon as the end value "0" is reached. This means that evaluation
for "0" is only possible over the corresponding counter output (Q1, Q2).
All counter values and specified setpoints are represented as numbers without sign.
4.5

Loading the Setpoints

A setpoint need not be specified in NCF.
A setpoint > 0 must be specified for operating the counter in the "periodic counter function" and in
the "cascade function".
Both functions count down to zero from the specified setpoint. When "0" is reached, the assigned
output is switched on and the setpoint is set simultaneously.
Note
When changing from counter status "1" to counter status "0", the counter is set to
the predefined setpoint.
If no setpoint is specified, zero is taken as default. Counting is then not possible in PCF and CAF
and the outputs remain reset.
EWA 4NEB 812 6131-02
Data Width
2 byte 6 16 bit
Start value 0
End value max. 65535
2 byte 6 16 bit
Start value corresponding to the
setpoint specified max.65535
End value 0
4 byte 6 32 bit
Start value corresponding to the
setpoint specified max.4294967295
End value 0
The Counter Functions
Counter Range
*
*
4-7

Advertisement

Table of Contents
loading

Table of Contents