Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-48
SFR(P),SFL(P)
Program Example
(1) The following program shifts the data of D0 to the right by the number of bits designated by
D100 when X20 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program shifts the contents of X10 to X17 3 bits to the left when X1C is ON.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
0101 011100101000
b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
0
b15
Carry flag
(SM700)
Filled with 0s.
1000 010011100101
b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
b15
D100
D0
D0
3
Step Instruction Device
00
11
00
11
100 11000
X14X13
X13X14
1
X17 X10
X17 X10
Carry flag
(SM700)
Filled with 0s.
X12