Cpm2A/Cpm2C Quick-Response Inputs - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

2-12-2 CPM2A/CPM2C Quick-response Inputs

Word
DM 6628
DM 6628
0: Normal in ut
0: Normal input
1: Interrupt input
2: Quick-response input
2: Quick response input
(D f
(Default setting: 0)
l
Setting for input 00006: Set to 2
Setting for input 00005: Set to 2
Setting for input 00004: Set to 2
Setting for input 00003: Set to 2
Program Example
In this example, DM 6628 has been set to 0002.
25315 First Cycle Flag
ON for 1 cycle
The CPM2A and CPM2C have four inputs used for quick-response inputs
(shared with interrupt inputs and 2-kHz high-speed counter inputs). With quick-
response inputs, signals that are changed within a cycle can be received by
maintaining an internal buffer.
Input terminal
(00003)
00003
Input number (See note.)
00003
00004
00005
00006 (See note 2.)
Note
1. Input numbers 00003 to 00006 can be used as interrupt inputs, 2-kHz high-
speed counter inputs, or quick-response inputs. If they are not used for any
of these purposes, then they can be used as ordinary inputs.
2. Input number 00006 does not exist in CPM2C CPU Units with 10 I/O points.
The following table shows the relationships between quick-response inputs and
the CPM2A/CPM2C's other functions.
Settings
i
0)
DM 6628
@INT(89)
Mask/unmask input interrupts.
000
000
#000E
Unmasks 00003 (interrupt input 0), masks others.
Shared
Calculation
I/O refresh
processing
processing
1 cycle
Minimum input signal width
50 µs
µ
Section
Bit
15
0
Shared
Calculation
I/O refresh
processing
processing
2-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents