EasyManuals Logo
Home>Mitsubishi>Controller>FX1N Series

Mitsubishi FX1N Series Programming Manual

Mitsubishi FX1N Series
466 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #164 background imageLoading...
Page #164 background image
FX Series Programmable Controlers Applied Instructions 5
5-44
5.4.2 ROL (FNC 31)
Operation:
The bit pattern of the destination device (D) is rotated
n bit places to the left on every operation of the
instruction.
The status of the last bit rotated is copied to the carry
flag M8022.
The example shown left is based on the instruction
noted above it, where the bit pattern represents the
contents of D0.
Mnemonic Function
Operands
Program steps
SD
ROL
FNC 31
(Rotation
left)
The bit pattern of
the destination
device is rotated
n places to the
left on every
execution
KnY, KnM, KnS,
T, C, D, V, Z
Note:
16 bit operation
Kn= K4,
32 bit operation
Kn= K8
K, H,
)
Note:
16 bit operation n 16
32 bit operation n32
ROL,ROLP:
5steps
DROL,
DROLP:
7steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
Flags
Carry M8022
X0
D 0
[ D ]
K 4
[ n ]
ROL
111111110000000 0
111100000000111 1
M8022
1
Carry
M8022
After 1 rotation
LSB
MSB

Table of Contents

Other manuals for Mitsubishi FX1N Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX1N Series and is the answer not in the manual?

Mitsubishi FX1N Series Specifications

General IconGeneral
BrandMitsubishi
ModelFX1N Series
CategoryController
LanguageEnglish

Related product manuals