Mitsubishi MELSEC-A Series Programming Manual page 235

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

7. APPLICATION INSTRUCTIONS
Execution Conditions
Program Examples
SFL
(1) Shifts the 16-bit data of device specified at (D) to the left by "n" bits.
"n" bits, which begin with the lowest bit, change to 0.
Before execution
Carry flag
(M9012)
After execution
(2) In regards to T/C, the present value (count value) is shifted. (The shift of set
value cannot be performed.)
Shift command
SFR
Program which shifts the contents of D8 five bits to the right when X1C turns on.
X01C
P
0
SFR
Before execution
After execution
ON
OFF
Executed
per scan
P
• Coding
K
0
D8
5
1
6
7 − 33
MELSEC-A
Executed
per scan
Executed
Executed
only once
only once
LD
X01C
SFRP
D8
K5
END
Carry frag
(M9012)
0 is entered

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents