126
Pulse Inputs
Section 7-5
7-5
Pulse Inputs
7-5-1
Applicable Models
7-5-2
Outline
The CS1W-HCP22-V1 and CS1W-HCA22-V1 Customizable Counter Unit pro-
vide 2 pulse inputs. The pulse inputs can be used to count pulse signals from
rotary encoders or other devices with highspeed counters and perform pro-
cessing according to the PV of the count. The following processes are possi-
ble.
Note
Interrupts cannot be generated for range comparisons. Only bit patterns are
output. Use the bit patterns to trigger other processing as required.
The rate of change or frequency of a high-speed counter PV can also be mea-
sured from the program as required.
7-5-3
Specifications
Model numbers
Functions
CS1W-HCP22-V1
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs
CS1W-HCA22-V1
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs
CS1W-HCA12-V1
12 contact inputs, 8 contact outputs, 1 analog input, 1 pulse input, 2
analog outputs
Process
Description
Target value interrupts
A subroutine is executed as interrupt processing when
the high-speed counter PV equals a target value.
Bit pattern outputs for
range comparisons
A user-set bit pattern is output internally when the high-
speed counter PV is within a specified range.
Item
Specification
Number of counters
2 (one for each pulse input port)
Pulse input mode (Set in Unit Setup Area.)
Differential-phase
Increment/decrement
Pulse + direction
Input pin
numbers
Port 1
Port 2
24 V: B2 (A1)
5 V: A2 (A1)
24 V: B8 (A7)
12 V: A8 (A7)
Phase A
Increment pulse
Pulse
24 V: B4 (A3)
5 V: A4 (A3)
24 V: B10 (A9)
12 V: A10 (A9)
Phase B
Decrement pulse
Direction pulse
24 V: B6 (A5)
5 V: A6 (A5)
24 V: B12 (A11)
12 V: A12 (A11)
Phase Z
Reset pulse
Reset pulse
Input method
Differential-phase; x1,
x2, x4 (switchable)
Single-phase x 2
Single-phase + direc-
tion
Set in Unit Setup Area.
(Port 1: Bits 00 to 03 of DM 6605, port 2: Bits 00 to 03 of DM 6607)
Counter frequency (set separately for each
port)
50 kHz (default) or 200 kHz
Counting mode
Linear Mode or Ring Mode (Set in Unit Setup Area.)
Counter values
Linear Mode: 8000 0000 to 7FFF FFFF Hex
Ring Mode: 0000 0000 to Ring set value (Hex)
(The ring set value is set in Unit Setup Area between 0000 0001 and FFFF
FFFF Hex.)
Содержание CS1W-HCA12-V1
Страница 2: ......
Страница 6: ...vi...
Страница 20: ...xx Conformance to EC Directives 7...
Страница 38: ...18 Models and System Configurations Section 1 2...
Страница 78: ...58 Fail safe Circuits Section 3 5...
Страница 138: ...118 AR Area Section 6 4...
Страница 204: ...184 Improved Instructions Section 7 14...
Страница 222: ...202 Cycle Time Section 8 3...
Страница 240: ...220 Troubleshooting Flowcharts Section 9 5...
Страница 244: ...224 Precautions when Using the CX Programmer Appendix A...
Страница 252: ......
Страница 253: ......