![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532224.webp)
219
When CIO 000000 is ON in the following example, the bit positions of the highest
ON bits in CIO 0010 and 0011 are written to the first two digits of CIO 0020 and
the bit positions of the highest ON bits in CIO 0015 and CIO 0016 are written to
the last two digits of 0020.
0010
01000
:
01011
1
01012
0
: :
:
01015
0
0015
001500
001501
1
001502
0
: :
:
: :
:
001515
0
Digit 0
0011
01100
:
01109
1
01110
0
: :
:
01115
0
Digit 1
Digit 2
Digit 3
B
9
1
8
0016
001600
:
001608
1
001609
0
: :
:
001615
0
0020
(111)
DMPX
0010
0020
#0010
0000
00
(111)
DMPX
0015
0020
#0012
00000
LD
000000
00001
DMPX(111)
0010
0020
#0010
00002
DMPX(111)
0015
0020
#0012
Address Instruction
Operands
5-17-10 7-SEGMENT DECODER: SDEC(112)
Variations
j
SDEC(112)
(112)
SDEC
S
Di
D
Operand Data Areas
Ladder Symbol
S: Source word
CIO, G, A, T, C, DM, DR, IR
D: 1
st
destination word CIO, G, A, DM
Di: Digit designator
CIO, G, A, T, C, #, DM, DR, IR
When the execution condition is OFF, SDEC(112) is not executed. When the
execution condition is ON, SDEC(112) converts the designated digit(s) of S into
an 8-bit, 7-segment display code and places it into the destination word(s) be-
ginning with D.
Any or all of the digits in S may be converted in sequence from the designated
first digit. The first digit, the number of digits to be converted, and the half of D to
receive the first 7-segment display code (rightmost or leftmost 8 bits) are desig-
nated in Di. If multiple digits are designated, they will be placed in order starting
from the designated half of D, each requiring two digits. If more digits are desig-
nated than remain in S (counting from the designated first digit), further digits will
be used starting back at the beginning of S.
Example
Description
Conversion Instructions
Section 5-17
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...