Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions D100 D101 Parity bits 6_ Additional remarks 1. Suppose SM606 is ON. If S + n -1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 2. Suppose SM606 is OFF. If S + n /2-1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3. If n is not between 1–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 4. If you declare the operand D in ISPSoft, the data type is ARRAY [2] of WORD/INT.

6-367 S Data Sum D0 Low 100 = 0 1 1 0 0 1 0 0 D1 Low 111 = 0 1 1 0 1 1 1 1 D2 Low 120 = 0 1 1 1 1 0 0 0 D3 Low 202 = 1 1 0 0 1 0 1 0 D4 Low 123 = 0 1 1 1 1 0 1 1 D5 Low 211 = 1 1 0 1 0 0 1 1 D100 867 D101 0 0 0 1 0 0 0 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 0 0 0 0 0 1 1 0 1 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1