EasyManuals Logo
Home>Omron>Controller>CPM1

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #141 background imageLoading...
Page #141 background image
120
Advanced I/O Instructions (CQM1 Only) Section 2-2
2-2 Advanced I/O Instructions (CQM1 Only)
Advanced I/O instructions enable control, with a single instruction, of previ-
ously complex operations involving external I/O devices (digital switches, 7-
segment displays, etc.). This section introduces advanced I/O instructions,
which are also covered at the end of SECTION 5 Instruction Set.
There are four advanced I/O instructions, as shown in the following table. All
of these are expansion instructions and must be assigned to function codes
before they can be used.
2-2-1 TEN-KEY INPUT – TKY(18)
This instruction inputs 8 digits in BCD from a 10-key keypad and uses 10 input
points.
Hardware Prepare a 10-key keypad, and connect it so that the switches for numeric keys
0 through 9 are input to points 0 through 9 as shown in the following diagram.
Either the input terminals on the CPU Unit or the inputs on a DC Input Unit
with 16 or more input points can be used.
BCNT 67
BCMP 68
STIM 69
FCS ---
HEX ---
STUP ---
Mnemonic Function code
Name Mnemonic Function
TEN-KEY INPUT TKY(18) BCD input from 10-key keypad
HEXADECIMAL KEY INPUT HKY(––) Hexadecimal input from 16-key
keypad
DIGITAL SWITCH INPUT DSW(87) SV input from digital switch
7-SEGMENT DISPLAY OUTPUT 7SEG(88) BCD output to 7-segment dis-
play
1
3
5
7
9
11
13
15
COM
0
2
4
6
8
10
12
14
COM
ID212
0 V
0
9
DC Input Unit
10-key

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CPM1 Specifications

General IconGeneral
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals