Download "user manual"
Transcript
Section 7-3 Interrupt Inputs 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 7-3-1 Interrupt Inputs Applicable Models Model numbers 7-3-2 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 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 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 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 124