beautypg.com

Delta DVP-ES2 User Manual

Page 352

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

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

0

0

0

0

0

1

1

1

1

1

0

0

0

0

1

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

0

1

D 10 0

D 10 1

Parity

D0 low byte

D1 low byte

D2 low byte

D3 low byte

D4 low byte

D5 low byte

D100

D101

(S)

Content of data

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

This manual is related to the following products: