Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

DVP-ES3 Series Programming Manual Example 1 1. When SM606 is OFF, the instruction uses the 16-bit conversion mode. 2. When M0 is ON, the instruction adds up the six pieces of data in D0–D2 (eight bits in a group). The instruction stores the sum in D100, and stores the values of the parity bits in D101. D101 Parity bits Example 2 1. When SM606 is ON, the instruction uses the 8-bit conversion mode. 2. When M0 is ON, the instruction adds up the six pieces of data in D0–D5 (eight bits in a group). The instruction stores the sum in D100, and stores the values of the parity bits in D101.

6-366 S Data Sum D0 Low 100 = 0 1 1 0 0 1 0 0 D0 High 111 = 0 1 1 0 1 1 1 1 D1 Low 120 = 0 1 1 1 1 0 0 0 D1 High 202 = 1 1 0 0 1 0 1 0 D2 Low 123 = 0 1 1 1 1 0 1 1 D2 High 211 = 1 1 0 1 0 0 1 1 D100 867 D101 0 0 0 1 0 0 0 1 D100 0 0 0 0 0 0 1 1 The parity bit is set to 1 if the number of ones is odd. The parity bit is set to 0 if the number of ones is even. 0 1 1 0 0 0 1 1 0 0 0 0 0 0 1 1 0 1 1 0 0 0 1 1 6 _ 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1