
7:
S
HIFT
/
R
OTATE
I
NSTRUCTIONS
FC5A
MicroSmart
User’s
Manual FC9Y
‐
B1273
7
‐
9
Example:
ROTL
•
Data
Type:
Word
•
Data
Type:
Double
Word
Before
rotation:
D10
=
40966
1
1
0
0
0
0
0
0 0
0
1
1
0
0
0
0
CY
M8003
MSB
LSB
D10
After
first
rotation:
D10
=
16397
Bits
to
rotate
=
1
After
second
rotation:
D10
=
32794
1
0
0
0
0
0
1
0
0 0
0
0
1
0
0
1
1
CY
M8003
MSB
LSB
D10
0
1
0
0
0
0
0
0
0 0
0
1
0
1
0
1
0
CY
M8003
MSB
LSB
D10
M8120
REP
M8120
is
the
initialize
pulse
special
internal
relay.
When
the
CPU
starts
operation,
the
MOV
(move)
instruction
sets
40966
to
data
register
D10.
Each
time
input
I0
is
turned
on,
16
‐
bit
data
of
data
register
D10
is
rotated
to
the
left
by
1
bit
as
designated
by
device
bits.
The
status
of
the
MSB
is
set
to
a
carry
(special
internal
relay
M8003).
SOTU
I0
S1
–
40966
D1
–
D10
S1
D10
bits
1
ROTL(W)
MOV(W)
Each
time
input
I1
is
turned
on,
32
‐
bit
data
of
data
registers
D10
and
D11
is
rotated
to
the
left
by
1
bit
as
designated
by
device
bits.
The
status
of
the
MSB
is
set
to
a
carry
(special
internal
relay
M8003).
Bits
to
rotate
=
1
SOTU
I1
S1
D10
bits
1
ROTL(D)
Before
rotation:
D10
∙
D11
=
2,684,788,742
After
rotation:
D10
∙
D11
=
1,074,610,189
1
1
0
0
0
0
0
0 0
0
1
1
0
0
0
0
CY
M8003
MSB
LSB
D10
∙
D11
1
1
1
0
0
0
0
0
0 0
0
1
1
0
0
0
0
CY
M8003
MSB
LSB
D10
∙
D11
Rotate
to
the
left
1
1
0
0
0
0
0
0 0
0
1
1
0
0
0
0
1
1
0
0
0
0
0
0 0
0
1
1
0
0
0
0
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...