Instruction 65- n bit rotate left – Maple Systems MAPware-7000 User Manual
Page 113
105
MAPware-7000 Ladder Logic Guide
1010-1041 rev. 00
Instruction 65- n bit rotate left
Expression:
Space Requirement: 1 line x 5 column Location Requirement: Middle, Right rail
Function:
When the input is ON, the data of register A is rotated n bits to the left (MSB direction), and
stored in B.
After the operation, if the left most bit (MSB) is ON, the output is turned ON.
Execution Condition:
Input
Operation
Output
CF
OFF
No execution
OFF
---
ON
Execution
When MSB = 1
ON
Set or Reset
When MSB = 0
OFF
Set or Reset
Operand:
Coil or Bit
Register
Constant
Index
Name
X
Y B
S
T.
C.
M
X
W
Y
W
B
W
S
W
T C
D
I
J
K
M
W
A
Source
√
√
√
√
√ √
√
√
√
√
√
√
n
Shift bits
1-16
B
Destination
√
√
√
√ √
√
√
√
√
√
Example:
When X008 is changed from OFF to ON, the data of BW18 is rotated 3 bits to the left and the
result is stored in BW20.
The figure below shows an operation example.