WilsonNC Member W Join Date Dec 2010 Location Murphy Posts 24 Dec 15, 2010 #1 I am looking for an instruction similar to the RS Logix BTD instruction. I need to be able to strip bits in the middle of a 32 bit double word, and use them in ladder. Move them to another word in groups of bits.
I am looking for an instruction similar to the RS Logix BTD instruction. I need to be able to strip bits in the middle of a 32 bit double word, and use them in ladder. Move them to another word in groups of bits.
PeterW Member P Join Date Jun 2006 Location Calgary, AB Posts 2,531 Dec 15, 2010 #2 There isn't an instruction, I'm unsure if there is a standard block. Probably you would need to build your own block (FC). Possibly usimg a mask as an input paramter to AND out unwanted bits and/or SLD or SRD instructions.
There isn't an instruction, I'm unsure if there is a standard block. Probably you would need to build your own block (FC). Possibly usimg a mask as an input paramter to AND out unwanted bits and/or SLD or SRD instructions.