Omron C200H Operation Manual page 172

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Data Conversion
Digit Designator
Example
half of D to receive the first 7-segment display code (rightmost or leftmost 8
bits) are designated 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 designated than remain in S (counting from the designated
first digit), further digits will be used starting back at the beginning of S.
The digits of Di are set as shown below.
Digit number: 3 2 1 0
Some example Di values and the 4-bit binary to 7-segment display conver-
sions that they produce are shown below.
Di: 0011
S digits
D
0
1st half
1
2nd half
2
3
Di: 0112
S digits
D
0
1st half
1
2nd half
2
D+1
3
1st half
2nd half
The following example shows the data to produce an 8. The lower case let-
ters show which bits correspond to which segments of the 7-segment display.
Specifies the first digit to receive converted data (0 to 3).
Number of digits to be converted (0 to 3)
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
First half of D to be used.
0: Rightmost 8 bits (1st half)
1: Leftmost 8 bits (2nd half)
Not used; set to 0.
Di: 0030
S digits
0
1st half
1
2nd half
2
3
1st half
2nd half
Di: 0130
S digits
0
1st half
1
2nd half
2
3
1st half
2nd half
1st half
2nd half
Section 5-16
D
D+1
D
D+1
D+2
159

Advertisement

Table of Contents
loading

Table of Contents