Counter, Counter function block parameters, Reset condition – Rockwell Automation 1752-L24BBBE SmartGuard 600 Controllers User Manual User Manual

Page 258: Counter function block parameters reset condition

Advertising
background image

258

Rockwell Automation Publication 1752-UM001E-EN-P - June 2014

Appendix D

Function Blocks Command Reference

Counter

Figure 83 - Counter Function Block Diagram

The counter function block counts the input pulses at an input and turns on the
Output Enable signal when the count reaches a preset value. You set this value by
using RSNetWorx for DeviceNet software.

When the input count reaches the preset value, the Output Enable signal turns
on and is held on. To detect pulses in the input signal, the input pulse’s off-time
and on-time must be longer than the controller’s cycle time. If the input pulse
signal off-time and on-time are shorter than the controller’s cycle time, pulses
may be missed.

Counter Function Block Parameters

Set these parameters for the Counter function block.

Reset Condition

The reset condition used to reset the input count can be set to manual or auto
reset. When the reset condition is set to auto reset and the input count reaches
the preset value, the Output Enable signal turns on and remains on as long as the
input signal is on. When the input signal goes off, the input count is reset.

When the reset condition is set to manual reset, the input count is reset and the
Output Enable signal is turned off when the reset signal goes on. Input pulses are
not counted while the reset signal is on.

Table 33 - Counter Function Block Parameters

Parameter

Valid Range

Default Setting

Reset condition

Auto reset
Manual reset

Manual reset

Count type

Down counter (decrementing)
Up counter (incrementing)

Down counter (decrementing)

Counter

1…65,535 counts

1 count

Input

Output Enable

Reset

Advertising
This manual is related to the following products: