144
Input Interrupts
Section 7-3
Counter Mode Procedure
1,2,3...
1.
Determine which input interrupt number will be used.
2.
Determine the initial SV for the decrementing counter.
3.
Wire the input.
4.
Make the necessary System Setup settings.
• Set the Interrupt Input Settings (set whether an interrupt will be generated
when the input turns ON, OFF, or both).
Note
The default input setting is for a normal input.
5.
Create the necessary ladder programming.
• Use the MSKS(690) instruction (SET INTERRUPT MASK) to refresh the
counter’s SV in counter mode.
• Create the interrupt task program.
Input
Allocated input bit
Interrupt task number
External interrupt input 0
CIO 0000.00
000
External interrupt input 1
CIO 0000.01
001
External interrupt input 2
CIO 0000.02
002
External interrupt input 3
CIO 0000.03
003
0
CIO 0000.00
1
CIO 0000.01
2
CIO 0000.02
3
CIO 0000.03
MSKS
Change SV (Decrementing)
Counter SV
A520
Counter 0
A521
Counter 1
A522
Counter 2
A523
Counter 3
(Auxiliary Area)
Interrupt input (counter mode)
END
See note.
Note:
Refresh PV (once each cycle)
Counter PV
Interrupt
input
Counter 0, 1 kHz
Interrupt control
Refresh PV
(Decrementing)
Ladder program
Interrupt input
settings
System Setup
Interrupt generated.
Execute specified task.
Counter 1, 1 kHz
Counter 2, 1 kHz
Counter 3, 1 kHz
A524
Counter 0
A525
Counter 1
A526
Counter 2
A527
Counter 3
(Auxiliary Area)
Interrupt used only when
the counter counts out.
Summary of Contents for HOME SECURITY SYSTEM - MOTION SENSOR FQM1-CM001
Page 3: ...iv...
Page 5: ...vi...
Page 9: ...x TABLE OF CONTENTS...
Page 11: ...xii...
Page 23: ...xxiv Data Backup 5...
Page 53: ...30 Function Tables Arranged by Purpose Section 1 7...
Page 71: ...48 Memory Block Diagram Section 2 7...
Page 254: ...231 Analog Outputs Section 7 10...
Page 255: ...232 Analog Outputs Section 7 10...
Page 263: ...240 Connecting the CX Programmer Section 8 2...
Page 285: ...262 Inspections Section 10 1...
Page 397: ...374 Auxiliary Area Allocations Appendix D...
Page 409: ...386 Index...
Page 411: ...388...