Digital Switch Input - Dsw(210) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Basic I/O Unit Instructions
7-segment Data
Original data
Digit
Bits
0
0
0
0
0
0
1
0
0
0
1
0
2
0
0
1
0
0
3
0
0
1
1
0
4
0
1
0
0
0
5
0
1
0
1
0
6
0
1
1
0
0
7
0
1
1
1
0
8
1
0
0
0
0
9
1
0
0
1
0
A
1
0
1
0
0
B
1
0
1
1
0
C
1
1
0
0
0
D
1
1
0
1
0
E
1
1
1
0
0
F
1
1
1
1
0
3-23-5 DIGITAL SWITCH INPUT – DSW(210)
Purpose
Ladder Symbol
Variations
The following table shows the data conversions from a hexadecimal digit (4
bits) to 7-segment code (8 bits).
Converted code (segments)
g
f
e
d
c
0
1
1
1
1
1
0
0
0
0
1
1
1
0
1
1
0
1
1
0
0
1
1
1
1
1
0
0
1
1
1
1
0
1
1
0
1
1
1
1
1
0
0
1
0
0
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
0
1
1
1
1
1
1
1
0
0
1
1
1
0
0
1
0
1
1
1
1
1
1
1
1
0
0
1
1
1
0
0
0
Reads the value set on a external digital switch (or thumbwheel switch) con-
nected to an I/O Unit and stores the 4-digit or 8-digit value in the specified
words.
This instruction is supported only by CS/CJ-series CPU Unit Ver. 2.0 or later.
DSW(210)
I
O
D
C1
C2
Variations
Immediate Refreshing Specification
b
a
Hex
1
3F
0
06
1
5B
1
4F
0
66
1
6D
1
7D
1
27
1
7F
1
6F
1
77
0
7C
1
39
0
5E
1
79
1
71
I: Input word
O: Output word
D: First result word
C1: Number of digits
C2: System word
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Section 3-23
Display
Original data
LSB
a
1
a
b
1
f
c
1
g
d
1
e
e
1
f
1
d
g
1
0
MSB
DSW(210)
Not supported.
Not supported.
b
c
941

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents