IDEC FC4A-C10R2 User Manual page 129

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Special Internal Relays for Two-phase High-speed Counter (Slim Type CPU Modules)
Description
Comparison Output Reset
Gate Input
Reset Input
Reset Status
Current Value Overflow
Current Value Underflow
Note: Special internal relays M8130 through M8132 and M8135 through M8137 go on for only one scan.
Special Data Registers for Two-phase High-speed Counter (Slim Type CPU Modules)
Description
High-speed Counter Current Value
High-speed Counter Reset Value
Two-phase High-speed Counter Specifications (Slim 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 (Slim Type CPU Modules)
HSC1 and HSC4 can also be used as a single-phase high-speed counter as well as HSC2 and HSC3. 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 or HSC4 has reset input I2 or I5 and reset status special inter-
nal relay M8130 or M8135. When reset input I2 or I5 is turned on to reset the current value to 0, reset status special inter-
nal relay M8130 or M8135 turns on in the next scan. When reset input special internal relay M8032 or M8046 is turned on,
M8130 or M8135 does not turn on. See page 5-14.
High-speed Counter No.
HSC1
HSC2
HSC3
M8030
M8031
M8032
M8130
M8131
M8132
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/I5 or reset input special internal relay M8032/
M8046 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.
« FC4A M
S
ICRO
HSC4
M8044
Turns off comparison output
M8045
Enables counting
M8046
Resets the current value
M8135
Current value reset by I2 or I5
M8136
Overflow occurred
M8137
Underflow occurred
HSC3
HSC4
D8051
D8052
U
'
M
»
MART
SER
S
ANUAL
5: S
F
PECIAL
UNCTIONS
ON
Read/Write
R/W
R/W
R/W
Read only
Read only
Read only
Updated
Read/Write
Every scan
Read only
R/W
5-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents