EasyManuals Logo

IDEC MICROSmart FC6A-C24R1CE Ladder Programming Manual

IDEC MICROSmart FC6A-C24R1CE
604 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 #186 background imageLoading...
Page #186 background image
9: S
HIFT
/ R
OTATE
I
NSTRUCTIONS
9-6 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Example: BCDLS
M8120 is the initialize pulse special internal relay.
When the CPU starts operation, the MOV (move) instructions set 123 and 4,567 to
data registers D10 and D11, respectively.
Each time input I0 is turned on, the 32-bit binary data of data registers D10 and D11
assigned by S1 is converted into 8 BCD digits, shifted to the left by 1 digit as assigned
by device S2, and converted back to 32-bit binary data.
Zero is set to the lowest digit after each shift.
REP
SOTU
I0
S1 –
4567
D1 –
D11
S1
D10
S2
1
BCDLS
MOV(W)
M8120
REPS1 –
123
D1 –
D10
MOV(W)
Before shift:
After first shift:
0 2 31
D10 D11
Shift to the left
4 6 75 0
1 3 42 5 7 0
6
0
After second shift:
MSD LSD
2 4 53 6 0 071
0
When S2 = 1 (digits to shift)

Table of Contents

Other manuals for IDEC MICROSmart FC6A-C24R1CE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A-C24R1CE and is the answer not in the manual?

IDEC MICROSmart FC6A-C24R1CE Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A-C24R1CE
CategoryComputer Hardware
LanguageEnglish

Related product manuals