EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #543 background imageLoading...
Page #543 background image
A-59
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-22 Basic I/O Unit Instructions
7-SEGMENT
DECODER
SDEC
@SDEC
078 Output Required
DIGITAL
SWITCH
INPUT
DSW 210 Reads the value set on an external digital switch (or thumbwheel
switch) connected to an Input Unit or Output Unit and stores the
4-digit or 8-digit BCD data in the specified words.
Output Required
TEN KEY
INPUT
TKY 211 Reads numeric data from a ten-key keypad connected to an Input
Unit and stores up to 8 digits of BCD data in the specified words.
Output Required
HEXADECI-
MAL KEY
INPUT
HKY 212 Reads numeric data from a hexadecimal keypad connected to an
Input Unit and Output Unit and stores up to 8 digits of hexadeci-
mal data in the specified words.
Output Required
MATRIX
INPUT
MTR 213 Inputs up to 64 signals from an 8 × 8 matrix connected to an Input
Unit and Output Unit (using 8 input points and 8 output points)
and stores that 64-bit data in the 4 destination words.
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
SDEC(078)
S
Di
D
S: Source word
Di: Digit designator
D: 1st destination
word
Number of digits
Rightmost 8 bits (0)
Di
7-segment
Converts the hexadecimal contents of the designated
digit(s) into 8-bit, 7-segment display code and places it into
the upper or lower 8-bits of the specified destination words.
First digit to convert
1: Leftmost 8 bits
0: Rightmost 8 bits
DSW (210)
I
O
D
C1
C2
I:Data input
word (D0 to D3)
O: Output word
D: 1st result word
C1:
C2:
System word
Number of
digits
TKY (211)
I
D1
D2
I: Data input word
D1: 1st register word
D2: Key input word
HKY (212)
I
O
D
C
I: Data input
word
O: Output word
D: 1st register
word
C: System word
MTR (213)
I
O
D
C
I: Data input
word
O: Output word
D: 1st destination
word
C: System word

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals