AS Series Programming Manual Symbol D : First device for the shift n : Data length Explanation 1. This instruction shifts the data in the n registers starting from D to the left, and clears the data in D to 0. 2. In general, the NSFLP pulse instruction is used. _6 3. The operand n must be between 1–512. Example When X0.0 is ON, the instruction shifts the data in D0–D5 to the left, and clears the data in D0 to 0.
D6 D0 D1 D2 D3 D4 D5 After the shift D6 D0 D1 D2 D3 D4 D5 Being cleared to 0 6-334 API Instruction code Operand Function 1115 NSFL P D, n Shifting n registers to the left Device X Y M S T C HC D FR SM SR E K 16# “$” F D n BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type D n Pulse instruction 16-bit instruction 32-bit instruction AS AS - 30 2235 9578 754 28 423 11 2235 9578 754 28 423 11 0