Preset/reset – Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual

Page 31

Advertising
background image

Rockwell Automation Publication 1769-UM006E-EN-P - July 2013

31

Module Operation

Chapter 2

Preset/Reset

Preset sets the counter to a zero or non-zero value you define. Reset the counter
by setting this value (Ctr

nPreset) to zero.

Counter Reset

Refer to

page 73

in Chapter 4 for details on performing a default counter reset for

the CMX 5370 L2 packaged controller and the 1769-HSC/B module only. The
L23E packaged controller and the 1769-HSC/A module do not have this
functionality.

Soft Preset

Preset can be programmed to occur by setting the appropriate output control bits
via your control program. Setting the Ctr

nSoftPreset bit in the output array

causes the counter to be preset, changing the count to the value in Ctr

nPreset.

Z Preset

Preset can be programmed to occur based on the actions of the Z-input signal.

Autopreset

If the module is configured such that Ctr

nMaxCount < Ctr[n].CurrentCount or

Ctr

nMinCount > Ctr[n].CurrentCount, then the module will automatically

change Ctr[

n].CurrentCount to the CtrnPreset value and set the

Ctr

nPresetWarning bit.

Advertising