Tag: bit shift

  • Siemens Bit Shifter PLC Program

    Siemens Bit Shifter PLC Program

    Siemens PLC Programming Example Shift one bit to the right as long as the button is pressed. NETWORK 1       //NETWORK TITLE (single line) LD     I0.0 EU SHRB   M0.0, V0.0, +6   NETWORK 2 LD     V0.0 =      Q0.1 NETWORK 3 LD     V0.1 =      Q0.1 NETWORK 4 LD     V0.2 =      Q0.2 NETWORK 5 LD     V0.3 =      Q0.2…