AS Series Programming Manual Symbol D : First device for the shift n : Data length Explanation _6 1. This instruction shifts the states of the n bit devices starting from D by one bit to the left. The instruction clears the state of D to 0, and transmits the state of D + n -1 to the carry flag SM602. 2. In general, the BSFLP pulse instruction is used. 3. The operand n must be between 1–1024. Example When X0.0 is ON, the instruction shifts the states of M0–M5 by one bit to the left, clears the state of M0 to 0, and transmits the state of M5 to the carry flag SM602.
6-330 API Instruction code Operand Function 1113 BSFL P D, n Shifting the states of n bit devices by one bit 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 -