Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 433

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Parity
It is possible to specify the parity of the ASCII data for use in error control during data transmissions.
The leftmost bit of each ASCII character will be automatically adjusted for even, odd, or no parity.
• When no parity (0) is designated, the leftmost bit will always be zero. When even parity (1) is
designated, the leftmost bit will be adjusted so that the total number of ON bits is even. When odd
parity (2) is designated, the leftmost bit of each ASCII character will be adjusted so that there is an
odd number of ON bits. The status of the parity bit does not affect the meaning of the ASCII code.
• Examples of even parity:
When adjusted for even parity, ASCII "31" (00110001) will be "B1" (10110001: parity bit turned ON to
create an even number of ON bits); ASCII "36" (00110110) will be "36" (00110110: parity bit remains
OFF because the number of ON bits is already even).
• Examples of odd parity:
When adjusted for odd parity, ASCII "36" (00110110) will be "B6" (10110110: parity bit turned ON to
create an odd number of ON bits); ASCII "46" (01000110) will be "46" (01000110: parity bit remains
OFF because the number of ON bits is already odd).
Examples of Di
Di: #0011
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Di: #0130
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Leftmost
396
Digit 3 Digit 2 Digit 1 Digit 0
Rightmost
Leftmost
Rightmost
Rightmost
Di: #0112
Digit 3 Digit 2 Digit 1 Digit 0
Rightmost
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Di: #0030
Leftmost
Rightmost
Leftmost
Rightmost

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents