chad
Nov 20 2006, 12:39 PM
in a ge fanuc i am converting i have a rotate word left instruction
any idea what the allen bradley instruction would be ???
Doug-P
Nov 20 2006, 02:11 PM
There is no A-B instruction called ROTATE, the closest you're going to get is a Bit Shift Left.
Using the BSL as a starting point you can 'roll your own' with a few other instructions to create this function.
If the output bit is unused, the BSL by itself would suffice.
Ken Moore
Nov 20 2006, 02:40 PM
Possible work around:
You can shift bits in a word by multiplying or dividing by powers of 2.
Multiplying shifts the bits left, dividing shifts them right.
A eight bit shift would require 2^8 (256) for example.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.