124
Interrupt Inputs
Section 7-3
Note
Enabling interrupts merely returns the interrupts to the status they were in
before they were disabled. If an interrupt was masked before it was disabled, it
will still be masked after it is enabled.
7-3
Interrupt Inputs
7-3-1
Applicable Models
7-3-2
Outline
Contact inputs 0 to 3 to the Customizable Counter Unit can be used for exter-
nal interrupt inputs. These inputs are allocated IR 00000 to IR 00003. The
subroutines corresponding to these inputs are fixed and cannot be change.
Contact inputs 0 to 3 correspond to subroutines 000 to 003.
Note
Subroutines 000 to 003 can be used as normal subroutines when the input
interrupts are not being used.
7-3-3
Interrupt Modes
There are two modes that can be used for the input interrupts. Each interrupt
input can be set separately.
Input Interrupt Mode: An interrupt is generated when the input turns ON, OFF,
or both.
Counter Mode: External signals are counted, decrementing from a SV, and an
interrupt is generated when the PV equals 0.
The interrupt mode is set using the INT instruction for each interrupt input.
7-3-4
Interrupt Input Specifications
Input Interrupt Mode
Counter Mode
Model numbers
Functions
CS1W-HIO01-V1
12 contact inputs, 8 contact outputs
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
Item
Specification
Interrupt condition
Input contacts 0 to 3 (IR 00000 to IR 00003) turn ON, OFF, or both (Set in DM 6620.)
Subroutine numbers
IR 00000 to IR 00003: Subroutines 000 to 003
Response time
0.08 ms (for ON) (from when interrupt condition is met until execution of subroutine is started)
Signal pulse width
ON: 0.1 ms min, OFF: 0.25 ms min.
Item
Specification
Interrupt condition
Counter decremented from SV each time input contacts 0 to 3 (IR 00000 to IR 00003) turn ON,
OFF, or both (Set in DM 6620) and PV reaches 0
Subroutine numbers
IR 00000 to IR 00003: Subroutines 000 to 003
Counting mode
Decrementing pulse input
Input method
Single phase
Counter frequency
2 kHz
Counter value
0000 to FFFF Hex
Counter PV storage
IR 00000 to IR 00003: SR 244 to SR 247
Counter SV storage
IR 00000 to IR 00003: SR 240 to SR 243
Содержание 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: ......