Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 135

Table of Contents

Advertisement

Instruction
Symbol/Operand
Mnemonic
Code
DIGITAL SWITCH
DSW (210)
INPUT
DSW
210
(CS/CJ-series
CPU Unit Ver. 2.0
or later and CJ2
CPU Units only)
C2
I:
Data i nput word
(D0 to D3)
O:
Output word
D:
1st result
word
C1:
Number of
digits
C2:
System word
TEN KEY INPUT
TKY (211)
TKY
211
(CS/CJ-series
CPU Unit Ver. 2.0
or later and CJ2
CPU Units only)
I:
Data input
word
D1: 1st register
word
D2: Key input
word
HEXADECIMAL
KEY INPUT
HKY (212)
HKY
212
(CS/CJ-series
CPU Unit Ver. 2.0
or later and CJ2
CPU Units only)
I:
Data input
word
O: Output word
D: 1st register
word
C: System word
MATRIX INPUT
MTR (213)
MTR
213
(CS/CJ-series
CPU Unit Ver. 2.0
or later and CJ2
CPU Units only)
I:
Data input
word
O: Output word
D: 1st
destination
word
C: System word
CS/CJ/NSJ Series Instructions Reference Manual (W474)
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.
I
O
D
C1
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.
I
D1
D2
Reads numeric data from a hexadecimal keypad connected to an Input
Unit and Output Unit and stores up to 8 digits of hexadecimal data in
the specified words.
I
O
D
C
Inputs up to 64 signals from an 8
and Output Unit (using 8 input points and 8 output points) and stores
that 64-bit data in the 4 destination words.
I
O
D
C
2. Summary of Instructions
Function
8 matrix connected to an Input Unit
Location
Page
Execution
condition
Output
788
Required
2
Output
792
Required
Output
795
Required
Output
799
Required
99

Advertisement

Table of Contents
loading

Table of Contents