AS Series Programming Manual D0 b0 b15 12 0 SM 617 D1 D20 D2 36 1 SM 617 D20 Additional remarks 1. 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. If n is not between 1 – 256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 3. Instruction flags: SM617: The bits with the value zero or one are counted. SM618: ON when the matrix counting result is 0. _6 6-370 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1