DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-236

Program Example 2:

1. M1161 = ON, 8-bit conversion.

2. When X0 = ON, 6 bytes from low byte of D0 to low byte of D5 will be summed up, and the

checksum is stored in D100 while the parity bits are stored in D101.

X0 CCD D0 D100 K6
M1000 M1161

0000 0 1 1 111000010

0 00000 00 00010001

D100
D101 Parity
D0 low byte
D1 low byte
D2 low byte
D3 low byte
D4 low byte
D5 low byte
D100
D101
(S) Content of dat a
K100 = 0 1 1 0 0 1 0 0
K111 = 0 1 1 0 1 1 1 1
K120 = 0 1 1 1 1 0 0 0
K202 = 1 1 0 0 1 0 1 0
K123 = 0 1 1 1 1 0 1 1
K211 = 1 1 0 1 0 0 1 1
K867
0 0 0 1 0 0 0 1 The parity is 1 when there is a odd number of 1.
The parity is 0 when there is a even number of 1.
Total