Omron CPM1 Programming Manual page 91

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

CPM1/CPM1A Interrupt Functions
CPM1A PCs
Input Interrupt Settings
Interrupt Subroutines
Input Refreshing
70
10-pt CPU Units
(CPM1A-10CDR-@)
CPU Unit
CPM1-10CDR-@
CPM1A-10CD@-@
CPM1-20CDR-@
CPM1A-20CD@-@
CPM1-30CDR-@(-V1)
CPM1A-30CD@-@
CPM1A-40CD@-@
Note If input interrupts are not used, use inputs 00003 to 00006 as regular inputs.
Inputs 00003 to 00006 must be set as interrupt inputs in DM 6628 if they are
to be used for input interrupts in the CPM1/CPM1A. Set the corresponding
digit to 1 if the input is to be used as an interrupt input (input interrupt or
counter mode); set it to 0 if it is to be used as a regular input.
Word
DM 6628
0: Regular input (default setting)
1: Interrupt input
2: Quick-response input
Setting for input 00006: Set to 1
Setting for input 00005: Set to 1
Setting for input 00004: Set to 1
Setting for input 00003: Set to 1
Interrupts from inputs 00003 to 00006 are allocated interrupt numbers 00 to
03 and call subroutines 000 to 003. If the input interrupts aren't being used,
subroutines 000 to 003 can be used in regular subroutines.
Input number
00003
00004
00005
00006
If input refreshing is not used, input signal status within the interrupt routine
will not be reliable. Depending on the input time constant, the input signals
might not go ON even if input refreshing is used. This includes the status of
the interrupt input bit that activated the interrupt.
20-, 30-, and 40-pt CPU Units
(CPM1A-20CDR-@, CPM1A-30CDR-@,
and CPM1A-40CDR-@)
Input Interrupt
number
Interrupt mode
00003 00
0.3 ms max.
(Time until the
00004 01
interrupt program is
00003 00
executed.)
00004 01
00003 02
00004 03
Setting
Bit
DM 6628
Interrupt number
Subroutine number
0
000
1
001
2
002
3
003
Section 1-6
Response time
Counter mode
1 kHz
15
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF