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