EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-E D Series

Omron SYSMAC CP2E-E D Series User Manual

Omron SYSMAC CP2E-E D Series
578 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 #511 background imageLoading...
Page #511 background image
A-51
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-20 Basic I/O Unit Instructions
DIGITAL
SWITCH
INPUT
DSW --- 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: Input Word (Data Line D0 to D3 Inputs)
Specify the input word allocated to the Input Unit and connect
the digital switch’s D0 to D3 data lines to the Input Unit as shown
in the following diagram.
O: Output Word (CS/RD Control Signal Outputs)
Specify the output word allocated to the Output Unit and con-
nect the digital switch’s control signals (CS and RD signals) to
the Output Unit as shown in the following diagram.
C1: Number of Digits
Specifies the number of digits that will be read from the exter-
nal digital switch. Set C1 to 0000 hex to read 4 digits or 0001
hex to read 8 digits.
C2: System Word
Specifies a work word used by the instruction. This word can-
not be used in any other application.
Instruction Mnemonic Variations Symbol/Operand Function
DSW (210)
I
O
D
C1
C2
I: Data input word (D0 to D3)
O: Output word
D: 1st result word
C1: Number of digits
C2: System word
0123456789101112131415
I
D0
D1
D2
D3
D3
D2
D1
D0
Rightmost
4 digits
Leftmost 4 digits
0123456789101112131415
O
CS0
CS1
CS2
CS3
CS signals
One Round Flag
RD0 Read signal
C2
15 0
System word
(
Cannot be accessed b
y
the user.
)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-E D Series and is the answer not in the manual?

Omron SYSMAC CP2E-E D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-E D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals