143
Input Interrupts
Section 7-3
Counter Mode
7-3-5
Using Input Interrupts
Input Interrupt Mode Procedure
1,2,3...
1.
Determine which input interrupt number will be used.
2.
Wire the input.
3.
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.
4.
Create the necessary ladder programming.
• Use the MSKS(690) instruction (SET INTERRUPT MASK) to enable the
input as an interrupt input.
• Create the interrupt task program.
Item
Specification
Interrupt condition
Counter decremented from SV each time input contacts 0 to 3
(CIO 0000.00 to CIO 0000.03) turn ON, OFF, or both and PV
reaches 0.
Note
Set the interrupt condition in the System Setup.
Interrupt task num-
bers
CIO 0000.00 to CIO 0000.03: Interrupt tasks 000 to 003
(fixed)
Counter operation
Decrementing pulse input
Input method
Single phase
Counting speed
2 kHz
Counter value
0000 to FFFF hex
Counter PV storage
Input interrupts 0 to 3 (CIO 0000.00 to CIO 0000.03):
A524 to A527
Counter SV storage
Input interrupts 0 to 3 (CIO 0000.00 to CIO 0000.03):
A520 to A523
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
Interrupt
input
0
CIO 0000.00
1
CIO 0000.01
2
CIO 0000.02
3
CIO 0000.03
Interrupt input 0
MSKS
Interrupt control
Enable interrupt inputs
Ladder program
Interrupt input
settings
System Setup
Interrupt generated.
Execute specified task.
END
Interrupt input 1
Interrupt input 2
Interrupt input 3
Содержание 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...