Omron CS1G/H-CPUxx-EV1 Programming Manual page 169

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Basic I/O Unit Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DIGITAL SWITCH
DSW (210)
INPUT
DSW
210
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
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 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 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 only)
I:
Data input
word
O: Output word
D: 1st
destination
word
C: System word
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
C2
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 × 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.
I
O
D
C
Function
Section 3-21
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
133

Advertisement

Table of Contents
loading

Table of Contents