7. APPLICATION INSTRUCTIONS
7
−
33
MELSEC-A
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.
Execution Conditions
Program Examples SFR
Program which shifts the contents of D8 five bits to the right when X1C turns on.
Before execution
After execution
Carry flag
(M9012)
0 is entered
(2) In regards to T/C, the present value (count value) is shifted. (The shift of set
value cannot be performed.)
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
P
Shift command
•
Coding
0 LD
X01C
1 SFRP
D8
K5
6 END
0
X01C
P
K
SFR
D8 5
Before execution
After execution
Carry frag
(M9012)
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......