IDEC MicroSmart User Manual

Page 134

Advertising
background image

5: S

PECIAL

F

UNCTIONS

5-14

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

Single-phase High-speed Counter Timing Chart

Example: Single--phase high-speed counter HSC2

Preset value is 8. Q0 is designated as a comparison output.

Reset Input M8036

0

1

2

8

Current Value D8047

The D8048 value at this point becomes the
preset value for the next counting cycle.

Pulse Input I3

Gate Input M8035

Comparison Output Q0

Comparison Output Reset M8034

1 scan time

Comparison ON Status M8133

7
6
5
4
3

• When reset input M8036 is turned on, the D8047 current value is cleared to 0, then the D8048 preset value

takes effect for the next counting cycle.

• While gate input M8035 is on, single-phase high-speed counter HSC2 counts pulse inputs to input I3.
• The D8047 current value is updated every scan.
• When the D8047 current value reaches the D8048 preset value, comparison ON status M8133 goes on for one

scan. At the same time, comparison output Q0 turns on and remains on until comparison output reset M8034
is turned on.

• When the D8047 current value reaches the D8048 preset value, the D8048 preset value at that point takes

effect for the next counting cycle.

Preset Value D8048

8

Advertising