Signals That Have An Influence On Counting; Resetting An Output (Rsq); Resetting A Counter Channel (Rsc); Gate Signal (Gate) - Siemens SIMATIC S5 Manual

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Input and Output Signals
3.2

Signals that have an Influence on Counting

Counting is influenced by additional signals over hardware inputs or paramters in the PIQ.
3.2.1

Resetting an Output (RSQ)

There is an RSQ signal for every counter channel. The assigned ouptut A can be reset with the
RSQ signal. The input responds to the rising edge of the RSQ signal. The counter status is not
influenced by setting RSQ.
3.2.2

Resetting a Counter Channel (RSC)

There is an RSC signal for each counter channel. The rising edge of the signal sets the counter
status of the assigned channel as follows:
to zero in the case up counting (normal counter function)
to the specified setpoint in the case of down counting (periodic counter function and cascading
function).
In addition, down counting resets any output which has been set.
3.2.3

GATE Signal (GATE)

You can interrupt an active count with the active GATE signal.
The signal GATE = "1" stops the count despite pending counter pulses. The assigned output is
switched off simultaneously if it was switched on.
The state remains until the GATE signal is set to "0" again.
With the value GATE = "0", the output is returned to the old state and the count is continued
simultaneously.
The GATE signal is subordinate to the RSQ and RSC signals, i.e. the RSQ and RSC signals remain
functional even if the count is stopped.
3.3

Counter Output

Each counter channel of the standard function counter is assigned an output and the corresponding
negated output of the IP 265. Signalling of a set output via a bit in the PIQ runs parallel to this.
Outputs are set when the count passes zero only in the down counting functions (PCF (periodic
counter function) and CAF (cascade function)).
Outputs can be reset by the rising edge of the following:
RSQ signal
RSC signal
3-2
Standard Function Counter
EWA 4NEB 812 6131-02

Advertisement

Table of Contents
loading

Table of Contents