162
Pulse Inputs
Section 7-5
• Monitor the high-speed counter movement value in A604 and A605
(high-speed counter 1) or A606 and A607 (high-speed counter 2).
Procedure
1,2,3...
1.
Set
Counter movements (mode 1)
in the System Settings (
Pulse Input,
Counter data display
).
2.
Turn ON the Measurement Start Bit (A610.02 or A611.02).
3.
Monitor the high-speed counter movement value in A604 and A605
(high-speed counter 1) or A606 and A607 (high-speed counter 2).
Mode 2 Procedure
1,2,3...
1.
Determine the Counting Speed, Input Mode, Reset Method, and Counter
Operation.
• Counting Speed: 50 kHz or 500 kHz
• Input Mode: Phase Differential, Increment/Decrement, or Pulse + Direc-
tion
• Reset method: Phase Z and software reset, or Software reset
• Counter Operation: Circular Counter or Linear Counter
2.
Wire the input.
3.
Make the necessary System Setup settings.
• Counter Data Display: Frequency measurement (mode 2)
4.
Create the necessary ladder programming.
• Turn ON the High-speed Counter 1 Start Bit (A610.00) and start the
high-speed counter.
• Specify the rotation direction in the Measurement Direction Bit (A610.03).
OFF is forward, ON is reverse.
• Turn ON the Measurement Start Bit (A610.02).
• Monitor the high-speed counter’s frequency in A604 and A605.
Procedure
1,2,3...
1.
Set
Frequency measurement (mode 2)
in the System Settings (
Pulse In-
put, Counter data display
).
2.
Specify the rotation direction in the Measurement Direction Bit (A610.03).
3.
Turn ON the Measurement Start Bit (A610.02).
4.
Monitor the high-speed counter’s frequency in A604 and A605.
7-5-10 Pulse Input Function Example Application
Example 1:
High-speed Counter
Target Value
Comparison Interrupt
In this example, pulse input 1 operates a high-speed counter, the high-speed
counter PV is compared in a target-value comparison, and corresponding
interrupt tasks are executed when the target values are reached.
The Reset Bit is kept ON in the program and the PV of the counter is reset
when the phase-Z signal is turned ON after the PV reaches its maximum
value. Before running the program, make the following settings in the System
Setup and restart the FQM1 to enable the new settings.
Counter 1:
Linear Counter, Counting speed = 50 kHz, Phase Z and software reset,
and Increment/decrement pulse input
Содержание HOME SECURITY SYSTEM - MOTION SENSOR FQM1-CM001
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ...x TABLE OF CONTENTS...
Страница 11: ...xii...
Страница 23: ...xxiv Data Backup 5...
Страница 53: ...30 Function Tables Arranged by Purpose Section 1 7...
Страница 71: ...48 Memory Block Diagram Section 2 7...
Страница 254: ...231 Analog Outputs Section 7 10...
Страница 255: ...232 Analog Outputs Section 7 10...
Страница 263: ...240 Connecting the CX Programmer Section 8 2...
Страница 285: ...262 Inspections Section 10 1...
Страница 397: ...374 Auxiliary Area Allocations Appendix D...
Страница 409: ...386 Index...
Страница 411: ...388...