10 Application Instructions API 202-313 Program example: When M0 = ON, compare the 16-bit value in D0~D7 with D20~D27 and store the results in D100. M0 Content in D0~D7: Content in D20~D27: After the comparison of CMPT instruction, the associated bit will be 1 if two devices have the same value, and other bits will all be 0. Therefore the results in D100 will be as below: DVP-PLC Application Manual 10-8 CMPT D0 D20 K8 D100 No. D0 D1 D2 D3 D4 D5 D6 D7 Value K10 K20 K30 K40 K50 K60 K70 K80 No. D20 D21 D22 D23 D24 D25 D26 D27 Value K12 K20 K33 K44 K50 K66 K70 K88 Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8~15 D100 0 1 0 0 1 0 1 0 0…0 H0052 (K82)