Omron CQM1H - PROGRAM Programming Manual page 329

Programmable controllers; inner boards
Table of Contents

Advertisement

Conversion Instructions
ASCII Code Table
Parity
304
Some examples of Di values and the 8-bit ASCII to 4-bit hexadecimal conver-
sions that they produce are shown below.
S
1st byte
2nd byte
S
1st byte
2nd byte
S+1
1st byte
2nd byte
The following table shows the ASCII codes before conversion and the hexa-
decimal values after conversion. Refer to Appendix H for a table of ASCII
characters.
ASCII Code
30
*
31
*
32
*
33
*
34
*
35
*
36
*
37
*
38
*
39
*
41
*
42
*
43
*
44
*
45
*
46
*
Note The leftmost bit of each ASCII code is adjusted for parity.
The leftmost bit of each ASCII character (2 digits) is automatically adjusted for
either even or odd parity.
With no parity, the leftmost bit should always be zero. With odd or even parity,
the leftmost bit of each ASCII character should be adjusted so that there is an
odd or even number of ON bits.
Di: 0011
D
0
1
2
3
Di: 0023
D
0
1
2
3
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
1
0
0
0
1
0
1
0
0
1
1
0
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
Section 5-20
Di: 0030
S
D
0
1st byte
1
2nd byte
2
S+1
3
1st byte
2nd byte
Di: 0133
S
D
1st byte
2nd byte
0
1
S+1
2
1st byte
3
2nd byte
S+2
1st byte
2nd byte
Converted data
Digit
Bits
0
0
0
0
0
1
1
0
0
0
0
2
0
0
1
1
3
0
0
1
0
4
0
1
0
1
5
0
1
0
0
6
0
1
1
1
7
0
1
1
0
8
1
0
0
1
9
1
0
0
1
A
1
0
1
0
B
1
0
1
1
C
1
1
0
0
D
1
1
0
1
E
1
1
1
0
F
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF