GFK-1504N
Chapter 13 Mixed Discrete/High-Speed Counter Module
13-11
13
IC200MDD841
Mixed Module, 24 V DC Positive Logic Input 20 Points / Output 12 Point /
(4) High-speed Counter, PWM, or Pulse Train Configurable Points
The
Count Pulse
input increments or decrements the counter’s accumulator.
The count input can be configured to be positive or negative edge-sensitive.
The
Preload/Strobe Input
can either preload a value into the accumulator or
strobe the accumulator value into a register. Preload/Strobe signals are always
positive edge-sensitive.
The
Preload
register contains a predefined value to be transferred to the
Accumulator when the Preload/Strobe signal is active. The module sets the
Preload flag bit when a Preload occurs. The CPU can clear the flag before the
next preload. The Preload input always loads the Accumulator regardless of the
state of the Preload flag. The Preload register can be configured to any value
within the counter’s range.
If
Strobe
is selected, the Accumulator value is placed in the Strobe register when
the Preload/Strobe signal is active. The module sets a Strobe flag when a strobe
occurs. The PLC or computer can clear this flag before the next strobe. The
Strobe input always loads the Strobe register with the Accumulator value
regardless of the state of the Strobe flag. Strobe Inputs can be used as Pulse
Capture Inputs by using the Strobe status bits as a latch.
The
Accumulator
register contains the current count. It can be set to a value
supplied by the PLC or computer. The PLC/computer can also send an
adjustment value to the Accumulator register. The adjustment value can be
between -128 and +127.
The
Counts-per-Timebase
register contains the number of counts that
occurred during the last-completed timebase interval. The number of counts is
a 16-bit signed number. The sign indicates up (+) or down (-) counts. The
range of the Counts/Timebase register is –32768 and +32767 counts.
The Timebase is a span of time used to measure the rate of counting. For
example, the program could monitor the number of counts that occur in 30
seconds. Timebase is configurable in 10mS increments from 10mS to
65530mS. If the timebase is too large, the Counts/Timebase register will lose
the overflow values.
The
On/Off Preset
values determine when the counter output is activated or
deactivated.
The
Output
can be activated based on configured On and Off Preset values.