IDEC FC4A-C10R2 User Manual page 127

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Special Data Registers for Two-phase High-speed Counter (All-in-One Type CPU Modules)
Description
High-speed Counter Current Value
High-speed Counter Reset Value
Two-phase High-speed Counter Specifications (All-in-One Type CPU Modules)
Maximum Counting Frequency
Counting Range
Operation Mode
Gate Control
Current Value Reset
Control/Status Relays
Comparison Output
Single-phase High-speed Counters HSC1 through HSC4 (All-in-One Type CPU Modules)
HSC1 can also be used as a single-phase high-speed counter as well as HSC2 through HSC4. The four single-phase high-
speed counters count input pulses to the input terminal allocated to each high-speed counter. When the preset value is
reached, a designated comparison output turns on, and the current value is reset to 0 to count subsequent input pulses.
Two special data registers and four special internal relays are assigned to control and monitor the single-phase high-speed
counter operation. The current value is stored in a special data register (current value) and is updated every scan. The value
stored in another special data register (preset value) is used as a preset value. When a reset input special internal relay is
turned on, the current value is reset to 0.
The single-phase high-speed counter is enabled while a gate input special internal relay is on and is disabled while the gate
input is off. When the current value reaches the preset value, a special internal relay (comparison ON status) turns on in the
next scan. At this point, the current value is reset to 0, and the value stored in a preset value special data register takes
effect for the subsequent counting cycle. When a comparison output reset special internal relay is turned on, the designated
comparison output is turned off.
In addition, only the single-phase high-speed counter HSC1 has reset input I2 and reset status special internal relay
M8130. When reset input I2 is turned on to reset the current value to 0, reset status special internal relay M8130 turns on
in the next scan. When reset input special internal relay M8032 is turned on, M8130 does not turn on. See page 5-14.
Special Internal Relays for Single-phase High-speed Counters (All-in-One Type CPU Modules)
Description
Comparison Output Reset
Gate Input
Reset Input
Reset Status
Comparison ON Status
Note: Special internal relays M8130, M8131, M8133, M8134, and M8136 go on for only one scan.
High-speed Counter No.
HSC1
HSC2
D8045
D8046
20 kHz
0 to 65535 (16 bits)
Rotary encoder (phases A, B, Z)
Enable/disable counting
Current value is reset to a given value when the current value overflows 65535 or
underflows 0, or when reset input I2 or reset input special internal relay M8032 is
turned on.
Special internal relays are provided to control and monitor the high-speed counter
operation.
Any output number available on the CPU module can be designated as a comparison
output which turns on when the current value reaches the preset value.
Output numbers on expansion output or mixed I/O modules cannot be designated as a
comparison output.
High-speed Counter No.
HSC1
HSC2
HSC3
M8030
M8034
M8040
M8031
M8035
M8041
M8032
M8036
M8042
M8130
M8131
M8133
M8134
« FC4A M
S
ICRO
HSC3
HSC4
HSC4
M8044
Turns off comparison output
M8045
Enables counting
M8046
Resets the current value
Current value reset by I2
M8136
Preset value reached
U
'
M
»
MART
SER
S
ANUAL
5: S
F
PECIAL
UNCTIONS
Updated
Read/Write
Every scan
Read only
R/W
ON
Read/Write
R/W
R/W
R/W
Read only
Read only
5-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents