hannibalevivo
Member
Hi, I'm starting with the ladder logic programming and I want to enssure if the following bitwise operation is correct or not.
I want to copy B9:12/12-9 bits to B3:11/14-11
Here is the sequence of instructions to do this:
CLR B3:11
MVM Source: B9:12 Mask: 1E00h Destination: B3:11
MUL Source A: B3:11 source B: 4 Destination: B3:11
(left shift, 2 positions)
Thanks in advance
I want to copy B9:12/12-9 bits to B3:11/14-11
Here is the sequence of instructions to do this:
CLR B3:11
MVM Source: B9:12 Mask: 1E00h Destination: B3:11
MUL Source A: B3:11 source B: 4 Destination: B3:11
(left shift, 2 positions)
Thanks in advance
Last edited: