7-4
Section
Executing Interrupt Tasks in the CPU Unit
93
7-3
Interrupt Inputs
7-3-1 Applicable Models
Model numbers
Functions
CS1W-HIO01
12 contact inputs, 8 contact outputs
CS1W-HCP22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs
CS1W-HCA22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs
7-3-2 Outline
Contact inputs 0 to 3 to the Customizable Counter Unit can be used for external
interrupt inputs. These inputs are allocated IR 00000 to IR 00003. The subrou-
tines corresponding to these inputs are fixed and cannot be change. Contact in-
puts 0 to 3 correspond to subroutines 000 to 003.
Note Subroutines 000 to 003 can be used as normal subroutines when the input inter-
rupts 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
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.
Counter Mode
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
7-4
Executing Interrupt Tasks in the CPU Unit
7-4-1 Applicable Models
Model numbers
Functions
CS1W-HIO01
12 contact inputs, 8 contact outputs
CS1W-HCP22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 pulse outputs
CS1W-HCA22
12 contact inputs, 8 contact outputs, 2 pulse inputs, 2 analog outputs
Содержание CS1 -
Страница 1: ...Cat No W378 E1 1 Customizable Counter Units SYSMAC CS1 CS1W HI001 HCP22 HCA22 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...CS1W HIO01 HCP22 HCA22 Customizable Counter Units Operation Manual Produced January 2001...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 10: ......
Страница 20: ......
Страница 40: ......
Страница 60: ......
Страница 146: ......
Страница 166: ......