Omron SYSMAC CVM1 Series Operation Manual page 247

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Conversion Instructions
Example
$41
1 1 0 0 0 0 0 1
Odd number of "1" bits
ASCII Code Table
Precautions
Flags
Programming Example
0000
00
(117)
HEX D00010 #1011 D00300
2: Odd
The data (8 bits) can only be converted when the number of "1" bits is odd. If the
number is even, the Error Flag will turn ON and the data will not be converted.
"A"
Conversion
executed.
The following table shows the ASCII codes before conversion and the hexadeci-
mal values after conversion. Refer to Appendix I for a table of ASCII characters.
ASCII Code
$30
P
$31
P
$32
P
$33
P
$34
P
$35
P
$36
P
$37
P
$38
P
$39
P
$41
P
$42
P
$43
P
$44
P
$45
P
$46
P
Note The leftmost bit of each ASCII code is adjusted for parity.
Refer to page 101 for general precautions on operand data areas.
ER (A50003):
ASCII in S does not match parity designation.
Data in word S is not ASCII that can be converted.
Content of *DM word is not BCD when set for BCD.
When CIO 000000 is ON in the following example, the ASCII data in D00010 is
converted to binary data and then output to D00300.
Di Word Contents: #1011
1
0
1
0 1 0 0 0 0 0 1
Even number of "1" bits
Original data
Bit status (See note.)
0
1
1
0
0
0
0
1
1
0
0
0
0
1
1
0
0
1
0
1
1
0
0
1
0
1
1
0
1
0
0
1
1
0
1
0
0
1
1
0
1
1
0
1
1
0
1
1
0
1
1
1
0
0
0
1
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
1
0
1
0
0
0
1
0
1
0
0
0
1
1
1
Specifies the first digit to receive converted data: 1
Number of digits to be converted: 2 digits
First ASCII data to be converted: Rightmost 8 bits
Parity: Even
Section 5-17
Not converted.
Conversion
executed.
Converted data
Digit
Bits
0
0
0
0
1
1
0
0
0
2
0
0
1
3
0
0
0
4
0
1
1
5
0
1
0
6
0
1
1
7
0
1
0
8
1
0
1
9
1
0
1
A
1
0
0
B
1
0
1
C
1
1
0
D
1
1
1
E
1
1
0
F
1
1
Address Instruction
00000
LD
00001
HEX(117)
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
0
0
0
1
1
0
1
1
Operands
000000
D00010
#1011
D00300
229

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents