Mitsubishi Electric MELDAS C6 Programming Manual page 276

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Execution conditions
The execution conditions for SFR, SFRP are as shown below.
Right shift command OFF
SFR
SFRP
Program example
Program that shifts the D8 data 5 bits to the right when M10 turns ON.
M10
10
(Pulse coding)
Before execution
0
After execution
8. Function Commands
SFR, SFRP
ON
Executed per scan
SFR
D8
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
Right shift of data with SFR command (word device)
- 267 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Coding
No. of
Com-
steps
mand
K5
10
LD
11
SFR
14
D8
0
1
1
1
0
0
0
0
0
0
0
0
1
1
Device
M10
D8
K5
1
1
Carry flag
(SM12)
1
1
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents